-
-
Notifications
You must be signed in to change notification settings - Fork 445
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
Vcpkg Package Manager #2925
Open
mrixner
wants to merge
26
commits into
marticliment:main
Choose a base branch
from
mrixner:vcpkg-package-manager
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Vcpkg Package Manager #2925
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Also add empty array returns for GetAvailableUpdates_UnSafe and GetInstalledPackages_UnSafe to allow building.
(for GetInstalledPackages_UnSafe())
… it in your environment variables
…iGetUI into vcpkg-package-manager
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Any user suspected of farming GitHub activity with crypto purposes will get banned. Submitting broken code wastes the contributors' time, who have to spend their free time reviewing, fixing, and testing code that does not even compile breaks other features, or does not introduce any useful changes. I appreciate your understanding.
TODO before merging (for @marticliment)
This pull request is for support for the vcpkg package manager.
I'm sorry if the code is not good, this is my first time ever working with C#. I tried to write code in the style of all the other package managers and not touch more than I needed to.
List of Added Translations:
Manager Capabilities (for the table on the home page):
Install as administrator: yes (for vcpkg roots in an admin-locked directory)
Skip integrity checks: no (I don't think vcpkg has this capability, or if it has integrity checks to skip)
Interactive installation: no (it's being built from the command-line; there's no interactivity to show)
Install Older Versions: no (vcpkg doesn't support this on a global scale, only for projects with vcpkg.json control files)
Install a PreRelease Version: no (vcpkg doesn't have pre-release versions)
Install a Custom Architecture: not directly supported but can be easily achieved (via using a different triplet / source)
Install on a Custom Scope: no (everything just gets installed to the vcpkg directory)
Custom Install Location: no / sort of not directly supported but can be easily achieved? (everything just gets installed to the vcpkg directory; you can change which vcpkg directory via the "Custom vcpkg root" setting)
Custom Package Sources: not directly supported but can be easily achieved (it will automatically detect custom triplet / source CMake scripts dropped into
%VCPKG_ROOT%\triplets
or%VCPKG_ROOT%\triplets\community
)Other Potentially Unresolved Things
DefaultVcpkgTriplet
setting isn't being set properly, but I was told to leave the UI to Marti, and so that's what I'm doing.Closes #2146