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

Fix Handling of snapcraft.yaml and rockcraft.yaml in the Same Directory #824

Merged
merged 1 commit into from
Dec 9, 2024

Conversation

rudra-iitm
Copy link
Contributor

Previously, having both snapcraft.yaml and rockcraft.yaml in the same directory caused snapcraft.yaml to be automatically converted to rockcraft.yaml.

This PR fixes the issue by requiring explicit use of the --yaml-path argument to update rockcraft.yaml (e.g., --yaml-path: rockcraft.yaml).

This ensures no unintended behavior when both files are present.

Copy link
Collaborator

@sergio-costas sergio-costas left a comment

Choose a reason for hiding this comment

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

Looks good.

@sergio-costas sergio-costas merged commit 8291ef5 into ubuntu:stable Dec 9, 2024
1 check passed
@rudra-iitm rudra-iitm deleted the dep-fix branch December 23, 2024 17:46
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.

2 participants