Command Index
Detail Information
github_admin
This command will setup github authentication to register ssh key to github.com.
Usage
$ wasanbon-admin.py github_admin [SUBCOMMAND]
Description
If you are core github.com user (like ysuga), You can use this command to upload ssh key to github.com
Sub Commands
init
Upload ssh key to github.com
set_user
this will initiate git config –global user.name|user.email
init
Initialization of wasanbon’s environment.
Usage
$ wasanbon-admin.py init
Description
This command must be called first. This will do …
1. Install Pip, PyYAML, PyGithub, psutil, and python-bitbucket module if not installed.
2. Create RTM_HOME directory, where:
2.1 Create ‘rtm’ directory in your $HOME.
2.2 Create ‘temp’ directory in your $HOME/rtm
2.3 Copy ‘setting.yaml’ file in your $HOME/rtm. This is basic setting file of wasanbon.
If you need to start wasanbon, you also have to download repository files from internet.
Check wasanbon-admin.py repository command.
1. Install Pip, PyYAML, PyGithub, psutil, and python-bitbucket module if not installed.
2. Create RTM_HOME directory, where:
2.1 Create ‘rtm’ directory in your $HOME.
2.2 Create ‘temp’ directory in your $HOME/rtm
2.3 Copy ‘setting.yaml’ file in your $HOME/rtm. This is basic setting file of wasanbon.
If you need to start wasanbon, you also have to download repository files from internet.
Check wasanbon-admin.py repository command.
Sub Commands
No subcommands are available
install
Install the modules that are required with wasanbon.
Usage
$ wasanbon-admin.py install
Description
Install the modules which are required with wasanbon.
This command will install RT-middleware.
To install the modules, use : $ wasanbon-admin.py install [modules]
If you want to get alternatives of modules, use: $ wasanbon-admin.py install -a
If you want to check if it’s installed or not, use: $ wasanbon-admin.py status
This command will install RT-middleware.
To install the modules, use : $ wasanbon-admin.py install [modules]
If you want to get alternatives of modules, use: $ wasanbon-admin.py install -a
If you want to check if it’s installed or not, use: $ wasanbon-admin.py status
Sub Commands
No subcommands are available
make
Build your package from anywhere in your system.
Usage
$ wasanbon-admin.py make
Description
Build your package from anywhere in your system.
If you are in the specific RTC’s directory, just type ‘wasanbon-admin.py make’ to build the RTC only.
If you are in the specific package (and not in the specific RTC’s direcotry),
just type: ‘wasanbon-admin.py make’ to build the package’s all RTCs.
This command also allows to input package name to be built. Use:
‘wasanbon-admin.py make YOUR_PACKAGE_NAME’
To cleanup the build intermediate files, add -c option.
If you are in the specific RTC’s directory, just type ‘wasanbon-admin.py make’ to build the RTC only.
If you are in the specific package (and not in the specific RTC’s direcotry),
just type: ‘wasanbon-admin.py make’ to build the package’s all RTCs.
This command also allows to input package name to be built. Use:
‘wasanbon-admin.py make YOUR_PACKAGE_NAME’
To cleanup the build intermediate files, add -c option.
Sub Commands
No subcommands are available
package
Package administration command.
Usage
$ wasanbon-admin.py package [SUBCOMMAND]
Description
This command will do package administration.
You can find your package by list subcommand.
You can create your package by create subcommand,
and you can clone your package from repository.
Fork command will create your own repository in your own upstream repository,
this will be useful if you want to modify the package for your own purpose.
Your package will be automatically registered into your system setting,
if yours is not, do register.
If you purge the registration, do unregister.
You can find your package by list subcommand.
You can create your package by create subcommand,
and you can clone your package from repository.
Fork command will create your own repository in your own upstream repository,
this will be useful if you want to modify the package for your own purpose.
Your package will be automatically registered into your system setting,
if yours is not, do register.
If you purge the registration, do unregister.
Sub Commands
fork
Fork the package from internet.
This create directory in your current directory.
ex., $ wasanbon-admin.py package clone YOUR_TARGET_REPOSITORY_NAME
This create directory in your current directory.
ex., $ wasanbon-admin.py package clone YOUR_TARGET_REPOSITORY_NAME
repository
Show the package list in the repository
unregister
Unregister the package from the package database
ex., $ wasanbon-admin.py package unregister YOUR_PACKAGE_NAME
ex., $ wasanbon-admin.py package unregister YOUR_PACKAGE_NAME
create
Create New Package. ex., $ wasanbon-admin.py package create YOUR_PACKAGE_NAME
register
Register the package to the pacakge database.
ex., $ wasanbon-admin.py package register YOUR_PACKAGE_NAME
ex., $ wasanbon-admin.py package register YOUR_PACKAGE_NAME
list
Show the packages in your platform.
clone
Clone the package from internet.
This create directory in your current directory.
ex., $ wasanbon-admin.py package clone YOUR_TARGET_REPOSITORY_NAME
This create directory in your current directory.
ex., $ wasanbon-admin.py package clone YOUR_TARGET_REPOSITORY_NAME
proxy
This command simply set the proxy setting for git command
Usage
$ wasanbon-admin.py proxy
Description
This command simply set the proxy setting for git command
Sub Commands
No subcommands are available
repository
Repository Setting Command for wasanbon environment.
Usage
$ wasanbon-admin.py repository [SUBCOMMAND]
Description
This command can setup/update/edit/install repository from internet.
You must call repository setup command to start wasanbon repository control.
This command will download default wasanbon_repositories files into your
RTM_HOME directory. See $HOME/rtm/repositories/sugarsweetrobotics/wasanbon_repositories.
In the repository directory, you can find two directories, rtcs and packages.
Both directory can include yaml file that contains repository information of RTC and Package.
You must call repository setup command to start wasanbon repository control.
This command will download default wasanbon_repositories files into your
RTM_HOME directory. See $HOME/rtm/repositories/sugarsweetrobotics/wasanbon_repositories.
In the repository directory, you can find two directories, rtcs and packages.
Both directory can include yaml file that contains repository information of RTC and Package.
Sub Commands
status
Check Repository Status. This command allows -l option to see more information.
edit
You can manually change your own repository files by this command.
ex., wasanbon-admin.py repository edit.
ex., wasanbon-admin.py repository edit.
setup
Download default repository from www into $RTM_HOME/repositories.
update
Update repositories.
install
Download specific repository from url.
ex., $ wasanbon-admin.py repository install YOUR_OWN_REPOSITORY_URL
ex., $ wasanbon-admin.py repository install YOUR_OWN_REPOSITORY_URL
push
If your repositoy has additional commit, you can push the commits to upstream server.
ex., wasanbon-admin.py repository push
ex., wasanbon-admin.py repository push
commit
If you add/del your RTC repository information in your own repository,
you can commit the changes into your git repository by using this command.
ex., wasanbon-admin.py repository commit “YOUR_COMMENT”
you can commit the changes into your git repository by using this command.
ex., wasanbon-admin.py repository commit “YOUR_COMMENT”
create
Create your own repository. You will need to input your information. This will be interactive sequence.
To use this command, just type, $ wasanbon-admin.py repository create
To use this command, just type, $ wasanbon-admin.py repository create
selfupdate
This command will update wasanbon automatically.
Usage
$ wasanbon-admin.py selfupdate
Description
This command will update wasanbon automatically.
Sub Commands
No subcommands are available
ssh_init
This command will launch ssh-keygen command in any platform
Usefull for windows user to generate ssh-key
Usefull for windows user to generate ssh-key
Usage
$ wasanbon-admin.py ssh_init
Description
This command will launch ssh-keygen command in any platform
Sub Commands
No subcommands are available
status
Check you wasanbon platform status.
Usage
$ wasanbon-admin.py status
Description
This command will show the setup status of wasanbon.
Sub Commands
No subcommands are available
version
This command simply show the version of wasanbon
Usage
$ wasanbon-admin.py version
Description
This command simply show the version of wasanbon
Sub Commands
No subcommands are available