Skip to content

Workspace utility (an alternative to wstool and vcstool)

License

Notifications You must be signed in to change notification settings

asherikov/wshandler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

wshandler is a workspace management utility similar to https://github.com/dirk-thomas/vcstool and discontinued https://github.com/vcstools/wstool. A workspace is a directory containing a set of packages (typically git repositories) under development, see https://docs.ros.org/en/foxy/Tutorials/Beginner-Client-Libraries/Creating-A-Workspace/Creating-A-Workspace.html or http://wiki.ros.org/catkin/workspaces for more information.

Key features:

Installation

wshandler requires bash, yq, and git to work, you can use helper install.sh script in this repository to install dependencies. The utility itself is a single bash script that can be placed anywhere, e.g., your ${HOME}/bin.

Usage

Usage (default values are shown in curly braces):
  wshandler [<COMMON_ARGS>] [<COMMAND_ARGS>] <COMMAND> <COMMAND_ARGS>
Common arguments:
  -r|--root <WORKSPACE_ROOT>  {./}
  -c|--cache <CACHE_DIR>      {<WORKSPACE_ROOT>}
  -t|--type rosinstall|repos  {rosinstall}
  -i|--indent 1|2|3...        {4}
  -k|--keep-going             {false}
Commands:
  status
  [-j|--jobs <NUM_THREADS> {1}] [-p|--policy {default}|shallow] update
  [-j|--jobs <NUM_THREADS> {1}] clean
  [-p|--policy {ask}|add|show] scrape
  add git <NAME> <URL> <VERSION>
  remove <NAME>
  [-p|--policy {keep}|replace] merge <FILENAME>

Examples

  • wshandler status
>>> wshandler status /home/aleks/wshandler/tests/scrape/: git sources ---
name       version (actual)                  repository
----       ----------------                  ----------
qpmad      master (heads/master-0-g53edb8a)  https://github.com/asherikov/qpmad.git
staticoma  master (heads/master-0-g4c7e4e2)  https://github.com/asherikov/staticoma.git

<<< wshandler status /home/aleks/wshandler/tests/scrape/: git sources ---

About

Workspace utility (an alternative to wstool and vcstool)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published