git-annex.git
6 years agoAdded a comment: batch presence checking
Ilya_Shlyakhter [Thu, 27 Feb 2020 20:33:44 +0000 (20:33 +0000)]
Added a comment: batch presence checking

6 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 27 Feb 2020 18:09:51 +0000 (14:09 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

6 years agocatch whereisKey exception and provide error messages when external programs neglect to
Joey Hess [Thu, 27 Feb 2020 18:09:18 +0000 (14:09 -0400)]
catch whereisKey exception and provide error messages when external programs neglect to

* whereis: If a remote fails to report on urls where a key
  is located, display a warning, rather than giving up and not displaying
  any information.
* When external special remotes fail but neglect to provide an error
  message, say what request failed, which is better than displaying an
  empty error message to the user.

6 years agoannotate when it was fixed
yarikoptic [Thu, 27 Feb 2020 17:31:06 +0000 (17:31 +0000)]
annotate when it was fixed

6 years agodebian/: declare breaks until yet to be released datalad 0.12.3
Yaroslav Halchenko [Thu, 27 Feb 2020 14:05:31 +0000 (09:05 -0500)]
debian/: declare breaks until yet to be released datalad 0.12.3

This is due to upcoming release with API breakage:
    * add: Removed the --include-dotfiles option.
which is used in the core of datalad.  Such breakage is yet to be mitigated
on DataLad side. Relevant issue: https://github.com/datalad/datalad/issues/4185

6 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 27 Feb 2020 15:54:37 +0000 (11:54 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

6 years agomarking old issue done
yarikoptic [Thu, 27 Feb 2020 15:53:30 +0000 (15:53 +0000)]
marking old issue done

6 years agoAdded a comment
yarikoptic [Thu, 27 Feb 2020 15:52:10 +0000 (15:52 +0000)]
Added a comment

6 years agoinitial report on annex/objects/.../KEY directory left behind
yarikoptic [Thu, 27 Feb 2020 15:36:10 +0000 (15:36 +0000)]
initial report on annex/objects/.../KEY directory left behind

6 years agoAdded a comment
lykos@d125a37d89b1cfac20829f12911656c40cb70018 [Thu, 27 Feb 2020 13:12:28 +0000 (13:12 +0000)]
Added a comment

6 years ago(no commit message)
lykos@d125a37d89b1cfac20829f12911656c40cb70018 [Thu, 27 Feb 2020 08:54:34 +0000 (08:54 +0000)]

6 years agorename changeGitConfig to overrideGitConfig and avoid unncessary calls
Joey Hess [Thu, 27 Feb 2020 05:06:35 +0000 (01:06 -0400)]
rename changeGitConfig to overrideGitConfig and avoid unncessary calls

It's important that it be clear that it overrides a config, such that
reloading the git config won't change it, and in particular, setConfig
won't change it.

Most of the calls to changeGitConfig were actually after setConfig,
which was redundant and unncessary. So removed those.

The only remaining one, besides --debug, is in the handling of
repository-global config values. That one's ok, because the
way mergeGitConfig is implemented, it does not override any value that
is set in git config. If a value with a repo-global setting was passed
to setConfig, it would set it in the git config, reload the git config,
re-apply mergeGitConfig, and use the newly set value, which is the right
thing.

6 years agoBugfix: Don't ignore --debug when it is followed by -c
Joey Hess [Thu, 27 Feb 2020 04:52:37 +0000 (00:52 -0400)]
Bugfix: Don't ignore --debug when it is followed by -c

6 years agoformatting
Joey Hess [Wed, 26 Feb 2020 23:11:15 +0000 (19:11 -0400)]
formatting

6 years agoadd news item for git-annex 8.20200226
Joey Hess [Wed, 26 Feb 2020 23:10:09 +0000 (19:10 -0400)]
add news item for git-annex 8.20200226

6 years agoreleasing package git-annex version 8.20200226
Joey Hess [Wed, 26 Feb 2020 23:09:23 +0000 (19:09 -0400)]
releasing package git-annex version 8.20200226

6 years agoMerge branch 'v7'
Joey Hess [Wed, 26 Feb 2020 22:49:36 +0000 (18:49 -0400)]
Merge branch 'v7'

6 years agodevblog
Joey Hess [Wed, 26 Feb 2020 22:49:07 +0000 (18:49 -0400)]
devblog

6 years agoversion
Joey Hess [Wed, 26 Feb 2020 22:42:34 +0000 (18:42 -0400)]
version

6 years agoadd news item for git-annex 7.20200226
Joey Hess [Wed, 26 Feb 2020 22:40:45 +0000 (18:40 -0400)]
add news item for git-annex 7.20200226

6 years agoretitl
Joey Hess [Wed, 26 Feb 2020 22:39:09 +0000 (18:39 -0400)]
retitl

6 years agoidea, not impementing today
Joey Hess [Wed, 26 Feb 2020 22:38:12 +0000 (18:38 -0400)]
idea, not impementing today

6 years agocomment
Joey Hess [Wed, 26 Feb 2020 22:30:20 +0000 (18:30 -0400)]
comment

6 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 26 Feb 2020 22:30:08 +0000 (18:30 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

6 years agofollowup and close
Joey Hess [Wed, 26 Feb 2020 22:29:06 +0000 (18:29 -0400)]
followup and close

6 years agoremove unused import
Joey Hess [Wed, 19 Feb 2020 17:13:13 +0000 (13:13 -0400)]
remove unused import

(cherry picked from commit 1f0fc9ff5f310e867b69d20693bd197199564bad)

6 years agoMerge branch 'v7'
Joey Hess [Wed, 26 Feb 2020 22:15:18 +0000 (18:15 -0400)]
Merge branch 'v7'

6 years agoBugfix: export --tracking (a deprecated option) set annex-annex-tracking-branch,...
Joey Hess [Wed, 19 Feb 2020 17:34:24 +0000 (13:34 -0400)]
Bugfix: export --tracking (a deprecated option) set annex-annex-tracking-branch, instead of annex-tracking-branch.

(cherry picked from commit a3a674d15be01a2ee9d27339e9eeb88b21f559dc)

6 years agoBugfix to getting content from an export remote with -J, when the export database...
Joey Hess [Wed, 26 Feb 2020 18:57:29 +0000 (14:57 -0400)]
Bugfix to getting content from an export remote with -J, when the export database was not yet populated.

(cherry picked from commit e520341500dce9f708a4de674f19047c5d325744)

6 years agofix encryption of content to gcrypt and git-lfs
Joey Hess [Wed, 26 Feb 2020 21:20:56 +0000 (17:20 -0400)]
fix encryption of content to gcrypt and git-lfs

Fix serious regression in gcrypt and encrypted git-lfs remotes.
Since version 7.20200202.7, git-annex incorrectly stored content
on those remotes without encrypting it.

Problem was, Remote.Git enumerates all git remotes, including git-lfs
and gcrypt. It then dispatches to those. So, Remote.List used the
RemoteConfigParser from Remote.Git, instead of from git-lfs or gcrypt,
and that parser does not know about encryption fields, so did not
include them in the ParsedRemoteConfig. (Also didn't include other
fields specific to those remotes, perhaps chunking etc also didn't
get through.)

To fix, had to move RemoteConfig parsing down into the generate methods
of each remote, rather than doing it in Remote.List.

And a consequence of that was that ParsedRemoteConfig had to change to
include the RemoteConfig that got parsed, so that testremote can
generate a new remote based on an existing remote.

(I would have rather fixed this just inside Remote.Git, but that was not
practical, at least not w/o re-doing work that Remote.List already did.
Big ugly mostly mechanical patch seemed preferable to making git-annex
slower.)

6 years agoremoved
yarikoptic [Wed, 26 Feb 2020 21:00:18 +0000 (21:00 +0000)]
removed

6 years agoAdded a comment
yarikoptic [Wed, 26 Feb 2020 20:58:16 +0000 (20:58 +0000)]
Added a comment

6 years agoAdded a comment: --debug output
yarikoptic [Wed, 26 Feb 2020 20:37:00 +0000 (20:37 +0000)]
Added a comment: --debug output

6 years agoAdded a comment: --debug output
yarikoptic [Wed, 26 Feb 2020 20:36:28 +0000 (20:36 +0000)]
Added a comment: --debug output

6 years agoAdded a comment
yarikoptic [Wed, 26 Feb 2020 20:14:47 +0000 (20:14 +0000)]
Added a comment

6 years agoinitial report on --debug , -c interaction
yarikoptic [Wed, 26 Feb 2020 19:59:48 +0000 (19:59 +0000)]
initial report on --debug , -c interaction

6 years agocomment
Joey Hess [Wed, 26 Feb 2020 19:24:12 +0000 (15:24 -0400)]
comment

6 years agoAdded a comment
basile.pinsard@f1a7fae9f3bd9d5282fca11f62ad53b45a8eb317 [Wed, 26 Feb 2020 19:15:11 +0000 (19:15 +0000)]
Added a comment

6 years agoAdded a comment
basile.pinsard@f1a7fae9f3bd9d5282fca11f62ad53b45a8eb317 [Wed, 26 Feb 2020 19:11:53 +0000 (19:11 +0000)]
Added a comment

6 years agocomment
Joey Hess [Wed, 26 Feb 2020 19:06:38 +0000 (15:06 -0400)]
comment

6 years agoinfo: Fix display of the encryption value. (Some debugging junk had crept in.)
Joey Hess [Wed, 26 Feb 2020 19:02:23 +0000 (15:02 -0400)]
info: Fix display of the encryption value. (Some debugging junk had crept in.)

6 years agoBugfix to getting content from an export remote with -J, when the export database...
Joey Hess [Wed, 26 Feb 2020 18:57:29 +0000 (14:57 -0400)]
Bugfix to getting content from an export remote with -J, when the export database was not yet populated.

6 years agocomment
Joey Hess [Wed, 26 Feb 2020 18:21:35 +0000 (14:21 -0400)]
comment

6 years agoresponse
Joey Hess [Wed, 26 Feb 2020 18:08:11 +0000 (14:08 -0400)]
response

6 years agoAdded a comment
yarikoptic [Wed, 26 Feb 2020 17:42:51 +0000 (17:42 +0000)]
Added a comment

6 years agoAdded a comment: requires -c annex.retry=2 to workaround
yarikoptic [Wed, 26 Feb 2020 17:34:55 +0000 (17:34 +0000)]
Added a comment: requires -c annex.retry=2 to workaround

6 years agoremoved
basile.pinsard@f1a7fae9f3bd9d5282fca11f62ad53b45a8eb317 [Wed, 26 Feb 2020 16:39:22 +0000 (16:39 +0000)]
removed

6 years agoissue on a stalled enableremote
yarikoptic [Wed, 26 Feb 2020 16:20:44 +0000 (16:20 +0000)]
issue on a stalled enableremote

6 years agoAdded a comment: strace
basile.pinsard@f1a7fae9f3bd9d5282fca11f62ad53b45a8eb317 [Wed, 26 Feb 2020 15:51:10 +0000 (15:51 +0000)]
Added a comment: strace

6 years agoAdded a comment: strace
basile.pinsard@f1a7fae9f3bd9d5282fca11f62ad53b45a8eb317 [Wed, 26 Feb 2020 15:50:50 +0000 (15:50 +0000)]
Added a comment: strace

6 years agoAdded a comment
basile.pinsard@f1a7fae9f3bd9d5282fca11f62ad53b45a8eb317 [Wed, 26 Feb 2020 13:46:22 +0000 (13:46 +0000)]
Added a comment

6 years ago(no commit message)
bvaa [Wed, 26 Feb 2020 10:25:47 +0000 (10:25 +0000)]

6 years agotodo
Joey Hess [Tue, 25 Feb 2020 21:44:03 +0000 (17:44 -0400)]
todo

6 years agocomment
Joey Hess [Tue, 25 Feb 2020 20:39:07 +0000 (16:39 -0400)]
comment

6 years agocomment
Joey Hess [Tue, 25 Feb 2020 20:16:18 +0000 (16:16 -0400)]
comment

6 years agoannex.security.allowed-ip-addresses ports syntax
Joey Hess [Tue, 25 Feb 2020 19:45:52 +0000 (15:45 -0400)]
annex.security.allowed-ip-addresses ports syntax

Extended annex.security.allowed-ip-addresses to let specific ports of an IP
address to be used, while denying use of other ports.

6 years agocomment
Joey Hess [Tue, 25 Feb 2020 18:38:55 +0000 (14:38 -0400)]
comment

6 years agoclarify that the listed IP addresses are in addition to the ones normally allowed
Joey Hess [Tue, 25 Feb 2020 18:34:39 +0000 (14:34 -0400)]
clarify that the listed IP addresses are in addition to the ones normally allowed

6 years agocomment
Joey Hess [Tue, 25 Feb 2020 17:46:51 +0000 (13:46 -0400)]
comment

6 years agocorrection
Joey Hess [Tue, 25 Feb 2020 17:42:44 +0000 (13:42 -0400)]
correction

6 years agocomment
Joey Hess [Tue, 25 Feb 2020 17:41:42 +0000 (13:41 -0400)]
comment

6 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 25 Feb 2020 17:34:57 +0000 (13:34 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

6 years agocomment
Joey Hess [Tue, 25 Feb 2020 17:34:16 +0000 (13:34 -0400)]
comment

6 years agoresponse
Joey Hess [Tue, 25 Feb 2020 17:22:46 +0000 (13:22 -0400)]
response

6 years agominor code simplification
Joey Hess [Tue, 25 Feb 2020 17:06:09 +0000 (13:06 -0400)]
minor code simplification

6 years agoAdded a comment: no traffic getting out
basile.pinsard@f1a7fae9f3bd9d5282fca11f62ad53b45a8eb317 [Tue, 25 Feb 2020 16:55:25 +0000 (16:55 +0000)]
Added a comment: no traffic getting out

6 years agocomment
Joey Hess [Tue, 25 Feb 2020 16:46:01 +0000 (12:46 -0400)]
comment

6 years agoAdded a comment: thanks
kyle [Tue, 25 Feb 2020 01:20:35 +0000 (01:20 +0000)]
Added a comment: thanks

6 years agoadded todo suggestion: create debug logs but erase them on success
Ilya_Shlyakhter [Mon, 24 Feb 2020 22:37:51 +0000 (22:37 +0000)]
added todo suggestion: create debug logs but erase them on success

6 years agoAdded a comment: Interaction with config annex.synccontent
Dan [Mon, 24 Feb 2020 21:34:53 +0000 (21:34 +0000)]
Added a comment: Interaction with config annex.synccontent

6 years agojump right to v8, don't stop part way
Joey Hess [Mon, 24 Feb 2020 17:21:00 +0000 (13:21 -0400)]
jump right to v8, don't stop part way

* init --version: When the version given is one that automatically
  upgrades to a newer version, use the newer version instead.
* Auto upgrades from older repo versions, like v5, now jump right to v8.

6 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 24 Feb 2020 16:47:47 +0000 (12:47 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

6 years agofix markup
spwhitton [Mon, 24 Feb 2020 14:25:13 +0000 (14:25 +0000)]
fix markup

6 years agoadd mention of git-annex-unused
spwhitton [Mon, 24 Feb 2020 14:24:13 +0000 (14:24 +0000)]
add mention of git-annex-unused

6 years agoadd Git::Annex
spwhitton [Mon, 24 Feb 2020 14:16:55 +0000 (14:16 +0000)]
add Git::Annex

6 years agoAdd forum post about WrongRequestBodyStreamSize S3 export
cbaines [Sat, 22 Feb 2020 09:40:26 +0000 (09:40 +0000)]
Add forum post about WrongRequestBodyStreamSize S3 export

6 years ago(no commit message)
basile.pinsard@f1a7fae9f3bd9d5282fca11f62ad53b45a8eb317 [Fri, 21 Feb 2020 21:42:29 +0000 (21:42 +0000)]

6 years ago(no commit message)
kyle [Fri, 21 Feb 2020 21:22:03 +0000 (21:22 +0000)]

6 years agoconvert KeySource to RawFilePath
Joey Hess [Fri, 21 Feb 2020 13:34:59 +0000 (09:34 -0400)]
convert KeySource to RawFilePath

6 years agoAdded a comment
yarikoptic [Fri, 21 Feb 2020 00:07:56 +0000 (00:07 +0000)]
Added a comment

6 years agooriginal TODO for more flexible security.allowed-ip-addresses
yarikoptic [Fri, 21 Feb 2020 00:04:30 +0000 (00:04 +0000)]
original TODO for more flexible security.allowed-ip-addresses

6 years agoAdded a comment: locking granularity
Ilya_Shlyakhter [Thu, 20 Feb 2020 22:35:34 +0000 (22:35 +0000)]
Added a comment: locking granularity

6 years agosimplify
Joey Hess [Thu, 20 Feb 2020 22:22:31 +0000 (18:22 -0400)]
simplify

6 years agono
Joey Hess [Thu, 20 Feb 2020 21:45:07 +0000 (17:45 -0400)]
no

6 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 20 Feb 2020 21:32:33 +0000 (17:32 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

6 years agohandle keys with extensions consistently in all locales
Joey Hess [Thu, 20 Feb 2020 21:18:59 +0000 (17:18 -0400)]
handle keys with extensions consistently in all locales

Fix some cases where handling of keys with extensions varied depending on
the locale.

A filename with a unicode extension would before generate a key with an
extension in a unicode locale, but not in LANG=C, because the extension
was not all alphanumeric. Also the the length of the extension could be
counted differently depending on the locale.

In a non-unicode locale, git-annex migrate would see that the extension
was not all alphanumeric and want to "upgrade" it. Now that doesn't happen.

As far as backwards compatability, this does mean that unicode
extensions are counted by the number of bytes, not number of characters.
So, if someone is using unicode extensions, they may find git-annex
stops using them when adding files, because their extensions are too
long. Keys already in their repo with the "too long" extensions will
still work though, so this only prevents adding the same content with
the same extension generating the same key. Documented this by
documenting that annex.maxextensionlength is a number of bytes.

Also, if a filename has an extension that is not valid utf-8 and the
locale is utf-8, the extension will be allowed now, and an old
git-annex, in the same locale would not, and would also want to
"upgrade" that.

6 years agoadded question: creating locks during --batch operations
Ilya_Shlyakhter [Thu, 20 Feb 2020 21:00:45 +0000 (21:00 +0000)]
added question: creating locks during --batch operations

6 years agoMerge branch 'master' of /home/b-git-annex/source
admin [Thu, 20 Feb 2020 20:48:37 +0000 (20:48 +0000)]
Merge branch 'master' of /home/b-git-annex/source

6 years agoAdded a comment: running parallel commands with xargs
Ilya_Shlyakhter [Thu, 20 Feb 2020 20:48:36 +0000 (20:48 +0000)]
Added a comment: running parallel commands with xargs

6 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 20 Feb 2020 20:39:48 +0000 (16:39 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

6 years agodo not file requests as comments on random pages
Joey Hess [Thu, 20 Feb 2020 20:31:49 +0000 (16:31 -0400)]
do not file requests as comments on random pages

6 years agoresponse
Joey Hess [Thu, 20 Feb 2020 20:26:52 +0000 (16:26 -0400)]
response

6 years agoresponse
Joey Hess [Thu, 20 Feb 2020 20:21:34 +0000 (16:21 -0400)]
response

6 years agoimprove
Joey Hess [Thu, 20 Feb 2020 20:01:38 +0000 (16:01 -0400)]
improve

6 years agoAdded a comment
titaniumfiles@5227364ee3e2f9207bc36b6ebb281fc7af6d3c16 [Thu, 20 Feb 2020 19:34:25 +0000 (19:34 +0000)]
Added a comment

6 years agoresponse
Joey Hess [Thu, 20 Feb 2020 19:31:42 +0000 (15:31 -0400)]
response

6 years agoAdded a comment: backends vs special remotes
Ilya_Shlyakhter [Thu, 20 Feb 2020 19:23:07 +0000 (19:23 +0000)]
Added a comment: backends vs special remotes

6 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 20 Feb 2020 18:50:46 +0000 (14:50 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

6 years agocomment
Joey Hess [Thu, 20 Feb 2020 18:45:12 +0000 (14:45 -0400)]
comment

6 years agoMakefile: Support newer versions of cabal that use the new-build system.
Joey Hess [Thu, 20 Feb 2020 18:09:53 +0000 (14:09 -0400)]
Makefile: Support newer versions of cabal that use the new-build system.

Unfortunately, cabal puts the binary in a very complicated path
and does not provide any good way to get it out, leaving no good choice
except to use find.

It may be possible to use cabal (new-)install --symlink-bindir,
and ask it to symlink to pwd, but with my older version of cabal,
that does not work.

The stack branch will probably also break once it uses a newer cabal,
didn't try to deal with that.