Page MenuHomeSoftware Heritage

journal: Document the new format for gitdate.
ClosedPublic

Authored by vlorentz on Jan 21 2022, 12:00 PM.

Details

Summary

This documents the new behavior introduced by D7011, which will be released as swh-mode v5.0.0

Diff Detail

Repository
rDDOC Development documentation
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build has FAILED

Patch application report for D7003 (id=25396)

Rebasing onto bfa06588e5...

Current branch diff-target is up to date.
Changes applied before test
commit dca38ddd6a762a140d63e5cd6ce025ee9389e344
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Fri Jan 21 12:00:33 2022 +0100

    journal: Document the new format for gitdate.

Link to build: https://jenkins.softwareheritage.org/job/DDOC/job/build-on-diff/101/
See console output for more information: https://jenkins.softwareheritage.org/job/DDOC/job/build-on-diff/101/console

Harbormaster returned this revision to the author for changes because remote builds failed.Jan 21 2022, 12:10 PM
Harbormaster failed remote builds in B26240: Diff 25396!

Build has FAILED

Patch application report for D7003 (id=25417)

Rebasing onto bfa06588e5...

Current branch diff-target is up to date.
Changes applied before test
commit bf1e0b1185422827b2b7941fb009001f78c3af1a
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Fri Jan 21 12:00:33 2022 +0100

    journal: Document the new format for gitdate.

Link to build: https://jenkins.softwareheritage.org/job/DDOC/job/build-on-diff/103/
See console output for more information: https://jenkins.softwareheritage.org/job/DDOC/job/build-on-diff/103/console

Harbormaster returned this revision to the author for changes because remote builds failed.Jan 21 2022, 3:09 PM
Harbormaster failed remote builds in B26260: Diff 25417!

Build is green

Patch application report for D7003 (id=25417)

Rebasing onto 7ff0c981c3...

First, rewinding head to replay your work on top of it...
Applying: journal: Document the new format for gitdate.
Changes applied before test
commit 3850878d4e8164a25f8bf9d3bf09efca507d86fc
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Fri Jan 21 12:00:33 2022 +0100

    journal: Document the new format for gitdate.

See https://jenkins.softwareheritage.org/job/DDOC/job/build-on-diff/106/ for more details.

docs/journal.rst
608

I find it confusing to list fields to omit rather than to keep.

A glimpse at the list just below tell me that swh-model>=5 requires offset and negative_utc while it's the other way around...

docs/journal.rst
614

(genuinely) so what should the user do if s.he retrieves an object with inconsistent offset_bytes vs (offset + negative_utc)?

615

emphasis (bold) "new format" would be helpful as well (same for "old format")

This revision now requires changes to proceed.Jan 26 2022, 2:24 PM
docs/journal.rst
608

indeed

614

ignore offset + negative_utc, offset_bytes is always more correct

docs/journal.rst
615

ignore offset + negative_utc, offset_bytes is always more correct

should be explicitly written then

make descriptions less convoluted.

Build is green

Patch application report for D7003 (id=25745)

Rebasing onto ce59060cbc...

Current branch diff-target is up to date.
Changes applied before test
commit ef5dffbebfa3322db4ece3a0c531b174f357689a
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Fri Jan 21 12:00:33 2022 +0100

    journal: Document the new format for gitdate.

See https://jenkins.softwareheritage.org/job/DDOC/job/build-on-diff/111/ for more details.

This revision was not accepted when it landed; it landed in state Needs Review.Feb 7 2022, 1:06 PM
This revision was automatically updated to reflect the committed changes.