Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/timclicks/juju-remove
A Juju plugin for simplify removing things from a model
https://github.com/timclicks/juju-remove
juju juju-plugin
Last synced: 3 days ago
JSON representation
A Juju plugin for simplify removing things from a model
- Host: GitHub
- URL: https://github.com/timclicks/juju-remove
- Owner: timClicks
- License: apache-2.0
- Created: 2019-11-06T00:01:14.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T06:50:06.000Z (about 2 years ago)
- Last Synced: 2025-01-19T11:15:16.020Z (7 days ago)
- Topics: juju, juju-plugin
- Language: Python
- Size: 17.6 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## `juju-remove`
A Juju plugin to make it easier to remove things from a model.
## Usage
```shell script
juju remove
```Once installed, you can execute `juju-remove` as a Juju plugin, where `` accepts
the name of a machine, unit, relation, or application. You can also execute `juju-remove` directly:```shell script
juju-remove
```## Installation
> `juju-remove` is currently in a beta state. Once it has seen some usage, installation will be simplified.
Start by ensuring that you have `git` and Python 3 installed.
Retrieve the package and install it:
```shell script
git clone https://github.com/timClicks/juju-develop.git
cd juju-develop
python3 -m pip install .
```A new script, `juju-remove`, has just been added to your `PATH`. Congrats.
### Verify installation
To check that you've installed things correctly, try running it with `--help`:
```shell script
juju remove --help
```## Asking for help
If you encounter any problems, please add a question in the [Juju Discourse forum](https://discourse.jujucharms.com/).
## Development
All contributions are welcome! For code contributions, you should install:
- [`just`](https://github.com/casey/just)
- GNU `make`*
- GNU `sed`*To set up your system, create a virtual environment.
```shell script
python3 -m venv /path/to/new-env
source /path/to/new-env/bin/activate
```You should now edit the `.env`
Get your hands on the source:
```shell script
git clone https://github.com/timClicks/juju-develop.git
cd juju-develop
```You should now edit the `.env` file to update the `VENV` variable. This will help later on when
you need to keep the `requirements.txt` file up to date.To install of the dependencies and to install `juju-develop` in developer mode with the right interpreter, use `just`:
```shell script
just develop
```