Commit Graph

39 Commits

Author SHA1 Message Date
zorbathut
f17e6e93b6 PR #1073: Hacky fix so GitDependencies can exclude files in the root directory. (Contributed by zorbathut)
[CL 2520567 by Ben Marsh in Main branch]
2015-04-21 22:37:44 -04:00
Ben Marsh
1b41af5d32 Add validation for integer and float arguments to GitDependencies.
[CL 2515688 by Ben Marsh in Main branch]
2015-04-17 07:58:08 -04:00
Ben Marsh
f9eec8d67b Allow setting default parameters for GitDependencies through the UE4_GITDEPS_ARGS environment variable. Related to #1036, #1051.
[CL 2514397 by Ben Marsh in Main branch]
2015-04-16 11:55:37 -04:00
Ben Marsh
36ff266d5a Increase cache minimum time to 7 days.
[CL 2494144 by Ben Marsh in Main branch]
2015-03-27 14:05:56 -04:00
bozaro
c6b0faa290 PR #928: Add GitDependencies cache size limit (LRU) (Contributed by bozaro)
[CL 2494134 by Ben Marsh in Main branch]
2015-03-27 14:03:35 -04:00
Ben Marsh
2f9a5eb14a Fix cache files being full of zeroes when syncing dependencies.
#lockdown Zachary.EdgertonJones

[CL 2492544 by Ben Marsh in Main branch]
2015-03-26 16:08:17 -04:00
Ben Marsh
728ddf4871 Exclude Linux folders when syncing Git dependencies on Windows if LINUX_ROOT is not set.
#codereview Dmitry.Rekman

[CL 2481580 by Ben Marsh in Main branch]
2015-03-17 10:52:33 -04:00
Ben Marsh
5c17862687 PR #927: GitDependencies: reduce file fragmentation (usefull for HDD). (Contributed by bozaro)
[CL 2481456 by Ben Marsh in Main branch]
2015-03-17 09:00:50 -04:00
Ben Marsh
89b91ebcce Remove unnecessary call to ReadToEnd(); ExtractFilesFromRawStream will now read the whole file if it's being hashed.
[CL 2474014 by Ben Marsh in Main branch]
2015-03-10 13:20:24 -04:00
Ben Marsh
8709c61b23 Minor changes to GitDependencies:
* Manually push data through SHA1 transform; Mono's implementation of CryptoStream seems to suffer from some crazy performance issues, causing download speed to be reduced by *two thirds*.
* Use default implementation of SHA1 transform rather than forcing SHA1Managed.
* Fixed error message not being displayed correctly on exit.
* Target framework is now 4.0 rather than 4.5 to fix Linux issue.

#codereview Dmitry.Rekman

[CL 2473969 by Ben Marsh in Main branch]
2015-03-10 12:59:45 -04:00
Ben Marsh
1e36cf058e PR #867: Small fix for GitDependencies.exe ans HTTP_PROXY env. variables. (Contributed by yaakuro)
https://github.com/EpicGames/UnrealEngine/pull/867

[CL 2466231 by Ben Marsh in Main branch]
2015-03-02 09:07:29 -05:00
Ben Marsh
39499bb4b9 Clamp status messages to the size of the console buffer, and add missing MiB/s text.
[CL 2453813 by Ben Marsh in Main branch]
2015-02-20 15:19:27 -05:00
Ben Marsh
82928f6867 Change status message to match the format Git uses, for consistency.
[CL 2453783 by Ben Marsh in Main branch]
2015-02-20 15:10:17 -05:00
Ben Marsh
1729b53ea1 Avoid race conditions with poisoned cache files.
[CL 2453454 by Ben Marsh in Main branch]
2015-02-20 12:58:34 -05:00
Ben Marsh
a17adc33b4 Add separate classes for incoming pack/file data and calculate everything up-front, rather than passing through all the worker threads. Put the default base URL in the dependency manifest to prevent needing to special-case it.
[CL 2453428 by Ben Marsh in Main branch]
2015-02-20 12:37:35 -05:00
Ben Marsh
7edef8717d Fix ugly rounding errors in GitDependencies status message (always shows 0.1 instead of 0.0). Calculate it using integers instead.
[CL 2453311 by Ben Marsh in Main branch]
2015-02-20 11:24:57 -05:00
Ben Marsh
48c9eac6d1 Use a lockless method of getting things into the cache. Relies on file system moves being atomic; should allow using a cache on a shared or network drive.
[CL 2453248 by Ben Marsh in Main branch]
2015-02-20 10:46:31 -05:00
Ben Marsh
0f3f468601 Rename InvalidCacheException to CorruptPackFileException, since it isn't necessarily caused by an invalid cache entry. Other minor housekeeping.
[CL 2453182 by Ben Marsh in Main branch]
2015-02-20 09:51:05 -05:00
Ben Marsh
3686c074c4 PR #749: Added cache support for GitDependencies. (Contributed by bozaro)
https://github.com/EpicGames/UnrealEngine/pull/749

[CL 2453105 by Ben Marsh in Main branch]
2015-02-20 08:59:03 -05:00
Ben Marsh
3eb524e1fc Condense the proxy server settings into a single parameter.
[CL 2450340 by Ben Marsh in Main branch]
2015-02-18 12:12:47 -05:00
Ben Marsh
70fc486484 Clean up help messages for GitDependencies to fit within 80 character wide terminals.
[CL 2450182 by Ben Marsh in Main branch]
2015-02-18 10:43:00 -05:00
Ben Marsh
4e7072879b Fix problem running Git dependencies on a non-HFS external drive on Mac.
[CL 2424391 by Ben Marsh in Main branch]
2015-01-29 16:19:51 -05:00
Ben Marsh
788ae2db74 PR #678: Add support for proxy username and password in GitDependencies (Contributed by jsfdez)
https://github.com/EpicGames/UnrealEngine/pull/678

[CL 2383719 by Ben Marsh in Main branch]
2014-12-10 11:58:24 -05:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Ben Marsh
959cfa782d Add missing copyright notices to source files.
[CL 2379212 by Ben Marsh in Main branch]
2014-12-06 19:14:20 -05:00