Commit graph

42992 commits

Author SHA1 Message Date
Joey Hess
b624394c72
releasing package git-annex version 10.20230321 2023-03-21 16:14:10 -04:00
Joey Hess
bf1bebef25
comment 2023-03-21 14:07:59 -04:00
Joey Hess
2a31f72677
comment 2023-03-21 14:02:43 -04:00
Joey Hess
b1aaebf48b
comment 2023-03-21 13:55:23 -04:00
Joey Hess
4c1156638d
not git-annex specific 2023-03-21 13:51:43 -04:00
Joey Hess
303b976dbc
Merge branch 'master' of ssh://git-annex.branchable.com 2023-03-21 13:49:26 -04:00
Joey Hess
5675499974
this comment section is not a BTS, part N+1 2023-03-21 13:48:34 -04:00
nobody314159@bfdeb297f68ed26fdff650d52fcdbb7746533591
696e75699d 2023-03-21 14:32:16 +00:00
carlos@4c213b52601d57b650b22d9a246c59aea2c8f859
8967f1a92d 2023-03-20 20:22:50 +00:00
carlos@4c213b52601d57b650b22d9a246c59aea2c8f859
8497023f0e 2023-03-20 20:14:19 +00:00
carlos@4c213b52601d57b650b22d9a246c59aea2c8f859
2473b83bc1 2023-03-20 20:13:46 +00:00
carlos@4c213b52601d57b650b22d9a246c59aea2c8f859
2c5e11360d 2023-03-20 20:13:03 +00:00
Lukey
4cfa979d36 Added a comment 2023-03-20 17:59:11 +00:00
Joey Hess
051aa3146d
Merge branch 'master' of ssh://git-annex.branchable.com 2023-03-19 15:39:50 -04:00
talmukoydu@ab15521191b4d02584d003f3f211d90f575d5ebb
b09405eeab Added a comment: RE: git annex sync not automatically syncing gcrypt remotes using relative paths 2023-03-19 19:27:46 +00:00
talmukoydu@ab15521191b4d02584d003f3f211d90f575d5ebb
18b9731131 Added a comment: git annex sync not automatically syncing gcrypt remotes using relative paths 2023-03-19 19:20:45 +00:00
talmukoydu@ab15521191b4d02584d003f3f211d90f575d5ebb
c006cfca56 removed 2023-03-19 19:08:48 +00:00
talmukoydu@ab15521191b4d02584d003f3f211d90f575d5ebb
c139a73b87 Added a comment: git annex sync not syncing automatically with gcrypt remotes 2023-03-19 19:08:14 +00:00
Joey Hess
4e2de98c80
add appveyor build badge 2023-03-18 18:02:39 -04:00
Joey Hess
0363e375d6
enable shallow clone to save my git server bandwidth 2023-03-18 17:45:31 -04:00
Joey Hess
9e2b2498b9
got appveyor build working 2023-03-18 17:36:50 -04:00
Joey Hess
7f652c5a22
rename an old closed bug to avoid filename too long on windows checkout 2023-03-18 12:24:58 -04:00
PossibleLoon
cd3c5afffd 2023-03-18 04:13:45 +00:00
Joey Hess
ffa4f2a995
Merge branch 'master' of ssh://git-annex.branchable.com 2023-03-17 16:49:48 -04:00
Joey Hess
9fbe4624c0
initial appveyor file
Appveyor access provided by Michael Hanke. Once this commit reaches
the repo at https://github.com/datalad/git-annex/ appveyor should see it
and run.
2023-03-17 16:48:15 -04:00
Joey Hess
570035b3f6
credit 2023-03-17 15:22:12 -04:00
Joey Hess
48bbbb60e7
keyspell ignore tmp directory 2023-03-17 15:21:31 -04:00
Joey Hess
75a32b543d
keyspell unignore valus
seems clean without this
2023-03-17 15:21:11 -04:00
Joey Hess
d11a7e662f
codespell ignore build artiacts 2023-03-17 15:18:43 -04:00
Yaroslav Halchenko
25ea4863a2
Add rudimentary .codespellrc with skips I found needed
added some eyeballed skips

Ignores picked up among 3 letter words using helper

    /home/yoh/deb/gits/pkg-exppsy/afni-upstream/.codespell-ignore-shorts.sh 3 | tr '\n' ','

Ignored thanks file
2023-03-17 15:16:34 -04:00
Yaroslav Halchenko
84b0a3707a
Apply codespell -w throughout 2023-03-17 15:14:58 -04:00
Yaroslav Halchenko
100f5aabb6
Typo: recurrance -> recurrence 2023-03-17 15:14:54 -04:00
Yaroslav Halchenko
0ae5ff797f
Typo: sansative -> sensitive 2023-03-17 15:14:50 -04:00
Yaroslav Halchenko
e018ae1125
Fix ambigous typos 2023-03-17 15:14:47 -04:00
jwiegley
63c1e1ed2c Added a comment 2023-03-16 12:52:54 +00:00
jwiegley
77be84102d Added a comment: An example of what I see 2023-03-16 12:24:45 +00:00
jwiegley
6f3624262d 2023-03-16 12:02:10 +00:00
Joey Hess
1f124103dc
reproduced 2023-03-14 13:36:40 -04:00
Joey Hess
47c010155f
todo that I decided not to do, recorded for posterity 2023-03-14 12:25:22 -04:00
Joey Hess
c76d44d7e1
comment 2023-03-13 15:40:18 -04:00
Joey Hess
f1b678face
copy --from --to location tracking update
copy: When --from and --to are combined and the content is already present
on the destination remote, update location tracking as necessary.

Sponsored-by: Dartmouth College's DANDI project
2023-03-13 14:51:09 -04:00
Joey Hess
38e9ea8497
one-way escaping of newlines in uuid.log
A repository can have a newline in its description due to being in a
directory containing a newline, or due to git-annex describe being
passed a string with a newline in it for some reason. Putting that
newline in uuid.log breaks its format.

So, escape the newline when it enters uuid.log, to \n

This is a one-way escaping, it is not converted back to a newline
when reading the log. If it were, commands like git-annex info and
whereis would display a multi-line description, which could be confusing
to read.

And, implementing roundtripping would necessarily cause problems if an
old version of git-annex were used to set a description that contained
whatever special character is used to escape the \n. Eg, a \ or if
it used the ! prefix before base64 data that is used in some other logs,
the ! character. Then the description set by the old git-annex would not
roundtrip.

There just doesn't seem to be any benefit of roundtripping newlines through,
so why bother? And, git often displays \n for newline when a filename
contains a newline, so git-annex doing it in this case seems sorta ok
by analogy to git.

(Some other git-annex logs can also have newlines put into them if the
user really wants to break git-annex. For example:
git-annex config annex.largefiles "foo
bar"
The full list is probably config.log, remote.log, group.log,
preferred-content.log, required-content.log,
group-preferred-content.log, schedule.log. Probably there is no
good reason to use a newline in any of these, and the breakage is
probably limited to the bad data the user put in not coming back out.
And users can write any garbage to log files themselves manually in any
case. So, I am not going to address all of those at this time. If a
problem such as this one with the newline in the repository path comes
up, it can be dealt with on a case by case basis.)

Sponsored-by: Dartmouth College's Datalad project
2023-03-13 14:19:32 -04:00
Joey Hess
0784c3e72a
tag datalad
It links to a datalad issue, so I suppose this is right?
2023-03-13 13:51:10 -04:00
Joey Hess
a6bebe3c0f
make hashFile support paths with newlines
git hash-object --stdin-paths is a newline protocol so it cannot
support them. It would help to not use absPath, when the problem
is that the repository itself is in a path with a newline. But,
there's a reason it used absPath, which is that
git hash-object --stdin-paths actually chdirs to the top of the
repository on startup! That is not documented, and I think is a bug
in git.

I considered making the path relative to the top of the repo, but
then what if this is a git bug and gets fixed? git-annex would break
horribly.

So instead, keep the absPath, but when the path contains a newline,
fall back to running git hash-object once per file, which avoids
the problem with newlines and --stdin-paths. It will be slower,
but this is an edge case. (Similar slow code paths are already used
elsewhere when dealing with filenames with newlines and other parts
of git that use line-based protocols.)

Sponsored-by: Dartmouth College's Datalad project
2023-03-13 13:43:40 -04:00
Joey Hess
e7ed9b7cbb
Merge branch 'master' of ssh://git-annex.branchable.com 2023-03-12 13:41:00 -04:00
Joey Hess
2323af3736
importfeed: Display feed title
When importing a bunch of feeds, this makes it more clear what it's working
on. Also, I sometimes want to delete a particular feed from a list of feeds
but don't know which url belongs to the feed, and this solves that.

Control characters are filtered out just to protect against some feed
putting escape character stuff in the feed, which could be a
security problem. (Control characters also get filtered out of
importfeed filenames.)

Sponsored-by: Luke Shumaker on Patreon
2023-03-11 13:52:45 -04:00
Daniel Höxtermann
231761146e Fix typos "=yet" -> "=yes" 2023-03-10 18:07:20 +01:00
Joey Hess
f1672fe171
fixed 2023-03-10 12:13:30 -04:00
Joey Hess
7b700d1f5e
fix oops
amdd64 vs arm64 confusion
2023-03-10 12:10:38 -04:00
Joey Hess
3e7a5f7577
typo 2023-03-10 12:05:17 -04:00