Skip to content

Conversation

@JonLiu1993
Copy link
Contributor

Fix #25338

Update 7-Zip to the latest version 22.00

Note: no feature need to test

@JonLiu1993 JonLiu1993 added info:internal category:port-update The issue is with a library, which is requesting update new revision labels Jun 22, 2022
@JonLiu1993 JonLiu1993 marked this pull request as ready for review June 23, 2022 01:53
"name": "7zip",
"version-string": "21.07",
"port-version": 1,
"version-string": "22.00",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be changed to version?

Copy link
Contributor Author

@JonLiu1993 JonLiu1993 Jul 4, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Adela0814, there should be "version-string", if we change it to "version" and then run the command "./vcpkg format-manifest ports/7zip/vcpkg.json" we get this error:

PS F:\Commit-pr\vcpkg> ./vcpkg format-manifest ports/7zip/vcpkg.json
Failed to parse manifest file: F:\Commit-pr\vcpkg\ports/7zip/vcpkg.json
Errors occurred while parsing F:\Commit-pr\vcpkg\ports/7zip/vcpkg.json
    $ (a manifest): 'version' text was not a relaxed version:
Error: String `22.00` must only contain dot-separated numeric values without leading zeroes

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

version-string is bad for manifest mode. For now, simply drop leading zeros: "version": "22.0".
(There are more ports which live with this limitation, e.g. poppler.)

github-actions[bot]
github-actions bot previously approved these changes Jul 4, 2022
@JonLiu1993 JonLiu1993 requested a review from Adela0814 July 4, 2022 08:16
@Adela0814 Adela0814 added info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this. and removed requires:author-response labels Jul 4, 2022
@vicroms vicroms merged commit 4927109 into microsoft:master Jul 5, 2022
@JonLiu1993 JonLiu1993 deleted the dev/Jon/7zip branch July 6, 2022 02:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category:port-update The issue is with a library, which is requesting update new revision info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants