Add a short description here!
Project description
SyncGitlab2MSProject
Sync Gitlab Issues with a Microsoft Project File. Use it if you use MS Project for the general project planning but want to keep the Issues in Gitlab as a part of project planning to follow the process.
Currently only Information from Gitlab Issues are inserted and updated within the Project File. Changes in synchronised fields will be overwritten.
The following MS Project attributes are synced (overwritten) from gitlab:
- Name
- Notes (from Description)
- Deadline (from Due Date)
- Work (from Time Estimated)
- Actual Work (from Time Spent)
- Percent Complete (if Tasks given for issue, otherwise only 0% and 100% [for closed])
- Text28 (the list of label)
- Text30 (the reference to the issue is stored there)
- Hyperlink (link to gitlab issue - note: somehow ms project is not handling the links correctly)
Not yet implemented but planned:
- Resources (from Assigned)
Moved issues will be handled if the group selected and the issue was moved within the group. Problem is that accessing issues only by ID is just allowed for admins.
Requirements
This project runs only in an Windows Environment with Microsoft Project installed.
Please note: This Script has been tested only mit Microsoft Project 2016. It cloud be, that some of the API has changed in newer versions. If you run into any troubles with a new version, please open an Issue.
Usage
usage: sync_gitlab2msproject [-h] [--version] [-v] [-vv] [--gitlab-url GITLAB_URL] [--gitlab-token GITLAB_TOKEN] {project,group} gitlab_resource_id project_file
Sync Gitlab Issue into MS Project
positional arguments:
{project,group} Gitlab resource type to sync with
gitlab_resource_id Gitlab resource id to sync with
project_file Microsoft Project File to sync with
optional arguments:
-h, --help show this help message and exit
--version show program's version number and exit
-v, --verbose set loglevel to INFO
-vv, --very-verbose set loglevel to DEBUG
--gitlab-url GITLAB_URL
URL to the gitlab instance i.e. https://gitlab.your-company.com
--gitlab-token GITLAB_TOKEN
Gitlab personal access token
Quickstart
- Optional: Install pipx
- Install the package
pipx install SyncGitlab2MSProject
(or usepip
if you don't like pipx) - Push the gitlab Issue to your MS Project file:
sync_gitlab2msproject --gitlab-url https://gitlab.company.com --gitlab-token <your_token> group <your_group_id> ms_project_file.mpp
Note
This project has been set up using PyScaffold 3.2.3. For details and usage information on PyScaffold see https://pyscaffold.org/.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for SyncGitlab2MSProject-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6328796f5882ae39d3a2b822a4d3cea0b711538fe9168a20a3b72f882f2f5842 |
|
MD5 | 6dc0bb5961e6ec554a22c79824ea4cd0 |
|
BLAKE2b-256 | d6137bcabae2b0b931e65a2135f6549522f1cf00449ac6ab687d785f94889931 |
Hashes for SyncGitlab2MSProject-0.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e7d67e31e7fd5fa978f1efe4bee6e30a5edc464a95e5ba143ba1cfa56ab925c |
|
MD5 | 109793839c48929dec7f5242ebec0ab5 |
|
BLAKE2b-256 | 6b63e796a985fc6cc21e67ecd6e899f01838c30f6e9fa8f508a57c95c6977d27 |