Repository navigation
0.8.9: quotes record refuses outside a git checkout (no value moves) - #26
Merged
Merged
Conversation
`spacevalue quotes record` writes into the package's own quotes/ folder. For an installed copy that is site-packages: it fetched the closes, wrote the snapshot and its SHA256SUMS line, printed "wrote ..." and exited 0, and the file was never committed, though a release is built only from a committed snapshot. It now exits 1 with a FAIL line unless the package runs from a git checkout of itself, and the README says to record in a clone and commit the new file. A dry run of "publish prices" on main (run 46717414044) confirmed 0.8.8's provenance step: the manifest names main's head commit, clean. Data contract unchanged at 1.22.1. Rebuilt from metals-2026-10-07, all eight tables equal prices-2026-11-20 byte for byte. 210 tests pass.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
spacevalue quotes recordwrites into the package's ownquotes/folder. For an installed copy, that folder is in site-packages. There it fetched the closes, wrote the snapshot and its SHA256SUMS line, printedwrote ...and exited 0. The file was never committed, and a release is built only from a committed snapshot. This was seen for real on a machine with a stale global install.Change
quotes recordnow exits 1 with a FAIL line on stderr, before fetching anything, unless the package runs from a git checkout of itself. The check reuses 0.8.8's_source_state().pip install -e .) and commit the new file.Verification
metals-2026-10-07, all eight tables equalprices-2026-11-20byte for byte.008f8a8, with a clean tree.