Skip to content

Fixed old style no label reference to new format

Lee Tickett requested to merge leetickett/gitlab-triage:fix_example_yml into master

I just pulled this project down and tried the sample against my GDK. No records were identified because of the old style No label reference. I have updated this to use the new style None.

Before;

vagrant@ubuntu-bionic:~/gitlab-development-kit/gitlab-triage/bin$ gitlab-triage --dry-run --token mHFNx7QqRNV5_GpCzPCy --host-url http://10.0.2.15:3000 --source groups --source-id 23
Performing a dry run.

=======================
Triaging the `23` group
=======================

---------------------------
Processing rules for issues
---------------------------

------------------------------
Processing rule: **My policy**
------------------------------
.

* Found 0 resources...
* Filtering resources...
* Total after filtering: 0 resources
* Limiting resources...
* Total after limiting: 0 resources

The following comments would be posted for the rule **My policy**:


-----------------------------------
Processing rules for merge_requests
-----------------------------------

After;

vagrant@ubuntu-bionic:~/gitlab-development-kit/gitlab-triage/bin$ gitlab-triage --dry-run --token mHFNx7QqRNV5_GpCzPCy --host-url http://10.0.2.15:3000 --source groups --source-id 23
Performing a dry run.

=======================
Triaging the `23` group
=======================

---------------------------
Processing rules for issues
---------------------------

------------------------------
Processing rule: **My policy**
------------------------------
.

* Found 14 resources...
* Filtering resources...
* Total after filtering: 9 resources
* Limiting resources...
* Total after limiting: 9 resources

The following issue would be created in project `gitlab-org/gitlab-test` for the rule **My policy**:

>>>
* Title: Issues require labels
* Description: The following issues require labels:

- [ ] [Quaerat voluptas quibusdam odio rem at blanditiis repellat vero.](http://10.0.2.15:3000/gnuwget/wget2/-/issues/15)
- [ ] [Odit qui ea et nemo reprehenderit non accusamus.](http://10.0.2.15:3000/gnuwget/wget2/-/issues/14)
- [ ] [Et quibusdam accusamus quis sed alias laudantium nulla distinctio voluptatibus.](http://10.0.2.15:3000/gnuwget/wget2/-/issues/13)
- [ ] [Ut voluptas praesentium est tempora omnis dolor dolor odio natus distinctio.](http://10.0.2.15:3000/gnuwget/wget2/-/issues/12)
- [ ] [Accusantium suscipit vel qui minus ut molestiae corrupti et commodi assumenda.](http://10.0.2.15:3000/gnuwget/wget2/-/issues/11)
- [ ] [Laborum molestias architecto voluptatem laboriosam non quasi autem magni.](http://10.0.2.15:3000/gnuwget/wget2/-/issues/10)
- [ ] [Reiciendis perferendis non cum possimus sunt totam sed et ipsum.](http://10.0.2.15:3000/gnuwget/wget2/-/issues/9)
- [ ] [Quidem vero ut reprehenderit natus quasi nisi magnam et.](http://10.0.2.15:3000/gnuwget/wget2/-/issues/8)
- [ ] [Cumque voluptas ad assumenda aut hic ut quasi accusamus molestiae.](http://10.0.2.15:3000/gnuwget/wget2/-/issues/7)

Please take care of them before the end of 2020-05-18

/label ~"needs attention"
>>>
The following comments would be posted for the rule **My policy**:

# http://10.0.2.15:3000/gnuwget/wget2/-/issues/15
``
@milagros.schaefer This issue is unlabelled after 5 days. It needs attention. Please take care of this before the end of 2020-05-13


/label ~"needs attention"

/cc @root
``
# http://10.0.2.15:3000/gnuwget/wget2/-/issues/14
``
@root This issue is unlabelled after 5 days. It needs attention. Please take care of this before the end of 2020-05-13


/label ~"needs attention"

/cc @root
``
# http://10.0.2.15:3000/gnuwget/wget2/-/issues/13
``
@root This issue is unlabelled after 5 days. It needs attention. Please take care of this before the end of 2020-05-13


/label ~"needs attention"

/cc @root
``
# http://10.0.2.15:3000/gnuwget/wget2/-/issues/12
``
@emma_boyer This issue is unlabelled after 5 days. It needs attention. Please take care of this before the end of 2020-05-13


/label ~"needs attention"

/cc @root
``
# http://10.0.2.15:3000/gnuwget/wget2/-/issues/11
``
@tanika This issue is unlabelled after 5 days. It needs attention. Please take care of this before the end of 2020-05-13


/label ~"needs attention"

/cc @root
``
# http://10.0.2.15:3000/gnuwget/wget2/-/issues/10
``
@lavette.kovacek This issue is unlabelled after 5 days. It needs attention. Please take care of this before the end of 2020-05-13


/label ~"needs attention"

/cc @root
``
# http://10.0.2.15:3000/gnuwget/wget2/-/issues/9
``
@sung.prosacco This issue is unlabelled after 5 days. It needs attention. Please take care of this before the end of 2020-05-13


/label ~"needs attention"

/cc @root
``
# http://10.0.2.15:3000/gnuwget/wget2/-/issues/8
``
@beverley_howell This issue is unlabelled after 5 days. It needs attention. Please take care of this before the end of 2020-05-13


/label ~"needs attention"

/cc @root
``
# http://10.0.2.15:3000/gnuwget/wget2/-/issues/7
``
@root This issue is unlabelled after 5 days. It needs attention. Please take care of this before the end of 2020-05-13


/label ~"needs attention"

/cc @root
``

-----------------------------------
Processing rules for merge_requests
-----------------------------------
Edited by Lee Tickett

Merge request reports