-
Notifications
You must be signed in to change notification settings - Fork 45
Is it time to change the default filename from .rosinstall
to .wstool
?
#19
Comments
-1, I see little benefit from it, but it creates confusion. Describe more what benefits you see. As an example, wstool also consumes oth xyz.rosinstall files from various locations. That commonality indicates a relationship. |
+1; For beginners, googling about |
Exactly. Also, these days people are with me when I tell them about wstool until I mention that it uses the '.rosinstall' extension. Then it brings up questions like "is this installing something?" "How is this different from It wouldn't be hard to have wstool handle two filetypes, and it would clear up a lot of the beginner confusion. |
-0, then. Fair enough, but given the naming changes in the past, a name that is not bound to the tool but to the purpose might be more useful, then. |
Ok so how about (off the to of my head):
|
-1 I'm not enthusiastic about changing the name just for the sake of changing the name. It's quite disruptive, requires a lot of documentation and support changes, including updating REPs http://www.ros.org/reps/rep-0126.html, wiki, answers.ros.org answers. I suggest that until we change the format, we keep the name. At that time we can update the documentation for both the new format definition and new name. There will not be ambiguity in searches and support requests. Explaining that it's reusing a file format from another similar tool is not that hard. |
So, the reason for using In the past we had talked about changing away from the current rosinstall format, but we shied away from that because we didn't want to have to implement and new library which provided the functionality of
To the second point, consider this: - git:
uri: https://github.com/org/foo.git
version: master
local-name: foo
- git:
uri: https://github.com/fork/foo.git
version: master
local-name: foo If you try to run foo:
vcs: git
url: https://github.com/org/foo.git
version: master
foo-fork:
vcs: git
url: https://github.com/fork/foo.git
version: master Because the local name is the key of the dictionary, it naturally prevents this overlap. Anyways, I said all that to say: I was always thinking that when/if we change the format, then we would change the file name, but not before. So if we do change it before we change the tool/format then I agree it should be a purpose oriented name. |
Ok, I didn't realize there was even a rough plan to fix the issues with the format. It definitely makes sense to wait until that happens. So I'll close this, and we can track a new format in a new ticket? |
Well, I don't know of any timeline to replace |
The idea of using a different filename was discussed for wstool here: A draft of a different format was discussed once here: |
Of course. I'm not saying that anyone does have time. But it's it's something that would be nice, we might as well track it. I'm also not suggesting that |
rosinstall is now just a thin layer on top of wstool as a library. We do that in order to maintain code only once. So if we introduce new syntax, we introduce it for both. |
vcstool is an alternative to rosinstall/wstool that does not support rosmake (no central file from which to produce a ROS_PACKAGE_PATH, or a setup.sh). It is viable in combination with catkin. See https://groups.google.com/d/msg/ros-sig-buildsystem/VqziwxVnmb0/ui_BZ3qy4x4J for some history. |
The technical advantages of
The advantages from a user point of view:
There are certainly features in wstool / rosinstall which vcstool does not cover but for my personal use I never use those tools and therefore can't comment on them. |
Why not add support for For extra sanity, if both exist, check they are identical, and fail if they are not. |
Closing since the repository is about to be archived: see #154. |
Would it be reasonable to change the default config file from
.rosinstall
to.wstool
? The idea is thatwstool
will still recognize.rosinstall
files, but will also process files named.wstool
. By default going forward,wstool init
would create a.wstool
file.The text was updated successfully, but these errors were encountered: