On Wed, 14 Sep 2016 16:41:54 +0200
Alexis Ballier <[email protected]> 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 

Attachment: pgpDM0zfY1Fs3.pgp
Description: OpenPGP digital signature

Reply via email to