Add Warning when git_commit field is set to master

Description

In section_xxx.xml files (other than section_master.yml), it should be good to print a warning when "git_commit" field is set to master. Because this case is not logical and most of the time is due to an incorrect copy/paste of a yml section file coming from master.

Here an example with section_flounder.yml file :

url_fetch : "GERRIT_FETCH" git_commit : "flounder" name: Developers Guides template: generated_index.html books: - id: meta-agl-developer-guides-flounder git_name: AGL/meta-agl path: docs/devguides-book.yml - id: meta-agl-demo-guides-flounder git_name: AGL/meta-agl-demo git_commit : "master" <<<< should generate a warning path: docs/devguides-book.yml ...

Environment

None

Activity

Show:

Clément Bénier 
March 29, 2019 at 3:00 PM

nothing change, just label update

Fixed

Details

Assignee

Reporter

Labels

Contract ID

Priority

Created February 21, 2019 at 11:25 AM
Updated April 9, 2019 at 2:45 PM
Resolved March 29, 2019 at 3:00 PM

Flag notifications