Changeset 121581 in spip-zone
- Timestamp:
- Feb 4, 2020, 1:28:55 PM (13 months ago)
- Location:
- _outils_/importToGitea/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
_outils_/importToGitea/trunk
- Property subgit:lock:2eb5edd60d15d2d2cc5b6e3ce1eee152db2432e0 deleted
-
Property
subgit:lock:d201633dce85d02b7cc55369b71e12b34c34edfb
set to
2020-02-04T14:29:30.862
-
_outils_/importToGitea/trunk/ExportToSvn.sh
r116294 r121581 25 25 shift # past value 26 26 ;; 27 -t|--target) 28 TARGET="$2" 29 shift # past argument 30 shift # past value 31 ;; 27 32 -h|--help) 28 33 shift # past argument … … 31 36 printf " -o <organization> or --orgnanization <organization> \\t gitea organization where to import repository." 32 37 printf " -m <model> or --model <model> \\t\\t specify the model svn structure to respect (dist or zone)" 38 printf " -t <root svn> or --target <root svn> \\t\\t Specify target to prefix svn path before repository name" 33 39 exit 0 34 40 ;; … … 85 91 sudo -u git -s subgit configure --svn-url svn://svn.tld "$repo_source" 86 92 cp "models/${MODEL}.conf" "$repo_source/subgit/config" 87 sed -i "s/__PLUGIN__/$ REPOSITORY/" "$repo_source/subgit/config"93 sed -i "s/__PLUGIN__/$TARGET$REPOSITORY/" "$repo_source/subgit/config" 88 94 #Load gitea hooks 89 95 rename 's/(hooks\/)(.*receive).d$/$1user-$2.d/' hooks/*
Note: See TracChangeset
for help on using the changeset viewer.