App::TimeTracker::Command::Gitlab - App::TimeTracker Gitlab plugin
version 1.004
Connect tracker with Gitlab.
Using the Gitlab plugin, tracker can fetch the name of an issue and use it as the task's description; generate a nicely named git branch (if you're also using the Git plugin).
git
Git
Planned but not implemented: Adding yourself as the assignee.
Add Gitlab to the list of plugins.
Gitlab
add a hash named gitlab, containing the following keys:
gitlab
The base URL of your gitlab instance, eg https://gitlab.example.com
https://gitlab.example.com
Your personal access token. Get it from your gitlab profile page. For now you probably want to use a token with unlimited expiry time. We might implement a way to fetch a shortlived token (like in the Trello plugin), but gitlab does not support installed-apps OAuth2.
The namespace of the current project, eg validad if this is your repo: https://gitlab.example.com/validad/App-TimeTracker-Gitlab
namespace
validad
https://gitlab.example.com/validad/App-TimeTracker-Gitlab
No new commands
~/perl/Your-Project$ tracker start --issue 42
If --issue is set and we can find an issue with this id in your current repo
--issue
set or append the issue name in the task description ("Rev up FluxCompensator!!")
add the issue id to the tasks tags ("issue#42")
if Git is also used, determine a save branch name from the issue name, and change into this branch ("42-rev-up-fluxcompensator")
assign to your user, if set_assignee is set and issue is not assigned
set_assignee
reopen a closed issue if reopen is set
reopen
modifiy the labels by adding all labels listed in labels_on_start.add and removing all lables listed in labels_on_start.add
labels_on_start.add
Thomas Klausner <domm@cpan.org>
This software is copyright (c) 2016 by Thomas Klausner.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install App::TimeTracker::Command::Gitlab, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::TimeTracker::Command::Gitlab
CPAN shell
perl -MCPAN -e shell install App::TimeTracker::Command::Gitlab
For more information on module installation, please visit the detailed CPAN module installation guide.