Akihiro Suda 
							
						 
					 
					
						
						
							
						
						dc48349248 
					 
					
						
						
							
							epoch: propagate SOURCE_DATE_EPOCH via ctx  
						
						... 
						
						
						
						Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp > 
						
						
					 
					
						2022-12-12 09:02:35 +09:00 
						 
				 
			
				
					
						
							
							
								Akihiro Suda 
							
						 
					 
					
						
						
							
						
						70fbedc217 
					 
					
						
						
							
							archive: add WithSourceDateEpoch() for whiteouts  
						
						... 
						
						
						
						This makes diff archives to be reproducible.
The value is expected to be passed from CLI applications via the $SOUCE_DATE_EPOCH env var.
See https://reproducible-builds.org/docs/source-date-epoch/ 
for the $SOURCE_DATE_EPOCH specification.
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp > 
						
						
					 
					
						2022-10-08 08:45:03 +09:00 
						 
				 
			
				
					
						
							
							
								haoyun 
							
						 
					 
					
						
						
							
						
						bbe46b8c43 
					 
					
						
						
							
							feat: replace github.com/pkg/errors to errors  
						
						... 
						
						
						
						Signed-off-by: haoyun <yun.hao@daocloud.io >
Co-authored-by: zounengren <zouyee1989@gmail.com > 
						
						
					 
					
						2022-01-07 10:27:03 +08:00 
						 
				 
			
				
					
						
							
							
								ktock 
							
						 
					 
					
						
						
							
						
						b483177ee2 
					 
					
						
						
							
							Support custom compressor for walking differ  
						
						... 
						
						
						
						Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com > 
						
						
					 
					
						2021-07-20 11:00:01 +09:00 
						 
				 
			
				
					
						
							
							
								Derek McGowan 
							
						 
					 
					
						
						
							
						
						69f43d4589 
					 
					
						
						
							
							Revert diff/walking error change  
						
						... 
						
						
						
						Clarify error scope and create variable for deferring cleanup
Signed-off-by: Derek McGowan <derek@mcg.dev > 
						
						
					 
					
						2021-06-04 08:44:24 -07:00 
						 
				 
			
				
					
						
							
							
								Iceber Gu 
							
						 
					 
					
						
						
							
						
						558fdc6808 
					 
					
						
						
							
							diff/walking: fix defer cleanup  
						
						... 
						
						
						
						Signed-off-by: Iceber Gu <wei.cai-nat@daocloud.io > 
						
						
					 
					
						2021-06-01 18:24:47 +08:00 
						 
				 
			
				
					
						
							
							
								Paul "TBBle" Hampson 
							
						 
					 
					
						
						
							
						
						b399e2ef6d 
					 
					
						
						
							
							Don't lose Compare failure if aborting diff upload fails  
						
						... 
						
						
						
						Signed-off-by: Paul "TBBle" Hampson <Paul.Hampson@Pobox.com > 
						
						
					 
					
						2021-04-10 02:02:33 +10:00 
						 
				 
			
				
					
						
							
							
								Michael Crosby 
							
						 
					 
					
						
						
							
						
						052551573d 
					 
					
						
						
							
							Ensure labels is not nil in differ  
						
						... 
						
						
						
						Signed-off-by: Michael Crosby <crosbymichael@gmail.com > 
						
						
					 
					
						2019-06-14 15:20:32 +00:00 
						 
				 
			
				
					
						
							
							
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						5b9bd993a8 
					 
					
						
						
							
							differ: fix deadlock on commit error  
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2019-04-25 17:50:17 -07:00 
						 
				 
			
				
					
						
							
							
								Derek McGowan 
							
						 
					 
					
						
						
							
						
						bb197ddc47 
					 
					
						
						
							
							Set uncompressed label on diff when already exists  
						
						... 
						
						
						
						Diff expects to set the uncompressed label on Commit, however
if the blob already exists in the content store, no labels
will get set, requiring an Update. Check if the uncompressed
label is on the blob and set it if not.
Signed-off-by: Derek McGowan <derek@mcgstyle.net > 
						
						
					 
					
						2018-10-15 11:02:35 -07:00 
						 
				 
			
				
					
						
							
							
								Derek McGowan 
							
						 
					 
					
						
						
							
						
						6875d3df3a 
					 
					
						
						
							
							Always check exists on commit error  
						
						... 
						
						
						
						Signed-off-by: Derek McGowan <derek@mcgstyle.net > 
						
						
					 
					
						2018-09-14 01:26:03 -07:00 
						 
				 
			
				
					
						
							
							
								Dave Henderson 
							
						 
					 
					
						
						
							
						
						9a97ab34ce 
					 
					
						
						
							
							Switching from crypto/rand to math/rand to avoid blocking  
						
						... 
						
						
						
						Signed-off-by: Dave Henderson <dhenderson@gmail.com > 
						
						
					 
					
						2018-07-11 16:24:51 -04:00 
						 
				 
			
				
					
						
							
							
								Akihiro Suda 
							
						 
					 
					
						
						
							
						
						d88de4a34f 
					 
					
						
						
							
							content: change Writer/ReaderAt to take OCI  
						
						... 
						
						
						
						This change allows implementations to resolve the location of the actual data
using OCI descriptor fields such as MediaType.
No OCI descriptor field is written to the store.
No change on gRPC API.
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp > 
						
						
					 
					
						2018-06-01 11:51:43 +09:00 
						 
				 
			
				
					
						
							
							
								Kunal Kushwaha 
							
						 
					 
					
						
						
							
						
						b12c3215a0 
					 
					
						
						
							
							Licence header added  
						
						... 
						
						
						
						Signed-off-by: Kunal Kushwaha <kushwaha_kunal_v7@lab.ntt.co.jp > 
						
						
					 
					
						2018-02-19 10:32:26 +09:00 
						 
				 
			
				
					
						
							
							
								Derek McGowan 
							
						 
					 
					
						
						
							
						
						b763777288 
					 
					
						
						
							
							diff: rename differ to comparer  
						
						... 
						
						
						
						Remove combined interface and split implementations.
Signed-off-by: Derek McGowan <derek@mcgstyle.net > 
						
						
					 
					
						2018-01-26 16:32:09 -08:00 
						 
				 
			
				
					
						
							
							
								Akihiro Suda 
							
						 
					 
					
						
						
							
						
						b580441f91 
					 
					
						
						
							
							diff: resplit Applier from Differ  
						
						... 
						
						
						
						Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp > 
						
						
					 
					
						2018-01-25 13:58:34 -08:00 
						 
				 
			
				
					
						
							
							
								Darren Stahl 
							
						 
					 
					
						
						
							
						
						95a0b3af95 
					 
					
						
						
							
							Refactor checking for compressed diff type  
						
						... 
						
						
						
						Signed-off-by: Darren Stahl <darst@microsoft.com > 
						
						
					 
					
						2018-01-23 15:25:17 -08:00 
						 
				 
			
				
					
						
							
							
								Derek McGowan 
							
						 
					 
					
						
						
							
						
						dfd7ee122f 
					 
					
						
						
							
							Clean up error logs and messages in temp mount  
						
						... 
						
						
						
						Signed-off-by: Derek McGowan <derek@mcgstyle.net > 
						
						
					 
					
						2018-01-05 15:37:11 -08:00 
						 
				 
			
				
					
						
							
							
								yanxuean 
							
						 
					 
					
						
						
							
						
						cb58bb885a 
					 
					
						
						
							
							solve incorrect unmount  
						
						... 
						
						
						
						1. add WithTempMount for better unmount and remove
2. solve incorrect unmount for
   diff.DiffMounts,
   diff.Apply,
   oci.WithUsername,
   oci.WithUserID,
   remapRootFS
Signed-off-by: yanxuean <yan.xuean@zte.com.cn > 
						
						
					 
					
						2018-01-06 00:28:16 +08:00 
						 
				 
			
				
					
						
							
							
								yason 
							
						 
					 
					
						
						
							
						
						147d4987cd 
					 
					
						
						
							
							output error when unmount fail in diff.Apply  
						
						... 
						
						
						
						Signed-off-by: yason <yan.xuean@zte.com.cn > 
						
						
					 
					
						2017-12-05 10:36:10 +08:00 
						 
				 
			
				
					
						
							
							
								Michael Crosby 
							
						 
					 
					
						
						
							
						
						a8b543f87d 
					 
					
						
						
							
							rmdir tmp dirs for rootfs mounts  
						
						... 
						
						
						
						Signed-off-by: Michael Crosby <crosbymichael@gmail.com > 
						
						
					 
					
						2017-12-04 13:51:11 -05:00 
						 
				 
			
				
					
						
							
							
								Derek McGowan 
							
						 
					 
					
						
						
							
						
						dcf7ff5db5 
					 
					
						
						
							
							Update apply diff to support context cancellation  
						
						... 
						
						
						
						Allows cancellation of apply when the grpc service issues a cancel.
Adds a timing log for apply.
Signed-off-by: Derek McGowan <derek@mcgstyle.net > 
						
						
					 
					
						2017-10-11 16:48:55 -07:00 
						 
				 
			
				
					
						
							
							
								Derek McGowan 
							
						 
					 
					
						
						
							
						
						64a96aab8a 
					 
					
						
						
							
							Abort newly created references on error  
						
						... 
						
						
						
						Signed-off-by: Derek McGowan <derek@mcgstyle.net > 
						
						
					 
					
						2017-10-11 10:10:19 -07:00 
						 
				 
			
				
					
						
							
							
								Derek McGowan 
							
						 
					 
					
						
						
							
						
						d9db1d112d 
					 
					
						
						
							
							Refactor differ into separate package  
						
						... 
						
						
						
						Add differ options and package with interface.
Update optional values on diff interface to use options.
Signed-off-by: Derek McGowan <derek@mcgstyle.net > 
						
						
					 
					
						2017-10-11 10:02:29 -07:00