[DRAFT] Create Redmine users from CSV and add users to a group.
Go to file
2024-02-05 13:29:41 +01:00
dist build: update executables 2024-02-05 13:29:41 +01:00
src fix: force lowercase mail 2024-02-05 13:27:03 +01:00
deno.json ci: add compile script and track binaries 2024-01-15 23:19:59 +01:00
deno.lock feat: use cliffy for cli and refactor main 2024-01-15 23:12:49 +01:00
LICENSE doc: add license 2024-01-15 23:24:30 +01:00
main.ts chore: bump patch version 2024-01-16 11:20:54 +01:00
README.md doc: fix typo 2024-02-05 13:21:52 +01:00
type.ts style: fix fmt config 2024-01-15 21:05:44 +01:00
utils.ts feat: improve logging 2024-01-15 21:59:22 +01:00

Redmine CSV loader

Create Redmine users from CSV and add users to a group.

⚠️ This project is only a draft, it's working but not intended to be used widely ⚠️

Binaries are placed in dist/ for x64.

  • "*": linux
  • "*.exe": windows

Script can be run directly with deno task start for other architectures or compile with deno task compile using deno.

Requirements

The users CSV file must be in utf-8 using "," or ";" as separator. The required headers must be exactly "firstname", "lastname" and "mail" in any order (all other header will be skipped).

firstname;lastname;mail
jean;dupont;jean.dupont@example.com
alice;coger;alice.coger@example.com
bob;parraut;bob.parraut@example.com

Usage

Get help

./dist/redmine-csv-loader --help

Create users

./dist/redmine-csv-loader ./path/to/csv -k "my_api_key"

Add existing users to a group

./dist/redmine-csv-loader ./path/to/csv -k "my_api_key" -a -g "my_group"