Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

At a minimum, the metafile should include a URI, stating the last known location of the file, rather than just a bare SHA256.


That doesn't work very well. Consider what happens if two different clones of a repo update the metadata last-known url at the same time with different urls. Merge conflicts.

This is why git-annex uses a separate branch for location tracking information, which it can merge in a conflict-free manner.


Late reply: that's fine, as long as there is some information as to where the location is, and not GitHub-only.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: