https://christian.amsuess.com/chrysn [Tue, 10 Dec 2019 10:27:58 +0000 (10:27 +0000)]
Added a comment: Key character set
Joey Hess [Fri, 6 Dec 2019 19:13:36 +0000 (15:13 -0400)]
update re state of bs branch
Joey Hess [Thu, 5 Dec 2019 19:22:53 +0000 (15:22 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 5 Dec 2019 19:22:43 +0000 (15:22 -0400)]
devblog
Joey Hess [Thu, 5 Dec 2019 16:28:42 +0000 (12:28 -0400)]
update
jkrenzer [Thu, 5 Dec 2019 12:10:48 +0000 (12:10 +0000)]
Added a comment: Great work! Thank you!
Joey Hess [Wed, 4 Dec 2019 18:56:31 +0000 (14:56 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 4 Dec 2019 18:14:35 +0000 (14:14 -0400)]
optimisation
This was already optimised before, but profiling found that delEntry was
around 1.5% of the total runtime of git-annex whereis. It was being
called once per environment variable per file processed.
Fixed by better caching. Since withIndexFile is almost always run with
the same .git/annex/index file, it can cache the modified environment,
rather than re-modifying it each time called.
(cherry picked from commit
6535aea49a402b9ca08fc1070358374e5e0eb618)
Ilya_Shlyakhter [Mon, 2 Dec 2019 16:58:25 +0000 (16:58 +0000)]
Added a comment
Ilya_Shlyakhter [Mon, 2 Dec 2019 16:48:48 +0000 (16:48 +0000)]
Added a comment: dropping contents of old keys after migration
Ilya_Shlyakhter [Mon, 2 Dec 2019 16:02:47 +0000 (16:02 +0000)]
Added a comment
Joey Hess [Mon, 2 Dec 2019 14:53:57 +0000 (10:53 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 2 Dec 2019 14:53:21 +0000 (10:53 -0400)]
remove spam
atrent [Mon, 2 Dec 2019 08:03:01 +0000 (08:03 +0000)]
Added a comment: P.P.S. i dropped all local copies
atrent [Mon, 2 Dec 2019 07:29:06 +0000 (07:29 +0000)]
Added a comment: P.S. they are all SHA256E
atrent [Mon, 2 Dec 2019 07:26:42 +0000 (07:26 +0000)]
Added a comment: can't find unused objects
Added a comment: not able to find git-annex on openSUSE using zypper
atrent [Sat, 30 Nov 2019 22:30:06 +0000 (22:30 +0000)]
Added a comment: migrating...
removed
Ilya_Shlyakhter [Sat, 30 Nov 2019 21:36:38 +0000 (21:36 +0000)]
Added a comment: hardlinking identical files in annex may break invariants
Ilya_Shlyakhter [Sat, 30 Nov 2019 21:11:53 +0000 (21:11 +0000)]
Added a comment
atrent [Sat, 30 Nov 2019 20:37:00 +0000 (20:37 +0000)]
Added a comment: no collisions
Ilya_Shlyakhter [Sat, 30 Nov 2019 17:00:58 +0000 (17:00 +0000)]
added a hyperlink to key_format
Ilya_Shlyakhter [Sat, 30 Nov 2019 16:51:58 +0000 (16:51 +0000)]
Added a comment: same contents with different keys
atrent [Sat, 30 Nov 2019 14:04:17 +0000 (14:04 +0000)]
Added a comment: duplicate objects?
yarikoptic [Fri, 29 Nov 2019 18:09:45 +0000 (18:09 +0000)]
Added a comment
yarikoptic [Fri, 29 Nov 2019 18:06:14 +0000 (18:06 +0000)]
refiled under dandi project - use case is https://gin.g-node.org
yarikoptic [Fri, 29 Nov 2019 17:58:29 +0000 (17:58 +0000)]
Added a comment: reference original bug report
ply [Thu, 28 Nov 2019 11:18:50 +0000 (11:18 +0000)]
Added a comment
ply [Thu, 28 Nov 2019 11:10:51 +0000 (11:10 +0000)]
yarikoptic [Thu, 28 Nov 2019 01:22:53 +0000 (01:22 +0000)]
Added a comment: related: shouldn't git annex try external remotes to download config?
yarikoptic [Thu, 28 Nov 2019 01:01:49 +0000 (01:01 +0000)]
initial report on inability to use remotes with authentication cached by git
Ilya_Shlyakhter [Wed, 27 Nov 2019 18:16:35 +0000 (18:16 +0000)]
git-annex-cat
Ilya_Shlyakhter [Wed, 27 Nov 2019 17:30:12 +0000 (17:30 +0000)]
Added a comment: parallelization
Ilya_Shlyakhter [Wed, 27 Nov 2019 17:23:15 +0000 (17:23 +0000)]
Added a comment: parallelization
Ilya_Shlyakhter [Wed, 27 Nov 2019 15:08:41 +0000 (15:08 +0000)]
Added a comment: representing paths
Ilya_Shlyakhter [Tue, 26 Nov 2019 23:28:35 +0000 (23:28 +0000)]
removed
anarcat [Tue, 26 Nov 2019 21:07:32 +0000 (21:07 +0000)]
Added a comment: amazing!
Joey Hess [Tue, 26 Nov 2019 20:12:53 +0000 (16:12 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 26 Nov 2019 20:12:14 +0000 (16:12 -0400)]
devblog
Joey Hess [Tue, 26 Nov 2019 20:11:55 +0000 (16:11 -0400)]
todo for bs branch
Added a comment: Online Coursework Service
Ilya_Shlyakhter [Mon, 25 Nov 2019 16:45:27 +0000 (16:45 +0000)]
Added a comment: use named pipes?
yarikoptic [Mon, 25 Nov 2019 03:26:23 +0000 (03:26 +0000)]
initial idea on joint "get+checksum"
Ilya_Shlyakhter [Sun, 24 Nov 2019 17:25:32 +0000 (17:25 +0000)]
Added a comment: even git mv -f seems to work correctly
Ilya_Shlyakhter [Sun, 24 Nov 2019 16:36:24 +0000 (16:36 +0000)]
Added a comment: moving unlocked file onto locked file isn't possible
Joey Hess [Sat, 23 Nov 2019 15:07:22 +0000 (11:07 -0400)]
explict export lists
A small amount of dead code removed.
All of Utility/ done now.
This commit was sponsored by Brock Spratlen on Patreon.
Joey Hess [Fri, 22 Nov 2019 23:48:34 +0000 (19:48 -0400)]
typo
Joey Hess [Fri, 22 Nov 2019 23:47:53 +0000 (19:47 -0400)]
todo
Joey Hess [Fri, 22 Nov 2019 23:13:35 +0000 (19:13 -0400)]
updated profiling
Joey Hess [Fri, 22 Nov 2019 23:13:05 +0000 (19:13 -0400)]
minor optimisation
avoid repeated scan of the same bytestring
Joey Hess [Fri, 22 Nov 2019 21:51:40 +0000 (17:51 -0400)]
Merge /home/joey/tmp/git-annex
Joey Hess [Fri, 22 Nov 2019 20:24:04 +0000 (16:24 -0400)]
cache the serialization of a Key
This will speed up the common case where a Key is deserialized from
disk, but is then serialized to build eg, the path to the annex object.
Previously attempted in
4536c93bb2ecf114ab711beac33fa358facd6985
and reverted in
96aba8eff7597898f53bfbab5865ff30a927d355.
The problems mentioned in the latter commit are addressed now:
Read/Show of KeyData is backwards-compatible with Read/Show of Key from before
this change, so Types.Distribution will keep working.
The Eq instance is fixed.
Also, Key has smart constructors, avoiding needing to remember to update
the cached serialization.
Used git-annex benchmark:
find is 7% faster
whereis is 3% faster
get when all files are already present is 5% faster
Generally, the benchmarks are running 0.1 seconds faster per 2000 files,
on a ram disk in my laptop.
Joey Hess [Fri, 22 Nov 2019 21:26:13 +0000 (17:26 -0400)]
improve hints about squelching output
Yaroslav Halchenko [Fri, 22 Nov 2019 14:26:01 +0000 (09:26 -0500)]
(Build-)depend on git >= 2.22 to avoid memory leaked git being bundled or used
Note from Joey:
git-annex still supports git 2.1, but operates in a degraded fashion.
It would be better for backports of the debian package to also
backport a newer git. This dependency is mostly expressing that,
also that any users who might upgrade git-annex should also upgrade
git.
Also worth noting that the i386ancient autobuilder has git 2.1 on it
(best I have been able to manage there), but luckily the epoch is
bumped to 2, so the dependencies will still be satisfied.
Joey Hess [Fri, 22 Nov 2019 16:49:41 +0000 (12:49 -0400)]
squelch tab warnings
Joey Hess [Fri, 22 Nov 2019 16:35:57 +0000 (12:35 -0400)]
missed an export
Joey Hess [Fri, 22 Nov 2019 16:11:04 +0000 (12:11 -0400)]
close as dup
Joey Hess [Fri, 22 Nov 2019 16:08:41 +0000 (12:08 -0400)]
close not viable
Joey Hess [Thu, 21 Nov 2019 21:38:58 +0000 (17:38 -0400)]
simplify the name of the test cases
Joey Hess [Wed, 6 Nov 2019 18:36:49 +0000 (14:36 -0400)]
Windows: Fix handling of changes to time zone.
Used to work but was broken in version 7.
20181031, specifically commit
5ab0f48ffbd69029feb8cd101776c46ec86d6209.
That this was not noticed over at least 1 daylight savings time zone
changes makes me wonder if the TSDelta stuff is still needed.
Perhaps the mtime on Windows no longer changes when the time zone is changed?
(cherry picked from commit
09ee6b0ccb10059d44fd9a89f07646b35b718563)
Joey Hess [Thu, 21 Nov 2019 21:25:20 +0000 (17:25 -0400)]
improve benchmark --databases
* benchmark: Changed --databases to take a parameter specifiying the size
of the database to benchmark.
* benchmark --databases: Display size of the populated database.
* benchmark --databases: Improve the "addAssociatedFile to (new)"
benchmark to really add new values, not overwriting old values.
Joey Hess [Thu, 21 Nov 2019 19:38:06 +0000 (15:38 -0400)]
explict export lists
Eliminated some dead code. In other cases, exported a currently unused
function, since it was a logical part of the API.
Of course this improves the API documentation. It may also sometimes
let ghc optimize code better, since it can know a function is internal
to a module.
364 modules still to go, according to
git grep -E 'module [A-Za-z.]+ where'
Joey Hess [Thu, 21 Nov 2019 18:31:12 +0000 (14:31 -0400)]
avoid running scanUnlockedFiles in bare repo
It's not necessary. And if the bare repo somehow has a pointer
file in it with the same name as a file in HEAD, that file would be
populated, which would be surprising since the file is not really under
git's control.
xwvvvvwx [Thu, 21 Nov 2019 17:32:31 +0000 (17:32 +0000)]
Added a comment
Joey Hess [Thu, 21 Nov 2019 17:31:47 +0000 (13:31 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 21 Nov 2019 17:16:42 +0000 (13:16 -0400)]
Fix bug that made bare repos be treated as non-bare when --git-dir was used.
Eg:
git clone url --bare r
git --git-dir r annex init
This resulted in worktree = Just "." and so several things that check
worktree to determine when the repo is bare ran code paths intended for
non-bare. One such code path[1] ran git checkout with --worktree=. which
actually makes it ignore core.bare config, and so the current directory
got populated with a checkout of the master branch in this example. There
was probably also other breakage.
The fix is a bit complicated because whether the repo is bare is not
known until after Git.Config reads the config, but Git.Config handles
setting the RepoLocations's worktree when core.worktree is set. So have
to assume the worktree is the cwd, let core.worktree override that,
and then if the repo turns out to be bare, it's set back to Nothing.
(And then GIT_WORK_TREE can still override all of that.)
[1] switchHEADBack, which runs even when the clone is not from a bare repo.
removed
Added a comment: git add or git commit does not trigger assistant, but git rm does
Added a comment: git add or git commit does not trigger assistant, but git rm does
Joey Hess [Tue, 19 Nov 2019 18:13:22 +0000 (14:13 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 19 Nov 2019 18:13:01 +0000 (14:13 -0400)]
todo
Ilya_Shlyakhter [Tue, 19 Nov 2019 17:51:08 +0000 (17:51 +0000)]
Added a comment: using hardlinks
Ilya_Shlyakhter [Tue, 19 Nov 2019 17:39:47 +0000 (17:39 +0000)]
Added a comment: import/export
Joey Hess [Tue, 19 Nov 2019 17:26:27 +0000 (13:26 -0400)]
encourage use of import from directory special remote rather than legacy interface
Joey Hess [Tue, 19 Nov 2019 17:20:31 +0000 (13:20 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 19 Nov 2019 17:19:45 +0000 (13:19 -0400)]
comments
Added a comment
Joey Hess [Tue, 19 Nov 2019 17:14:56 +0000 (13:14 -0400)]
comment
Joey Hess [Tue, 19 Nov 2019 17:07:54 +0000 (13:07 -0400)]
comments
Joey Hess [Tue, 19 Nov 2019 16:36:48 +0000 (12:36 -0400)]
Revert malicious removal of index page
This reverts commit
748a228ee7c22f17ebae3387bbd1d3528672fc46.
Joey Hess [Mon, 18 Nov 2019 21:25:40 +0000 (17:25 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Added a comment: Re: using hardlinks
Joey Hess [Mon, 18 Nov 2019 20:27:17 +0000 (16:27 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 18 Nov 2019 20:27:06 +0000 (16:27 -0400)]
devblog
Joey Hess [Mon, 18 Nov 2019 20:13:21 +0000 (16:13 -0400)]
sync, assistant: Pull and push from git-lfs remotes.
Oversight, forgot to add it to gitSyncableRemote
Joey Hess [Mon, 18 Nov 2019 20:09:09 +0000 (16:09 -0400)]
git-lfs: remember urls, and autoenable remotes using known urls
* git-lfs: The url provided to initremote/enableremote will now be
stored in the git-annex branch, allowing enableremote to be used without
an url. initremote --sameas can be used to add additional urls.
* git-lfs: When there's a git remote with an url that's known to be
used for git-lfs, automatically enable the special remote.
Ilya_Shlyakhter [Mon, 18 Nov 2019 19:21:18 +0000 (19:21 +0000)]
Added a comment: using hardlinks
Joey Hess [Mon, 18 Nov 2019 17:57:16 +0000 (13:57 -0400)]
todo
Joey Hess [Mon, 18 Nov 2019 17:12:46 +0000 (13:12 -0400)]
update docs
http basic auth has been supported for some time, these docs predate
that support
VSV [Sun, 17 Nov 2019 06:46:05 +0000 (06:46 +0000)]
removed
Ilya_Shlyakhter [Fri, 15 Nov 2019 18:53:16 +0000 (18:53 +0000)]
added todo "change git-annex-import not to delete original files by default"
Joey Hess [Fri, 15 Nov 2019 16:01:30 +0000 (12:01 -0400)]
stop displaying rsync progress, and use git-annex's own progress display for local-to-local repo transfers
Reasons to do this include:
1. I've gotten pretty used to git-annex's own progress display, which is
used for all transfers over ssh (except to old git-annex-shell),
and for most special remote transfers. It's getting to seem weird to see
the rsync progress display instead.
2. When -J was used, the rsync output could not be shown, and so there was
no progress display. Now there will be.
Progress will also be displayed now when cp CoW is used. But I'd expect a CoW
copy to typically run so fast that the progress display will barely be
noticable.
This commit was sponsored by Peter on Patreon.
Joey Hess [Fri, 15 Nov 2019 02:25:06 +0000 (22:25 -0400)]
fix build after Utility.Url changes
Joey Hess [Fri, 15 Nov 2019 01:59:04 +0000 (21:59 -0400)]
add news item for git-annex 7.
20191114
Joey Hess [Fri, 15 Nov 2019 01:58:23 +0000 (21:58 -0400)]
releasing package git-annex version 7.
20191114
Joey Hess [Thu, 14 Nov 2019 23:20:28 +0000 (19:20 -0400)]
fix GIT_EXEC_PATH to point to bundle/git-core
This makes it be the same as in the linux runshell.
It may be that bundle/ used to have all the necessary binaries in it,
but that seems unlikely. I think that the breakage fixed by my previous
commit masked this other breakage, and anything git execs from git-core
(as opposed to being buitin) has never worked in the OSX dmg.