Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slicer build base auto update #10

Merged
merged 5 commits into from
Jun 22, 2016

Conversation

jcfr
Copy link
Member

@jcfr jcfr commented Jun 22, 2016

To facilitate the updated of slicer-build-base/Dockerfile, I added the script updated.sh (and its companion script update.py)

Given the path to a Slicer source tree (setup with git-svn) it will update the Dockerfile and add a commit.

Todo:

  • Support regular SVN checkout

@msmolens Let me know what you think.


def _run(cmd):
print("Executing %s" % ' '.join(cmd))
subprocess.Popen(cmd)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This returns immediately. subprocess.check_call() would be a good alternative.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the tip.

Will look into it.

@msmolens
Copy link
Member

Haven't tested in full, but added some notes. Otherwise LGTM so far!

@jcfr
Copy link
Member Author

jcfr commented Jun 22, 2016

Thanks for the review. Additionally improvements are tracked by #11 and #12

@jcfr jcfr merged commit ce5d35a into Slicer:master Jun 22, 2016
@jcfr jcfr deleted the slicer-build-base-auto-update branch June 22, 2016 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants