Toolforge client
Project description
toolforge-cli
CLI to run toolforge related commands
Local development environment (guideline)
Tox on debian testing
Clone the repo including commit hooks (instructions here https://gerrit.wikimedia.org/r/admin/repos/cloud/toolforge/toolforge-cli).
Install tox:
~:$ apt install tox
Move to the directory where you cloned the repo, and run tox:
/path/to/repo/toolforge-cli:$ tox
That will run the tests and create a virtualenv that you can use to manually debug anything you need, to enter it:
/path/to/repo/toolforge-cli:$ source .tox/py-tests/bin/activate
Building the debian packages
For this you'll need debuild installed:
~:$ sudo apt install debuild
Install the build dependencies, this requires devscripts and equivs:
~:$ sudo apt install devscripts equivs
...
/path/to/repo/toolforge-cli:$ sudo mk-build-deps --install debian/control
Or just manually check the debian/control
file Build-Dependencies
and install them manually.
Note that it will build a debian package right there, and install it, you can remove it to clean up the dependencies any time.
Now for the actuall build:
/path/to/repo/toolforge-cli:$ debuild -uc -us
That will end up creating an unsigned package under ../toolforge-cli.*.deb
.
If you want to sign it, you will have to do something like:
/path/to/repo/toolforge-cli:$ debuild -kmy@key.org
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file toolforge-cli-0.1.2.tar.gz
.
File metadata
- Download URL: toolforge-cli-0.1.2.tar.gz
- Upload date:
- Size: 22.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.12 CPython/3.9.12 Linux/5.16.0-6-amd64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1528865c4d93a51c186af98ff77e2c1b6aab5d40086474d10f92cd0dd1bdd0e1 |
|
MD5 | f0a5c43f5e944285b87381071e29b034 |
|
BLAKE2b-256 | 742c3b564715368ecd013f222ab4c27f38b6ed59ade5bcd888d6eb68c055b7d3 |
File details
Details for the file toolforge_cli-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: toolforge_cli-0.1.2-py3-none-any.whl
- Upload date:
- Size: 22.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.12 CPython/3.9.12 Linux/5.16.0-6-amd64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f4f50ecfa5537c0b1d61676ea207a4384000614229a45f79e484214b9373bb5 |
|
MD5 | dadba7d54d4aa99659ae0e127ad07513 |
|
BLAKE2b-256 | 199c07970355139f09b0b3fab8e25125971f8599f7506edc23633bfa59ff2cd2 |