Various script used to manage Redmine.
  • Python 99.7%
  • CSS 0.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
bsennblad f07211db63 merging
2026-10-12 17:16:38 +02:00
lib Merge branch 'main' of github.com:NBISweden/redmine_utils 2026-09-07 12:51:50 +02:00
reports Correct path to config.yaml + cosmetic change 2026-10-12 16:43:50 +02:00
scripts Added command that was used to generate a survey send out to the log file 2026-10-01 13:01:07 +02:00
.gitignore Hehe, removed *.txt from .gitignore 2026-06-03 15:15:15 +02:00
config.yaml.dist Added email options to config example 2025-10-15 08:14:18 +02:00
pixi.toml Restructure folders, e.g. add folders reports and lib, and update scripts following these changes. Add Folder README-files and update existing README-files. 2025-10-17 12:36:18 +02:00
README.md Move parameters for reports/timeLog.qmd to a separate file, reports/timeLogParams.yaml.dist. Handle case in reports/timeLog.qmd when user list contains single item and implement case that an empty user list indicate that all users logging time in requested interval should be included. Update README files 2025-11-24 11:41:43 +01:00
requirements.txt Added jinja2 to python requirements 2025-10-28 13:42:55 +01:00

redmine_utils

This repository contains a collection of scripts for communicating with the NBIS Redmine API and extract or change its content.

How to use this (an alternative that requires you to install pixi)

A pixi workspace file (pixi.toml) is included that (hopefully) provides the various packages dependencies required for the included scripts (both Python and Quarto).

To run scripts in command-line, first do:

    pixi shell

If you want to start your system's rstudio (i.e., not provided by pixi) from within the pixi workspace, do: pixi run rstudio

NB! If you are not on MacOSX or this does not work directly, you might need to open the file pixi.toml in your text editor and change the line rstudio = "/Applications/RStudio.app/Contents/MacOS/RStudio" to point to the location of your rstudio installation.

NB! You might also need a conda installation on your system

Some of the quarto-reports use R-reticulate, which apparently will look for a system conda installation. This appears to be a known bug with pixi (sigh!). (A plan is to try to switch R-code in quarto docs to python)

Content

config.yaml.dist

Dummy template for the user-created file `config.yaml containing address to the Redmine API and user's API-key (available from 'My account'-page in NBIS Redmine)

pixi.toml

Provides the pixi workspace (see above).

reports/

Scripts for creating various reports based on info extracted from Redmine. See reports/README.md for more info.

scripts/

Dedicated task scripts typically run by Martin D. See scripts/README.md for more info.

lib/

Contains the actual functions for communicating with Redmine API. See lib/README.md for more info.