[BUG] - Nebari init with --repository-auto-provision --repository github.com fails on validation error #1936
Labels
area: nebari-cli
needs: investigation 🔍
Someone in the team needs to find the root cause and replicate this bug
project: JATIC
Work item needed for the JATIC project
type: bug 🐛
Something isn't working
Milestone
Describe the bug
Using the repository/repository-auto-provision options with
nebari init
fails with contradictory validation errorsExpected behavior
nebari init ... --repository-auto-provision
OS and architecture in which you are running Nebari
Ubuntu Linux, x64
How to Reproduce the problem?
nebari init local --project-name foobar --repository-auto-provision --repository github.com ... (stack trace) ValueError: Repository to be auto-provisioned is not the full URL of a GitHub repo: github.com
nebari init local --project-name foobar --repository-auto-provision --repository https://github.com/MetroStar/foobar
Command output
No response
Versions and dependencies used.
Nebari: 2023.7.2.dev
Compute environment
None
Integrations
No response
Anything else?
Nothing in the nebari-config.yaml reflects the repository selection, so it's unclear what the use case is for
--no-repository-auto-provision
.The text was updated successfully, but these errors were encountered: