10000 Release 1.2.2.1 by rst0git · Pull Request #3085 · p4lang/p4c · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Release 1.2.2.1 #3085

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 16, 2022
Merged

Release 1.2.2.1 #3085

merged 1 commit into from
Feb 16, 2022

Conversation

rst0git
Copy link
Member
@rst0git rst0git commented Feb 15, 2022

The current versioning scheme of the P4 compiler corresponds to the P4 language specification. In particular, the current compiler version corresponds to v1.2.2 of P4_16 Language Specification.

This patch updates the P4 compiler version to the following format

<major>.<minor>.<patchlevel>.<releasenumber>

Where <releasenumber> increments with each release of the compiler. The increment in version number allows to distribute updates for the P4 compiler using package management systems such as DPKG (Debian/Ubuntu) and RPM (Fedora/CentOS).

This change was discussed at the P4 open source developer days on November 23, 2021.

The current versioning scheme of the P4 compiler corresponds to the P4
language specification. In particular, the current compiler version
corresponds to v1.2.2 of P4_16 Language Specification.

This patch updates the P4 compiler version to the following format

	<major>.<minor>.<patchlevel>.<releasenumber>

Where <releasenumber> increments with each release of the compiler.
The increment in version number allows to distribute updates for the
P4 compiler using package management systems such as
DPKG (Debian/Ubuntu) and RPM (Fedora/CentOS).

This change was discussed at the P4 open source developer days on
November 23, 2021.

Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
@jafingerhut
Copy link
Contributor

+1 from me to have something where we can have distinct version numbers for more frequently released versions of p4c (monthly, perhaps?)

@mihaibudiu
Copy link
Contributor

Can the incrementation of the number be automated so we make sure we always increment when merging something in main?

@rst0git
Copy link
Member Author
rst0git commented Feb 16, 2022

Thank you Andy and Mihai! I have also discussed creating a Fedora package for the P4 compiler with @trixirt and @adrianreber.
The git tag / release version in GitHub is used to download the sources to build a package. I suspect that most users would not need to update on every merged commit, but perhaps monthly update might be a good idea.

@rst0git rst0git merged commit a89bac3 into p4lang:main Feb 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0