Page MenuHomeFreeBSD

pkgbase: don't remove the 'latest' symlink until the repo is final
ClosedPublic

Authored by kevans on Oct 28 2024, 4:52 AM.
Tags
None
Referenced Files
F107520490: D47303.diff
Wed, Jan 15, 9:13 AM
F107517662: D47303.id145515.diff
Wed, Jan 15, 8:12 AM
Unknown Object (File)
Tue, Jan 14, 1:00 AM
Unknown Object (File)
Sun, Jan 12, 9:33 AM
Unknown Object (File)
Thu, Dec 26, 1:30 PM
Unknown Object (File)
Dec 10 2024, 1:35 AM
Unknown Object (File)
Dec 9 2024, 5:53 AM
Unknown Object (File)
Dec 7 2024, 6:34 AM
Subscribers

Details

Summary

We can encounter many issues in the pkg-repo(8) process which would
currently leave us with no more 'latest' symlink in the repository. The
main problems with this are that we've now broken a subsequent
update-packages because we can't determine a PKG_VERSION_FROM, but
also we break configured clients that are still expecting to see *some*
repository.

Switch to just replacing the latest symlink entirely after we have
made it past the pkg-repo(8) step so that we only swap over when we have
a finished repository.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 60211
Build 57095: arc lint + arc unit