Private clone

Open
#363 0 comments 0 reactions 2 assignees View on GitHub

@sanzog03 is already working on this.

Since Mar 3, 2026.

Assessment

This issue has not been assessed yet.

Description

🔒 Heads up: akd-core is now private

We recently made akd-core private ahead of release. This means uv sync will hang or fail if your git auth isn't configured for non-interactive access.

You must be added to the repo first — reach out to me or another admin if you don't have access yet.


Option 1: GitHub PAT (quickest fix)
  1. Create a Personal Access Token at GitHub → Settings → Developer Settings → Personal Access Tokens
    • Fine-grained token with read access to accelerated-discovery repo
  2. Export it before running sync:
export UV_GITHUB_TOKEN=ghp_xxxxxxxxxxxx
uv sync

Option 2: SSH (recommended long-term)
  1. Set up an SSH key with GitHub (no passphrase, so uv/git can use it non-interactively)
  2. Update your pyproject.toml dependency to use SSH:
dependencies = [
    "akd @ git+ssh://git@github.com/NASA-IMPACT/accelerated-discovery.git@develop",
]
  1. Then just run:
uv sync


⚠️ A note on git+ssh:// vs git+https://

If you switch your pyproject.toml to use git+ssh://, keep in mind that SSH auth is now required even if the repo becomes public again. If your SSH keys aren't configured correctly, you won't be able to clone — even a public repo.

  • Private repogit+ssh:// works great (with passphrase-disabled SSH key)
  • Public repogit+https:// is the safer default — it just works without any auth setup

So if akd-core goes public in the future, switching back to git+https:// in your toml will avoid unnecessary SSH headaches for new contributors.


Why does this happen? uv calls git under the hood but can't open an interactive login prompt — so if git doesn't already have credentials cached, it just hangs silently. Both options above ensure credentials are available non-interactively.

Dominant language
Jupyter Notebook
Stars
4
Forks
0
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from NASA-IMPACT/akd-core

All issues in NASA-IMPACT/akd-core

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.