public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [discussion] GitHub eclass
@ 2013-02-22  6:53 Vadim A. Misbakh-Soloviov
  2013-02-22  7:37 ` Kent Fredric
  2013-02-22 14:00 ` Michał Górny
  0 siblings, 2 replies; 9+ messages in thread
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	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-02-22 16:30 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-22  6:53 [gentoo-dev] [discussion] GitHub eclass Vadim A. Misbakh-Soloviov
2013-02-22  7:37 ` Kent Fredric
2013-02-22  7:43   ` Diego Elio Pettenò
2013-02-22  9:51     ` Kent Fredric
2013-02-22 13:49       ` Ian Stakenvicius
2013-02-22 14:00 ` Michał Górny
2013-02-22 15:09   ` Rich Freeman
2013-02-22 16:19     ` [gentoo-dev] " Duncan
2013-02-22 16:30       ` Ian Stakenvicius

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox