Skip to content

CLI tool for creating and listing Toolforge tool accounts

License

Notifications You must be signed in to change notification settings

toolforge/toolsctl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Toolsctl

Toolsctl is a command line program that can be used to list and create Toolforge tool accounts stored in an LDAP directory. This functionality is provided as part of the Striker application for the production Toolforge deployment. In a testing environment without Striker, this tool can be used as an easier replacement than manual LDAP edits.

Usage

Create a configuration file (yaml format) based on the example (values in that file are aimed at Mediawiki Vagrant's striker role). You are likely to need to use the --config argument to point to your file.

The tool name is automatically prepended with the tool name and a dot, so don't include "tools." before the name. The required maintainer argument should be an LDAP user (eg. uid=bstorm,ou=people,dc=wikimedia,dc=org).

Full example: ./toolsctl.py --config config.yaml add -m uid=bstorm,ou=people,dc=wikimedia,dc=org test6

License

Toolsctl is licensed under the Apache-2.0 license.

About

CLI tool for creating and listing Toolforge tool accounts

Topics

Resources

License

Stars

Watchers

Forks

Languages