Skip to content

ignore empty string class name when building dataflow metadata #454

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

Conversation

tinedel
Copy link
Contributor

@tinedel tinedel commented Mar 27, 2024

Summary

Fixes issue #438
A lot of properties generated by configuration metadata do not have sourceType field set, which in turn matches the empty class name for the case when a list of classes has a trailing comma in the config file.

Checklist

  • I have viewed, signed, and submitted the Contributor License Agreement.
  • I have linked issue(s) that this PR should close using keywords or the Github UI (See docs)
  • I have added an integration test, if necessary.
  • I have reviewed the styleguide for guidance on my code quality.
  • I'm happy with the commit history on this PR (I have rebased/squashed as needed).

@tinedel tinedel requested a review from a team as a code owner March 27, 2024 12:18
Copy link

linux-foundation-easycla bot commented Mar 27, 2024

CLA Signed

The committers listed above are authorized under a signed CLA.

tinedel added 2 commits March 27, 2024 13:24
…pe field is absent and thus matches empty string, including all of these unwanted properties
@tinedel tinedel force-pushed the issue-438-trailing-comma-bug branch from 9b161d3 to 0f0a654 Compare March 27, 2024 12:25
@anthonydahanne
Copy link
Member

@kohlmu-pivotal are you ok with this change?

@anthonydahanne anthonydahanne added type:bug A general bug semver:patch A change requiring a patch version bump labels Mar 27, 2024
@anthonydahanne
Copy link
Member

thanks @tinedel for your contribution!
I'm checking if that does indeed fix #438

Also, we're in the middle of dual arch changes, let's wait for this to finish before we merge this one

@tinedel
Copy link
Contributor Author

tinedel commented Mar 27, 2024

@anthonydahanne sure, no problem.

Please let me know when you are ready and I'll update my branch with the latest main

@kohlmu-pivotal
Copy link

kohlmu-pivotal commented Mar 27, 2024

@kohlmu-pivotal are you ok with this change?

@anthonydahanne , yes I'm ok with this change. Ignore empty class names is what I would have done as well.

@pivotal-david-osullivan pivotal-david-osullivan merged commit d0e36ce into paketo-buildpacks:main Apr 2, 2024
5 checks passed
@tinedel tinedel deleted the issue-438-trailing-comma-bug branch April 2, 2024 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver:patch A change requiring a patch version bump type:bug A general bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants