Commit graph

34373 commits

Author SHA1 Message Date
Joey Hess
6babb2c73f
remove wrong uniqueness constraint from ContentIdentifier db
Fix bug that caused importing from a special remote to repeatedly download
unchanged files when multiple files in the remote have the same content.

Unfortunately, there's really no good way to remove a uniqueness constraint
from a sqlite database. The best that can be done is to make a new table
and copy the data over. But that would require using persistent's
migrations or raw sql, and I don't want to do either.

Instead, a sledgehammer approach: Renamed .git/annex/cid to
.git/annex/cids. When the new database doesn't exist, it will be populated
from the git-annex branch.

Noting deletes the old database. Don't want to delete it out from under
some long-running git-annex process that might be using it. It could
eventually be deleted. But this is such a new feature, probably few repos
have the database in any case.
2019-04-09 19:58:24 -04:00
Joey Hess
5ece1408ae
analysis 2019-04-09 19:38:55 -04:00
Joey Hess
cd86692c95
fix storeExportWithContentIdentifier 2019-04-09 19:15:20 -04:00
Joey Hess
88bb928f22
devblog 2019-04-09 18:01:03 -04:00
Joey Hess
ae0a64f1c4
bug I noticed 2019-04-09 18:00:49 -04:00
Joey Hess
7b6d0da9b8
adb import
As well as adding the necessary methods, a few other changes to the adb
remote:

* Use ".annextmp" extension for temp files, to avoid conflict with other
  temp files.
* Stop using "echo $?" to get exit status of command inside adb.
  There were two problems; first the "echo" just before it meant it was
  always 0! And secondly, it seems kind of random on my phone whether it's
  1 or 0, not dependant on whether the command seems to have succeeded.
2019-04-09 17:52:41 -04:00
Joey Hess
1a1a5177fd
add tip for new adb import feature
This commit was sponsored by Jake Vosloo on Patreon.
2019-04-09 17:45:55 -04:00
Joey Hess
5a570da1ab
thoughts 2019-04-09 15:50:52 -04:00
Joey Hess
7bf18f23e5
todo 2019-04-09 14:07:47 -04:00
Joey Hess
2dc20e3fa4
update design doc with final design choices 2019-04-09 13:05:22 -04:00
Joey Hess
37041b629d
improve messages around export/import conflicts
A conflict can be caused by either export or import when the remote
supports both.
2019-04-09 13:03:59 -04:00
Joey Hess
b51eceb326
reorg section and expand
conflict detection at import time is not detected, but I think it's ok
given this reasoning
2019-04-09 12:59:14 -04:00
Joey Hess
4211281336
remove old forum post that is a spam magnet
This was never a useful forum post, so I'm willing to sacrifice it.
2019-04-09 11:42:23 -04:00
Joey Hess
44f3699485
response 2019-04-09 11:41:51 -04:00
Joey Hess
609c505980
remove massive amount of spam comments on this forum post 2019-04-09 11:40:29 -04:00
Joey Hess
f40edb680c
doc clarification 2019-04-09 11:38:11 -04:00
Joey Hess
8191095bce
comment 2019-04-09 11:13:37 -04:00
Joey Hess
3d4ef050dd
comment 2019-04-09 11:11:29 -04:00
Joey Hess
0a14dfd383
comment 2019-04-09 11:08:18 -04:00
Joey Hess
996055b3cc
Merge branch 'master' of ssh://git-annex.branchable.com 2019-04-07 15:35:17 -04:00
jillcaballero
fbb07ee634 Added a comment: Kentucky Derby 2019-04-06 13:14:50 +00:00
Joey Hess
4af55c1f30
Merge branch 'master' of ssh://git-annex.branchable.com 2019-04-05 11:41:46 -04:00
Joey Hess
212c5b84a9
update 2019-04-05 10:35:06 -04:00
adamdwalker
069c074b6d Added a comment: IIHF 2019-04-05 12:37:58 +00:00
yarikoptic
7db8eaf512 initial question about possible "globus" special remote 2019-04-05 02:25:12 +00:00
Joey Hess
1f3245ddf5
close as basis of this is wrong 2019-04-04 12:50:55 -04:00
Joey Hess
d40a3580a5
comment 2019-04-03 13:27:58 -04:00
Joey Hess
727ac0451a
comment 2019-04-03 13:14:54 -04:00
Joey Hess
1b5f4a8e20
comment 2019-04-03 13:11:34 -04:00
Joey Hess
5813005ab6
comment 2019-04-03 13:01:07 -04:00
Joey Hess
e40fcf2530
fix name of --trust-glacier command in man page 2019-04-03 13:00:30 -04:00
driusan@4d47e7deeb2f5d3846792d049ed06f96a0c3ca98
2599296a31 be more explicit about new hash format 2019-04-01 19:52:00 +00:00
Ilya_Shlyakhter
d40b2e879f Added a comment: re: key content size 2019-04-01 17:44:29 +00:00
CandyAngel
979f6c7cd1 removed 2019-04-01 07:32:15 +00:00
maryjil2596
a477b519f5 Added a comment: aol account recovery 2019-04-01 06:52:11 +00:00
driusan@4d47e7deeb2f5d3846792d049ed06f96a0c3ca98
eb00b3f6da removed 2019-03-31 16:31:47 +00:00
driusan@4d47e7deeb2f5d3846792d049ed06f96a0c3ca98
7879bbeafd Added a comment: key content size 2019-03-31 16:31:28 +00:00
driusan@4d47e7deeb2f5d3846792d049ed06f96a0c3ca98
f250bb092d Added a comment: key content size 2019-03-31 16:31:09 +00:00
driusan@4d47e7deeb2f5d3846792d049ed06f96a0c3ca98
d70f248459 Added a comment: Options don't match git-annex lookupkey --help 2019-03-30 16:05:30 +00:00
driusan@4d47e7deeb2f5d3846792d049ed06f96a0c3ca98
7e92349438 Added a comment: Warning building with cabal 2019-03-30 00:19:11 +00:00
Joey Hess
bc302b56ae
test patch 2019-03-28 16:16:28 -04:00
Joey Hess
c68ae14268
further thought 2019-03-28 15:46:14 -04:00
Joey Hess
a53c2a7e13
Merge branch 'master' of ssh://git-annex.branchable.com 2019-03-28 14:04:25 -04:00
Joey Hess
b09c6e3016
todo item based on behavior yoh showed me 2019-03-28 14:04:20 -04:00
Joey Hess
2c735f1747
improve wording 2019-03-28 13:25:14 -04:00
Joey Hess
5d5521d1bb
mention that repo decription can be used 2019-03-28 13:21:37 -04:00
pellman.john@e59e5c6d98d49cd9632d6fbe0c5026ddc71d52fd
afd72811c6 Added a comment: Re: Inconsistent idiom 2019-03-28 03:59:04 +00:00
Joey Hess
e035bc5324
minor typos 2019-03-27 11:15:20 -04:00
Joey Hess
f4c49b8f81
this is not all run as root 2019-03-27 11:15:03 -04:00
Joey Hess
77a1e33093
Merge branch 'master' of ssh://git-annex.branchable.com 2019-03-26 21:10:50 -04:00