-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Diff script: Restricted the checks to proto files in the proto/ directory. Added a check to ensure we don't introduce new files in a higher version than v1. * Changed the create_c4t_file_listing.sh to directly output the c4t files to be used directly by the dependency resolution script. * Updated the dependency_checker to automatically get the c4t files. Also updated an automatic update of the package name and all references in the new files. * Only print the dependency graph if there are no errors in the prior dependency check. --------- Co-authored-by: Noctunus <[email protected]>
- Loading branch information
Showing
3 changed files
with
100 additions
and
29 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
#!/bin/bash | ||
|
||
# Simple helper script to just create a file which contains a listing of all the cmp proto files in the c4t branch | ||
# This can then be used by the dependency checker to determine whether a new version of a proto file can be reused | ||
# This is used by the dependency checker to determine whether a new version of a proto file can be reused | ||
# when it's not present in the c4t branch | ||
|
||
OUTFILE=${1:-temp/c4tfiles.txt} | ||
git ls-tree -r --name-only origin/c4t proto/cmp | grep -oP "cmp/.*\.proto" > $OUTFILE | ||
git ls-tree -r --name-only origin/c4t proto/cmp | grep -oP "cmp/.*\.proto" |
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