On 14/09/16 12:20 PM, Kent Fredric wrote: > On Wed, 14 Sep 2016 16:41:54 +0200 > Alexis Ballier <aball...@gentoo.org> wrote: > >> >> So, to sum it up, I have to: >> - Open a browser, go to github (*) >> - Find out latest commit hash, copy it >> - (*) Copy the ebuild, setting a 8 digit version representing the date >> - Open an editor >> - Edit COMMIT='...' variable by pasting what was found on github. (*) >> >> >> Thanks, but I prefer by far: >> - Run a script >> - Copy ebuild, setting version printed by the script. >> >> >> (*) represents everytime i have to switch my hands between keyboard and >> mouse >> > > > You can also abuse `git ls-remote Path/To/Repo` -> list of SHA1s -> ebuild -> > sed > > But you're back to writing a script =) > > Or you can do that manually, it reduces the number of *'s >
More to the point of the original query, such scripts don't necessarily need to exist in the gentoo repo; they can be in local repos or project overlays instead. Note also that I'm perfectly fine with scripts like this staying in ${FILESDIR}.
signature.asc
Description: OpenPGP digital signature