-
Notifications
You must be signed in to change notification settings - Fork 446
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
Support for multiple Prefix values in RPM spec. #698
Support for multiple Prefix values in RPM spec. #698
Conversation
I would like to merge this, but I have no experience with @justinnichols also could you add some notes to the docs ( |
@muuki88 I altered/added documentation to the rpm.rst. I hope it is clear and concise. |
I'm not sure what the commit quality needs to be (aside from squashing the commits into one). Please advise if I'm needed to do anything here. Thanks! |
Hi @muuki88 and @justinnichols - apologies for not looking at this earlier. I've looked the PR, and changing I believe there are further changes which are required to make this work. Unfortunately the changes are going to be quite involved due to:
These are the changes required. 1. RPM pre-inst scriptlet Modification required:
Why is this required:
2. Start script Modification required:
Why is this required:
3. Relocate symlink https://github.com/justinnichols/sbt-native-packager/blob/c957fdfcf2fc6f05cc2234eef0552f79fa7b3ab7/src/main/scala/com/typesafe/sbt/packager/rpm/RpmMetadata.scala#L260 Modification required:
Why this is required:
4. SystemD service file 45bc15f#diff-4cd37cfbb35d81cf7067b4496c0c6a9cR15 Modification required:
|
@justinnichols Would you be able to make these changes to complete this PR? My wish would be that we have integration tests (#545) with ansible for testing these stuff. However we don't have any infrastructure for this yet :( |
I will do everything I can to help make this more complete. Given the holidays and normal work schedule, it may be some time before I would have something for this. Do you want to leave this PR open until then or would you like to close this and then I can submit a new one once I feel I have completed everything @fsat laid out? Also, thank you, @fsat, for your wonderful descriptions of what would need to be done and the pointers to where things are. |
@justinnichols - you're most welcome :-) Hi @muuki88 & @justinnichols - I updated the description to add Step 4 which is to include systemd's user service file since #711 has been merged into master. If you decide to keep this PR going, I'd recommend rebase against master. |
@justinnichols I will close this PR for a now and we can link it with your new one. |
Added support for multiple Prefix values in the RPM spec. This is not backward compatible, the interface has changed. Also fixed it so when the RPM spec is written, "prefix:" is now "Prefix:".