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

Upgrade vcpkg #7

Merged
merged 25 commits into from
Sep 25, 2024
Merged

Upgrade vcpkg #7

merged 25 commits into from
Sep 25, 2024

Conversation

sgouache
Copy link
Collaborator

No description provided.

@sgouache sgouache merged commit 42c2d62 into wip Sep 25, 2024
8 checks passed
@sgouache sgouache deleted the upgrade_vcpkg branch September 25, 2024 13:51
sgouache added a commit that referenced this pull request Sep 25, 2024
* Add ways to propagate aws Outcome return values up the calling code, with lighter structures.

Add helper functions and macros.

* Adjust the C++ standard to the minimum supported by aws-sdk.

* Add a utility to test pattern matching with globing according to the gitignore style.

Formatting done by clang-format.

* Test commit.

* Fix test.

* End of getFileSize implementation.

WIP on creation of handles for reader streams.

* Fix the prefix in the request to ListObjectsV2.

* Constify what can be const.

* Implementation of fopen in read mode.

* Extract type definitions common to the plugin code and the test code to a dedicated header file.

* Add functions to manipulate the driver's state during tests.

* Add unit tests for fileExists.

* Small refactor in MakeReaderPtr.

* Handling of special cases in getFileSize: empty file list and one-element file list.

* Add test cases for getFileSize.

* Update fclose.

* Update reader stream opening: handle case when the list of files is empty.

* Implement fseek and fread.

* Implement file writing.

* Define a ctor for MultiPartFile.

* Fix memory mismatch.
See https://docs.aws.amazon.com/sdk-for-cpp/v1/developer-guide/memory-management.html.

* Add missing checks for connection.

* Cleanup on disconnection.
Abort unfinished uploads.

* Complete append mode.

* Fix template arguments in stream registering functions.

* Use std function instead of pure c function.

* Extend lifetime of the PreallocateBuffer variable.

* Add missing return in fclose.

* Fix some warnings.

* Fix writer's internal buffer's init. No more filling with zeros.

* Refactor client's initialisation for tests.

* Fix fwrite.

* Fix allocation issues.

* Fix byte ranges in requests.
Byte ranges are inclusive.

* Add append mode test (#6)

* Manual rebase

* Fix opening in append mode

---------

Co-authored-by: Stephane Gouache <[email protected]>

* Formatting after merge

* Implement copyToLocal.

* Add explicit casts in integer operations.

* Fix stream registering.

* Fix for append mode

* Fix multifile copy issue

* Cleanup

* Updated vcpkg

* Remove core dependency

* Switch back to old vcpkg

* Upgrade vcpkg (#7)

* Try using recent vcpkg

* Try disabling http proxy flag

* Add debug flag

* One more try...

* Turn on debugging

* Cleanup client init

* Add libcurl dependency

* Fix version

* Fix baseline

* Try fixing cache issue

* Remove unneeded include

* Fix HTTP 1.1

* Disable region variable

* Change client init

* 1.11.255

* Initialize endpoint correctly

* 1.11.352

* 1.11.285

* 1.11.255 with traces

* Try 1.11.412 with vcpkg overlay

* Remove invalid patch

* Typo

* Try http2 + cert verification

* Cleanup

* Restore checkout depth

---------

Co-authored-by: Stephane Gouache <[email protected]>

---------

Co-authored-by: Cedric LE CAM <[email protected]>
Co-authored-by: Stephane Gouache <[email protected]>
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