Hi there!

Since we have tons of ebuild (including -9999) for software, that uses
GitHub for sourcecode hosting —  I've got an idea to write something
like GitHub eclass, which will ease creating of such ebuilds (by
providing "sugar" functions) and, (main goal for me) by adding
possibility to switch between forks (by redefining variables on emerge
run). For example (theoretical usecase):

We have, for example, lua-socket-9999, that uses:
GH_AUTHOR=diegonehab
GH_PROJECT=lua-socket
GH_BRANCH=unstable

So, then I fork it and provide some features. And then I want to
reemerge it from my fork, but I don't want to rewrite ebuild. So, then I do:
# GH_AUTHOR="msva" GH_BRANCH=master emerge =lua-socket-9999
and it repulls sources from my fork, reemerge it and installs fine.


Any ideas/suggestions/objections/critic? Let's discuss!

--
Best regards,
mva

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to