-
Notifications
You must be signed in to change notification settings - Fork 991
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Proposal for sources backup feature (#13461)
* wip * Create DownloadCache abstracion, add upload test * Remove unused import * wip * wip * wip * Add soures backup fetching if present * fix test * checking file existence prior to upload * Split upload and download urls * Move conf to proper place in dict * Create policy for backup sources cache miss * Ensure we specify a default for the conf * Rename raise to error, raise on unknown value * credentials * wip * wip * wip * Update conan/api/subapi/upload.py Co-authored-by: Rubén Rincón Blanco <git@rinconblanco.es> * Update conan/api/subapi/upload.py Co-authored-by: Rubén Rincón Blanco <git@rinconblanco.es> * Update conans/client/rest/file_uploader.py Co-authored-by: Rubén Rincón Blanco <git@rinconblanco.es> * Update conan/api/subapi/upload.py Co-authored-by: Rubén Rincón Blanco <git@rinconblanco.es> * Update conans/client/downloaders/caching_file_downloader.py Co-authored-by: Rubén Rincón Blanco <git@rinconblanco.es> * Update conan/api/subapi/upload.py Co-authored-by: Rubén Rincón Blanco <git@rinconblanco.es> * Have server folders in a dict and switch them instead of copying the tree, copytree in 3.6 is no good * new core conf and 500-error test * Change layout of source_credentials.json and summary.json, fix test * Implement user-defined order, ensure a 500 in original url does not break the flow * Remove unused conf * Allow changed checksum workflow for backup sources * Fix test, it expected ConanException instead of ChecksumSignatureMissmatchException * Fix typo * refactor and breaking test * wip * wip * fixes * wip * Minor changes * remove space * fix cmake --presets message version * improve ConanProxy performance with cache * cmd_wrapper must get the conanfile argument * refactor * docstrings * fix --------- Co-authored-by: Rubén Rincón Blanco <rubenrb@jfrog.com> Co-authored-by: Rubén Rincón Blanco <git@rinconblanco.es>
- Loading branch information
1 parent
abaa69c
commit 450f0ff
Showing
19 changed files
with
1,005 additions
and
265 deletions.
There are no files selected for viewing
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
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
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
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
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
Oops, something went wrong.