-
Notifications
You must be signed in to change notification settings - Fork 49
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Publish to major package managers #42
Comments
There's a good alternative to Chocolatey on Windows: https://scoop.sh It actually manages packages instead of just running the installer, like |
yeah, scoop is great too. |
It seems that Scoop is meant more for developer tools? Well it seems much easier to upload to anyways so I'll do both |
https://gist.github.com/KyleUltimate/3e20b14ecbf6a5512912f8dc3addc4b7 |
I will add it later, it should also automatically update sha256sums too. |
Ok now it also auto updates the hash too! |
Also, do you consider |
I wasn't actually sure, I mean it isn't 'reasonably well-known' or a 'developer tool' right? |
Oh and looking at the autoupdate, would the releases now need |
I believe it's a shortcut! |
Wait hmm no. |
#50 |
Calinou/scoop-games#616 |
This is great, thank you so much! Also where did you get the screenshot from, I can't find a Scoop index website with Ferium in it |
You can create packages for multiple distros(Debian+Debian-based, Arch, basically all of the RPM distros...) and automatically make repositories for them via https://build.opensuse.org. You can use https://build.opensuse.org/package/show/home:ImperatorStorm/minizip-git as an example if needed, and via a beta automatically trigger an OBS rebuild on commit. |
Another AUR release! |
How does it know when it should recompile, does it infer that from the tags/commits? |
Ah I see, and now from-source builds don't need the CurseForge API key environment variable anymore so perfect timing! |
Actually, you don't need to state that it require the rust toolchain since it has cargo in makedepends(which automatically configures the rust toolchain for you, and you can choose to uninstall makedepends after your installation but that's normally not recommended although it would function) |
I just wanted to warn the user that it will install additional stuff that might be quite large because the Rust toolchain is over 5gb I think |
hmm, I can't get |
Looks like it, |
https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=ferium-git |
why keep it as a single package, rather than split it like the binary packages? |
Because that's what people normally do for source packages, enable features if your computer has that functionality. |
Nah, people split packages into cli and gui versions commonly, see Rewrote the Unrelated, but
|
@Southpaw1496 what do you think? |
Yet another package manager, ferium is now available on Homebrew! |
https://aur.archlinux.org/pkgbase/ferium-git/ |
I think the issue is that the zip crate depends on bzip2 and Zstandard. (zstd is what's missing in your build failure) Actually those are used for compression, but ferium only needs to decompress modpacks (at least till #98 is implemented). So I should be able to just disabled those features, then neither bzip2 nor zstd would be required! |
Damn like 20 dependencies just went poof. Maybe I should go through all the crates and disable unnecessary features... |
Oh yeah @JustSimplyKyle both bzip2 and zstd were removed so those are no longer required |
@JustSimplyKyle Do the binaries still have a dependency on |
No problem! This kinda flew over iy head, will do! |
@imsofi is there a way to automatically create a PR that updates the nixpkgs ferium package? For example for homebrew I was able to find https://github.com/mislav/bump-homebrew-formula-action but I just can't find anything like that for nixpkgs. |
@r-ryantm is a bot in nixpkgs that auto-updates packages. For example: NixOS/nixpkgs#210427 (comment) They use the https://github.com/ryantm/nixpkgs-update project to update, but its more designed to update the entirety of nixpkgs. https://github.com/Mic92/nix-update could be closer to what you are looking for. Should be runnable with something like |
Hello, I just re-instated my (updated) AUR stable source-based package for ferium at: https://aur.archlinux.org/packages/ferium It would be nice to simply flag as out-of-date the package (there's a dedicated link for that on AUR package pages) instead of requesting their deletion, especially when i already replied why i created this AUR package the last time you requested its deletion (and was at the time rejected because of the lack of other stable source-based AUR package) |
Uhh I did not get any message/email from you about your reasons for this package existing, my Discord is theRookieCoder#1287 if you'd like to chat. There are source-based packages available (those suffixed with |
The packages back then were exactly the same as they are right now, I just did not properly link to them in my request. |
I replied to the deletion request email i had, but not the other one you sent (i think it went lost among the spam i receive, sorry ><), so maybe that's why uh :( In my reply i actually proposed to add you as co-maintainer of the package so you would be able to update the package yourself when needed
There's a huge difference between "latest commit source-based" packages and "stable source-based" packages actually.
|
hmm I didn't receive anything, I checked my spam/junk inboxes but I can't find anything. Anyways,
Thanks for the clarity! (and apologies for the confusion 😬) Well there is some missing information in your package:
One last doubt, does this package need manual updating of the git tag? That can be added to the workflow so it updates automatically whenever I push and update. |
It's okay, i understand how confusing AUR can be for people ^^
Yup, i actually enabled notifications for this repository when releases are pushed so i could update my package 😄 (but seems i actually forgot to do this since some times uh ><)
No worry, in the time you wrote this i actually pushed the GUI version of my package: https://aur.archlinux.org/packages/ferium-gui :p
Actually for source-based packages, you need
The source the package use is actually the archive version of the repository, which allows using checksums for source-integrity checking, so git is not necessary :)
Whoops i didn't notice so i'll update this ASAP ^^
Actually that shouldn't be needed since the other packages already have the
As i said, i'm actually notified on every new releases you push here so i can update my AUR packages when needed (i do that for every packages i maintain on the AUR ^^) idk about how we could hook the workflow to update the package but i'd be interested for help on how to do that yeah :D |
Oh really, that's cool! So I can just remove every
I've tried to build my packages in clean chroot, and it does build!(using musl) |
To use the workflow, first add Ilesh to co-maintainer - name: Update gui AUR package
uses: ATiltedTree/create-aur-release@v1
with:
package_name: ferium-gui
commit_username: "Ilesh Thiada"
commit_email: [email protected]
ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }} |
Could we also have a version for npm, and also a discord to have better support and contact also |
Hmm not sure why ferium would need an npm package? It has absolutely nothing to do JavaScript. I never really expected this project (or any of my projects) to go this far, so I haven't considered a Discord server yet. You can use the GDLauncher server for now in the |
Basically I'm creating a hybrid Launcher between the official Minecraft Launcher and MultiMC based on Electron and uses javascript/typescript I'm still deciding on this thing because there are 2 versions of electron then I'll use React and Chakra UI and I also have a client similar to Lunar and others I'm all about fabric with all mods not made by me and I wanted to make that only in my launcher there was the download via the ferium script |
@theRookieCoder, you'll get a lot more exposure if you manage to publish to
since they support every Linux distribution except Android. Additionally, |
I'm not all that familiar with Linux but aren't these for GUI desktop applications? Ferium is still CLI only and there aren't any plans for a GUI port yet. But yeah your concern is valid, I find it frustrating too that there isn't an easy way to reach all (if not most) Linux users easily. I'm thinking of using Fedora and it pains me to not see my own software on it. |
Snap works for both cli and gui, but is jank in other ways. |
One universal packaging method available to all distros right now is nix. Which on Fedora you can install trough a dnf package from here: https://github.com/nix-community/nix-installers There is also the official method, which works well on other distros if not supported by nix-installers: https://nixos.org/download.html Then running |
A side note is that you can also run any software from nix with |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
We would ideally want to publish to the most common package managers so that updating to the latest version is easy and convenient. These are the ones I have in mind;
Preferably, these packages should use the existing Releases builds rather than compiling separately.
Their packages should also be updated automatically in the
release
Actions workflow.The text was updated successfully, but these errors were encountered: