Release docket-rs without a version bump commit

Aperta
#606 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
34/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github-actions, python, rust

Direzione di ricerca

Read .github/workflows/publish-rust.yml, rust/Cargo.toml, and the latest bump PR, #605, to trace how the tag, manifest, and lockfile currently control releases. Check the install examples in rust/docket/README.md and the release process in .claude/skills/release/SKILL.md; the issue is done when a rust/v* tag can publish the matching version without a bump PR and the listed lockfile, README, build-version, and release-guide concerns are resolved.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

rust

A docket-rs release needs a bump PR merged first (#605 is the latest), because Cargo reads the version only from rust/Cargo.toml and publish-rust.yml refuses a tag that does not match the manifest. pydocket has no such step: hatch-vcs takes its version from the python/v* tag.

The idea is for the rust/v* tag to be the only source of the docket-rs version. The publish job would write the tag's version into [workspace.package].version and the exact docket-rs-macros pin, then publish, and main would hold a placeholder version.

Things to work out:

  • cargo publish --locked fails when the manifest version differs from Cargo.lock, so the job has to refresh the workspace's own entries in the lockfile without changing any dependency version.
  • The publish needs --allow-dirty, and the published manifest differs from the tagged commit by the version line.
  • The install lines in rust/docket/README.md (docket-rs = "0.5") need a source for the version.
  • A build from git reports the placeholder version.
  • The release skill at .claude/skills/release/SKILL.md describes the bump PR and needs to change with this.
Lingua principale
Python
Stelle
148
Fork
12
Merge medio
15h 49m
PR unite (30g)
45

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di chrisguidry/docket

Tutte le issue di chrisguidry/docket

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.