changed gmapping source repo, adapted patch#80
changed gmapping source repo, adapted patch#802maz merged 2 commits intorock-core:masterfrom leifole:master
Conversation
|
Would be great if you can took-over the maintainer ship for this package please:
|
|
Indeed, autoproj is failing if you change the repository type, without deleting the local working copy first: autoproj: importing and loading selected packages
patching slam/gmapping: unapplying 1 patch(es)
updated slam/gmapping
Command failed
slam/gmapping(/home/leifole/dev/rock/transterra/slam/gmapping): failed in import phase
while importing slam/gmapping, /home/leifole/dev/rock/transterra/slam/gmapping does not point to a git repositoryHow to proceed? Should be possible to change repo type for existing packages. Since I am no big fan of magic behind the scenes, I would suggest just asking the user to manually delete the old folder. |
Ideally, that's what autobuild would do. Never got implemented. Feel free. |
|
(On a more constructive note: you can IMO change it and tell people on the ML that they'll have to delete the folder) |
|
autobuild is raising the ConfigException, for example in import/git.rb . Most simple thing to do would be perhaps to just extend the exception message, either in all files under import/ or in the ConfigException definition in exceptions.rb. Further information (like "expected git, but found #{repo_type}, source switched? -> Delete first") would be nice, but I'm not sure, where the best place would b to check for the right vcs type. |
There's no awesome way to robustly detect the source type, and I'm not entirely sure that it's really that useful information. We can definitely extend the message by saying that the importer has changed and that the user might want to delete the source first, though. |
|
Related pull requests now: #91 and rock-core/package_set#14 As from what I see there is no way and need to handle this automagically, but requires informing the users. So notification on the ML should do until we properly fix it in autoproj. Pull request to update the error message on git import: rock-core/autobuild#30 |
changed gmapping source repo, adapted patch
|
Merged after announcement on user ML. |
remove the constraint on pastel
the source for gmapping that is used in ROS has some (a lot of) fixes, that are not in the original openslam repo, so adapted source.yml to that. Also changed the patch to remove catkin-related stuff. This time used --no-prefix with git format-patch so default patchlevel -p0 works.