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

Updated install script to allow adding multiple launch files to a job #28

Merged
merged 2 commits into from
Nov 30, 2015

Conversation

jjekircp
Copy link
Contributor

Adjusted argparse to accept multiple pkgpath arguments and changed the code to loop over the resulting list and add each entry to the Job object.

Proposed to make the install script more convenient for users who wish to install several launch files all at once with one command.

I regenerated the documentation locally and it automatically updated to reflect this change, so I don't believe any manual changes are necessary. I am happy to make any changes if necessary though.

I would also like to have this change backported to Indigo. I'm assuming the usual procedure is to make the change on the jade-devel branch and then backport.

j.add(package=pkg, glob=os.path.join(pkgpath, "*"))
found_path = find_in_workspaces(project=pkg, path=pkgpath, first_match_only=True)
if not found_path:
print "Unable to locate path %s in package %s. Installation aborted." % (pkgpath, pkg)
Copy link
Member

Choose a reason for hiding this comment

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

Does this actually abort?

@jjekircp
Copy link
Contributor Author

jjekircp commented Oct 5, 2015

@mikepurvis Any other comments?

@mikepurvis
Copy link
Member

Looks good, thanks. Sorry this fell of my radar.

mikepurvis added a commit that referenced this pull request Nov 30, 2015
Updated install script to allow adding multiple launch files to a job
@mikepurvis mikepurvis merged commit d7641e6 into jade-devel Nov 30, 2015
@mikepurvis mikepurvis deleted the install_multiple_files branch November 30, 2015 20:20
@mikepurvis
Copy link
Member

Backported to indigo in cd217fb.

Released: ros/rosdistro#9906

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

Successfully merging this pull request may close these issues.

None yet

2 participants