-
Notifications
You must be signed in to change notification settings - Fork 63
Apt repository versioning and layout #311
Comments
Since we are now creating the Apt repository for universal deb packages, now we have a chance to revisit the convention for package names, versions and suites. Goals & Non-goalsGoals
Non-goals
Versioning And LayoutIn brief, the package name should be always Deb Package NameAll deb packages should be named Deb Package VersionThe deb package versions are different from the versions printed by The version is always determined from If the If the Note that we choose tilde instead of hyphen, so that dpkg would consider a dev suffixed version as a smaller version than unsuffixed version, according to its sorting algorithm. We also choose commit time instead of nightly date to support version comparison between arbitrary commits. Apt Repository SuiteThe universal deb package built from
If x.y is a LTS version, the deb package will be also uploaded to the following suite:
The universal deb package built from
The universal deb package built from other commits will not be uploaded to the Apt repository. |
According to a private conversation with @fredemmott, the reason why the package names are different is to support installing both Unfortunately the ability to install both
|
Note that the versioning in RPM 4.10.0 or higher also supports tilde: https://rpm.org/ticket/56 |
See hhvm/packaging#311 for version schema
See hhvm/packaging#311 for version schema
Summary: See hhvm/packaging#311 for version schema Pull Request resolved: #9122 Test Plan: --- Check "Show the rpm package's information" "Show the deb package's information" steps in GitHub Actions output. The version number should be like `4.165.0~dev20220714183154` Reviewed By: alexeyt Differential Revision: D37871984 Pulled By: Atry fbshipit-source-id: 24b147eec8a9f882890ac89539d81591cf2730f6
Currently we have
hhvm
andhhvm-nightly
named differently. However, they are not actually independent. We cannot install both:If you installed
hhvm
from the APT repository, then the attempt to installhhvm-nightly
would failThe text was updated successfully, but these errors were encountered: