-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
check: Fix handling of <remove-project /> element
When `repo-resource` creates a version string (which is a full XML representation of a manifest), the `<remove-project>` tag is not taken into account. Because of this, we generate "false positives" for new Versions, which could trigger unwanted builds. For example, with manifest [1], we see that the Version string has the device/amlogic/yukawa project twice, which is wrong. Handle the <remove-project /> element to fix this. [1] https://github.com/makohoek/demo-manifests/blob/main/aosp_remove_yukawa_project.xml Fixes: #36 Fixes: c23fc0c ("Switch to getRevision code based on git ls-remote") Signed-off-by: Mattijs Korpershoek <[email protected]>
- Loading branch information
Showing
2 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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