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

Attribute Release/Application differentiation and setup-release action #605

Merged
merged 2 commits into from
Sep 20, 2024

Conversation

kadraman
Copy link
Collaborator

Includes fix for --attrs being able to only update relevant type, e.g. Application/Release (fixes #604)

Working fcli fod action run setup-release with attributes and Aviator/OSS options.

…ibutes in --attrs option (fixes fortify#604)

chore: working `fcli fod action run setup-release`
@kadraman kadraman requested a review from rsenden September 20, 2024 07:40
@rsenden
Copy link
Contributor

rsenden commented Sep 20, 2024

@kadraman Looks like you've also updated the app create command to only include app attributes. I think in this case, we'd want to include both app and release attributes, as app create will also create a release.

@kadraman
Copy link
Collaborator Author

@kadraman Looks like you've also updated the app create command to only include app attributes. I think in this case, we'd want to include both app and release attributes, as app create will also create a release.

Yes, I forgot about that - will update it.

@kadraman
Copy link
Collaborator Author

kadraman commented Sep 20, 2024 via email

@rsenden
Copy link
Contributor

rsenden commented Sep 20, 2024

@kadraman I don't see any new commit yet, but I think it's better to just have a single --attrs option. On app create this would set both app & release attributes, on app update we would ignore release attributes, and on rel update and rel create we would ignore app attributes. The setup-release action can then just have a single --attrs option.

@rsenden
Copy link
Contributor

rsenden commented Sep 20, 2024

I haven't checked any resource bundle updates yet, but please make sure that this behavior is properly documented in the option descriptions, i.e., stating that app create --attrs accepts both app & release attributes, whereas for the other commands, --attrs ignores app or release attributes.

@kadraman
Copy link
Collaborator Author

kadraman commented Sep 20, 2024 via email

…mbined app/release option and filtered on any commands
@rsenden rsenden merged commit e2077b9 into fortify:develop Sep 20, 2024
@kadraman kadraman deleted the fod-2403-updates branch December 16, 2024 08:02
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.

fcli fod release create: Improve handling of application attributes in --attrs option
2 participants