Details
I'm curious if diffs to improve Mercurial support in Phorge would be welcome. I've been using Phorge/Phabricator for about a decade and in that time I've accumulated local changes that make Phorge work better with Mercurial repos. I'd like to be able to merge these into Phorge main so that I don't need to keep maintaining them quite as much. I'd be happy to tidy up the changes and make proper diffs if there's interest. Some of the changes include:
- Better, but not perfect, handling of bundle2 format, which is now largely mandatory for correct Hg functionality.
- Add readonly commands that Hg sends to the allow list for the evolve and topic extensions.
- Supporting git-lfs for Hg.
- Overall better support for the evolve extension.
- Systemd service template for phd.
- Some improved support for the topic extension.
- The ability to manually customize Hg repo configuration.
Obviously I'm sure not all of these changes will be wanted, but anything I can contribute back to this project that I've used for so long would be great.
Answers
(Premise: I'm only git+Subversion user and I don't know what I'm talking about about Mercurial lol)
Short answer I guess is: yes 🌈
I can suggest to propose every single thing you mentioned as different patch. Maybe starting with the one with the best "Test Plan" (and more lovely, unit tests), so that other people can have fun with you :D
Maybe we also need to update this, so, maybe useful:
https://we.phorge.it/book/contrib/article/feature_requests/
I'm generally happy when people upstreams their patches. Also Wikimedia Foundation is doing it very intensively recently. See Affects-Wikimedia. If you have multiple tasks we may consider another tag "Affects-Your-Org" for you in case, if it helps you. Happy Phorging! ✨