canonical / craft-parts

https://canonical-craft-parts.readthedocs-hosted.com
GNU Lesser General Public License v3.0
11 stars 37 forks source link

Craft parts should close stdin when cloning git projects #899

Open mr-cal opened 2 weeks ago

mr-cal commented 2 weeks ago

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

syncronize-issues-to-jira[bot] commented 2 weeks ago

Thank you for reporting us your feedback!

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

This message was autogenerated