#6427 Rename Pagure repo: Fedora-Badges => fedora-badges
Closed: Fixed 6 years ago Opened 6 years ago by jflory7.

Summary

Since fedora-badges was deleted (pagure#2624), the Fedora-Badges repo should be renamed to fedora-badges.

Explanation

The issue that allowed the two repos to exist at the same time was fixed upstream. @pingou deleted the old fedora-badges.git repo already. Some of this discussion is also in #6395. Since we're going through the pain already of merging different repos, I thought it would be best to change the capitalization while renaming / moving other things too.

CC

@sayanchowdhury


@pingou is this something you can do? I assume it needs db changes as well as moving the directory?

Do we have a script to do this? I am led to believe the process is to create the new repo and then migrate the multiple git repositories that drive a repo.

There are two approaches:

  • Download the three (four) git repositories (sources, tickets, PR and docs if you use it)
  • Delete the existing project
  • Create the new one
  • Activate the hooks
  • Push the git repo to the new project

Or

  • we hack it at the DB and FS level

For purely selfish reasons (I have a bunch of repos that needs to be moved/renamed) I'd love to see us follow approach one and produce a script that does as much of the work as possible and prompts for the manual steps as needed.

@pingou If we go for the second method, would that affect the URLs of the attachments?

If they are relative to the tickets neither methods should impact them, if they are full urls, both methods will impact them.

@pingou assuming you don't already have a script, do you think you can extend your comment above enough to create an easyfix task for this in the pagure repo? That project seems to draw a fair number of easyfix contributors and may result in us getting a script we can use quickly.

Ok Fedora-Badges has been renamed to fedora-badges.

This means all the existing clone need to be re-cloned (or their .git/config need to be adjusted).

Metadata Update from @pingou:
- Issue close_status updated to: Fixed

6 years ago

Login to comment on this ticket.

Metadata