-
Notifications
You must be signed in to change notification settings - Fork 454
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Package just for Debian and get it accepted into the main package repository: $200 bounty #429
Comments
I would love to see
I don't think not being 1.0 is an issue. And if it was, I would just bump to 1.0 right now. I'm not planning any huge, breaking changes in the future. If anyone out there is willing to help get just into Debian and Ubuntu (or any other distro, linux or not) and I can do something to make the process easier, let me know! |
The path to Ubuntu is (usually) through Debian. Here is introductory info
to be familiar with:
https://wiki.ubuntu.com/UbuntuDevelopment/NewPackages#NEW_packages_through_Debian
…On Mon, May 6, 2019, 01:42 Casey Rodarmor ***@***.***> wrote:
I would love to see just available in Debian and Ubuntu! I have no idea
what the process for getting software into those distributions is though.
For example:
- I know that Ubuntu is a derivative of Debian. If just is packaged
for Debian, will it automatically make its way into Ubuntu, or does it also
need to be packaged for Ubuntu?
- Are there any requirements for packages that just doesn't meet? If
there are, I'd be very happy to work to rectify those. (For example, do
binaries need to have a man page?)
I don't think not being 1.0 is an issue. And if it was, I would just bump
to 1.0 right now. I'm not planning any huge, breaking changes in the future.
If anyone out there is willing to help get just into Debian and Ubuntu (or
any other distro, linux or not) and I can do something to make the process
easier, let me know!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#429 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAMWZRR7GRPC7SFLGKJ2JYLPT7HNNANCNFSM4HK5J3QQ>
.
|
Thanks for the link, that's super helpful. I probably won't have time in the near future to package it myself, but I'd be very happy to help anyone who does. |
I have some work in progress on packaging just for debian here: https://salsa.debian.org/nickez-guest/debcargo-conf/commits/package-just I believe that if we get into debian we get into ubuntu automatically. |
It is possible to create a simple man page with help2man. We can do that until we have a proper one.
|
@NickeZ Awesome! I'm always so grateful when people work on packaging
I notice that you used |
4.4.0 was a typo :). Actually I can generate it during packaging so unless you want to manually keep it in sync you don't have to do anything. I just wanted you to know that this is what it will look like until someone has the time/interest to create a proper one. edit: I don't know if there are any conventions about where to put the man-file. Maybe |
It seems like this will take a while. I will have to get these packages into
|
I think that I'll generate the man page and check it in, so I can tweak it if necessary, and so packagers for other distributions can use it, even if they don't know about help2man. I created #456 to track this. It seems simple, so hopefully I can get to it soon. Ahhh, gotcha, I assumed that
I created #457 to track this. This is also easy, so hopefully I manage to do it relatively soon. |
@NickeZ I've merged the following pull requests:
Let me know if there's anything else I can do to help! |
There looks to be some good information here in case anyone is interested in picking this up: https://blog.hackeriet.no/packaging-a-rust-project-for-debian/ |
I'd like to see this happening, so I'll pay the person who gets Just into the main Debian repository $100. Honestly $100 is probably not really enough, since it'll likely take quite a bit of work, so it should be considered a token of my gratitude. |
Hey everyone. I want to package this so I can get enough contributions in to get higher roles in Debian, however I'm concerned with Rust-team, using debcargo (which allows us to package crates with just a changelog and copyright file) that I may not be counted as the "Maintainer", but for how fun this is I think I'll give it a shot. Other crates I've found are behind on dependencies and I haven't been able to do anything.
You should again, look at debcargo which has us only deal with two files, but if you still want to do that, split it between me and the Rust team (even though paying me may be chaotic as I don't have a credit card) Edit: Build immediately fails. Failed to parse manifest in the Cargo.toml file about resolver being required. It considers adding 'cargo-features = ["resolver"]' to the manifest. I'm new to rust so I can't figure this out, so if that can be dealt with and all dependencies are updated in a release this can be packaged |
Would it be OK if this goes in snap for Ubuntu? I can probably pack it up for that |
I'd like to get it into the base debian repos, but if getting it it packaged in the snap repos is easy, that would be awesome too. |
Hello, thanks for making and maintaining this tool. I have done the initial packaging for you here: https://github.com/sambacha/justfile-debian-pkg Keep the money! |
In the repo you will find the following dir structure:
the files with the Next is a Makefile in the root dir. Yes. I know. It assumes rust / cargo is installed. It generates the build output for the binary. shell completions are provided for generation. these are boilerplate and I make no claims on their usability! Additionally I filled out a github workflow that allegedly does all this for you as well, however its always good to have an actual set of files vs. ephemeral CI produced ones. This work is licensed under the same terms as Justfile is (CC0-1.0) lmk if you have any questions, cheers |
@phitoduck Nope, no movement on this, unfortunately. I'm not a Debian user, so it's impractical for me to package it myself. Debian has a fairly involved packaging process. For anyone interested in tackling this, I added some links to the relevant Debian teams above |
Would it be fair to say that the success criteria for this ticket to complete would be: I can run |
Yup, that's right. I mean, it has to be on an vanilla Debian box, but I think that's implied 😅 |
@casey would you be interested in having
|
@benmoss I'm open to it! Is installing from a deb much easier for debian users than installing prebuilt binaries? Feel free to open a PR with what you have and we can discuss it there. (Don't worry about making it nice yet!) |
It sounds like there are a few 'solutions' to this problem. It is probably worth pulling one of those into the main repo and outputting a Getting it into Debian itself, next steps are outlined here: https://www.debian.org/doc/manuals/distribute-deb/distribute-deb.html#itp
As the owner, I'd suggest that @casey be the one to do the ass kissing on that front. |
I'm unable to package just myself, it's just too much of a maintenance burden, especially for OSes that I don't use. I believe I've opened an ITP, and also pinged the Rust Debian team, but so far no luck. Understandable, since I'm sure there are a million things to package and update. |
@benmoss has done most of the heavy lifting work for you and looks pretty good. The .deb gets built as part of the release process. Yea... I'd jump in the IRC channels and try to do some real time (ass kissing) communication. Try to find a developer who will take pity on your poor soul. |
I think debian won't merge a cargo-deb style package, that's why the RustPackaging team is working on "properly" building debs for Rust projects. I tried to take a look at their work, there is a package there that @bnoctis uploaded for just 1.4.0, but I don't know what the process/timeline is for these packages making their way to a distro |
This comment was marked as outdated.
This comment was marked as outdated.
Has a debian ITP bug been filled ? Any attempt to upload deb package to: As a debian maintainer, I'll be happy to help on this effort, feel free to ping me |
@rzr yes, I believe the ITP is here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=971726 |
Yes I noticed there is also wip at: https://salsa.debian.org/rust-team/debcargo-conf/-/tree/master/src/just Let's hope it will backported to debian 12 later ? To be tracked |
What exactly is the status? The ITP was last updated last year, and it seems like the package isn’t yet in the repos despite being in salsa (not sure what exactly makes that connection) |
-----BEGIN PGP SIGNED MESSAGE----- https://tracker.debian.org/news/1491148/accepted-rust-just-1140-1-amd64-source-into-unstable/ I hereby claim the bounty and ask that it be donated to The Debian Project (https://www.debian.org/donations). iHUEARYKAB0WIQS48iEZIAfDfZumFPwsia9f/Rx2fAUCZZMwkQAKCRAsia9f/Rx2 |
@nc7s Incredible! Thank you so much! Which organization would you like the donation to be made to? I see that there a bunch of different entities listed on the donations page, and it doesn't seem to be possible to donate money to the main Debian project or organization. |
@casey the "bunch of different entities" are actually all dedicated to Debian (SPI does have a few other associated projects, but it's started by people of and deeply involved with Debian; you can direct the donation to Debian). Just pick the one that presents least friction for you. And happy new year! |
Thanks a lot, track package status at: https://tracker.debian.org/pkg/rust-just As well as |
This seems to have stalled due to #855 |
See my comments in #855, hopefully this is fixed! |
Thanks for the heads-up and the fix. I'll cherry-pick the fix since a release isn't out yet. |
Migrated to testing! IIUC, I think that means we'll get it with Trixie in 2025 rather than Forky in 2027 🥳 https://tracker.debian.org/news/1502496/rust-just-1210-1-migrated-to-testing/ |
Very nice! The home stretch is in sight! |
What about targeting backports next ? usure there are a lot of rust packages in backports |
Is anything needed in this repository to make that happen? Or is it just testing with older versions of available packages to see if things build. (I see Blair just bumped the version too, awesome https://salsa.debian.org/rust-team/debcargo-conf/-/commit/3c874594f551151bbb17ad96574515f837f61363) |
Casey: Highjacking the original post for visibility. I'd like to see Just packaged for Debian, but it's something I'm unlikely to do myself, so I'm offering a $200 bounty to the person who both packages it and gets it accepted into the main Debian package repository.
For anyone interested in tackling this, rust packages are packaged by the Debian Rust team. Some useful links:
The text was updated successfully, but these errors were encountered: