Page MenuHomeSolus

Add gem packaging macros
Closed, ResolvedPublic

Description

I have been attempting to package chef-dk (T2260). Been looking around at other gem based packages and most of them share extremely similar code. The macros would most likely be like the Python macros :)

Talked with Peter on IRC about this today

Event Timeline

sunnyflunk claimed this task.EditedNov 13 2017, 2:48 AM

TL:DR: ruby packages download all needed gems that aren't installed (requires networking), and creating file conflicts. Both are bads

To make it really easy requires:

I'll get started xD

So I've basically implemented all the tooling/backend stuff to make packaging ruby gems a breeze (once a few things are pushed and you pull the updated common https://dev.solus-project.com/rCOMN17e2346488b47136ed88e12d530a28caf077f8e7)

If anyone wants to have a crack at packaging these ruby gems, I'm happy to liase (testing more packages may yield some issues with the assumptions)

@sunnyflunk might as well fix error in common README. One of the links is not formatted correctly

**Currently, the request mechanism is to email ikey, or [catch him on IRC](irc://irc.freenode.net/#Solus-Dev)**

sunnyflunk closed this task as Resolved.Mar 24 2018, 1:02 PM

So this is functional now with %gem_build and %gem_install (only %gem_install needed for a .gem file).

As proof of concept, vagrant is now split into individual gems and it bundles nothing.