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

Craft parts should close stdin when cloning git projects #899

Open
mr-cal opened this issue Nov 7, 2024 · 1 comment
Open

Craft parts should close stdin when cloning git projects #899

mr-cal opened this issue Nov 7, 2024 · 1 comment
Labels
Enhancement New feature or request Triaged

Comments

@mr-cal
Copy link
Contributor

mr-cal commented Nov 7, 2024

What needs to get done

  1. Similar to apt calls (source), craft-parts should close stdin when cloning git repos.
  2. If a repo requires credentials, craft-parts should raise a user-friendly error both locally and in CI (snapcraft remote-build is a good test).

Why it needs to get done

If a git repo requires credentials, craft-parts does not prevent block stdin. This produces unhelpful errors.

source: https://chat.canonical.com/canonical/pl/wdbbgdpiupdymyzgfwiuys8cge

@mr-cal mr-cal added Enhancement New feature or request Triaged labels Nov 7, 2024
Copy link

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/CRAFT-3660.

This message was autogenerated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request Triaged
Projects
None yet
Development

No branches or pull requests

1 participant