With the demise of projects.kde.org in the move to Phabricator, we'll lose our current source of information (as well as the generation infrastructure) for kde_projects.xml
We therefore need to come up with alternative tooling for that. To maximise flexibility, i'd rather not tie it into Phabricator in any fashion, but have it completely decoupled. This will also allow us to shutdown projects.kde.org (a resource hog) before we move to Phabricator for repo hosting and reviews.
The kde_projects.xml file contains the following:
- The "tree" which puts repositories in given positions within the tree. 'amarok' goes at 'extragear/multimedia' for instance.
- The i18n metadata.
It has been a prior request from the Translations Co-Ordinator that regexes be used for determining the i18n metadata to save time and make updates easier. This would be the most ideal time to implement this.
In terms of the tree, I think we can implement a data source for that quite simply: A JSON file, which declares a branch (say extragear/multimedia) and the repositories that go within that. A script should then be able to split the branch names by the slashes and reconstruct that into a tree.
Project Maintainers can be dropped from the file - I see no need to maintain that information at this time, as we're going to be changing how repositories will be managed in the Phabricator world anyway.