This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
howto-git [2012-11-04 09:31] glen Pushing big files |
howto-git [2012-11-04 09:32] glen [Pushing big files] |
||
---|---|---|---|
Line 149: | Line 149: | ||
You shouldn't (can't) push bigger files than 2MiB. Big files, including patches, should be stored in distfiles. | You shouldn't (can't) push bigger files than 2MiB. Big files, including patches, should be stored in distfiles. | ||
- | If the file is accessible by url, just add ''# SourceX-md5: '' or ''# PatchX-md5: '' comment to the spec, and the file itself does not need to be added to git index. remove/revert if you already did. | + | If the file is accessible by url, just add ''# SourceX-md5: '' or ''# PatchX-md5: '' comment to the spec, and the file itself does not need to be added to git index. remove/revert if you already did. If the file is generated locally, you need to upload it to distfiles before pushing. |
There's exception if you can't do that (is too hard to do due local modifications), you can add the patch filename into ''.bigfiles'' file. See [[http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2012-October/023210.html|pld-devel-en post]]. | There's exception if you can't do that (is too hard to do due local modifications), you can add the patch filename into ''.bigfiles'' file. See [[http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2012-October/023210.html|pld-devel-en post]]. |