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

Automatic migration of some metadata #1561

Open
dmikusa opened this issue Apr 10, 2024 · 0 comments
Open

Automatic migration of some metadata #1561

dmikusa opened this issue Apr 10, 2024 · 0 comments
Labels
type:enhancement A general enhancement

Comments

@dmikusa
Copy link
Contributor

dmikusa commented Apr 10, 2024

Describe the Enhancement

After paketo-buildpacks/libpak#327 is implemented, there will be a large task required to update the metadata of dependencies. Some of this data exists but can be migrated automatically. This issue is to investigate options and see if something can be done to help with the migration efforts.

Possible Solution

  1. Modify octo to look at buildpack.toml, check for the old fields. Then update the new fields with the translated data from the old fields. This would then automatically submit PRs that could be merged. The downside is that these PRs would not be complete as there is some information that will require to be manually added, and they still need to be manually reviewed.

  2. Create a throw-away tool. The tool would be run locally. It would modify buildpack.toml and update everything that could be automatically updated. A maintainer would finish with manual modifications and manually submit a PR.

  3. No tools. Just manually make the updates and submit the PR. This is a one time task, the effort of making the tool is less than what will be saved.

Motivation

Ease the migration of metadata.

@dmikusa dmikusa added the type:enhancement A general enhancement label Apr 10, 2024
@dmikusa dmikusa changed the title Automatic migration of metadata Automatic migration of some metadata Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant