2023-07-24 01:09:27 +02:00
|
|
|
# <img src="https://www.koozali.org/images/koozali/Logo/Png/Koozali_logo_2016.png" width="25%" vertical="auto" style="vertical-align:bottom"> rename-e-smith
|
|
|
|
|
2023-07-24 01:13:47 +02:00
|
|
|
This script will rename an e-smith package as smeserver and change relevant files (Bugzilla #12359)
|
2023-07-24 01:09:27 +02:00
|
|
|
|
2024-03-10 06:58:15 +01:00
|
|
|
## Wiki
|
2024-03-10 07:00:03 +01:00
|
|
|
<br />https://wiki.koozali.org/Migrate_e-smith_to_smeserver
|
2024-03-10 06:58:15 +01:00
|
|
|
|
|
|
|
## Bugzilla
|
|
|
|
<br />https://bugs.koozali.org/show_bug.cgi?id=12359
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
By default this will create the new package in your personal organisation.
|
|
|
|
Use the \<transfer\> option to move it back into the source organisation.
|
|
|
|
|
|
|
|
rename-emith-pkg.sh <pkg> [<organisation> <local> <force> <transfer> <debug> <silent>]
|
2023-07-24 01:09:27 +02:00
|
|
|
|
|
|
|
* \<pkg\> Module name to be renamed (e.g. e-smith-dnscache)
|
|
|
|
|
|
|
|
optional parameters, can appear in any order
|
|
|
|
|
|
|
|
* \<organisation\> (any gitea organisation smeserver, smecontribs or user - defaults to smeserver)
|
|
|
|
* \<local\> will use parameters set for local repository else it will use remote
|
|
|
|
* \<force\> will automagically delete an existing repo, otherwise it will prompt
|
|
|
|
* \<transfer\> will transfer the updated repository to the source org (need to be owner)
|
|
|
|
* \<debug\> run in debug mode
|
|
|
|
* \<silent\> will suppress the finished Ok message
|
|
|
|
|
|
|
|
Note: this script uses the smeserver-gitutils config file
|
|
|
|
|
|
|
|
# e-smith-packages.lst
|
2024-03-10 06:58:15 +01:00
|
|
|
Is a text file list of all e-smith packages to be converted, for use with parse-list.sh (from smeserver-gitutils).
|
|
|
|
|
|
|
|
parse-list.sh e-smith-packages.lst rename-e-smith-pkg.sh [<noisy> <organisation> <transfer> <force>]
|