Commit graph

26704 commits

Author SHA1 Message Date
Ilya_Shlyakhter
a9dbcd96ae Added a comment 2019-10-21 02:02:31 +00:00
Ilya_Shlyakhter
ba30c816dc removed 2019-10-21 02:00:28 +00:00
Ilya_Shlyakhter
951ef83818 Added a comment 2019-10-21 01:59:34 +00:00
jason.dixon.email@aa0e536a2ec2877d6f666108dbbc6e39bbe87ac0
93773b5788 Added a comment: a case for request routing 2019-10-20 19:42:04 +00:00
Ilya_Shlyakhter
41b1607aec bug report of testremote failure with AWS S3 2019-10-19 21:22:27 +00:00
Ilya_Shlyakhter
5bab62fbc0 Added a comment 2019-10-19 21:10:56 +00:00
jason.dixon.email@aa0e536a2ec2877d6f666108dbbc6e39bbe87ac0
7b13db551d Added a comment: Does git annex add do something different to smudge filter add? 2019-10-19 00:51:14 +00:00
Joey Hess
68edd7aedb
add news item for git-annex 7.20191017 2019-10-17 18:21:27 -04:00
Joey Hess
bec96ebd5e
devblog 2019-10-17 18:19:42 -04:00
Joey Hess
904b175707
Fix build with persistent-2.10.
Added an additional constraint that persistent needs.
This also builds with persistent-2.9.2 without needing any cpp.
2019-10-17 11:58:31 -04:00
Joey Hess
76bb9ca43a
close as fixed in daily build
The too old version will natrually be fixed by the release.
2019-10-17 11:02:43 -04:00
nrg@bd619d1ebf16e6324c546adea8be8fe1cc2b4325
10c9ba3430 Added a comment: Issue is with persistent > 2.9.2 2019-10-17 13:30:28 +00:00
irieger
d533e59e73 Adding the question 2019-10-17 09:07:26 +00:00
basile.pinsard@f1a7fae9f3bd9d5282fca11f62ad53b45a8eb317
d4fff00142 Added a comment 2019-10-16 20:40:21 +00:00
Joey Hess
bf7a22b812
analysis 2019-10-16 10:30:40 -04:00
fasthans@87884c78197fe1a25ac25ae7fa1d930c147e9592
5a30c1b330 Added a comment: how does git annex think about remote locations? 2019-10-16 04:34:14 +00:00
cds@be5df0987fc4e414401b86f980a60f7bf0288037
70702c63a8 Making a todo as requested on IRC. 2019-10-16 02:34:53 +00:00
leej
73f2750aac Added a comment: version error also reproduces on 7.20190912 from kitenet.net (downloaded 8/20/2019) 2019-10-15 23:31:40 +00:00
leej
e9fb1aa203 2019-10-15 22:38:47 +00:00
Ilya_Shlyakhter
0098b17cbe Added a comment: can git-annex-pre-commit annex files? 2019-10-15 19:15:41 +00:00
spwhitton
4745d55886 Added a comment 2019-10-15 18:03:34 +00:00
fasthans@87884c78197fe1a25ac25ae7fa1d930c147e9592
3ee526a3a6 2019-10-15 13:28:14 +00:00
fasthans@87884c78197fe1a25ac25ae7fa1d930c147e9592
1a6fb49565 2019-10-15 13:27:35 +00:00
jason.dixon.email@aa0e536a2ec2877d6f666108dbbc6e39bbe87ac0
3ac7fa3524 Added a comment: One other thing to add 2019-10-15 10:44:14 +00:00
jason.dixon.email@aa0e536a2ec2877d6f666108dbbc6e39bbe87ac0
17f54fc008 2019-10-15 10:37:39 +00:00
Joey Hess
83f5ec0d36
Merge branch 'master' of ssh://git-annex.branchable.com 2019-10-14 16:08:08 -04:00
Joey Hess
8ef5e79f79
sameas done and merged 2019-10-14 16:07:49 -04:00
Joey Hess
123d0d9add
Merge branch 'sameas' 2019-10-14 16:07:19 -04:00
nrg@bd619d1ebf16e6324c546adea8be8fe1cc2b4325
a3fdc23828 2019-10-14 19:14:02 +00:00
strmd
d671481ed7 Added a comment: A new user chiming in 2019-10-14 18:23:59 +00:00
Joey Hess
9828f45d85
add RemoteStateHandle
This solves the problem of sameas remotes trampling over per-remote
state. Used for:

* per-remote state, of course
* per-remote metadata, also of course
* per-remote content identifiers, because two remote implementations
  could in theory generate the same content identifier for two different
  peices of content

While chunk logs are per-remote data, they don't use this, because the
number and size of chunks stored is a common property across sameas
remotes.

External special remote had a complication, where it was theoretically
possible for a remote to send SETSTATE or GETSTATE during INITREMOTE or
EXPORTSUPPORTED. Since the uuid of the remote is typically generate in
Remote.setup, it would only be possible to pass a Maybe
RemoteStateHandle into it, and it would otherwise have to construct its
own. Rather than go that route, I decided to send an ERROR in this case.
It seems unlikely that any existing external special remote will be
affected. They would have to make up a git-annex key, and set state for
some reason during INITREMOTE. I can imagine such a hack, but it doesn't
seem worth complicating the code in such an ugly way to support it.

Unfortunately, both TestRemote and Annex.Import needed the Remote
to have a new field added that holds its RemoteStateHandle.
2019-10-14 13:51:42 -04:00
yarikoptic
25e78d5f22 initial complaint that cannot use --duplicate and --reinject-duplicates 2019-10-14 14:56:19 +00:00
https://tribut.de/
5f36424eaa Added a comment 2019-10-14 09:33:34 +00:00
TroisSinges
6dd6f3ccf2 2019-10-14 09:25:18 +00:00
Ilya_Shlyakhter
52b0a6530d Added a comment: getting v5 semantics 2019-10-14 03:42:05 +00:00
amindfv@6f75355c5dad3450ed73d1f01715be90dfdd6cd6
7a950e3088 Added a comment 2019-10-14 00:20:25 +00:00
TroisSinges
bc4a194c6d Added a comment 2019-10-13 23:59:23 +00:00
TroisSinges
302e43f852 2019-10-13 23:55:20 +00:00
Lukey
3b86bfdb79 Added a comment: v5 mode 2019-10-12 21:48:57 +00:00
Ilya_Shlyakhter
8348e7534d Added a comment: experience with v7 semantics 2019-10-12 21:39:03 +00:00
amindfv@6f75355c5dad3450ed73d1f01715be90dfdd6cd6
c85165ece5 Added a comment 2019-10-12 21:12:52 +00:00
Joey Hess
ddcc57bd9a
Merge branch 'master' of ssh://git-annex.branchable.com 2019-10-11 16:09:06 -04:00
Joey Hess
3fad5e8c7c
devblog 2019-10-11 16:08:55 -04:00
Joey Hess
37f0abbca8
looked over all my old comments, current status of all concerns 2019-10-11 16:06:42 -04:00
Joey Hess
37f725a9f7
Merge branch 'master' into sameas 2019-10-11 15:56:00 -04:00
Joey Hess
debafcba2b
autoenable sameas remotes 2019-10-11 15:52:40 -04:00
Joey Hess
ec778888d2
got enableremote working for sameas
Also the assistant can enable sameas remotes, should work, but not
tested.
2019-10-11 15:11:08 -04:00
Joey Hess
35d7ffe128
initremote --sameas fully working
And using sameas remotes is working.

Moved annex-config-uuid setting out of Remote.Helper.Special.
EnableRemote will also have to set it.
2019-10-11 14:19:10 -04:00
Joey Hess
c0e88b7695
sameas documentation 2019-10-11 14:04:58 -04:00
Joey Hess
1b9c1d1737
fix sameas inherited key removal 2019-10-11 13:18:27 -04:00
Ilya_Shlyakhter
8432c3912f Added a comment: preventing inadvertently adding annexed files in unlocked form 2019-10-11 16:38:07 +00:00
Joey Hess
2bd6e81bb0
support annex-config-uuid when generating remote
This is used by a special remote with sameas-uuid=
The remote's uuid is the sameas-uuid, but it needs to get
its RemoteConfig from the annex-config-uuid.
2019-10-11 12:34:11 -04:00
Ilya_Shlyakhter
599d438fa6 Added a comment 2019-10-11 16:23:08 +00:00
Joey Hess
cb08cb0052
Merge branch 'master' of ssh://git-annex.branchable.com 2019-10-10 16:18:46 -04:00
Joey Hess
2d5cce6763
devblog 2019-10-10 16:17:45 -04:00
Joey Hess
0dd5691951
update notes 2019-10-10 16:12:59 -04:00
Ilya_Shlyakhter
a08e5e2fa8 Added a comment: separate annex.git-add.largefiles and annex.git-annex-add.largefiles settings 2019-10-10 18:33:50 +00:00
Ilya_Shlyakhter
159ba92ea1 added todo for separate annex.largefiles.git-add and annex.largefiles.git-annex-add settings 2019-10-10 18:29:03 +00:00
Joey Hess
d1130ea04a
get rid of hardcoded "name" lookups
Support "sameas-name" being set instead.

In RenameRemote, rename which ever of the two is set.
2019-10-10 13:25:10 -04:00
Joey Hess
17afefd63f
add remote.<name>.annex-config-uuid
for use by sameas remotes
2019-10-10 12:12:22 -04:00
Joey Hess
d9938b97c6
thought 2019-10-10 12:06:37 -04:00
jason.dixon.email@aa0e536a2ec2877d6f666108dbbc6e39bbe87ac0
7e692864de Added a comment: wanted content commands 2019-10-10 08:16:59 +00:00
bugmenot
838465ac63 Added a comment: --link accepts itself 2019-10-10 05:28:53 +00:00
yarikoptic
d4323006d4 Added a comment 2019-10-09 18:10:05 +00:00
yarikoptic
5a68b00f72 initial description of an attempt to establish git-lfs powered github remote from assitant on android phone 2019-10-09 18:04:23 +00:00
yarikoptic
79325b3e66 initial report about missing url= for git-lfs remote 2019-10-09 17:44:14 +00:00
Joey Hess
212abec4b2
add news item for git-annex 7.20191009 2019-10-09 12:33:30 -04:00
CandyAngel
fec362dce8 Added a comment 2019-10-09 07:53:44 +00:00
Ilya_Shlyakhter
df42fc998c Added a comment 2019-10-08 20:23:07 +00:00
Ilya_Shlyakhter
936c85e674 Added a comment: preventing git-annex-add of files open for writing 2019-10-08 20:14:41 +00:00
Joey Hess
22dd6b0dff
response 2019-10-08 15:41:16 -04:00
Joey Hess
e15907f138
response 2019-10-08 15:39:58 -04:00
Joey Hess
f4dd7d5191
work around windows having infected git's plumbing
Work around git cat-file --batch's odd stripping of carriage return from
the end of the line (some windows infection), avoiding crashing when the
repo contains a filename ending in a carriage return.
2019-10-08 15:27:05 -04:00
Joey Hess
9a87b3ad31
comment 2019-10-08 14:50:06 -04:00
Joey Hess
8966ba2cff
git-annex-standalone.rpm: Fix the git-annex-shell symlink 2019-10-08 14:43:28 -04:00
Joey Hess
30204cc493
comment 2019-10-08 14:36:21 -04:00
Joey Hess
53da7f1cf8
update uninit to handle all the v7 stuff
* uninit: Remove several git hooks that git-annex init sets up.
* uninit: Remove the smudge and clean filters that git-annex init sets up.
2019-10-08 14:34:00 -04:00
Joey Hess
3de6dffd36
comment 2019-10-08 14:32:42 -04:00
Joey Hess
3cc23df35b
improve conversion example 2019-10-08 14:17:04 -04:00
Joey Hess
bfd786b26a
Merge branch 'master' of ssh://git-annex.branchable.com 2019-10-08 14:01:26 -04:00
Joey Hess
1113caa53e
preserve unlocked file mtime when dropping
When dropping an unlocked file, preserve its mtime, which avoids git status
unncessarily running the clean filter on the file.

If the index file has close to the same mtime as a work tree file, git will
not trust the index to be up-to-date, and re-runs the clean filter
unncessarily. Preserving the mtime when depopulating a pointer file avoids
git status doing a little (or maybe a lot) of unncessary work.

There are other places that the mtime could be preserved, including other
places where pointer files are written perhaps, but also
populatePointerFile. But, I don't know of cases where those lead to git
status doing unncessary work, so I just fixed the one I'm aware of for now.
2019-10-08 14:01:12 -04:00
Ilya_Shlyakhter
911278ceb2 Added a comment: git-annex-add on a file that is being written by some process 2019-10-08 17:03:34 +00:00
Joey Hess
7c91eb35f7
comment 2019-10-08 12:19:05 -04:00
Joey Hess
1ba99c31ca
comment 2019-10-08 12:11:19 -04:00
Joey Hess
560c873f50
Merge branch 'master' of ssh://git-annex.branchable.com 2019-10-08 12:09:26 -04:00
Ilya_Shlyakhter
2e8abdae5a Added a comment: automatic retries if index is locked 2019-10-08 16:01:52 +00:00
Joey Hess
08bf984921
more thoughts 2019-10-08 11:39:12 -04:00
Ilya_Shlyakhter
d2369894f0 Added a comment: automaticallly sync content on git push/pull 2019-10-08 06:43:33 +00:00
Ilya_Shlyakhter
a728b78ca2 added todo for operating on files touched by commits in a range 2019-10-08 05:13:23 +00:00
Ilya_Shlyakhter
22a6fcaa24 added report of repeated git index refresh 2019-10-07 18:57:20 +00:00
Ilya_Shlyakhter
daa1fa72ef Added a comment 2019-10-07 18:20:21 +00:00
Ilya_Shlyakhter
3d677c0990 added suggestion for more fine-grained config of when files are added as locked vs unlocked 2019-10-07 18:08:44 +00:00
Joey Hess
350bb456c0
this looks messy 2019-10-07 13:10:04 -04:00
Joey Hess
ae86cfb5ef
couple clarifications 2019-10-07 12:20:49 -04:00
CandyAngel
e0022e6505 Added a comment 2019-10-07 08:30:53 +00:00
Joey Hess
586278cfa8
update 2019-10-05 14:46:22 -04:00
Ilya_Shlyakhter
79705f831b fix typo 2019-10-05 02:47:10 +00:00
Dwk
5b5e10993b Added a comment: Perhaps a good behaviour but only if largefiles is set 2019-10-05 02:34:42 +00:00
Dwk
a9c5a68b65 Added a comment: annexed -> normal git does not work if annexed file was unlocked 2019-10-05 01:45:14 +00:00
Dwk
adcc7b3560 2019-10-05 01:36:53 +00:00
Ilya_Shlyakhter
d4dafa0671 Added a comment: special remote that restores contents by running a command 2019-10-04 18:16:39 +00:00
Joey Hess
161b2ef690
clarify 2019-10-04 11:28:01 -04:00
Joey Hess
0a27f77fee
clarify 2019-10-04 11:27:19 -04:00
Joey Hess
bc98edd25d
improve link text 2019-10-04 11:24:53 -04:00
Joey Hess
993c31ec1d
Merge branch 'master' of ssh://git-annex.branchable.com 2019-10-04 11:23:13 -04:00
Joey Hess
8df0152633
finally document initremote type=git 2019-10-04 11:22:46 -04:00
svw
98ba417ee6 2019-10-04 06:09:25 +00:00
emerson.f.harkin@41a492cd1104c2c1461a2bed652a04e3842771b3
bf0070d43c rename bugs/Incorrectly_linked_git_annex_shell_in_standalone_tarball.mdwn to bugs/Incorrectly_linked_git_annex_shell_in_standalone_rpm.mdwn 2019-10-03 20:29:38 +00:00
emerson.f.harkin@41a492cd1104c2c1461a2bed652a04e3842771b3
9eb899adeb 2019-10-03 20:27:56 +00:00
basile.pinsard@f1a7fae9f3bd9d5282fca11f62ad53b45a8eb317
186696865b 2019-10-03 15:36:37 +00:00
Joey Hess
e4e4777a9b
Merge branch 'master' of ssh://git-annex.branchable.com 2019-10-03 09:54:24 -04:00
tobiasBora
d42b117f71 Added a comment 2019-10-03 00:48:23 +00:00
Ilya_Shlyakhter
7dce92bfca Added a comment 2019-10-03 00:36:54 +00:00
tobiasBora
1a2a0707a6 2019-10-02 21:21:01 +00:00
tobiasBora
71405c1c85 2019-10-02 21:20:36 +00:00
Joey Hess
4967f8f0ab
update 2019-10-02 11:24:30 -04:00
Ilya_Shlyakhter
f35b130f59 Added a comment: different repos with same uuid 2019-10-02 15:13:56 +00:00
Joey Hess
d7f4bb5462
Merge branch 'master' of ssh://git-annex.branchable.com 2019-10-01 16:05:15 -04:00
Joey Hess
3229cde14f
comments 2019-10-01 16:04:44 -04:00
Joey Hess
7245a86587
my, this is looking complicated 2019-10-01 13:11:49 -04:00
Joey Hess
61b384d2b7
add --sameas option, not yet used 2019-10-01 12:36:25 -04:00
branchable@bafd175a4b99afd6ed72501042e364ebd3e0c45e
18f25f34a7 Added a comment 2019-09-30 22:25:11 +00:00
branchable@bafd175a4b99afd6ed72501042e364ebd3e0c45e
115886df9f Added a comment: There are still benefits to commit throttling 2019-09-30 22:16:10 +00:00
Joey Hess
7b5ce2b330
expand 2019-09-30 17:35:38 -04:00
Joey Hess
ccf9f03c84
Merge branch 'master' of ssh://git-annex.branchable.com 2019-09-30 17:33:08 -04:00
Joey Hess
7302f12bf6
todo 2019-09-30 17:32:41 -04:00
Joey Hess
3066bdb1fb
fix annex.largefiles largerthan/smallerthan bug
Fix bug in handling of annex.largefiles that use largerthan/smallerthan.
When adding a modified file, it incorrectly used the file size of the old
version of the file, not the current size.

That was the only largefiles limit that didn't directly look at the file on
disk already. Added a new type to keep straight the two different ways such
a limit can be matched. I kind of wanted to extend MatchingFile or FileInfo
to indicate that the matcher is supposed to operate on files from disk or
annex, but it turned out to be too complex to implement it that way.

This also changes the LimitAnnexFiles case when lookupFileKey does not find
a key. It used to fall back to statting the file, now it always returns
False. I doubt the old code could really get to that point, but if it
somehow does, it's better for preferred content matching to be consistent.
2019-09-30 17:15:08 -04:00
yarikoptic
47245d7f4b Added a comment 2019-09-30 20:36:00 +00:00
Joey Hess
3b8c94fcbd
fix an old bug, open new bug I noticed while confirming the old bug was fixed 2019-09-30 16:30:29 -04:00
Joey Hess
9df7718e15
close 2019-09-30 15:40:15 -04:00
Joey Hess
4200d2933b
comment 2019-09-30 15:31:55 -04:00
Joey Hess
34ab34d320
remove spam
and an additional probe comment made before the spam
2019-09-30 15:22:41 -04:00
Joey Hess
f2737a5fbe
enable-tor: Run kdesu with -c option. 2019-09-30 15:14:05 -04:00
Joey Hess
2b55a2b882
remotedaemon: Don't list --stop in help since it's not supported.
Also, move out of plumbing section. When using tor, the remotedaemon is
part of the user's workflow, as it runs the tor hidden service.
2019-09-30 14:40:46 -04:00
Joey Hess
5fbf30301a
response 2019-09-30 14:27:23 -04:00
Joey Hess
a9f078da43
Merge branch 'master' of ssh://git-annex.branchable.com 2019-09-30 14:21:23 -04:00
Joey Hess
e52fb641a0
comment 2019-09-30 14:19:35 -04:00
Joey Hess
430e33e3dd
comment 2019-09-30 13:53:50 -04:00
Joey Hess
9a22adf358
comment 2019-09-30 13:40:53 -04:00
Joey Hess
84e1b165f5
response 2019-09-30 13:36:11 -04:00
Joey Hess
ca0ca6012f
remove -n from example
That was only needed with git-annex before v7. The pre-commit hook no
longer scans for and re-locks typechanged files.
2019-09-30 13:34:26 -04:00
branchable@bafd175a4b99afd6ed72501042e364ebd3e0c45e
8587102c2c add commit SHAs and remove irrelevant logs 2019-09-29 23:49:00 +00:00
branchable@bafd175a4b99afd6ed72501042e364ebd3e0c45e
1c1a724f52 2019-09-29 23:35:29 +00:00
branchable@bafd175a4b99afd6ed72501042e364ebd3e0c45e
04ec673d51 Fix typo and incorrect references to "git annex peer" 2019-09-29 23:34:25 +00:00
branchable@bafd175a4b99afd6ed72501042e364ebd3e0c45e
3f609a7742 Added a comment: Commits could be rate-limited too 2019-09-29 23:03:47 +00:00
branchable@bafd175a4b99afd6ed72501042e364ebd3e0c45e
2e1d2bc6d5 Added a comment: .gitattributes could solve this 2019-09-29 22:59:48 +00:00
branchable@bafd175a4b99afd6ed72501042e364ebd3e0c45e
774b0ce342 2019-09-29 22:24:47 +00:00
branchable@bafd175a4b99afd6ed72501042e364ebd3e0c45e
b45deddbcd Added a comment: Follow-up thought 2019-09-29 22:08:29 +00:00
branchable@bafd175a4b99afd6ed72501042e364ebd3e0c45e
1f28ddf470 Added a comment: Can conversion to/from annexed be made easier? 2019-09-29 22:04:32 +00:00
branchable@bafd175a4b99afd6ed72501042e364ebd3e0c45e
32c6ea563e fix walktrough typo 2019-09-29 21:46:46 +00:00