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

Update RFC 0096 (stacks removal) to match what landed in the spec #310

Merged
merged 2 commits into from
May 14, 2024

Conversation

edmorley
Copy link
Contributor

@edmorley edmorley commented Mar 27, 2024

A few changes were made to what was in RFC96 when it came to update the spec:
buildpacks/spec#365

This backports those changes to the RFC to try and prevent user confusion if they use the RFC as a means of learning about targets when implementing.

Specifically:

  • The io.buildpacks.distribution.* Docker labels were renamed to io.buildpacks.base.distro.*.
  • The io.buildpacks.id Docker label was renamed to io.buildpacks.base.id.
  • The buildpack.toml table [[targets.distributions]] was renamed to [[targets.distros]] and the versions field within it renamed to version (along with its type changing from an array to a string).

See:
https://github.com/buildpacks/spec/blob/platform/0.13/platform.md#target-data

@buildpack-bot
Copy link
Member

Maintainers,

As you review this RFC please queue up issues to be created using the following commands:

/queue-issue <repo> "<title>" [labels]...
/unqueue-issue <uid>

Issues

(none)

Copy link
Member

@natalieparellano natalieparellano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@edmorley thanks for this. Could you add the amended metadata at the bottom?

<!--
## Amended
### Meta
[meta-1]: #meta-1
- Name: (fill in the amendment name: Variable Rename)
- Start Date: (fill in today's date: YYYY-MM-DD)
- Author(s): (Github usernames)
- Amendment Pull Request: (leave blank)

### Summary

A brief description of the changes.

### Motivation

Why was this amendment necessary?
--->

@edmorley
Copy link
Contributor Author

edmorley commented Apr 8, 2024

@natalieparellano Sure - added now :-)

@edmorley
Copy link
Contributor Author

edmorley commented Apr 8, 2024

Oh I also found one more change that was made when the spec was updated, that I've backported now:

  • The versions field within [[targets.distros]] was renamed to version (along with its type changing from an array to a string).

(xref buildpacks/spec#401)

@edmorley
Copy link
Contributor Author

edmorley commented Apr 8, 2024

This backports those changes to the RFC to try and prevent user confusion if they use the RFC as a means of learning about targets when implementing.

To give some more context here - one of the reasons I look at the RFCs when implementing, is that they are quite prominently linked from the spec GitHub release entries:
https://github.com/buildpacks/spec/releases

text/0096-remove-stacks-mixins.md Outdated Show resolved Hide resolved
text/0096-remove-stacks-mixins.md Outdated Show resolved Hide resolved
@edmorley edmorley force-pushed the patch-2 branch 2 times, most recently from 194cfc7 to 6143320 Compare April 10, 2024 14:53
@edmorley
Copy link
Contributor Author

(Me using the GitHub rebase button broke the GPG verification status of the commits, so I've squashed and manually pushed instead)

A few changes were made to what was in the RFC when it came to update the spec.

This backports those changes to the RFC to try and prevent user confusion if they use the RFC as a means of learning about targets when implementing.

Specifically:
- The `io.buildpacks.distribution.*` Docker labels were renamed to `io.buildpacks.base.distro.*`.
- The `io.buildpacks.id` Docker label was renamed to `io.buildpacks.base.id`.
- The `buildpack.toml` table `[[targets.distributions]]` was renamed to `[[targets.distros]]` and the `versions` field within it renamed to `version` (along with its type changing from an array to a string).

See:
https://github.com/buildpacks/spec/blob/platform/0.13/platform.md#target-data

Signed-off-by: Ed Morley <501702+edmorley@users.noreply.github.com>
@edmorley
Copy link
Contributor Author

It's spreading! 😆
#295 (comment)

@edmorley edmorley changed the title Update RFC96 (stacks removal) to match what landed in the spec Update RFC 0096 (stacks removal) to match what landed in the spec Apr 11, 2024
@edmorley
Copy link
Contributor Author

Please can I have review/merge? :-)

@natalieparellano natalieparellano merged commit 58807e2 into buildpacks:main May 14, 2024
7 checks passed
@edmorley edmorley deleted the patch-2 branch May 14, 2024 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants