Page MenuHomeFreeBSD

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

Authored by kevans on Mon, Oct 28, 4:52 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 10, 3:31 AM
Unknown Object (File)
Sat, Nov 9, 8:04 AM
Unknown Object (File)
Wed, Nov 6, 6:36 PM
Unknown Object (File)
Wed, Nov 6, 6:27 PM
Unknown Object (File)
Wed, Nov 6, 4:28 PM
Unknown Object (File)
Sat, Nov 2, 8:30 AM
Unknown Object (File)
Fri, Nov 1, 4:31 AM
Unknown Object (File)
Wed, Oct 30, 7:14 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 Not Applicable
Unit
Tests Not Applicable