On 11/6/22 18:15, David Runge wrote:
On 2022-11-06 13:53:51 (+0100), Andreas 'Segaja' Schleifer wrote:
Recently Felix found a way to only build the gem and possible extensions once and use them for both testing and packaging.
To reflect these changes I would propose that we update our ruby package guidelines with the new way that Felix found.
Hi Andreas,
Thanks for investigating further and staying on top of it! Simplifying the guidelines is immensely helpful to anyone trying to package Ruby packages on Arch.
I took the initiative and already added the ruby-rspec change to the "Build and test" section.
AFAICT, the new "Template" section looks alright! To not generate a huge changeset, I guess we can bit by bit adapt the "Gem based build" to match yours, then remove the "Rake based build", move the contents of "Gem based build" to its parent heading ("Template") and add the "Gotchas" subsections below a "Tips and tricks" section.
If you need help, let me know and thanks again for further looking into this and keeping up with the documentation!
Best, David
Hi David, thanks for the reply. I renamed the "Gotchas" section in my page into "Tips and tricks". I think it makes sense to first remove the "Rake based build" section and move the other one under "Template", as it is not really needed even in the old way of the build handling and then update the remaining template with the new template. At the end we can add the "Tips and tricks" as a final edit. Best regards Andreas