-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
simply down to 1 manifest; add proj group
- Loading branch information
1 parent
747ec77
commit 607bbc2
Showing
22 changed files
with
368 additions
and
749 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 +1 @@ | ||
projects/rvi-repo-manifest/generated/all-rvi-orgs.xml | ||
projects/rvi-repo-manifest/generated/default.xml |
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
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -41,7 +41,8 @@ xml_header='<?xml version="1.0" encoding="UTF-8"?> | |
<!-- GENERATED FILE DO NOT EDIT --> | ||
<!-- https://gerrit.googlesource.com/git-repo/+/master/docs/manifest-format.md --> | ||
<manifest> | ||
<include name="_common.xml" />' | ||
<remote name="origin" fetch="ssh://[email protected]"/> | ||
<default revision="refs/heads/main" remote="origin" sync-j="4"/>' | ||
|
||
echo "$xml_header" > "$output_file" | ||
|
||
|
@@ -50,7 +51,7 @@ for org in $org_list; do | |
echo "Fetching repositories for organization: $org" | ||
|
||
# Get list of repositories for the organization | ||
repos=$(gh repo list -L $MAX_REPOS --no-archived --source $org --json name --jq '.[].name') | ||
repos=$(gh repo list -L $MAX_REPOS --no-archived --source $org --json name --jq '.[].name' | sort) | ||
|
||
# Loop through each repository | ||
for repo in $repos; do | ||
|
@@ -60,7 +61,7 @@ for org in $org_list; do | |
default_branch=$(echo $repo_info | jq -r '.db') | ||
|
||
# Add repository information to the XML file | ||
repo_entry=" <project name='$org/$repo' revision='$default_branch' groups='$org' />" | ||
repo_entry=" <project name='$org/$repo' revision='$default_branch' groups='org:$org,proj:$repo' />" | ||
echo "$repo_entry" >> $output_file | ||
done | ||
done | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.