MDMS and GitLab modules are curretnly under development. An example how to use them can be dound in `./exampleN.py`.
You can use MDMS and GitLab modules in your own scripts. An example how to use them can be dound in `./example_{mdms,gitlab}.py`.
A **very quick hack** for automatic issue creaton (used for FF group during last meeting) can be found in `./hack.py`.
A simple script to generate issues for each ballot comment from a document received from ISO.
`./generate_ballot_issues.py`.
New ideas are welcome. Open new issues for your ideas.
The general idea is to fire requests to MDMS, process the information, use gitlab API to open issues.
New ideas are welcome. Open new issues for your ideas. The general idea is to fire requests to MDMS, process the information, use gitlab API to open issues.
## Requirements
...
...
@@ -19,15 +12,49 @@ The general idea is to fire requests to MDMS, process the information, use gitla
The CSV file must have a header row with the folowing entries:
-`Number` - MPEG document number e.g. m12345
- To determine which GitLab project needs to be used make sure that your CSV file has either:
-`Project URL`
- or `Sub Group` with `Project Name`
The example below has both `Project URL` and (`Sub Group` with `Project Name`) but you can also have one of these in your CSV. The CSV delimiter is determined automatically.
print('WARNING. We found a GitLab issue with the document number in the title and with metadata tag in description. But the metadata tag has wrong document id in it.')
returntitle_only_hit,metadata_hit,last_version
defget_issue_metadata(description):
'''
Find and parse the metada from the description of the issue