-
-
Notifications
You must be signed in to change notification settings - Fork 399
Mention Arch package #1691
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
Mention Arch package #1691
Conversation
|
Sure, thanks! Is this the install script? If so, I'm not very familiar with Arch but I have some remarks:
|
See upstream discussion [0]. [0] Athou/commafeed#1691
Good point, removed.
Gave it a try and you were right! Removed
Hmm, it's best practice (in Arch packages) to provide a default config file that the user can then customize. If there are changes to the default file in future versions, pacman (Arch's package manager) doesn't overwrite the existing one and instead notifies you so you can manually review any upstream changes. Of course, I'm happy to consider alternatives if you have something in mind. |
Oh OK I understand. |
Maybe we can add these to the top of that file? We can also split it into sections like "basic" and "advanced" and these would be in basic. |
|
The thing is I don't really want to maintain an |
|
Makes sense. How about this? I'll open a PR for a sample If you don't want to maintain that (which I understand) I can just do it in my package. |
|
Actually, writing a generator wasn't that bad, I wrote one in this branch. This is the output (renamed to .txt because GitHub doesn't let me upload properties files), does it work for you? It will automatically be generated during build in |
|
That's perfect! Yes, it would work just fine. I'll update my package once you merge. |
|
It's been merged in master and will be part of the next release. |
|
Great, I'll push it with 5.7.0 then. |
|
I just released 5.6.1 that includes the generator 😄 |
|
Thank you! I just pushed my update as well :) By the way, would it be feasible to add a command to include all databases in the binary? Right now I'm generating one package per supported db, but it'd be great to unify them. |
|
That's not possible. Quarkus does a lot of work at build time to avoid having to do it at runtime. The database choice is made at build time, this is why there are 4 build profiles for the 4 supported databases. |
|
Yeah, I figured. No worries, it works just fine as is :) |
See upstream discussion [0]. [0] Athou/commafeed#1691
Hi! I've built a package for Arch Linux to make my own life easier and wanted to mention it here in case it's useful. Feel free to close if not :)