Joey Hess [Wed, 14 Apr 2021 22:53:27 +0000 (18:53 -0400)]
fix hardcoded origin name in checkAdjustedClone
init: Fix a crash when the repo's was cloned from a repo that had an
adjusted branch checked out, and the origin remote is not named "origin".
The only other hardcoding of the name of origin is in:
- Upgrade.V2, which can be ignored probably
- Annex.Branch, which doesn't fail if it has some other name, but just
doesn't set up the git-annex branch with quite as linear a history in
that case.
Joey Hess [Wed, 14 Apr 2021 22:50:14 +0000 (18:50 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 14 Apr 2021 22:32:15 +0000 (18:32 -0400)]
remove part of comment that is no longer relevant
kyle [Wed, 14 Apr 2021 21:26:32 +0000 (21:26 +0000)]
crippledfilesystem override not needed
yarikoptic [Wed, 14 Apr 2021 20:46:11 +0000 (20:46 +0000)]
Added a comment
kyle [Wed, 14 Apr 2021 20:44:23 +0000 (20:44 +0000)]
bug: init crash with remote name other than "origin"
Joey Hess [Wed, 14 Apr 2021 20:20:13 +0000 (16:20 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 14 Apr 2021 20:17:43 +0000 (16:17 -0400)]
directory CoW on export
Completing Cow support for directory.
Joey Hess [Wed, 14 Apr 2021 20:10:09 +0000 (16:10 -0400)]
directory CoW on import
Lukey [Wed, 14 Apr 2021 20:06:31 +0000 (20:06 +0000)]
Added a comment
Joey Hess [Wed, 14 Apr 2021 19:11:00 +0000 (15:11 -0400)]
directory CoW on store
Not for exports to directory yet though.
Joey Hess [Wed, 14 Apr 2021 18:43:08 +0000 (14:43 -0400)]
directory CoW on retrieve
directory: When cp supports reflinks, use it when getting content from a
directory special remote.
Not yet for imports from directory though, and not for store.
Note that, when it's chunked, using cp --reflink would not speed it up, and
when reflink was not supported, would unnecessarily write the chunk to a
file before reading it back in. So, only using a fileRetriever in the
NoChunks case is necessary to keep chunking fast.
fileCopier is told not to verify, because the special remote interface
does not yet support verification in passing. AFAICS, fileCopies can
never return False when not verifying so the added giveup should never
actually happen.
Added a comment: thanks
Joey Hess [Wed, 14 Apr 2021 18:12:32 +0000 (14:12 -0400)]
comment
Joey Hess [Wed, 14 Apr 2021 18:06:43 +0000 (14:06 -0400)]
split out Annex.CopyFile
Goal is to use it in Remote.Directory, but also it's nice to shrink Remote.Git.
yarikoptic [Wed, 14 Apr 2021 18:04:53 +0000 (18:04 +0000)]
Added a comment: comment to joey response on cp --reflink workaround
Joey Hess [Wed, 14 Apr 2021 17:45:59 +0000 (13:45 -0400)]
tag confirmed
Joey Hess [Wed, 14 Apr 2021 17:44:43 +0000 (13:44 -0400)]
note
Joey Hess [Wed, 14 Apr 2021 17:42:37 +0000 (13:42 -0400)]
correction
Joey Hess [Wed, 14 Apr 2021 17:41:24 +0000 (13:41 -0400)]
comment
Joey Hess [Wed, 14 Apr 2021 17:32:28 +0000 (13:32 -0400)]
update
Joey Hess [Wed, 14 Apr 2021 17:31:08 +0000 (13:31 -0400)]
comment
Joey Hess [Wed, 14 Apr 2021 17:22:54 +0000 (13:22 -0400)]
fsck: avoid redundant checksum when transfer is Verified
When downloading content from a remote, if the content is able to be
verified during the transfer, skip checksumming it a second time.
Note that in this case, the fsck output does not include "(checksum)"
which it does when the checksumming is done separately from the download.
This commit was sponsored by Brock Spratlen on Patreon.
Joey Hess [Wed, 14 Apr 2021 16:55:18 +0000 (12:55 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Atemu [Wed, 14 Apr 2021 16:14:20 +0000 (16:14 +0000)]
yarikoptic [Wed, 14 Apr 2021 14:24:18 +0000 (14:24 +0000)]
is importtree CoW from directory?
kyle [Wed, 14 Apr 2021 01:08:08 +0000 (01:08 +0000)]
one-off unlocked annex files that go against largefiles configuration
Joey Hess [Tue, 13 Apr 2021 23:58:35 +0000 (19:58 -0400)]
comment
Joey Hess [Tue, 13 Apr 2021 20:34:36 +0000 (16:34 -0400)]
fix comment location
Joey Hess [Tue, 13 Apr 2021 20:32:00 +0000 (16:32 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 13 Apr 2021 20:31:27 +0000 (16:31 -0400)]
comment
Ilya_Shlyakhter [Tue, 13 Apr 2021 20:30:45 +0000 (20:30 +0000)]
Added a comment: hybrid encryption
datamanager [Tue, 13 Apr 2021 20:04:32 +0000 (20:04 +0000)]
Added a comment: Can I manually decrypt my files?
Joey Hess [Tue, 13 Apr 2021 19:00:23 +0000 (15:00 -0400)]
forget: Preserve currently exported trees
Avoiding problems with exporttree remotes in some unusual circumstances.
This commit was sponsored by Brett Eisenberg on Patreon.
Joey Hess [Tue, 13 Apr 2021 18:41:27 +0000 (14:41 -0400)]
thoughts
Joey Hess [Tue, 13 Apr 2021 18:06:40 +0000 (14:06 -0400)]
split out Logs.Export.Pure
This will allow Annex.Branch to use it, in transitions code.
This commit was sponsored by Luke Shumaker on Patreon.
Joey Hess [Tue, 13 Apr 2021 17:41:48 +0000 (13:41 -0400)]
comment
Joey Hess [Tue, 13 Apr 2021 17:41:36 +0000 (13:41 -0400)]
idea
Joey Hess [Tue, 13 Apr 2021 17:31:51 +0000 (13:31 -0400)]
bug report
Joey Hess [Tue, 13 Apr 2021 16:55:50 +0000 (12:55 -0400)]
change back to git-remote-gcrypt 1.4 url forms, with a note that that version is needed
Joey Hess [Tue, 13 Apr 2021 16:45:40 +0000 (12:45 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 12 Apr 2021 18:13:44 +0000 (14:13 -0400)]
update
https://launchpad.net/~r0lf [Mon, 12 Apr 2021 17:44:06 +0000 (17:44 +0000)]
fix URI for rsync over ssh as per woffs' suggestion in #git-annex
https://launchpad.net/~r0lf [Mon, 12 Apr 2021 17:42:25 +0000 (17:42 +0000)]
fix URI for rsync over ssh as per woffs' suggestion in #git-annex
Joey Hess [Mon, 12 Apr 2021 17:00:24 +0000 (13:00 -0400)]
update
Joey Hess [Mon, 12 Apr 2021 16:54:46 +0000 (12:54 -0400)]
comment and analysis
Ilya_Shlyakhter [Mon, 12 Apr 2021 15:39:31 +0000 (15:39 +0000)]
Added a comment
DeweyA123 [Mon, 12 Apr 2021 15:15:43 +0000 (15:15 +0000)]
removed
DeweyA123 [Mon, 12 Apr 2021 15:14:40 +0000 (15:14 +0000)]
removed
DeweyA123 [Mon, 12 Apr 2021 15:12:53 +0000 (15:12 +0000)]
Added a comment: Waiting as well
DeweyA123 [Mon, 12 Apr 2021 15:12:31 +0000 (15:12 +0000)]
Added a comment: Waiting as well
DeweyA123 [Mon, 12 Apr 2021 15:12:07 +0000 (15:12 +0000)]
Added a comment: Waiting as well
Ilya_Shlyakhter [Mon, 12 Apr 2021 14:42:13 +0000 (14:42 +0000)]
Added a comment
Ilya_Shlyakhter [Mon, 12 Apr 2021 14:18:46 +0000 (14:18 +0000)]
Added a comment: un-adding annexed files
Ilya_Shlyakhter [Mon, 12 Apr 2021 14:18:22 +0000 (14:18 +0000)]
Added a comment: un-adding annexed files
Atemu [Mon, 12 Apr 2021 09:46:05 +0000 (09:46 +0000)]
Added a comment
Ilya_Shlyakhter [Mon, 12 Apr 2021 01:20:16 +0000 (01:20 +0000)]
Added a comment: lockContent for special remotes w/o changing the protocol
Ilya_Shlyakhter [Mon, 12 Apr 2021 00:50:42 +0000 (00:50 +0000)]
Added a comment: un-adding a key
Atemu [Sun, 11 Apr 2021 10:54:43 +0000 (10:54 +0000)]
Added a comment
Atemu [Sat, 10 Apr 2021 17:12:30 +0000 (17:12 +0000)]
Added a comment
Atemu [Sat, 10 Apr 2021 16:47:07 +0000 (16:47 +0000)]
Atemu [Thu, 8 Apr 2021 19:33:49 +0000 (19:33 +0000)]
Added a comment
Joey Hess [Thu, 8 Apr 2021 18:39:52 +0000 (14:39 -0400)]
add 2 missing man page files to cabal file
Only useful when using cabal install to install it with man pages.
It's hard to remember to list new man page files here.
Joey Hess [Thu, 8 Apr 2021 18:32:09 +0000 (14:32 -0400)]
diffdriver: Support unlocked files
Joey Hess [Thu, 8 Apr 2021 17:59:04 +0000 (13:59 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 8 Apr 2021 17:51:43 +0000 (13:51 -0400)]
comment
yarikoptic [Thu, 8 Apr 2021 17:47:22 +0000 (17:47 +0000)]
note on the order
yarikoptic [Thu, 8 Apr 2021 17:44:39 +0000 (17:44 +0000)]
initial report on diff driver behavior on unlocked files
Joey Hess [Thu, 8 Apr 2021 17:21:30 +0000 (13:21 -0400)]
comment
Joey Hess [Thu, 8 Apr 2021 17:08:01 +0000 (13:08 -0400)]
comment typo
Joey Hess [Thu, 8 Apr 2021 16:57:57 +0000 (12:57 -0400)]
comment
Atemu [Thu, 8 Apr 2021 14:02:54 +0000 (14:02 +0000)]
Added a comment: Workaround
Atemu [Thu, 8 Apr 2021 12:08:27 +0000 (12:08 +0000)]
Atemu [Thu, 8 Apr 2021 11:56:13 +0000 (11:56 +0000)]
fix url
Atemu [Thu, 8 Apr 2021 11:50:59 +0000 (11:50 +0000)]
admin [Wed, 7 Apr 2021 16:52:43 +0000 (16:52 +0000)]
Merge branch 'master' of /home/b-git-annex/source
Ilya_Shlyakhter [Wed, 7 Apr 2021 16:52:42 +0000 (16:52 +0000)]
Added a comment: running untrusted code
Joey Hess [Tue, 6 Apr 2021 21:20:47 +0000 (17:20 -0400)]
remove webapp debug check box
It can't enable or disable debug output, after recent changes, w/o
restarting git-annex, or perhaps messing with the Annex monad's
internals. Doesn't seem worth supporting it any longer.
Joey Hess [Tue, 6 Apr 2021 20:51:38 +0000 (16:51 -0400)]
comment and close, open related todo
Joey Hess [Tue, 6 Apr 2021 20:48:24 +0000 (16:48 -0400)]
fastDebug Annex.Branch reads and writes
Reads of cached data are not debugged, only cache misses are, and since
many commands pre-cache location log data, this avoids a slew of
fastDebug calls when running commands such as git-annex get --from
Joey Hess [Tue, 6 Apr 2021 20:28:37 +0000 (16:28 -0400)]
fix fastDebug to check if debugging is actually enabled
Had to add to AnnexRead an indication of whether debugging is enabled.
Could have just made setupConsole not install a debug output action that
outputs, and have enableDebug be what installs that, but then in the
common case where there is no debug selector, and so all debug output is
selected, it would run the debug output action every time, which entails
an IORef access. Which would make fastDebug too slow..
Joey Hess [Tue, 6 Apr 2021 19:41:24 +0000 (15:41 -0400)]
use fastDebug everywhere it can be used
None of these are likely to yeild a noticable speedup though.
Joey Hess [Tue, 6 Apr 2021 19:14:00 +0000 (15:14 -0400)]
implement fastDebug
Most of the changes here involve global option parsing: GlobalSetter
changed so it can both run an Annex action to set state, but can also
change the AnnexRead value, which is immutable once the Annex monad is
running.
That allowed a debugselector value to be added to AnnexRead, seeded
from the git config. The --debugfilter option's GlobalSetter then updates
the AnnexRead.
This improved GlobalSetter can later be used to move more stuff to
AnnexRead. Things that don't involve a git config will be easier to
move, and probably a *lot* of things can be moved eventually.
fastDebug, while implemented, is not used anywhere yet. But it should be
fast..
Joey Hess [Tue, 6 Apr 2021 16:45:30 +0000 (12:45 -0400)]
semigroup and monoid instances for DebugSelector
mempty is NoDebugSelector, so it does not default to matching
everything, or nothing, in a chain like foo <> mempty
Joey Hess [Tue, 6 Apr 2021 16:22:56 +0000 (12:22 -0400)]
refactoring
Moving argument parsing to before Annex monad code
is a first step toward letting argument parsing set
AnnexRead values, which are immutable inside that monad.
Joey Hess [Mon, 5 Apr 2021 19:47:42 +0000 (15:47 -0400)]
comment
Joey Hess [Mon, 5 Apr 2021 19:32:08 +0000 (15:32 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 5 Apr 2021 19:21:20 +0000 (15:21 -0400)]
added --debugfilter (and annex.debugfilter)
Joey Hess [Mon, 5 Apr 2021 17:40:31 +0000 (13:40 -0400)]
switch from hslogger to purpose-built Utility.Debug
This uses a DebugSelector, rather than debug levels, which will allow
for a later option like --debug-from=Process to only
see debuging about running processes.
The module name that contains the thing being debugged is used as the
DebugSelector (in most cases; does not need to be a hard and fast rule).
Debug calls were changed to add that. hslogger did not display
that first parameter to debugM, but the DebugSelector does get
displayed.
Also fastDebug will allow doing debugging in places that are used in
tight loops, with the DebugSelector coming from the Annex Reader
essentially for free. Not done yet.
Joey Hess [Mon, 5 Apr 2021 14:56:07 +0000 (10:56 -0400)]
update
Atemu [Mon, 5 Apr 2021 09:31:48 +0000 (09:31 +0000)]
https://launchpad.net/~r0lf [Mon, 5 Apr 2021 01:28:49 +0000 (01:28 +0000)]
Added a comment: still an issue in Ubuntu Focal
https://launchpad.net/~r0lf [Mon, 5 Apr 2021 01:22:24 +0000 (01:22 +0000)]
removed
https://launchpad.net/~r0lf [Mon, 5 Apr 2021 01:20:30 +0000 (01:20 +0000)]
Added a comment: still an issue in focal
Atemu [Sun, 4 Apr 2021 09:23:41 +0000 (09:23 +0000)]
Joey Hess [Fri, 2 Apr 2021 19:26:21 +0000 (15:26 -0400)]
start splitting out readonly values from AnnexState
Values in AnnexRead can be read more efficiently, without MVar overhead.
Only a few things have been moved into there, and the performance
increase so far is not likely to be noticable.
This is groundwork for putting more stuff in there, particularly a value
that indicates if debugging is enabled.
The obvious next step is to change option parsing to not run in the
Annex monad to set values in AnnexState, and instead return a pure value
that gets stored in AnnexRead.
Joey Hess [Fri, 2 Apr 2021 17:41:26 +0000 (13:41 -0400)]
comments
Joey Hess [Fri, 2 Apr 2021 15:56:50 +0000 (11:56 -0400)]
Avoid excess commits to the git-annex branch when stall detection is enabled
When git-annex transferrer started up, and the journal contained something,
it would commit it to the git-annex branch. This caused excess commits to
the branch, in cases where normally several changes would be journalled and
committed together. That generated some excess git objects and was also
just noisy on stdout.
Since transferrer uses enableInteractiveBranchAccess, it does not need to
commit journalled changes, since the optimisation that avoids checking
the journal when reading from the branch is disabled for processes that
call that.
This commit was sponsored by Svenne Krap on Patreon.
Joey Hess [Fri, 2 Apr 2021 14:35:15 +0000 (10:35 -0400)]
improve comment