Skip to content

Commit

Permalink
just generate the full manifest without including other generated ones
Browse files Browse the repository at this point in the history
  • Loading branch information
kbroch-rivosinc committed Nov 6, 2024
1 parent 98c020e commit c434456
Show file tree
Hide file tree
Showing 4 changed files with 367 additions and 15 deletions.
7 changes: 2 additions & 5 deletions projects/rvi-repo-manifest/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,8 @@ default: build-all-rvi-orgs-xml
build-xml:
$(MAKE) $(ORGS_XML)

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)
build-all-rvi-orgs-xml:
$(TOOL) $(BUILD_DIR)/$(ALL_ORGS_XML) $(ORGS)

%.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 c434456

Please sign in to comment.