Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Figure out a way to proactively update configs using deprecated features #159

Closed
csomh opened this issue Sep 16, 2022 · 1 comment · Fixed by #165
Closed

Figure out a way to proactively update configs using deprecated features #159

csomh opened this issue Sep 16, 2022 · 1 comment · Fixed by #165
Assignees

Comments

@csomh
Copy link
Contributor

csomh commented Sep 16, 2022

In many cases transforming deprecated config options (like synced_files or metadata) into the current format can be done programmatically, so we could come up with a way to propose these updates as PRs to the projects still using them. This could speed up their deprecation and let us remove some code sooner.

Research how this could be done.

One of the things that needs to be done is to get an up-to-date version of all the packit.yaml-s currently in use. We discussed either saving them in the DB, or writing a script to get the list of projects and branches using the service API, and downloading the configs.

@lachmanfrantisek
Copy link
Member

ping the sync

@FrNecas FrNecas self-assigned this Oct 24, 2022
lbarcziova added a commit to lbarcziova/research that referenced this issue Apr 12, 2023
The script provides 3 commands (see particular command's --help for more info):
1. download-configs - to download the configs of the repos that used Packit Service in the past year
2. list-affected - to list the projects affected by particular migration
3. migrate - to update the config and create PR

Related to packit#159
Related to packit/packit-service#1775
lbarcziova added a commit to lbarcziova/research that referenced this issue Apr 20, 2023
The script provides 3 commands (see particular command's --help for more info):
1. download-configs - to download the configs of the repos that used Packit Service in the past year
2. list-affected - to list the projects affected by particular migration
3. migrate - to update the config and create PR

Related to packit#159
Related to packit/packit-service#1775
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants