Providers

A provider is one configured tracker, such as work or home. Each provider turns a Redline query into requests to its tracker, and turns the replies into Redline’s model. Paging, caching, and pacing are shared, so every provider gets them the same way.

Redmine

Redmine is the tracker Redline supports today.

config.toml
[providers.work]
kind = "redmine"
url = "https://redmine.example.com"

Credential. Your personal API key, from My account > API access key in Redmine. Redline sends it in the X-Redmine-API-Key header. Your Redmine administrator must turn on the REST web service.

Gateways. Some gateways in front of Redmine want more headers, such as X-Redmine-Username. Add them under [providers.<name>.headers].

Rate limits. Redmine has no rate limit of its own. Reverse proxies and hosts such as Planio often add one, and answer with 429 or 503 when you go over it. Redline backs off on both.

How Redmine maps to Redline

RedlineRedmine
ProviderOne Redmine site
ProjectProject. Projects can nest
ItemIssue
KindTracker, mapped by name
Theme or epicAn issue with a tracker such as Epic, used as a parent
MilestoneVersion
StatusIssue status
CommentJournal entry with notes

Two parts of the mapping need a closer look.

Kinds are mapped by name. Each Redmine admin names their own trackers. Redline maps names to its five kinds (theme, epic, story, task, and bug) with defaults that you can change in the kinds table.

Statuses get a category. Redmine only says whether a status is closed. Redline needs one of backlog, todo, active, done, or canceled, so it guesses the category from the status name. Add a statuses table to change a guess.

Planned

The model fits these trackers too. None of them is supported yet.

RedlineJiraLinearGitHubGitLab
ProjectProjectTeamRepositoryProject
Item kindIssue typeLabel or templateLabel or issue typeLabel or type
MilestoneFix version or sprintCycle or project milestoneMilestoneMilestone or iteration
StatusStatus with a categoryWorkflow state with a typeopen or closedopened or closed

Follow the work, or ask for a tracker, on GitHub.

Edit this page on GitHub