Commit Graph

67 Commits

Author SHA1 Message Date
Taylor Blau
d1cd726b79
Merge pull request #2811 from git-lfs/new-progress-design
tq: standardized progress meter formatting
2018-01-17 16:19:51 -07:00
Taylor Blau
db4e3b271d tq: new progress meter formatting 2018-01-05 18:43:31 -08:00
rick olson
cee1fe6d30 tq, commands: send refspec on batch upload calls 2018-01-05 11:12:57 -07:00
rick olson
8c59efb1e5 tq: TransferQueue flushes, but does not close the Meter 2018-01-04 11:49:41 -07:00
Taylor Blau
54fb383f3a progress,tq: move *progress.Meter to *tq.Meter 2017-11-29 11:19:22 -08:00
Taylor Blau
e35d20f7a9 progress: rename *ProgressMeter to *Meter 2017-11-29 11:19:22 -08:00
Taylor Blau
fa1d51271f progress: remove Meter interface 2017-11-29 11:19:22 -08:00
Taylor Blau
a54910552c progress: remove progress.Noop() 2017-11-29 11:19:21 -08:00
Taylor Blau
a4ff7b8d41 progress,tools: move CopyCallback (and related) to 'tools' 2017-11-22 14:08:33 -08:00
Taylor Blau
99b11c7c6f Merge branch 'master' into batch-retry-eof 2017-09-07 11:05:46 -04:00
Taylor Blau
9f31af4717 tq: teach 'BatchSize()' function 2017-08-25 11:56:09 -04:00
Taylor Blau
a3c65a0bcc tq: send MaxRetries to client 2017-08-24 17:52:39 -04:00
Taylor Blau
3de4b9cd0d tq: accept new items during batch processing 2017-08-07 14:30:21 -06:00
Taylor Blau
17eeb67401 tq: teach Concat() to batch type 2017-08-07 14:29:43 -06:00
Taylor Blau
0842701c0e tq: rename 'batch' to 'next' 2017-08-07 14:29:43 -06:00
Taylor Blau
120228c9ae tq: teach the *TransferQueue to accept objects with the same OID 2017-08-03 14:45:06 -06:00
Taylor Blau
721b057e40 tq: use *objects to remember objects sharing the same OID 2017-08-03 14:44:53 -06:00
Taylor Blau
28539fbaa2 tq: teach Watch() to return <-chan *tq.Transfer 2017-08-02 13:18:47 -06:00
Taylor Blau
92fdd06332 lfs,tq: forward progress.CopyCallback into *tq.TransferQueue 2017-08-01 13:04:56 -06:00
Taylor Blau
e031ee6c79 tq: teach *TransferQueue to hold a progress.CopyCallback 2017-08-01 13:04:56 -06:00
Alexandru Băluț
09b7c5381b Allow using custom transfer agents directly
Some custom transfer agents figure out everything by themselves and don't need
any authentication or transfer details from the API server.

Added the `lfs.standalonetransferagent` config option for specifying which
custom agent should be used directly.
2017-07-31 16:28:07 +02:00
Taylor Blau
a9c4922f66 tq,test: trace retry error for failed API requests 2017-04-26 11:35:10 -06:00
Taylor Blau
cb21b32f80 tq,test: trace shorthand transfer error when retrying 2017-04-26 11:24:03 -06:00
Taylor Blau
4f497003f3 tq: use new MalformedObjectError type 2017-03-24 14:37:09 -06:00
Taylor Blau
3180a2d0b8 tq: use Rel() function to implement multiActionSet 2017-03-06 14:33:58 -07:00
Taylor Blau
5581c1b805 tq: implement 'HybridActions()' 2017-03-06 13:10:33 -07:00
Taylor Blau
d15c7ea989 tq: remove usage of ActionMissingErr 2017-03-06 12:36:21 -07:00
risk danger olson
816c5d5338 drop lfs.batch support, its always true now 2017-02-13 14:30:59 -07:00
risk danger olson
7f4334c758 tq: pause before making batch request 2017-01-24 14:12:07 -07:00
Taylor Blau
059a0c4145 tq: fail un-retriable items from failed batch calls 2017-01-11 14:28:06 -07:00
Taylor Blau
8dfb7d7666 tq: remove Notify(fn NotifyFn) 2017-01-11 14:11:36 -07:00
Taylor Blau
338ab406ba commands,tq: defer local verification to *tq.TransferQueue 2017-01-11 13:59:25 -07:00
Taylor Blau
cd1273f6e5 tq/transfer_queue: add Notify() and callback function 2017-01-10 13:41:20 -07:00
risk danger olson
85d6e7175b tq: Manifest builds its own tqClient internally 2017-01-09 13:14:10 -07:00
risk danger olson
312a26060a tq: TransferAdapterName property has to be public because of the json tag 2017-01-09 13:04:58 -07:00
risk danger olson
dfacd12c41 tq: tq.Batch() returns a *tq.BatchResponse, with internal-only properties private 2017-01-09 13:00:59 -07:00
risk danger olson
7c02e2217c tq: revert Direction back to int, add String() conversion func 2017-01-09 12:52:36 -07:00
risk danger olson
90878099b2 tq: remove objectResource in favor of Transfer 2017-01-06 15:51:49 -07:00
risk danger olson
3d68f16f03 tq: move api.ObjectResource to tq pkg 2017-01-06 15:38:04 -07:00
risk danger olson
3d72a371e8 tq: teach basic adapter to use lfsapi.Client 2017-01-04 15:22:31 -07:00
risk danger olson
2db8239a91 tq: use struct embedding instead of recreating an adapterConfig 2017-01-04 15:18:23 -07:00
risk danger olson
2b20d510cc tq: remove remote/operation/access from tq.Manifest, make remote an arg of NewTransferQueue() 2017-01-04 14:46:30 -07:00
risk danger olson
faeb7f00cb tq: use lfsapi.Client to make batch api requests 2017-01-04 10:37:44 -07:00
Taylor Blau
6bb72470d0 Merge pull request #1777 from git-lfs/tq-unexport
tq: un-export `NewTransfer` and `Batch`
2016-12-15 14:24:10 -07:00
Taylor Blau
020bd08e9b tq: un-export tq.Batch 2016-12-15 14:03:57 -07:00
Taylor Blau
a0b1adf436 tq: un-export tq.NewTransfer 2016-12-15 14:02:34 -07:00
risk danger olson
303156e0e2 Change Adapter Begin() signature to accept an AdapterConfig interface 2016-12-15 09:59:06 -07:00
Taylor Blau
94b2d0da99 tq: remove comments 2016-12-14 15:03:10 -07:00
Taylor Blau
7f26137bae tq: only include necessary properties of Transferable in Add() 2016-12-14 15:03:10 -07:00
Taylor Blau
e18044f38b tq: use *tq.Transfer instead of Transferable and transfer.Transfer 2016-12-14 15:03:09 -07:00