atom feed24 messages in org.freebsd.freebsd-portsRe: [RFC] New ports idea: github / gi...
FromSent OnAttachments
Lev SerebryakovSep 9, 2011 3:30 am 
Baptiste DaroussinSep 9, 2011 6:04 am 
Lev SerebryakovSep 9, 2011 6:12 am 
Klaus T. AehligSep 9, 2011 6:24 am 
Klaus T. AehligSep 9, 2011 6:54 am 
Lev SerebryakovSep 9, 2011 6:57 am 
Klaus T. AehligSep 9, 2011 7:05 am 
Baptiste DaroussinSep 9, 2011 7:28 am 
Shaun AmottSep 9, 2011 8:26 am 
Klaus T. AehligSep 9, 2011 8:38 am 
per...@pluto.rain.comSep 10, 2011 12:11 am 
Matthew D. FullerSep 10, 2011 12:15 am 
Lev SerebryakovSep 10, 2011 1:50 am 
Shaun AmottSep 10, 2011 9:04 am 
Chris ReesSep 10, 2011 10:33 am 
Ruslan MahmatkhanovSep 10, 2011 10:47 am 
Chris ReesSep 10, 2011 10:57 am 
Ruslan MahmatkhanovSep 10, 2011 11:09 am 
Klaus T. AehligSep 10, 2011 11:37 am 
per...@pluto.rain.comSep 10, 2011 4:14 pm 
Lev SerebryakovSep 11, 2011 2:01 am 
Peter PentchevSep 11, 2011 2:26 pm 
per...@pluto.rain.comSep 11, 2011 4:14 pm 
b. f.Sep 11, 2011 7:01 pm 
Subject:Re: [RFC] New ports idea: github / gitorious / bitbucket direct support.
From:Klaus T. Aehlig (aeh@linta.de)
Date:Sep 9, 2011 6:24:14 am
List:org.freebsd.freebsd-ports

The main problem with that is: we have no way to keep a valid sum of the distfiles if it is autogenerated (in particular with github) and this sum is really important.

With github this fortunately is a non-issue. Even though they autogenerate their tar balls, they keep enough information to make them reproduciable. Just try:

/tmp>fetch https://github.com/Dieterbe/uzbl/tarball/2011.07.25 2011.07.25 100% of 143 kB 177 kBps /tmp>sha256 2011.07.25 SHA256 (2011.07.25) =
2e61fa6c62e48d3f13e95a4ea7e7aead65345f6c88a688844ef921685dffe565 /tmp>cat /usr/ports/www/uzbl/distinfo SHA256 (uzbl-0.0.0.2011.07.25.tar.gz) =
2e61fa6c62e48d3f13e95a4ea7e7aead65345f6c88a688844ef921685dffe565 SIZE (uzbl-0.0.0.2011.07.25.tar.gz) = 146851 /tmp>

There still remain some minor issuses, like

* due to autogeneration, you're quite likely to get a http-redirect, * filenames like 2011.07.25 are not too suitable for a distfile.

But they certainly can be fixed by an appropriate framework. The nice thing is, github does the autogeneration right.

Best, Klaus