发布

  • 17678 fca5321e31

    Auto-detect data source repos for stubs generation (#9430)

    frostbyte_neo 发布于 2026-04-22 20:23:08 +00:00 | 131 次提交 在此版本后已推送到 master

    • Auto-detect data source repos for stubs generation

    Replaces the static $ADDITIONAL_STUBS_REPOS secret with a script that
    derives the repo list from the alternative-data dump at build time.
    find_datasource_repos.py extracts every QuantConnect.DataSource.* type
    from the dump's Data Point Attributes sections, matches them to non-
    archived QuantConnect/Lean.DataSource.* repos by .cs filename (parallel
    tree listings via GitHub API), and for types defined in more than one
    repo keeps only the one with the most recent pushedAt. Any entries
    still provided via the ADDITIONAL_STUBS_REPOS env var (the existing
    secret) are merged in so private/out-of-band repos remain supported.

    Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com

    • Emit full GitHub URLs in find_datasource_repos.py output

    ci_build_stubs.sh line 36 clones via ${REPO//github.com/"${TOKEN}@github.com"},
    which only works if REPO contains "github.com". Output full
    https://github.com/QuantConnect/ URLs instead of bare names.

    Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com


    Co-authored-by: Claude Opus 4.7 (1M context) noreply@anthropic.com

    下载附件