[Bug] The version constant says 0.2.0 while the release is called 0.1.0 #629
Labels
No labels
accepted
bug
declined
docs
duplicate
enhancement
good first issue
in-progress
needs-info
privacy
security
triage
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
LibreKAT/Ocideck#629
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Found in the pre-publication claim audit. Belongs with #520 (release engineering) but is filed separately so it can be ticked off on its own.
Evidence:
pubspec.yaml:4—version: 0.2.0+1;lib/services/export_metadata.dart:18—const kOciDeckVersion = "0.2.0", which feeds:21kOciDeckProducer(the Producer/Creator field written into every exported PDF and PPTX) and the About panel (lib/widgets/dialogs/parts/settings_dialog_about.dart:331).test/version_consistency_test.dart:21locks the two together, so the constant is not a stray — the pair is guarded, the prose is not.Against the stated intent to publish 0.1.0:
COMPLIANCE.md:65"Valid for versions: The default branch. There are no releases and no version tags";:68"pubspec.yamlcarries0.2.0+1, but that changes only when someone bumps it";COMPLIANCE.md:130BR.02 "No releases exist, so there is nothing to version";docs/FAQ.md:33-34"There is, however, nothing to download yet." Anddocs/FILE_FORMAT.mdwrites "as of 0.1.0" in thirteen places as though it already exists.Why this matters now: if 0.1.0 ships, every PDF and PPTX it exports carries
OciDeck 0.2.0in its metadata — in the artefacts a penetration-test client keeps — and the About panel disagrees with the tag. It also breaks COMPLIANCE.md BR.02 "monotonically increasing" in the wrong direction: 0.2.0 would already exist in the field before 0.1.0.Proposal: pick the number, set
pubspec.yamlandkOciDeckVersionto it in one commit, and in the same commit flip the sentences that assume no release exists:COMPLIANCE.md:65,:68,:130-140,docs/FAQ.md:33-34, and the README doc-table row atREADME.md:128.