Skip to content

Commit

Permalink
Revert "just generate the full manifest without including other gener…
Browse files Browse the repository at this point in the history
…ated ones"

This reverts commit c434456.
  • Loading branch information
kbroch-rivosinc committed Nov 6, 2024
1 parent c434456 commit 1c5e21e
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 367 deletions.
7 changes: 5 additions & 2 deletions projects/rvi-repo-manifest/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,11 @@ default: build-all-rvi-orgs-xml
build-xml:
$(MAKE) $(ORGS_XML)

build-all-rvi-orgs-xml:
$(TOOL) $(BUILD_DIR)/$(ALL_ORGS_XML) $(ORGS)
build-all-rvi-orgs-xml: build-xml
@echo '<?xml version="1.0" encoding="UTF-8"?>' > $(BUILD_DIR)/$(ALL_ORGS_XML)
@echo '<manifest>' >> $(BUILD_DIR)/$(ALL_ORGS_XML)
@for item in $(ORGS_XML); do echo " <include name=\"$$item\" />" >> $(BUILD_DIR)/$(ALL_ORGS_XML); done
@echo '</manifest>' >> $(BUILD_DIR)/$(ALL_ORGS_XML)

%.xml:
$(TOOL) $(BUILD_DIR)/$@ $*
Expand Down
2 changes: 1 addition & 1 deletion projects/rvi-repo-manifest/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ NOTE: `repo` has many features that won't be covered in here or even needed (lik

=== Usage

==== Generating a manifest file
=== Generating a manifest file

Although manifest files can be created manually, a bash script is used here to do it automatically.

Expand Down
2 changes: 1 addition & 1 deletion projects/rvi-repo-manifest/generate-manifests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ xml_header='<?xml version="1.0" encoding="UTF-8"?>
echo "$xml_header" > "$output_file"

# Loop through each organization
for org in ${org_list}; do
for org in "${org_list[@]}"; do
echo "Fetching repositories for organization: $org"

# Get list of repositories for the organization
Expand Down
Loading

0 comments on commit 1c5e21e

Please sign in to comment.