Any issue with git results in the unhelpful "404 not found" error
yippie opened this issue · comments
Describe the bug
In many situations, pulling a remote git repo will result in a "404 Not Found" error with absolutely no indication in the error, error details, or logs, what repo/tag is not found.
Please, when a repo or relevant commit isn't found, include the following information in the error:
- Source or Dependency
- Repo URL
- Ref/tag (if applicable)
- Resolution strategy (if applicable)
Reproduction steps
Have a project with sources and dependencies. The generic 404 will be thrown in any of the following situations
- Source repo doesn't exist or user doesn't have permission to it
- Dependency repo doesn't exist or user doesn't have permission to it
- Source ref: tag/branch doesn't exist
- Dependency resolution strategy does not resolve (example: resolution strategy set to latest_release but only beta releases exist on the dependency repo)
- Source resolution strategy does not resolve (example: resolution strategy set to latest_release but only beta releases exist on the dependency repo)
Interestingly, Dependency ref: tag/branch not existing does give a helpful error of repo URL and tag it was looking for.
Your CumulusCI and Python versions
CumulusCI version: 3.75.1 (/Users/kai.amundsen/.local/bin/cci)
Python version: 3.10.9 (/Users/kai.amundsen/.local/pipx/venvs/cumulusci/bin/python)
Operating System
macOS
Windows environment
No response
CumulusCI installation method
pipx
Error Gist
No response
Additional information
No response