Skip to content

setup_new_ixa_project.sh fails to download .pre-commit-config.yaml #773

@ElishaBayode

Description

@ElishaBayode

I’m following the “Get Started” guide and running the setup script:

curl -s https://raw.githubusercontent.com/CDCgov/ixa/main/scripts/setup_new_ixa_project.sh | sh -s

The script fails with:

Failed to download pre-commit-config.yaml from ixa

Looking at the script, it attempts to download:

https://raw.githubusercontent.com/CDCgov/ixa/main/.pre-commit-config.yaml

But, that file does not exist on the main branch, so the request returns 404 and the setup exits.

Expected behavior:
The project should scaffold successfully as described in the get started guide.

Workaround:
Creating a minimal placeholder file allows the setup to complete:

printf "repos: []\n" > .pre-commit-config.yaml

Suggested fixes:

  • add the file to the repository, or
  • make the step non-fatal if the file is unavailable

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions