Commit Graph

15 Commits

Author SHA1 Message Date
Steve Streeting
3c86ea1ea3 Export ObjectResource; it's returned by several exported functions 2015-11-25 12:01:45 +00:00
rubyist
cd754db91a First pass at getting rid of WrappedError 2015-08-21 11:50:02 -04:00
Steve Streeting
a7d0a36ecb Re-use code between DownloadCheckable and Downloadable
Renamed Checkable to DownloadCheckable because it only applies to download,
upload checks differently and uses different struct fields. Incorporated
with download_queue.go since code is now smaller & common.
2015-08-13 09:33:01 +01:00
rubyist
46249c9dd4 While I'm in here, this value is always the same, push it down 2015-07-30 10:43:50 -04:00
rubyist
b87386d705 Bake in dry-run-ability and we'll never forget to suppress output 2015-07-30 10:23:01 -04:00
rubyist
20e8a58e1e refine progress output
Go back to requiring a count and size up front, but better track and
display files that are skipped because they don't need to transfer. This
makes it easier to judge what is happening based on the progress output.
2015-07-27 16:41:57 -04:00
rubyist
94ecd166e4 Start integrating batcher into transfer queue
Progress bar output temporarily removed, some things still broken
2015-07-09 14:21:49 -04:00
rubyist
4c9edba6e5 Support concurrent transfers when outputting progress for desktop apps
This is a fix for a bug in the handling of the GIT_LFS_PROGRESS file
which is used by desktop apps, or other things integrating with the
git-lfs binary.

At a later point, we should move toward a more unified progress tracking
which supports this file as well as the pb progress bars via a single
API.
2015-06-19 13:59:30 -04:00
rubyist
ebc81aedb9 Run update-index as a single background process
Reorganize the transfer queue to provide a channel to watch for object
OIDs as they finish. This can be used in the `get` command to feed a
goroutine that will copy the file to the working directory and inform
the update-index process about it as the transfers finish. This leads to
a greatly reduced amount of time spent updating the index after a get.
2015-05-27 15:52:28 -04:00
rubyist
a3bb997567 Pull common queue code into a TransferQueue, reduce duplicated code 2015-05-21 12:36:49 -04:00
rubyist
f905afa270 Make PointerSmudgeObject only download to the media directory 2015-05-21 10:29:17 -04:00
rubyist
3bb2846e6b Can batch downloads 2015-05-14 14:56:30 -04:00
rubyist
c869fc6ef5 Basic "lfs get" that takes a ref, queues downloads 2015-05-14 12:33:29 -04:00
rubyist
bf966e0958 Should be part of the queues 2015-05-13 10:25:23 -04:00
rubyist
b4a48449f9 Start a download queue 2015-05-13 10:23:49 -04:00