-
-
Notifications
You must be signed in to change notification settings - Fork 45
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
Test different installations #14
Comments
@BarbUk Can you confirm that it can be installed on Arch Linux? thanks |
For the last release, I don't see an archlinux package:
The package from https://aur.archlinux.org/packages/hostctl/ is built from the source code. |
I can't find anything to automate it with Github. Did you create v0.5.1 manually or automatically? If it was automatically, I'm ok with it. I have no experience with AUR, if you can elaborate how it is done, or point to a guide on how you did it, it'd be apreciated. |
Mac binary works |
|
It's created automatically via a pkgbuild.
See the pkgbuild here for info: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=hostctl We can automate archlinux package creation to publish in your release page, but the package submission to aur must be done manually as far as I know. The linux release is working for archlinux and other distribution, so people who want to try the app can download and use The aur package provide a way to install your app from an aur helper, i.e., |
@BarbUk thanks for the info and patience 👍
Understood, so, what part can I do on this repo to simplify your submission to AUR? Which file should be generated?
Thanks! I've used Arch and AUR before, but never created a package myself. |
Hi, firstly let me thank you for a great tool, love it. Regarding #13 the current setup doesn't really follow brew best practices. You should create a new repo called homebrew-hostctl and place your Formula directory there (I know, seems pointless to create a whole repo just for that). With this change people would be able to run |
thanks @devopsbrett. Please feel free to add the issue and I'll create the new repo to improve |
For the moment, I watch your repo to be notified when a new release is available and update the PKGBUILD. I use a script, so it's definitely automatisable. #!/bin/bash
set -o errexit -o pipefail -o nounset
readonly new_release="$1"
sed -i "s/pkgver=.*$/pkgver=$new_release/" PKGBUILD
sed -i "s/sha256sums=.*$/$(makepkg -g 2>/dev/null)/" PKGBUILD
# Test build
makepkg -c
# Update srcinfo
makepkg --printsrcinfo > .SRCINFO
# Update aur
git add PKGBUILD .SRCINFO
git commit -m "Update to $new_release"
git push |
@BarbUk I've created an account on AUR and uploaded my ssh key. Can you add me as maintainer on hostctl repo so I can try to automate it? Thanks. |
Looks good, thanks for taking the time to fully automate it. |
Can confirm it works on elementary OS 5 using the deb file. |
As per #42 (comment)
Bin package is now available: https://aur.archlinux.org/packages/hostctl-bin/ @guumaster, you are co-maintainer of the package. Let me know if I can help. |
There is a Github Action workflow that automatically generates packages for different systems. I can only test on Linux and Windows, so I need help to test all options:
Please add comments if you have tested it any version of this list. Thanks!
UPDATE: Finally the snap build is approved to have proper permissions 🚀 !
The text was updated successfully, but these errors were encountered: