Skip to content

Layout: a pin may name its tag, and a download is pinned by version - #113

Merged
bdbarnett merged 1 commit into
mainfrom
layout-pins-tags-downloads
Nov 10, 2026
Merged

bdbarnett merged 1 commit into
mainfrom
layout-pins-tags-downloads

Conversation

@bdbarnett

Copy link
Copy Markdown
Contributor

The pin-file rule gave one line shape: name, clone URL, full commit. Two real cases didn't fit it. A toolchain such as ESP-IDF is fetched by tag, so its line pins the commit and names the tag in a trailing # tag <tag>, and the build checks the checkout is that commit. An archive that isn't a git repository (SDL2's tarball, a registry component) is pinned by its URL and version in a section of its own.

This is how micropython-pydevices' DEPENDENCIES.lock writes them; the reference page now says so. Docs only.

micropython-pydevices' DEPENDENCIES.lock holds toolchains fetched by tag and six archives that are not git checkouts. The rule now says how each is written, as that file writes them.
@bdbarnett
bdbarnett merged commit dd9d7a7 into main Nov 10, 2026
8 checks passed
@bdbarnett
bdbarnett deleted the layout-pins-tags-downloads branch November 10, 2026 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant