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

Add support for buildpack.toml files #4031

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from

Conversation

NucleonGodX
Copy link

@NucleonGodX NucleonGodX commented Dec 19, 2024

Fixes #3477

Tasks

  • Reviewed contribution guidelines
  • PR is descriptively titled 📑 and links the original issue above 🔗
  • Tests pass -- look for a green checkbox ✔️ a few minutes after opening your PR
    Run tests locally to check for errors.
  • Commits are in uniquely-named feature branch and has no merge conflicts 📁

Signed-off-by: NucleonGodX [email protected]

@NucleonGodX NucleonGodX marked this pull request as draft December 19, 2024 07:18
@NucleonGodX NucleonGodX marked this pull request as ready for review December 23, 2024 09:37
@NucleonGodX NucleonGodX marked this pull request as draft December 24, 2024 04:52
@NucleonGodX NucleonGodX marked this pull request as ready for review December 24, 2024 13:55
@NucleonGodX NucleonGodX changed the title Added support for buildpack.toml files Add support for buildpack.toml files Dec 31, 2024
Copy link
Member

@AyanSinhaMahapatra AyanSinhaMahapatra left a comment

Choose a reason for hiding this comment

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

Thanks++ @NucleonGodX for the PR!
This is a great start.
See my comments for your consideration.

src/packagedcode/buildpack.py Outdated Show resolved Hide resolved
src/packagedcode/buildpack.py Outdated Show resolved Hide resolved
src/packagedcode/buildpack.py Outdated Show resolved Hide resolved
keywords = ["java", "apm", "trace", "opentelemetry"]
name = "Paketo Buildpack for OpenTelemetry"
sbom-formats = ["application/vnd.cyclonedx+json", "application/vnd.syft+json"]
version = "{{.version}}"
Copy link
Member

Choose a reason for hiding this comment

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

This is not useful to parse and store directly as version, check the spec for how we could deduce this

src/packagedcode/buildpack.py Outdated Show resolved Hide resolved
src/packagedcode/buildpack.py Show resolved Hide resolved
@NucleonGodX
Copy link
Author

Thanks @AyanSinhaMahapatra for your suggestions, I've implemented them.

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.

Add support for buildpack.toml manifest
2 participants