[RELENG-11] Make version bump and patch script run only for active modules Created: 28/Apr/15  Updated: 19/Oct/17  Resolved: 13/Aug/15

Status: Resolved
Project: releng
Component/s: Autorelease
Affects Version/s: unspecified
Fix Version/s: None

Type: Improvement
Reporter: Thanh Ha (zxiiro) Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All



 Description   

At the moment autorelease attempts to version bump and patch all modules whether it's built or not via the "git submodule foreach" command.

We should enhance this script to only run for modules that are active in the root pom.xml file. Otherwise "git submodule foreach" will fail when a submodule does not meet certain criteria such as branches not yet existing for a project.



 Comments   
Comment by Thanh Ha (zxiiro) [ 09/May/15 ]

Decided to go a different route. Instead of using "git submodule foreach" the script will "cd" in and out of the active repos and run the format-patch command.

Comment by Thanh Ha (zxiiro) [ 09/May/15 ]

Submitted https://git.opendaylight.org/gerrit/19966

Comment by Stephen Kitt [ 13/Aug/15 ]

This has been merged.

Generated at Wed Feb 07 20:37:16 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.