SeattleTestbed / buildscripts

Tools to build runnable components from SeattleTestbed repos
MIT License
0 stars 2 forks source link

Build Scripts do not work with Github's branches #10

Closed kellender closed 8 years ago

kellender commented 8 years ago

The initialize.py file does not recognize Github branches in the config_initialize.txt as valid index substitutes, and raises a repository not found error

Ex- https://github.com/SeattleTestbed/repy_v2/tree/branch_name ../DEPENDENCIES/repy_v2

aaaaalbert commented 8 years ago

Use -b branchname in your config_initialize.txt after the repo URL.

For example,

https://github.com/SeattleTestbed/repy_v2 -b issue95 ../DEPENDENCIES/repy_v2

See here why this works (and is dangerous): https://github.com/SeattleTestbed/buildscripts/blob/master/initialize.py#L78

If that fixes your issue, please comment and close.

kellender commented 8 years ago

Thanks, you are right!

aaaaalbert commented 8 years ago

For reference, the build instructions mention -b branchname here: https://seattle.poly.edu/wiki/BuildInstructions#HowTheBuildProcessWorks