From 485c2090a15cbf105db00db27e0b8e9bd8409b52 Mon Sep 17 00:00:00 2001 From: Trevor Batley Date: Mon, 5 Jun 2023 15:41:58 +1000 Subject: [PATCH] add git-transfer-repo.sh to README.md --- README.md | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index a606d8b..a652b47 100644 --- a/README.md +++ b/README.md @@ -49,20 +49,21 @@ optional parameters, can appear in any order * \ use local GITEA as source (i.e. copy between organisations on local GITEA) * \ run in debug mode -## git-migrate-org.sh -create mirrors of all repos for an organisation in a local GITEA instance +## git-transfer-repo.sh +Transfer a repo to a different user (or organisation) - git-migrate-org.sh [ ] + git-transfer-repo.sh [ ] -* \ can be any organisation or user on the remote GITEA instance +* \ repository name to be transferred (e.g. smeserver-clamav) +* \ to be transferred from (any valid organisation or user) +* \ to be transferred to (any valid organisation or user - you need owner privileges) optional parameters, can appear in any order -* \ will create local repos as either a copy or a mirror of the remote repos (default = copy) -* \ will just list the repos to be migrated, rather than doing it -* \ within your local GITEA, otherwise local user - must exist already -* \ run in debug mode -* \ show each repo being migrated +\ will use parameters set for local repository, else it will use remote +\ will automagically delete an existing target repo, otherwise it will prompt +\ run in debug mode +\ suppress success message ## rename-e-smith-pkg.sh Rename an e-smith package as smeserver and change relevant files