As a temporary solution - until the hub.sr.ht
GraphQL API is working - some kind of "project config" could be introduced. This would be a top level file like ".hut.scfg" in a git/hg repository, in which users could specify project relevant settings, like the development mailing list, the tracker, if patches require a prefix etc.
Then hut commands that are issued from within such a repository (e.g. lists patchset list
) could read the required resources from there instead of trying to be smart/guessing.
Furthermore this would allow implementing some kind of "contribution" command (hut git clone
?), that would setup the prefix and mailing list.
This feature is implemented now and included in the latest release.
Maybe we should try to get the mailing list from
.b4-config
as well.Furthermore there should be a command to configure an already existing git repository (
hut git setup
?).