This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python3 | |
| """Manipulate the changelog entries for all code-streams. | |
| Different code streams that use the same version of the source code (same git | |
| commit) can have different RPM changelogs. They differ in structure due to | |
| different release times: entries that are grouped in one code stream might be | |
| split into multiple entries in another. | |
| This tools helps with adding a new entry to all changelogs and with editing the | |
| latest changelog entry for all code streams at once. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python3 | |
| """Deduplicate rhnPackageName name entries | |
| Steps: | |
| 1. Update all references to refer to a single entry | |
| 2. Delete unreferenced entries | |
| 3. Add unique index to verify uniqueness and persist it | |
| Steps 1 and 2 are repeated for all duplicate name entries, then step 3 is executed. |
OlderNewer