Commit Graph

40 Commits

Author SHA1 Message Date
RonxBulld
c7e96f2a5b
Show the cache file name at download time to provide more ancillary information in non-ARIA2 mode. (#15538) 2021-01-11 09:16:32 -08:00
Schwarzer
122ab57da2
Update vcpkg_download_distfile.cmake (#15435)
Provide proxy setting instruction for more compatibility.
2021-01-05 12:39:57 -08:00
nicole mazzuca
6b117c9c7e
[vcpkg docs] Check for documentation generation in CI (#14614)
* [vcpkg docs] Change how documenting port functions works

Instead of using `##`, use comment blocks for documentation.

Also, add some minor docs and change RST -> MD
so we actually get docs generated.

* add CI stuff

* regenerate docs

* fix vcpkg_find_acquire_program to not use _execute_process
2020-12-01 13:37:26 -08:00
Joachim Gehweiler
0ff75ac80b
[vcpkg] Fix more cases of semicolon mishandling in "scripts" - follow-up to PR #12926 (#13968) 2020-10-26 19:30:27 -07:00
ras0219
501e44e02c
[qt5-location] Rename vendored libs to avoid conflicts (#13451)
* [qt5-location] Rename vendored libs to avoid conflicts

* [qt5-location] Use upstream patch

* [qt5-location] Replace / in patch url with %2F

* Update ports/qt5-location/CONTROL

* [assimp][irrxml] Remove outdated version of irrxml; redirect assimp at newer irrlicht

* [assimp] Apply skipped patch irrlicht.patch

Co-authored-by: Stefano Sinigardi <stesinigardi@hotmail.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2020-09-26 05:10:38 -07:00
jgehw
8b7e946c55
[execute_process] Don't strip embedded semicolons (#12926) 2020-09-09 10:36:58 -07:00
ras0219
46e25a10d7
[vcpkg] Replace uses of msys pacman.exe with direct package downloads (#13019)
* wip

Apply suggestions from code review

Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com>

* [vcpkg_acquire_msys] Trim list of packages. Introduce defaults.

* [behaviortree-cpp] Fix dynamic dependency on ZMQ

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2020-08-31 22:36:25 -07:00
Jack·Boos·Yu
68003004c0
[vcpkg_from_sourceforge] Skip mirrors that are in 'disaster recovery' mode (#13176) 2020-08-27 22:00:24 -07:00
Jack·Boos·Yu
21b56d9929
[vcpkg_from_sourceforge] Add retry mirror function (2/2) (#12018) 2020-07-03 09:36:40 -07:00
Ehsan
6f37346354 [vcpkg_download_distfile.cmake] Fix Examples (#8669) 2019-10-21 15:25:25 -07:00
Leonid Pospelov
6c7f1c7673 [vcpkg] Avoid RENAME usage to prevent cross-device link problems (#4245) (#8032) 2019-09-23 14:03:59 -07:00
Victor Romero
f5c732b40d
Download Mode (#7950)
* [portfile functions] Override execute_process() to accept ALLOW_IN_DOWNLOAD_MODE option

* [vcpkg install] Set VCPKG_DOWNLOAD_MODE when using --only-downloads option

* [vcpkg_find_acquire_program] Allow in Download Mode

* Don't stop when build fails for a package

* Download sources for all packages in dependency graph

* Improve output messages

* Enable acquiring MSYS packages in download mode

* Documentation

* Update documentation

* execute_process() always fails on Download Mode

* Regenerate docs and fix formatting

* Run clang-format

* Use _execute_process on vcpkg_from_<source> helpers

* Fix calls to _execute_process() when not in Download Mode
2019-08-28 13:49:29 -07:00
Victor Romero
4b404e8cfb
Revert "[vcpkg install] Enable Download Mode (#7797)" (#7949)
This reverts commit 65d4bc146b.
2019-08-28 11:59:30 -07:00
Victor Romero
65d4bc146b
[vcpkg install] Enable Download Mode (#7797)
* [portfile functions] Override execute_process() to accept ALLOW_IN_DOWNLOAD_MODE option

* [vcpkg install] Set VCPKG_DOWNLOAD_MODE when using --only-downloads option

* [vcpkg_find_acquire_program] Allow in Download Mode

* Don't stop when build fails for a package

* Download sources for all packages in dependency graph

* Improve output messages

* Enable acquiring MSYS packages in download mode

* Documentation

* Update documentation

* execute_process() always fails on Download Mode

* Regenerate docs and fix formatting

* Run clang-format

* Use _execute_process on vcpkg_from_<source> helpers
2019-08-28 11:47:17 -07:00
Don
a421f43ed1 Add headers to vcpkg_download_distfile (#5640)
* Add headers to vcpkg_download_distfile

Allows headers to be appended when downloading a distribution. This allows for setting
authentication headers to download from a private repository.

* [scripts,docs] Regenerate docs for portfile functions

* [docs,scripts] Fix typo regressions

* [docs,scripts] Fix broken link
2019-03-14 13:43:49 -07:00
Robert Schumacher
cf1df56e0d [vcpkg_download_distfile] Apply workaround from #3399 2018-08-30 15:57:37 -07:00
Robert Schumacher
b93fb28e7c [vcpkg] Reduce verbosity when building ports. Reduce cleaning requirements for packages\ directory. 2018-06-26 21:48:42 -07:00
Jacob Zhong
8754105991 [vcpkg] Remove log files when downloading succeeds. 2018-04-02 18:48:14 -07:00
Jacob Zhong
892f7052f9 [vcpkg] Add support of external downloader aria2 2018-04-02 18:48:14 -07:00
Robert Schumacher
a0eece81c6 [vcpkg-download-distfile] Add proxy usage information to download failed message 2018-03-01 11:10:19 -08:00
Robert Schumacher
099759de63 [vcpkg-download-distfile] Create target directory on download 2018-02-21 17:45:57 -08:00
Cdec
3b3bff1824 [vcpkg_download_distfile] Change to refer _VCPKG_INTERNAL_NO_HASH_CHECK in parameter check 2018-01-14 12:49:04 +09:00
Robert Schumacher
2b30280c22 [vcpkg-download-distfile] Regenerate docs and enable SKIP_SHA512 only in unstable (head) mode 2018-01-05 16:16:08 -08:00
Mikhail Paulyshka
42c0cfc870 [vcpkg] fix --head flag for github-based ports 2018-01-05 15:47:17 -08:00
Robert Schumacher
7f9ca12c4c [vcpkg-download-distfile] Fix #2426 2018-01-03 14:30:30 -08:00
Robert Schumacher
5e5506e68a [vcpkg-download-distfile] Add input sanitization 2017-12-21 03:47:02 -08:00
Alexander Karatarakis
8bbd043bea vcpkg_from_github] Use vcpkg_download_distfile() 2017-11-03 15:02:53 -07:00
Alexander Karatarakis
dc7db25713 [downloads] Don't show progress by default 2017-11-03 15:02:52 -07:00
Alexander Karatarakis
24c3f87bf4 [vcpkg_download_distfile] Now downloads in a temp dir and rename to the target location 2017-11-03 15:02:52 -07:00
Robert Schumacher
5c66f301b9 [vcpkg-scripts] Remove double expansions 2017-10-12 08:22:50 -07:00
Robert Schumacher
49cd399586 [vcpkg-docs] Rework documentation for compatibility with readthedocs.io and MkDocs. 2017-05-28 14:15:13 -07:00
Robert Schumacher
4633c5e0ea [vcpkg] Add support for installing from HEAD 2017-05-03 04:12:28 -07:00
Ninetainedo
586c96e1b1 Used a function to check file integrity 2016-09-25 00:36:50 +02:00
Ninetainedo
c55c9df228 Link to "issues" instead of "new issue" 2016-09-25 00:26:05 +02:00
Ninetainedo
51da39c1ed Display status on download error 2016-09-25 00:25:40 +02:00
Ninetainedo
62d9473412 Added spaces between brackets for double clicking 2016-09-25 00:24:38 +02:00
Ninetainedo
930d0a7ded URL and MIRRORS are now URLS
Updated all portfiles accordingly.
2016-09-25 00:23:04 +02:00
Ninetainedo
add26b7b5f Updated vcpkg_download_distfile.cmake to handle MIRRORS. Also updated the HASH errors to match the CMake formatting (easier to read) 2016-09-24 15:23:18 +02:00
Ninetainedo
8cee9c6e07 Replaced everything concerning MD5 with SHA512 2016-09-22 21:30:58 +02:00
Alexander Karatarakis
ccca198c1b Initial commit 2016-09-18 20:54:03 -07:00