SFDO-Tooling / CumulusCI

Python framework for building portable automation for Salesforce projects

Home Page:http://cumulusci.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

  1. Source repo doesn't exist or user doesn't have permission to it
  2. Dependency repo doesn't exist or user doesn't have permission to it
  3. Source ref: tag/branch doesn't exist
  4. Dependency resolution strategy does not resolve (example: resolution strategy set to latest_release but only beta releases exist on the dependency repo)
  5. 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