-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve apply_patches.sh Improve build_single.sh Create tools to mirror all repositories in git bundles
- Loading branch information
Showing
16 changed files
with
779 additions
and
417 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Submodule Check | ||
|
||
on: [ push ] | ||
|
||
jobs: | ||
check-submodules: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Run submodule scanner | ||
run: | | ||
# Create baseline scan if it doesn't exist | ||
if [ ! -f tools/mirror/submodule-list.txt ]; then | ||
mkdir -p tools/mirror | ||
touch tools/mirror/submodule-list.txt | ||
fi | ||
# Save current list | ||
cp tools/mirror/submodule-list.txt /tmp/original-submodules.txt | ||
# Run scanner | ||
bash tools/mirror/submodule-scanner.sh | ||
# Compare files | ||
if ! cmp -s /tmp/original-submodules.txt tools/mirror/submodule-list.txt; then | ||
echo "Error: New submodules detected!" | ||
echo "Diff between original and new submodules:" | ||
diff /tmp/original-submodules.txt tools/mirror/submodule-list.txt || true | ||
exit 1 | ||
fi | ||
echo "No new submodules detected." |
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 |
---|---|---|
|
@@ -2,3 +2,4 @@ release/ | |
build/ | ||
tests/dependencies | ||
tests/wallets | ||
full-run |
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
Oops, something went wrong.