FS#78394 - [mercurial] Add rust support

Attached to Project: Arch Linux
Opened by A. K. (Misery) - Thursday, 04 May 2023, 13:34 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:25 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Caleb Maclennan (alerque)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Current mercurial packages uses python and C only. Newest versions have support for rust, too.

Additional info:
You could be inspired by AlpineLinux as they enabled rust in Mercurial.

https://git.alpinelinux.org/aports/tree/community/mercurial/APKBUILD
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:25 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/mercurial/issues/1
Comment by Toolybird (Toolybird) - Thursday, 04 May 2023, 22:38 GMT
Orphaned pkg. i.e. no maintainer (although, @arojas has been doing a fine job keeping it updated). Thus, feature requests like this are low priority.

Some background info here [1]

[1] https://wiki.mercurial-scm.org/OxidationPlan

Edit: now has a maintainer
Comment by Caleb Maclennan (alerque) - Tuesday, 07 November 2023, 06:03 GMT
I have fiddled with this several times but have yet to come up with a working build. I also have low motivation to fix this since I don't use it much.

I'd be happy to facilitate contributions if anybody wants to work on this. I just posted some of my scratch work to a branch if it helps as a starting point:

https://gitlab.archlinux.org/archlinux/packaging/packages/mercurial/-/commit/22dbc669fcbda7ce06bc8bda3251c2a437e5c5e2

Anybody can fork the repo and fiddle with it. When you get a working build you can link a commit in here. The MR feature is not enabled yet, but I could cherry pick commits from somebody's fork and see if they work. If so I'm happy to help get it into packaging.

Loading...