Go to file
Julien Fastré b49c08aed3
Added planning load module and updated dependencies
A new module 'planning_load' has been added to the 'planning' directory, handling workload planning tasks. Updates have also been made to project dependencies in Cargo.lock and Cargo.toml. The added dependencies are necessary for the new functionalities in the 'planning_load' module. Also, a few adjustments were made to allow better access and error handling across packages.
2024-05-22 23:05:43 +02:00
.changes add changies 2024-03-17 21:36:10 +01:00
.gitea/workflows/release add some docs 2024-01-09 09:41:46 +01:00
src Added planning load module and updated dependencies 2024-05-22 23:05:43 +02:00
.changie.yaml Enable CI for releasing the tool 2024-01-08 23:19:56 +01:00
.gitignore write workpackage on openproject 2024-01-08 13:26:09 +01:00
Cargo.lock Added planning load module and updated dependencies 2024-05-22 23:05:43 +02:00
Cargo.toml Added planning load module and updated dependencies 2024-05-22 23:05:43 +02:00
CHANGELOG.md update changelog 2024-01-08 23:22:29 +01:00
config.toml.dist write workpackage on openproject 2024-01-08 13:26:09 +01:00
docker-compose.yaml write workpackage on openproject 2024-01-08 13:26:09 +01:00
README.md more usage 2024-01-09 09:50:10 +01:00

CL-cli utility

Provide a CLI interface for several recurring tasks for Champs-Libres

Currently:

  • convert a gitlab issue to a work package

Install & configure

Install

Download the most recent binaries at https://gitea.champs-libres.be/julienfastre/cl-cli/releases

Once downloaded, install it:

# this will install the command globally with the name "cl-cli"
sudo install cl-cli /usr/local/bin/cl-cli

# this will install the command globally with the name "cl"
sudo install cl-cli /usr/local/bin/cl

Configure

Copy the file config.toml.dist as a template, and save it at the path $HOME/.config/cl-cli/config.toml:

mkdir -p $HOME/.config/cl-cli
cp config.toml $HOME/.config/cl-cli/config.toml
editor $HOME/.config/cl-cli/config.toml

Then, fill it with the required configuration options (gitlab and openproject token).

Usage

Convert a gitlab issue into a work package

cl-cli planning i2work https://gitlab.com/Chill-Projet/chill-bundles/-/issues/240 chill

Where: