Skip to content

feat: add shared ledger for concurrent HF account coordination#3

Open
WenjiaoYue wants to merge 1 commit into
XuehaoSun:mainfrom
WenjiaoYue:feat/shared-ledger-hf-account-coordination
Open

feat: add shared ledger for concurrent HF account coordination#3
WenjiaoYue wants to merge 1 commit into
XuehaoSun:mainfrom
WenjiaoYue:feat/shared-ledger-hf-account-coordination

Conversation

@WenjiaoYue
Copy link
Copy Markdown

  • Enable SharedLedger (HF_SHARED_LEDGER_ENABLED=true) backed by GIT_REPO
  • Reuse GIT_REPO as ledger repo to avoid separate config
  • Auto-fallback ledger token to GIT_TOKEN for GitHub repos
  • Remove _ensure_remote_repo_exists (dead code for GitHub backend)
  • Move GIT_* vars before HF_SHARED_LEDGER_* in config.env so ${GIT_REPO} variable reference expands correctly on source

- Enable SharedLedger (HF_SHARED_LEDGER_ENABLED=true) backed by GIT_REPO
- Reuse GIT_REPO as ledger repo to avoid separate config
- Auto-fallback ledger token to GIT_TOKEN for GitHub repos
- Remove _ensure_remote_repo_exists (dead code for GitHub backend)
- Move GIT_* vars before HF_SHARED_LEDGER_* in config.env so
  ${GIT_REPO} variable reference expands correctly on source
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants