[Mageia-sysadm] changing binrepos
cjw at daneel.dyndns.org
Wed Jul 13 21:17:39 CEST 2011
On Wed, 13 Jul 2011, nicolas vigier wrote:
> On Wed, 13 Jul 2011, Christiaan Welvaart wrote:
>> On Wed, 13 Jul 2011, nicolas vigier wrote:
>>> So I think we could replace binrepos svn with something like this :
>>> - on valstar, a script to upload a file, accessed by ssh using "mgarepo
>>> upload". The script saves all files in the same directory, using
>>> sha1sum for the filename. And the directory is accessible by http.
>> What happens when a file with the same sha1sum already exists?
> It is used and doesn't need to be uploaded again.
That's of course fine when the 2 files are identical but if they're not
you'll have a broken repository.
More information about the Mageia-sysadm