From ec6c238f78b444d7eef4e4ef46873bd93debbfa3 Mon Sep 17 00:00:00 2001 From: Basil Bruhn Date: Thu, 24 Apr 2025 13:16:33 +0200 Subject: [PATCH] moved archived part --- services/gitea/gitea-faq.md | 28 ++++++++++++++++++++++++++++ services/gitea/gitea-migration.md | 13 ------------- 2 files changed, 28 insertions(+), 13 deletions(-) diff --git a/services/gitea/gitea-faq.md b/services/gitea/gitea-faq.md index 3be50206..6aa1b3ac 100644 --- a/services/gitea/gitea-faq.md +++ b/services/gitea/gitea-faq.md @@ -34,6 +34,34 @@ Since local login is disabled the user has to be created on the gitea console. p - Username (usually org-gitea) - Scope the User needs access to (for example read:repository,write:packages) +## My Project was migrated and I can't push anymore +``` +remote: +remote: ======================================================================== +remote: +remote: You can't push code to an archived project. +remote: +remote: ======================================================================== +remote: +fatal: Could not read from remote repository. + +Please make sure you have the correct access rights +and the repository exists. +``` + +This Project was archived and is now available on https://gitea.psi.ch +Please use following commands to update your local git: + +- `git remote -v` +- If the output starts with "origin https..." use option 1 otherwise 2 +1. `git remote set-url https://gitea.psi.ch/{Org}/{Repo}.git` +2. `git remote set-url git@gitea.psi.ch:/{Org}/{Repo}.git` + +Ask the responsible person for this Project, where the Repositoy has been moved to or you can browse Repos on https://gitea.psi.ch + +More information about archived projects can be found here: +- https://docs.gitlab.com/user/project/working_with_projects/#archive-a-project + ## Miscellanious ### I use Firefox and SSO does not work Try adding following options to your firefox config. diff --git a/services/gitea/gitea-migration.md b/services/gitea/gitea-migration.md index 6be42861..964909af 100644 --- a/services/gitea/gitea-migration.md +++ b/services/gitea/gitea-migration.md @@ -29,16 +29,3 @@ Migration: - Choose the migration options (Attention! If you choose mirror, you won't be able to migrate releases!) - Choose an owner (Organization or if its a personal project your username) and give it a name (can be the existing one). -## My Project was migrated and I can't push anymore -This Project was archived and is now available on https://gitea.psi.ch -Please use following commands to update your local git: - -- `git remote -v` -- If the output starts with "origin https..." use option 1 otherwise 2 -1. `git remote set-url https://gitea.psi.ch/{Org}/{Repo}.git` -2. `git remote set-url git@gitea.psi.ch:/{Org}/{Repo}.git` -If you have not recieved a special notification about the archival the organization is the Gitlab group name. - -More information about archived projects can be found here: -- https://docs.gitlab.com/user/project/working_with_projects/#archive-a-project -