Compare commits
2 Commits
2cf3ca33bd
...
2c54961330
Author | SHA1 | Date | |
---|---|---|---|
![]() |
2c54961330 | ||
![]() |
7f8546f99b |
@ -11,8 +11,15 @@
|
||||
#
|
||||
|
||||
if [[ -z $1 ]] ; then
|
||||
echo "************rename-e-smith-pkg.sh <modulename> [<organization> <local> <force> <debug>]"
|
||||
exit 0
|
||||
echo "Rename an e-smith package as smeserver and change relevant files"
|
||||
echo "rename-e-smith-pkg.sh <modulename> [<organization> <local> <force> <debug>]"
|
||||
echo "\$1 = Module name e.g. e-smith-dnscache"
|
||||
echo "\$2-\$5 can appear in any order and are optional"
|
||||
echo " = Organisation (smeserver or user - defaults to smeserver)"
|
||||
echo " = 'local' will use parameters set for local repository else it will use remote"
|
||||
echo " = 'force' will automagically delete an existing repo, otherwise it will prompt"
|
||||
echo " = 'debug' run in debug mode"
|
||||
exit 0
|
||||
fi
|
||||
echo "**************************************************************************************************"
|
||||
echo "* *"
|
||||
@ -281,7 +288,7 @@ git commit -m "rename-e-smith-pkg script (#12359)" $QUIET
|
||||
git push $QUIET
|
||||
|
||||
#Convert repository to a Regular Repository (rather than fork)
|
||||
|
||||
#Can't do via API call ATM, so leave a message
|
||||
echo "$SOURCEORG/$SOURCEPKG has been renamed as $TARGETORG/$TARGETPKG"
|
||||
echo "It is still a forked repository, so you need to 'Convert to Regular Repository' in GITEA and then 'Transfer' it to it's final Organisation"
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user