forked from peak/s5cmd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement standalone job producer (peak#65)
* job_producer: Init skeleton * Seperate command and job logic * Limit concurrency * worker: Restructure * Support multiple sources * job_producer: Init local filesystem * objurl: Add Join() function * Simplify job generator * job_producer: Use urls * Run jobs directly * Rename scan.go to scanner.go * Update comments * Add recursive flag to job producer * Move CheckConditions to job_check.go * Since JobArgument is removed, move job check logic to another file. Use storage.Stat() for both destination and source urls. * Pass tests excluding stats * format imports * Pass stats type into job struct * Add godoc to op * Simplify job.Run() * Return client.Stat() * job_check: fix condition check logic * core: dont print job status if successful * e2e: fix tests * storage: do s3 multi delete operations at the storage layer * storage: remove stat bookkeeping * core: fix cp dir to s3 regression * e2e: add RemoveTenThousandS3Objects test * e2e: setup with options * e2e: add "mem" comment * vendor: add missing dependency * storage: support metadata for Storage.Copy Co-authored-by: H. İbrahim Güngör <[email protected]>
- Loading branch information
1 parent
43e3512
commit cf79cab
Showing
51 changed files
with
2,082 additions
and
1,721 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.