Markus Reiter
b54682f709
Avoid network call in #initialize
.
2018-09-01 16:20:10 +02:00
Markus Reiter
b63ac557bc
Update symlink even if cached_location
already exists.
2018-08-31 16:51:23 +02:00
Markus Reiter
9edc355052
Don’t glob for .incomplete
downloads.
2018-08-31 16:51:23 +02:00
Markus Reiter
3988458919
Use real basename for output.
2018-08-31 16:51:23 +02:00
Markus Reiter
fbcaa8c85a
Resolve URL to get real file extension.
2018-08-31 16:51:23 +02:00
Kevin Abel
584cced003
Remove the chdir call that was already moved to the ancestor
...
528b4b367ed2a4026c321e2f2e503ace4548b9d2 moved the chdir definition to
the parent class and call it in the parent's stage. chdir was getting
called twice for archives with two nested directories.
2018-08-17 23:13:23 -05:00
Markus Reiter
837f56c73b
Use system_command
for all download strategies.
2018-08-06 12:32:34 +02:00
Markus Reiter
ac9cd39a4c
Merge download strategy specs.
2018-08-06 00:19:54 +02:00
Markus Reiter
1003d722bd
Use --
to separate download name and version.
2018-08-05 15:57:28 +02:00
Markus Reiter
545eb91c83
Merge pull request #4599 from reitermarkus/download-cache-directory
...
Allow specifying cache directory for download strategies.
2018-08-03 19:30:09 +02:00
Markus Reiter
ea281a1cf9
Allow specifying cache directory for download strategies.
2018-08-03 18:04:54 +02:00
Markus Reiter
13c65eed70
Change docs to use symbols instead of class names.
2018-08-03 17:50:57 +02:00
Markus Reiter
de5aa6a23a
Move temporary_path
to AbstractFileDownloadStrategy
.
2018-08-03 15:11:04 +02:00
Markus Reiter
0d9217b45e
Merge pull request #4596 from reitermarkus/git-system_command
...
Use `system_command` for `GitDownloadStrategy`.
2018-08-03 14:58:15 +02:00
Markus Reiter
e220406a6e
Use system_command
for GitDownloadStrategy
.
2018-08-03 11:17:09 +02:00
Markus Reiter
51fa194966
Move cached_location
to #initialize
.
2018-08-03 10:51:01 +02:00
Markus Reiter
528b4b367e
Always chdir
.
2018-08-03 10:50:49 +02:00
Markus Reiter
28fd59672a
Merge pull request #4543 from reitermarkus/verbose-system_command
...
Pass `verbose` to unpack strategies.
2018-08-03 10:47:51 +02:00
Markus Reiter
3a99e64646
Merge pull request #4593 from reitermarkus/curl-options
...
Merge `curl` options used by casks into download strategies.
2018-08-02 15:58:22 +02:00
Markus Reiter
81939dc496
Pass verbose
to unpack strategies.
2018-08-02 15:52:55 +02:00
Markus Reiter
64bb92d95d
Use URI.encode_www_form
instead of CGI.escape
.
2018-08-02 15:41:44 +02:00
Markus Reiter
7f4ea02047
Merge curl
options used by casks into download strategies.
2018-08-02 11:18:46 +02:00
Markus Reiter
7c496f7a7e
Explicitly pass specs to download strategy.
2018-08-02 10:33:14 +02:00
Markus Reiter
e367e7eea8
Explicitly pass url and mirrors to download strategy.
2018-08-02 10:09:35 +02:00
Markus Reiter
efd743a50d
Merge pull request #4585 from reitermarkus/refactor-download-strategies
...
Refactor download strategies.
2018-08-02 07:16:27 +02:00
Markus Reiter
4183dd3564
Merge pull request #4552 from reitermarkus/reorder-unpack-strategies
...
Reorder unpack strategies.
2018-08-02 05:44:12 +02:00
Markus Reiter
dce6b875c1
Merge pull request #4581 from reitermarkus/non-existent-download-strategies
...
Remove non-existent download strategies.
2018-08-01 16:09:03 +02:00
Markus Reiter
85a6d81e2a
Make sure download directory exists.
2018-08-01 05:40:15 +02:00
Markus Reiter
3d27b2aa8d
Explicitly pass version to download strategy.
2018-08-01 05:40:15 +02:00
Markus Reiter
4c80f827ad
Only search by extension when unpacking formulae.
2018-08-01 04:16:27 +02:00
Markus Reiter
29182ad068
Remove non-existent download strategies.
2018-08-01 01:59:54 +02:00
Markus Reiter
8ae284e871
Use SystemCommand
for curl
.
2018-08-01 01:04:42 +02:00
feu
4bb82ccd94
just one target.directory check in fetch_repo
2018-07-30 11:12:48 -03:00
feu
c63d8813af
svn update/checkout with system_command
2018-07-30 10:04:54 -03:00
feu
43d53a67b7
just adjusting spaces
2018-07-29 20:54:13 -03:00
feu
ce3ac54e2c
changing to use system_command .. chdir
2018-07-29 11:36:43 -03:00
feu
ad18c5c4b1
adjusting args in fetch_repo
2018-07-27 10:23:36 -03:00
feu
a0f30934aa
removing unnecessary .to_s
2018-07-25 19:46:35 -03:00
feu
9594a56879
removing svn_cached_location and using svn_escape(path) inside subversion.rb
2018-07-25 19:32:36 -03:00
feu
3098a900d1
removing unintentional added spaces 2
2018-07-25 16:59:57 -03:00
feu
c3516cf472
removing unintentional added spaces
2018-07-25 16:52:21 -03:00
feu
2f18fff999
adjusting svn commands to consider the @ symbol
2018-07-25 16:42:16 -03:00
Markus Reiter
b6e54a06e0
Refactor unpack strategies into separate files.
2018-07-23 20:59:28 +02:00
Markus Reiter
4f495a967d
Add verbose
to extract_nestedly
.
2018-07-22 20:30:28 +02:00
Markus Reiter
ad7be58655
Use guard clause instead of ||
.
2018-07-19 16:53:11 +02:00
Markus Reiter
2452b27866
Refactor ErrorDuringExecution
.
2018-07-19 16:41:27 +02:00
Markus Reiter
88cef28246
Use extract_nestedly
for staging.
2018-07-17 10:19:15 +02:00
Markus Reiter
cba55c8fd4
Add @ref_type
and @ref
needef for fossil
.
2018-07-12 10:39:28 +02:00
Markus Reiter
8ea7ad2218
Fix basename_without_params
.
2018-07-12 10:39:27 +02:00
Markus Reiter
5b3bbb76c9
Separate staging from download.
2018-07-12 10:39:27 +02:00