Skip to content

[vcpkg] Add experimental x-azblob binary provider#13626

Merged
strega-nil merged 24 commits intomicrosoft:masterfrom
ras0219:dev/roschuma/azblob
Nov 18, 2020
Merged

[vcpkg] Add experimental x-azblob binary provider#13626
strega-nil merged 24 commits intomicrosoft:masterfrom
ras0219:dev/roschuma/azblob

Conversation

@ras0219
Copy link
Copy Markdown
Contributor

@ras0219 ras0219 commented Sep 20, 2020

This PR adds an experimental binary provider backed by Azure Blob Storage.

@JackBoosY JackBoosY added category:vcpkg-feature The issue is a new capability of the tool that doesn’t already exist and we haven’t committed info:internal labels Sep 22, 2020
static void clean_prepare_dir(Files::Filesystem& fs, const fs::path& dir)
{
fs.remove_all(dir, VCPKG_LINE_INFO);
bool created_last = fs.create_directories(dir, VCPKG_LINE_INFO);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
bool created_last = fs.create_directories(dir, VCPKG_LINE_INFO);
bool created_last = fs.create_directory(dir, VCPKG_LINE_INFO);

create_directories is really expensive and we should have already created the parents before we get here?

@ras0219-msft
Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@ras0219 ras0219 marked this pull request as ready for review November 18, 2020 19:49
@strega-nil strega-nil merged commit 5c48bee into microsoft:master Nov 18, 2020
strega-nil pushed a commit to strega-nil/vcpkg that referenced this pull request May 5, 2021
* [vcpkg] Add experimental x-azblob binary provider

* [vcpkg] Test azblob storage provider in CI

* [vcpkg] Address some CR comments from microsoft#13639

* [vcpkg] Fixup azure-pipelines

* [vcpkg] Fix regression where the downloaded package is purged before decompressing

* [vcpkg] Further refactor vcpkg::Downloads

* [vcpkg] Enable OSX for x-azblob testing

* [vcpkg] Reduce diff against master

* [vcpkg] Extract Downloads::details::split_uri_view

* [vcpkg] Address PR comments

* [vcpkg] Add testing and metrics for x-azblob

* [vcpkg] Add docs for x-azblob

This includes a note that it is currently experimental

* [vcpkg] Address CR comments

* [vcpkg] Revert pipeline changes except OSX to minimize disruption

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants