Skip to content
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

Crates.io & AUR packages #333

Open
adamperkowski opened this issue Sep 10, 2024 · 6 comments
Open

Crates.io & AUR packages #333

adamperkowski opened this issue Sep 10, 2024 · 6 comments

Comments

@adamperkowski
Copy link
Contributor

adamperkowski commented Sep 10, 2024

Hey Titus, as linutil continues to grow, I think it’s important to make it more accessible to a wider audience. One way to do this is by creating and maintaining packages for different platforms.
I'd like to offer to create and maintain the linutil package on crates.io and the following packages on the AUR:

  • linutil - latest release built from source
  • linutil-git - main branch built from source
  • linutil-bin - latest binary

This includes:
For crates.io, modifying Cargo.toml file to meet the requirements (I'd open a PR), publishing the package and maintaining it.
For AUR, creating different PKGBUILDs for the packages and maintaining them.
Additionally, monitoring user feedback and issues on both platforms to address any concerns.
Probably updating linutil's documentation and README too, but that's up to you to decide.

I have the knowledge and experience needed for this and it would be a pleasure for me to do it.
So, what do you say?

@adamperkowski
Copy link
Contributor Author

adamperkowski commented Sep 11, 2024

We'd also need to think about the version names here because we have YYYY.MM.DD, 0.1.0, v0.1 and v1.0 on YouTube. It's not gonna go well this way.
It's recommended to use ISO 8601 formatting (without dots or dashes) in case of timestamp naming for PKGBUILDs
but since cargo requires sematic versioning, I'd recommend switching to semver. That's gonna be much easier.

This includes GitHub release tags (for linutil-bin) of course.

@lj3954
Copy link
Contributor

lj3954 commented Sep 11, 2024

Linutil-pre & linutil-pre-bin would also need to be packaged, since there are separate prerelease builds. These packages would have to be updated in the case of releases as well, due to the lack of separate branches.

I think it would be preferable, though, for Chris to have maintainership over these packages, and to include steps in the prerelease & release workflows so these packages can be kept up to date without any maintenance burden.

@adamperkowski
Copy link
Contributor Author

adamperkowski commented Sep 11, 2024

Linutil-pre & linutil-pre-bin would also need to be packaged, since there are separate prerelease builds.

Is this really neccessary though? Especially with linutil-git.

I think it would be preferable, though, for Chris to have maintainership over these packages

I agree as to crates.io (there is an option for multiple people to have access to crates), but if there are also gonna be packages in other distro repositories, I think it's better to have separate maintainers. (Chris can always co-maintain)

and to include steps in the prerelease & release workflows so these packages can be kept up to date without any maintenance burden.

This can be done much easier with functions inside PKGBUILDs.

@ChrisTitusTech
Copy link
Owner

Love this idea and I approve

@adamperkowski
Copy link
Contributor Author

adamperkowski commented Sep 18, 2024

Will start working on the packages tomorrow. (I might do some today)

@adamperkowski
Copy link
Contributor Author

adamperkowski commented Sep 18, 2024

linutil, linutil-git & linutil-bin up on AUR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants