Repository navigation
Reorganize repository to fix ros-core dependencies - #133
edenfrosst wants to merge 3 commits into
Conversation
|
|
||
| catkin_package() | ||
|
|
||
| catkin_install_python(PROGRAMS scripts/axclient.py scripts/axserver.py scripts/dynamic_action.py scripts/library.py |
There was a problem hiding this comment.
Since rosrun calls will have to update anyway, consider using this opportunity to drop the py suffixes?
There was a problem hiding this comment.
And add a proper setup.py for the "library"...
There was a problem hiding this comment.
Yeah, dynamic_action and library (...) should be moved into a src directory, like proper ROS/Python packages. I was looking at refactoring/cleaning this code while I was moving things, but thought it may be out of scope for this PR (which was inspired by packaging problems).
There was a problem hiding this comment.
@ianjfrosst: I'm a fan of small PRs myself, so it would be OK for me to leave the renaming/reshuffling of the modules and script(s) out of this PR.
As long as you promise to submit a follow-up PR :)
There was a problem hiding this comment.
Yeah, I can definitely submit a follow-up for cleaning up some of the code here. I'm a little busy, but I can get it in sometime in the next couple weeks.
There was a problem hiding this comment.
Sorry, I'm finally getting around to this. @ianjfrosst did you do any sort of audit to see if anyone is using rosrun actionlib axclient.py that would get broken by this?
|
@mjcarroll what do you think? |
|
@mjcarroll @mikepurvis is there anything blocking this? I would like to see this resolved, as the |
|
Just adding a 'non-silent' 👍 here |
|
So I followed up on my comment here: #133 (comment) I'm very concerned that moving the scripts may break existing workflows from people using A quick github search reveals that this is the case: Because of that risk, I would be more inclined to target these changes to |
|
Couldn't we keep a shim
That would be unfortunate for Melodic users .. Edit: hm, just realised that the point of this refactor is to remove the GUI dependencies from the base package. The redirect would essentially reintroduce them. |
|
@gavanderhoorn I think that could be a valid approach, but we would need to make sure that it is very clear to the user that |
|
Anyone using It really would be nice to break the wxwindows dependency even for the metapackages. What if the wrapper |
|
@mjcarroll I know the GitHub search you did is far from a comprehensive analysis of I think @mikepurvis's suggested approach is a good one. Pass-through if possible, if not issue a clear message instructing the user what steps must be taken (namely, installing Happy to contribute the changes if this approach is the desired path forward. |
|
@matthew-reynolds if you do a PR with the proposed approach (passthrough/error), I would be satisfied. I'll also redirect any 🔥 towards you :) |
|
@mjcarroll New PR #157 opened. Ready for the 🔥 :) |
|
Closing in favour of #157 |
This implements the proposed repository layout from #129