Page MenuHomeFreeBSD

pkgbase: differentiate package versions for ALPHA/BETA/PRERELEASE/RC phases (part 2)
ClosedPublic

Authored by rene on Jun 24 2019, 1:04 PM.
Referenced Files
Unknown Object (File)
Wed, Dec 18, 1:44 AM
Unknown Object (File)
Mon, Dec 9, 8:30 AM
Unknown Object (File)
Nov 22 2024, 4:03 AM
Unknown Object (File)
Nov 18 2024, 8:29 AM
Unknown Object (File)
Nov 12 2024, 7:36 PM
Unknown Object (File)
Nov 11 2024, 1:29 PM
Unknown Object (File)
Nov 11 2024, 1:20 PM
Unknown Object (File)
Nov 11 2024, 4:03 AM
Subscribers

Details

Summary

https://reviews.freebsd.org/D20651 had some mistakes, fix these with an updated patch.

The current postfix conversions are:

  • CURRENT / STABLE -> .sYYYYMMDDhhmmss
  • ALPHAx -> .ax, so 11.3-ALPHA1 becomes 11.3.a1
  • BETAx -> .bx, so 12.1-BETA2 becomes 12.1.b2
  • RCx -> .rx, so 13.0-RC3 becomes 13.0.r3
  • PRERELEASE -> .p, so 11.3-PRERELEASE becomes 11.3.p
  • RELEASE -> (nothing), so 12.1-RELEASE becomes 12.1

For any -pX, a package revision of X is added, so 12.1-BETA2-p3 becomes 12.1.b2_3

Test Plan

Tested with local script and building 11.3.r1 packages

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 25166

Event Timeline

This is quite similar to D8943.

Remove the ".0" in version numbers for FreeBSD-CURRENT (so 13.s20190919151659 instead of 13.0.s20190919151659). Taken from D8943

This revision was not accepted when it landed; it landed in state Needs Review.Jan 14 2021, 1:00 PM
This revision was automatically updated to reflect the committed changes.

Push with a rebase and a few modif (PRERELEASE didn't worked).