Learn more about these different git repos.
Other Git URLs
Regenerating repos sounds dangerous and scary but there isn't anything clear in the UI or an explanation to tell me otherwise :sweat_smile:
I noticed this setting in 5.0+ when going through the Settings menu. I was hoping for an explanation or link to docs to learn what this does or an explanation of when I would need to do this.
<img alt="Example of regenerating repos from a project's Settings menu" src="/pagure/issue/raw/files/894a6ad4581419df8a9bf54e7a32cab7ecf1110719fece7d124d12f51a5ac156-Screenshot_2018-09-26_Settings_-_fedora-diversity_-_Pagure_io.png" />
Metadata Update from @pingou: - Issue tagged with: doc, easyfix
Hey, I will take a look at this. BTW, could you please point me where to find more details on "Regenerate Repos"? Since I jut get started with this project:-)
Tickets and pull-requests metadata are stored in git repositories in JSON files, these two buttons will update the JSON representations of each and every tickets and pull-requests in the projects in their corresponding git repos. It's going to be a long task but there are few cases where it can be interesting to do it (fairly limited number of cases though)
fairly limited number of cases though
@pingou What are those use cases? To me as a user, this is the interesting / helpful part. I don't know why I would need to update the JSON blobs for tickets and PRs.
@pingou Thanks for the explanation. I'm going to read the source code, could you please give more details on this? E.g. which source files are related, that I can start with.
@pingou I'm also curious now, as like @jflory7 asks, when and why would we need to update the JSON blobs for tickets and PRs? Could you please give us a more detailed explanation? Thanks:-)
The one that comes in mind is basically, you want to migrate off pagure and want to make sure the data in the ticket/request repo is up to date with what is in the database.
@pingou Thanks for the explanation. I just went through the source code, thinking about to make a more detailed hover-over hint, does that sound good to you?
make sure the data in the ticket/request repo is up to date with what is in the database.
Is there a risk or probability they become out of sync? And does this action risk any negative effects to the repository configuration or source code? I'm also curious.
Metadata Update from @wombelix: - Issue assigned to wombelix
Todo: Better explanation about the usage and background of "Regenerate Repos" in the Documentation
Metadata Update from @wombelix: - Issue set to the milestone: 5.13
Metadata Update from @wombelix: - Issue set to the milestone: 6.x (was: 5.13)
Metadata Update from @wombelix: - Assignee reset
Log in to comment on this ticket.