-
Notifications
You must be signed in to change notification settings - Fork 6
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
[WIP] Add manual #15
base: master
Are you sure you want to change the base?
[WIP] Add manual #15
Conversation
The modified help sentences in 304e112 were a nice attempt, but should not be merged |
|
||
- *1. where do these packages come from??* | ||
- Would be the ros-distro story, but needs a good place in the manual. | ||
- perhaps an example and a eference to the REP. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You create a rosdistro according to REP 143. Example for the tue-robotics software: https://github.com/rayman/rosdistro
I made one modification, the packages
field example is added for the source packages field. When this field is present, installation with ros-get is possible.
|
||
- *2. which branch?* | ||
- ``ros-get update`` does what wrt branches? | ||
- should it do other things with branches too? (make them, remove them, switch between them, push them, fetch/pull them, etc) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good question, we should discuss this. My personal preference is the following
- install
- if the repo doesn't exist: checkout the repo @ target branch
- else: just
git pull
the current branch and warn that you're on the wrong branch
- update
- if the repo doesn't exist: checkout the repo @ target branch
- else: just
git pull
the current branch and warn that you're on the wrong branch
Does that make sense?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it is up to the user to switch branches. And to make sure they're working on the branch they want to work on.
Warnings on an update would be a bit overdone no? If they want to know they can run a ros-get status or something.
- *3. are all branches updated?* Assuming you can have some repos using a different branch, are these updated too, or is that configurable, or? | ||
|
||
- *4. is this true?* | ||
- ``ros-get list`` seems to list the top-level packages? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is true, maybe that functionality should be moved to an --installed
argument. By default list ALL packages?
- ``ros-get list`` seems to list the top-level packages? | ||
- *5. get other information?? how??* | ||
- can it provide other lists (manually installed as required versus installed as dependency, for example) | ||
- can you get packages that nobody needs any more? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The python package catkin_pkg
can be used to parse the package.xml
files we have on disk and resolve the dependencies. This is indeed work that can be done.
- ``ros-get remove`` considerations: | ||
- *6. really? what if it is needed by some other package??* Can you remove a package that is needed as dependency? | ||
- *7. is a package removed automatically by itself when it is not required any more??* is that desired? | ||
- *8. if so (if automatically removed), can you avoid that?* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Currently its broken. It should remove top-level packages.
- We should have an
autoremove
command which does that. TODO
- ``tue-get --release`` build Debian package`` (looks catkin-ish) | ||
|
||
- ``tue-make`` / ``tue-make-dev`` / ``tue-make-dev-isolated`` / ``tue-make-system`` | ||
- probably provided by catkin already? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should make an alias like:
alias tue-make='catkin build --workspace "$(ros-get ws-locate)"'
- ``tue-make`` / ``tue-make-dev`` / ``tue-make-dev-isolated`` / ``tue-make-system`` | ||
- probably provided by catkin already? | ||
|
||
- ``tue-revert`` and ``tue-revert-undo``. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made these. They revert all packages to a certain point in time. Useful for "Help we need to revert back to yesterday immediately!!"-situations.
Basically high level: ros-get upgrade gives the latest versions. But maybe you sometimes don't want the latest but a specific point in time.
But maybe this is also very tue specific.
- ``tue-revert`` and ``tue-revert-undo``. | ||
|
||
- ``tue-create ros-kpg PACKAGE_NAME [DEPENDENCY1 DEPENDENCY2 ..]`` code generator for ROS package boiler-plate | ||
- ``tue-create cpp-class CLASS_NAME PROJECT SUPER_CLASS`` code generator for cpp class. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is already catkin_create_pkg
|
||
- ``tue-create ros-kpg PACKAGE_NAME [DEPENDENCY1 DEPENDENCY2 ..]`` code generator for ROS package boiler-plate | ||
- ``tue-create cpp-class CLASS_NAME PROJECT SUPER_CLASS`` code generator for cpp class. | ||
- ``tue-env cd`` woud at least be bash. Likely also exists as ``roscd``? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, roscd
is fine, or make an alias. We used to have the trunk
alias.
- time-zone commands | ||
- apt-get-proxy | ||
- ``tue-save-map`` | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are robotcup specific aliases that should be in their own package.
allowing you to use it with the other workspace commands. | ||
The command is | ||
|
||
ros-get ws-create [--name NAME] DIRNAME [EXTEND] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This changed on the latest commit :)
It would be really nice if we could have the ocumentation available on readthedocs.io #24 . Maybe we can auto generate parts from code? Let's look into this next tuesday. |
No description provided.