inkyblackness/deck

Include proper source archives at releases

dertseha opened this issue · 2 comments

Since inkyblackness/deck only includes submodules, GitHub doesn't include them when automatically creating the source archives for releases. While accessing the other projects manually is possible, it is confusing and tedious.

Find a way to add the sources as well.

Source: https://www.systemshock.org/index.php?topic=8499.msg97885#msg97885

This might go in tandem with how the subprojects are added. I didn't want to do "hardcopy" vendoring because that requires extra manual work - The Git way felt more easy.

Either add the sources manually, or switch to a hardcopy vendoring method.

I had a look at the current vendoring solutions. I picked "glide" and found out it only allows to manage direct dependencies. I wouldn't be able to add (and pinpoint) transitive dependencies. Furthermore, go doesn't support importing from the same vendor path it is currently compiling in.

As a result, the new "update.sh" script downloads all sources (and strips .git repository information). It's not necessarily what I wanted, though the package now is fully self-contained.