-
Notifications
You must be signed in to change notification settings - Fork 12
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
Standardise the names and descriptions of languages buildpacks in the builder #408
Comments
For
|
For
|
For
|
This will be hard to do correctly for some of the more polyglot ecosystems such as JVM, CLR and Node. Gradle for example is used with various languages and we therefore can't associate it with a single We could loosen this up a bit and make it a Apart from this small bit, I'm 👍🏻 on the proposals so far. :) |
Yeah agree about the prefix being harder to do in some ecosystems.
After speaking with Manuel, we settled on descriptions like this for composite buildpacks:
vs this for component buildpacks (that aren't standalone in their own right):
|
Adjusts the buildpack `name`, `description` and `keywords` in the `buildpack.toml` of all buildpacks to match the style discussed in: heroku/cnb-builder-images#408 These fields are used by the CNB registry and can also be seen in the output of `pack builder inspect`. They are not used by `pack build` or Kodon. In addition to standardising the metadata, one of the objectives here is to ensure users don't accidentally use component buildpacks when they really wanted the composite buildpack. The `keywords` field has intentionally been omitted from the functions buildpacks since they are EOL and so don't want to be made more discoverable. (The CNB registry doesn't currently ingest/display the keywords currently, but may in the future.) Lastly, I've cleaned up the `[metadata]` table/subtables to match the concise style used by the Procfile and Python CNBs. GUS-W-14121598.
Adjusts the buildpack `name`, `description` and `keywords` in `buildpack.toml` to match the style discussed in: heroku/cnb-builder-images#408 These fields are used by the CNB registry and can also be seen in the output of `pack builder inspect`. They are not used by `pack build` or Kodon. In addition, I've cleaned up the `[metadata]` table/subtables to match the more concise style used by the Procfile and Python CNBs. GUS-W-14121598.
Adjusts the buildpack `name`, `description` and `keywords` in the `buildpack.toml` of all buildpacks to match the style discussed in: heroku/cnb-builder-images#408 The `keywords` field has intentionally been omitted from the functions buildpacks since they are EOL and so don't want to be made more discoverable. (The CNB registry doesn't currently ingest/display the keywords currently, but may in the future.) Lastly, I've cleaned up the `[metadata]` table/subtables to match the concise style used by the Procfile and Python CNBs. GUS-W-14121598.
Adjusts the buildpack `name` and `description` in `buildpack.toml` to match the style discussed in: heroku/cnb-builder-images#408 These fields are used by the CNB registry and can also be seen in the output of `pack builder inspect`. They are not used by `pack build` or Kodon. In addition, I've cleaned up the `[metadata]` table/subtables to match the more concise style used by the Procfile and Python CNBs. GUS-W-14121598.
Adjusts the buildpack `name` and `description` in `buildpack.toml` to match the style discussed in: heroku/cnb-builder-images#408 These fields are used by the CNB registry and can also be seen in the output of `pack builder inspect`. They are not used by `pack build` or Kodon. GUS-W-14121598.
Adds the buildpack `description` to `buildpack.toml` with a style matching that discussed in: heroku/cnb-builder-images#408 The `description` field is displayed on the CNB registry's page for the buildpack. In addition, I've cleaned up the `[metadata]` table/subtables to match the more concise style used by the Procfile and Python CNBs. GUS-W-14121598.
Adjusts the buildpack `name`, `description` and `keywords` in `buildpack.toml` to match the style discussed in: heroku/cnb-builder-images#408 These fields are used by the CNB registry and can also be seen in the output of `pack builder inspect`. They are not used by `pack build` or Kodon. GUS-W-14121598.
So that: - The naming style matches that chosen in #408 - It's clearer that these are shimmed buildpacks and not the native CNB versions of the buildpacks with the same name GUS-W-14121598.
This is now complete. The updated eg: The standardised eg:
And for the images contained shimmed classic buildpacks:
|
To make the name consistent with our other CNBs, eg: https://github.com/heroku/buildpacks-python/blob/ee25c70c647a2d5d11b19bfc2a4bc1ab5598138c/buildpack.toml#L6 https://github.com/heroku/buildpacks-nodejs/blob/df5f1de2e6fde1ef98701740f80bf83b2975bedd/meta-buildpacks/nodejs/buildpack.toml#L6 And also to add some additional keywords. See also: heroku/cnb-builder-images#408
To make the name consistent with our other CNBs, eg: https://github.com/heroku/buildpacks-python/blob/ee25c70c647a2d5d11b19bfc2a4bc1ab5598138c/buildpack.toml#L6 https://github.com/heroku/buildpacks-nodejs/blob/df5f1de2e6fde1ef98701740f80bf83b2975bedd/meta-buildpacks/nodejs/buildpack.toml#L6 And also to add some additional keywords. See also: heroku/cnb-builder-images#408
Currently there's a bit of inconsistency in the "Name" shown for each buildpack in the builder:
Specifically:
In addition, we should perhaps try and distinguish between the composite buildpacks (formerly meta buildpacks) and the component buildpacks in the name.
These names come from the
name
field inbuildpack.toml
, e.g.:https://github.com/heroku/procfile-cnb/blob/0574174d9634f0a4fed940efbb584b050dec30fc/buildpack.toml#L6
Whilst improving these, we should also audit the
description
fields, e.g.:https://github.com/heroku/procfile-cnb/blob/0574174d9634f0a4fed940efbb584b050dec30fc/buildpack.toml#L8
...since the descriptions vary quite a bit too, and they are shown on e.g. the buildpack registry:
https://registry.buildpacks.io/buildpacks/heroku/procfile
The current descriptions are:
The following CNBs are missing a description:
GUS-W-14121598.
The text was updated successfully, but these errors were encountered: