Skip to content
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

Add a few utilities for vcpkg #2

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Conversation

drdanz
Copy link

@drdanz drdanz commented Feb 27, 2025

No description provided.

This function parses the tag and returns just the version number.

Also add --get-latest-version argument to the command line utility.
For the moment, it contains:
 * fetch_vcpkg_port_vcpkg_json_file: Fetches the vcpkg.json file for a
   port and returns its content.
 * extract_version_from_vcpkg_json_file_content: Extracts the version
   from the vcpkg.json file content.
 * get_latest_version_in_vcpkg: Get the latest version for a vcpkg port
This utility compares the version currently in use (for example the
version currently packaged for vcpkg) with the latest version (usually
the version on the repository).

Also allow calling it from command line.
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.

1 participant