Mercurial > repos > fubar > microsatbed
comparison seqrequester/src/utility/scripts/build_initial_repo.sh @ 1:1085e094cf5f draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/microsatbed commit 7ceb6658309a7ababe622b5d92e729e5470e22f0-dirty
| author | fubar |
|---|---|
| date | Sat, 13 Jul 2024 12:39:06 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 0:dd71d3167476 | 1:1085e094cf5f |
|---|---|
| 1 #!/bin/sh | |
| 2 | |
| 3 # You do not want to run this. It was used to create the initial repo by | |
| 4 # extracting the relevant bits from Canu and renaming things. | |
| 5 | |
| 6 if [ `pwd` != "/scratch/git/canu-test" ] ; then | |
| 7 echo Wrong directory. | |
| 8 exit | |
| 9 fi | |
| 10 | |
| 11 echo DELETE | |
| 12 rm -rf .git * | |
| 13 | |
| 14 echo SYNC | |
| 15 rsync -a ../canu-orig/ . | |
| 16 | |
| 17 echo REWRITE | |
| 18 ../git-filter-repo/git-filter-repo --replace-refs delete-no-add \ | |
| 19 --path kmer/libutil \ | |
| 20 --path kmer/libkmer \ | |
| 21 --path kmer/libbio \ | |
| 22 --path src/AS_UTL \ | |
| 23 --path src/AS_global.C \ | |
| 24 --path src/AS_global.H \ | |
| 25 --path src/AS_global.c \ | |
| 26 --path src/AS_global.h \ | |
| 27 --path src/utility \ | |
| 28 --path src/canu_version_update.pl \ | |
| 29 --path src/Makefile \ | |
| 30 --path src/main.mk \ | |
| 31 --path 'README.license.GPL' \ | |
| 32 --path 'README.licenses' \ | |
| 33 --path 'README.md' | |
| 34 | |
| 35 ../git-filter-repo/git-filter-repo \ | |
| 36 --path src/AS_UTL/Makefile \ | |
| 37 --path src/AS_UTL/main.mk --invert-paths | |
| 38 | |
| 39 ../git-filter-repo/git-filter-repo \ | |
| 40 --path-rename src/canu_version_update.pl:scripts/version_update.pl | |
| 41 | |
| 42 ../git-filter-repo/git-filter-repo \ | |
| 43 --path-rename src/AS_UTL:src/utility | |
| 44 | |
| 45 ../git-filter-repo/git-filter-repo --path-rename src/AS_global.H:src/utility/runtime.H | |
| 46 ../git-filter-repo/git-filter-repo --path-rename src/AS_global.C:src/utility/runtime.C | |
| 47 ../git-filter-repo/git-filter-repo --path-rename src/AS_global.h:src/utility/runtime.h | |
| 48 ../git-filter-repo/git-filter-repo --path-rename src/AS_global.c:src/utility/runtime.c | |
| 49 | |
| 50 ../git-filter-repo/git-filter-repo --path-rename src/utility/bitsTest.C:src/tests/bitsTest.C | |
| 51 ../git-filter-repo/git-filter-repo --path-rename src/utility/bitsTest.mk:src/tests/bitsTest.mk | |
| 52 ../git-filter-repo/git-filter-repo --path-rename src/utility/filesTest.C:src/tests/filesTest.C | |
| 53 ../git-filter-repo/git-filter-repo --path-rename src/utility/filesTest.mk:src/tests/filesTest.mk | |
| 54 ../git-filter-repo/git-filter-repo --path-rename src/utility/intervalListTest.C:src/tests/intervalListTest.C | |
| 55 ../git-filter-repo/git-filter-repo --path-rename src/utility/intervalListTest.mk:src/tests/intervalListTest.mk | |
| 56 ../git-filter-repo/git-filter-repo --path-rename src/utility/loggingTest.C:src/tests/loggingTest.C | |
| 57 ../git-filter-repo/git-filter-repo --path-rename src/utility/loggingTest.mk:src/tests/loggingTest.mk | |
| 58 ../git-filter-repo/git-filter-repo --path-rename src/utility/memoryMappedFileTest.C:src/tests/memoryMappedFileTest.C | |
| 59 ../git-filter-repo/git-filter-repo --path-rename src/utility/mt19937arTest.C:src/tests/mt19937arTest.C | |
| 60 ../git-filter-repo/git-filter-repo --path-rename src/utility/stddevTest.C:src/tests/stddevTest.C | |
| 61 ../git-filter-repo/git-filter-repo --path-rename src/utility/stddevTest.mk:src/tests/stddevTest.mk | |
| 62 ../git-filter-repo/git-filter-repo --path-rename src/utility/stringsTest.C:src/tests/stringsTest.C | |
| 63 ../git-filter-repo/git-filter-repo --path-rename src/utility/testRand.C:src/tests/randTest.C | |
| 64 | |
| 65 | |
| 66 # Delete all replace refs, since I can't seem to get them disabled. | |
| 67 git replace -d `git replace -l` > refs-deleted 2>&1 | |
| 68 | |
| 69 | |
| 70 cp -fp ../NEW-Makefile src/Makefile | |
| 71 cp -fp ../NEW-main.mk src/main.mk | |
| 72 cp -fp ../NEW-runtime.C src/utility/runtime.C | |
| 73 cp -fp ../NEW-runtime.H src/utility/runtime.H | |
| 74 cp -fp ../NEW-types.H src/utility/types.H | |
| 75 cp -fp ../NEW-version_update.pl scripts/version_update.pl |
