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

Ports Overlay implementation #6981

Merged
merged 13 commits into from
Jun 22, 2019
Merged

Conversation

vicroms
Copy link
Member

@vicroms vicroms commented Jun 20, 2019

This is a partial implementation of the Ports Overlay feature (see PR #6963 for spec).

The following commands now accept the --overlay-ports option:

  • vcpkg install
  • vcpkg update
  • vcpkg upgrade
  • vcpkg remove --outdated
  • vcpkg depend-info
  • vcpkg build
  • vcpkg ci
  • vcpkg export

The --overlay-ports option itself accepts paths to:

  • an individual port,
  • a directory containing multiple ports.

Missing from current implementation:

  • Allow passing .txt files to --overlay-ports.

@vicroms vicroms self-assigned this Jun 20, 2019
@vicroms vicroms added info:internal This PR or Issue was filed by the vcpkg team. category:vcpkg-feature The issue is a new capability of the tool that doesn’t already exist and we haven’t committed wip labels Jun 20, 2019
toolsrc/src/vcpkg/dependencies.cpp Outdated Show resolved Hide resolved
toolsrc/src/vcpkg/dependencies.cpp Outdated Show resolved Hide resolved
toolsrc/src/vcpkg/dependencies.cpp Outdated Show resolved Hide resolved
toolsrc/src/vcpkg/dependencies.cpp Outdated Show resolved Hide resolved
toolsrc/src/vcpkg/vcpkgcmdarguments.cpp Outdated Show resolved Hide resolved
toolsrc/src/vcpkg/vcpkgcmdarguments.cpp Outdated Show resolved Hide resolved
toolsrc/src/vcpkg/vcpkgcmdarguments.cpp Outdated Show resolved Hide resolved
toolsrc/src/vcpkg/help.cpp Outdated Show resolved Hide resolved
toolsrc/src/vcpkg/vcpkgcmdarguments.cpp Outdated Show resolved Hide resolved
strega-nil pushed a commit to strega-nil/vcpkg that referenced this pull request May 5, 2021
* Ports Overlay feature spec

* Ports Overlay implementation

* [--overlay-ports] Refactor handling of additional paths

* Code cleanup

* [--overlay-ports] Add help

* [depend-info] Support --overlay-ports

* Add method to load all ports using PathsPortFileProvider

* Make PortFileProvider::load_all_control_files() const

* Remove unused code

* [vcpkg] Avoid double-load of source control file between Build::perform_and_exit and Build::perform_and_exit_ex

* [vcpkg] Clang format

* [vcpkg] Fixup build failure introduced in b069ceb

* Report errors from Paragraphs::try_load_port()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:vcpkg-feature The issue is a new capability of the tool that doesn’t already exist and we haven’t committed info:internal This PR or Issue was filed by the vcpkg team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants