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

create an "update" command #34

Open
jgonggrijp opened this issue Apr 8, 2013 · 2 comments
Open

create an "update" command #34

jgonggrijp opened this issue Apr 8, 2013 · 2 comments

Comments

@jgonggrijp
Copy link
Member

setup.py always does the entire installation: detect the location of RED_SPIDER_ROOT, set the environment variables, and install commands. Those first two steps don't need to be repeated when you just check out updated code from a later commit. An "update" command (not necessarily with that name) that is run from within rsshell could do just rebuilding and reinstallation of source files that have changed, if based on the build file as requested in issue #33.

@lramati
Copy link

lramati commented Apr 9, 2013

So basically just call a git pull, and then run setup.py?

@jgonggrijp
Copy link
Member Author

Edit: no git pull, because it depends on what branch a user wants to install from.

Just rebuild changed programs + reinstall changed programs.

Note that setup.py does other things in addition to installing, i.e. detecting RED_SPIDER_ROOT, setting environment variables, and in the future possibly creating a configuration files. An "update" command doesn't need to do any of that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants