* [gentoo-dev] [discussion] GitHub eclass
@ 2013-02-22 6:53 99% Vadim A. Misbakh-Soloviov
0 siblings, 0 replies; 1+ results
From: Vadim A. Misbakh-Soloviov @ 2013-02-22 6:53 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 884 bytes --]
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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 901 bytes --]
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2013-02-22 6:53 99% [gentoo-dev] [discussion] GitHub eclass Vadim A. Misbakh-Soloviov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox