time-master

command module
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

README

Time Master

Build Status Go Report Card

All you need to monitor your activities and to plan your team tasks with an Opensource project.

Based on the idea of TaskJuggler project.

Getting Start

Import timesheet from JIRA

Hereinafter, an example about how you can import a Jira Timesheet Report and convert to time-master yaml specs.

Import CSV timesheet

Usage:
   import timesheet [file] [flags]

Flags:
  -d, --dir string                Directory where import timesheets.
  -h, --help                      help for timesheet
  -i, --import-type string        Define type of the imported file. Now it's supported only Jira. (default "jira")
  -j, --jira-mapper-file string   Import jira resource mapper file.
  -s, --split-for-user            Create a timesheet file for every user.
      --stdout                    Print timesheets to stdout instead of write files.
  -p, --target-prefix string      Prefix of the file/files to create.

Global Flags:
  -c, --config string   Time Master configuration file
  -v, --verbose         Verbose output.

The jira-mapper-file is used for map JIRA user to Time Master users and to assign Jira issues to a specific task.

An example of jira mapper file:

resources:
- jira_name: "Daniele Rondina"
  name: "geaaru"

issues:
- jira_issue: "ISSUE-1"
  task: "MYCLIENT01.briefing"

Split import with a file per user:


$> time-master import timesheet Reports_2020-06-01_2020-06-30.csv -d workspace/timesheets/202006/ -j workspace/mapper/jira.yaml  -s

Import to a single file.


$> time-master import timesheet Reports_2020-06-01_2020-06-30.csv -d workspace/timesheets/202006/ -j workspace/mapper/jira.yaml

Documentation

Overview

Copyright (C) 2020 Daniele Rondina <geaaru@sabayonlinux.org> Credits goes also to Gogs authors, some code portions and re-implemented design are also coming from the Gogs project, which is using the go-macaron framework and was really source of ispiration. Kudos to them!

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL