Joey Hess [Mon, 9 Mar 2020 18:54:44 +0000 (14:54 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 9 Mar 2020 18:45:14 +0000 (14:45 -0400)]
Avoid converting .git file in a worktree or submodule to a symlink when the repository is not a git-annex repository.
This means it will still be a .git file when git-annex init runs. That's
ok, the repo probably contains no annexed objects yet, and even if it does,
git-annex init does not care if symlinks in the worktree don't point to the
objects.
I made init, at the end, run the conversion code. Not really necessary
because the next git-annex command could do it just as well. But, this
avoids commands that don't normally write to the repo needing to write to
it, which might avoid some problem or other, and seems worth avoiding
generally.
Added a comment
Ilya_Shlyakhter [Mon, 9 Mar 2020 18:45:46 +0000 (18:45 +0000)]
Added a comment
Joey Hess [Mon, 9 Mar 2020 18:31:28 +0000 (14:31 -0400)]
update comment
kyle [Mon, 9 Mar 2020 18:29:26 +0000 (18:29 +0000)]
Added a comment: thanks
Joey Hess [Mon, 9 Mar 2020 18:24:40 +0000 (14:24 -0400)]
remove changelog for problem I've not fixed yet
Joey Hess [Mon, 9 Mar 2020 18:24:04 +0000 (14:24 -0400)]
comment
Joey Hess [Mon, 9 Mar 2020 18:20:02 +0000 (14:20 -0400)]
Fix bug that caused unlocked annexed dotfiles to be added to git by the smudge filter when annex.dotfiles was not set.
Joey Hess [Mon, 9 Mar 2020 18:02:20 +0000 (14:02 -0400)]
v5 too?
Joey Hess [Mon, 9 Mar 2020 17:54:33 +0000 (13:54 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 9 Mar 2020 17:52:07 +0000 (13:52 -0400)]
comment
Joey Hess [Mon, 9 Mar 2020 17:45:06 +0000 (13:45 -0400)]
bug report
Joey Hess [Mon, 9 Mar 2020 17:31:51 +0000 (13:31 -0400)]
add a comment about CWD
While git ls-files can actually be used on a repo that is not in the
cwd, it works inconsistently. For example, this fails:
git --git-dir=../foo/.git --work-tree=../foo ls-files ../foo
But change some of the paths to absolute and it will succeed. That seems
like a bug in git.
OTOH, this succeeds:
git --git-dir=../foo/.git --work-tree=../foo ls-files
But, that lists paths relative to the top of the --work-tree,
rather than the usual listing them relative to the cwd. Because the cwd
is not in the repo. And so anything parsing the ls-files output of that
is likely to operate on files in the wrong location. Indeed, there is
code in Upgrade/ that has this problem!
Added a comment
Joey Hess [Mon, 9 Mar 2020 17:14:18 +0000 (13:14 -0400)]
comment
scinu [Mon, 9 Mar 2020 17:00:52 +0000 (17:00 +0000)]
Added a comment: Problem solved (partially)
Joey Hess [Mon, 9 Mar 2020 16:58:59 +0000 (12:58 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 9 Mar 2020 16:57:07 +0000 (12:57 -0400)]
followup
Joey Hess [Mon, 9 Mar 2020 16:55:33 +0000 (12:55 -0400)]
add news item for git-annex 7.
20200309
yarikoptic [Mon, 9 Mar 2020 16:50:13 +0000 (16:50 +0000)]
added a note about historical builds
Joey Hess [Mon, 9 Mar 2020 16:38:04 +0000 (12:38 -0400)]
GETCONFIG name fix
Fix regression that prevented external special remotes from using GETCONFIG
to query values like "name". (Introduced in version 7.
20200202.7.)
Joey Hess [Mon, 9 Mar 2020 16:34:13 +0000 (12:34 -0400)]
clarify LISTCONFIGS
Apparently some externals use GETCONFIG name, and the documentation as
written can be read to allow it, although IIRC it was not really my
intent to. If someone does do this, they should not include it in
LISTCONFIGS, since git-annex already tracks its own config settings.
Joey Hess [Mon, 9 Mar 2020 16:33:35 +0000 (12:33 -0400)]
comment
Joey Hess [Mon, 9 Mar 2020 16:29:40 +0000 (12:29 -0400)]
fix build
Joey Hess [Mon, 9 Mar 2020 16:07:03 +0000 (12:07 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
thk [Sun, 8 Mar 2020 15:31:32 +0000 (15:31 +0000)]
yarikoptic [Sun, 8 Mar 2020 15:00:14 +0000 (15:00 +0000)]
added metadata tot he bug -- datalad
erewhon [Sat, 7 Mar 2020 23:14:56 +0000 (23:14 +0000)]
Added a comment
Ilya_Shlyakhter [Sat, 7 Mar 2020 21:01:41 +0000 (21:01 +0000)]
added todo: add option to disable fsck upgradable key warnings
thk [Sat, 7 Mar 2020 12:53:37 +0000 (12:53 +0000)]
thk [Sat, 7 Mar 2020 12:50:19 +0000 (12:50 +0000)]
Added a comment: No clear error message for failing names on NTFS
thk [Sat, 7 Mar 2020 12:16:50 +0000 (12:16 +0000)]
thk [Sat, 7 Mar 2020 11:46:33 +0000 (11:46 +0000)]
Ilya_Shlyakhter [Sat, 7 Mar 2020 01:05:30 +0000 (01:05 +0000)]
Added a comment
Added a comment
erewhon [Fri, 6 Mar 2020 23:01:02 +0000 (23:01 +0000)]
removed
kyle [Fri, 6 Mar 2020 22:56:35 +0000 (22:56 +0000)]
Added a comment: re: Invalid option `--include-dotfiles'
erewhon [Fri, 6 Mar 2020 22:53:52 +0000 (22:53 +0000)]
Added a comment
Added a comment: Invalid option `--include-dotfiles'
Ilya_Shlyakhter [Fri, 6 Mar 2020 22:15:51 +0000 (22:15 +0000)]
added bug report: running git annex commands in worktree of a non-git-annex repo changes the .git
kyle [Fri, 6 Mar 2020 22:05:44 +0000 (22:05 +0000)]
behavior of annexed dotfiles in clone
thk [Fri, 6 Mar 2020 17:58:10 +0000 (17:58 +0000)]
Joey Hess [Fri, 6 Mar 2020 17:52:48 +0000 (13:52 -0400)]
link to upstream bug report
thk [Fri, 6 Mar 2020 17:51:20 +0000 (17:51 +0000)]
Added a comment: Also no clear error for permission problems
thk [Fri, 6 Mar 2020 17:38:55 +0000 (17:38 +0000)]
Joey Hess [Fri, 6 Mar 2020 17:16:25 +0000 (13:16 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Fri, 6 Mar 2020 16:52:20 +0000 (12:52 -0400)]
completed the createDirectoryIfMissing conversion
Remaining calls in the assistant and Annex.Ssh have been audited and are ok.
Joey Hess [Fri, 6 Mar 2020 15:57:15 +0000 (11:57 -0400)]
mostly finished with createDirectoryUnder conversion
Remaining things needing converted are in the assistant, and Annex.Ssh.
Every other remaining call to createDirectoryIfMissing True has been
audited and is not relevant. The ones in Build/ of course don't get
included in the program. Others included eg, Remote.Tahoe and
Config.Files which both write to dotfiles under the home directory.
Joey Hess [Fri, 6 Mar 2020 15:40:20 +0000 (11:40 -0400)]
refactor
Joey Hess [Fri, 6 Mar 2020 15:31:01 +0000 (11:31 -0400)]
convert replaceFile to createDirectoryUnder
Since it was used on both worktree and .git/annex files, split into
multiple functions.
In passing, this also improves permissions of created directories in
.git/annex, using createAnnexDirectory on those.
yarikoptic [Thu, 5 Mar 2020 20:26:48 +0000 (20:26 +0000)]
initial report on "Too many open files" on OSX
kyle [Thu, 5 Mar 2020 20:26:02 +0000 (20:26 +0000)]
Added a comment: can use copies=groupname:number
kyle [Thu, 5 Mar 2020 19:56:50 +0000 (19:56 +0000)]
Added a comment: re: annexing only large dotfiles
erewhon [Thu, 5 Mar 2020 19:53:37 +0000 (19:53 +0000)]
Joey Hess [Thu, 5 Mar 2020 19:50:42 +0000 (15:50 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Ilya_Shlyakhter [Thu, 5 Mar 2020 19:31:37 +0000 (19:31 +0000)]
Added a comment: annexing only large dotfiles
Joey Hess [Thu, 5 Mar 2020 18:56:47 +0000 (14:56 -0400)]
some easy createDirectoryUnder conversions
Ilya_Shlyakhter [Thu, 5 Mar 2020 19:10:16 +0000 (19:10 +0000)]
Added a comment: atomic/transactional upgrades
Joey Hess [Thu, 5 Mar 2020 18:27:45 +0000 (14:27 -0400)]
convert createAnnexDirectory to use createDirectoryUnder
It will create foo/.git/annex/, but not foo/.git/ and not foo/.
This will avoid it creating an empty path to a repo when a drive is
yanked out and the mount point goes away, for example.
Joey Hess [Thu, 5 Mar 2020 17:56:39 +0000 (13:56 -0400)]
implemented createDirectoryUnder
Joey Hess [Thu, 5 Mar 2020 17:52:30 +0000 (13:52 -0400)]
small opt to absPath
Noticed that it gets the CWD unncessarily when the path is absolute.
I have not benchmarked this, but I guess that the small overhead of
isAbsolute is so tiny compared to the system call that it's worth
it even if most of the time relative paths are passed to absPath.
kyle [Thu, 5 Mar 2020 17:41:11 +0000 (17:41 +0000)]
annex.dotfiles override
Joey Hess [Thu, 5 Mar 2020 16:34:34 +0000 (12:34 -0400)]
buglist template
Joey Hess [Thu, 5 Mar 2020 16:33:48 +0000 (12:33 -0400)]
pagespecs are absolute
Joey Hess [Thu, 5 Mar 2020 16:31:28 +0000 (12:31 -0400)]
exclude ones tagged needsthought
Joey Hess [Thu, 5 Mar 2020 16:29:19 +0000 (12:29 -0400)]
convert roadmap to list todo's that have been tagged confirmed
Joey Hess [Thu, 5 Mar 2020 16:26:05 +0000 (12:26 -0400)]
remove done item
Joey Hess [Thu, 5 Mar 2020 15:39:42 +0000 (11:39 -0400)]
update
MartinL [Thu, 5 Mar 2020 06:10:28 +0000 (06:10 +0000)]
Joey Hess [Thu, 5 Mar 2020 02:48:42 +0000 (22:48 -0400)]
remove amazon cloud drive, since amazon banned rclone
Joey Hess [Thu, 5 Mar 2020 02:45:48 +0000 (22:45 -0400)]
layout
Joey Hess [Thu, 5 Mar 2020 02:42:33 +0000 (22:42 -0400)]
two more services with multiple special remotes
Joey Hess [Thu, 5 Mar 2020 02:33:17 +0000 (22:33 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 5 Mar 2020 02:27:56 +0000 (22:27 -0400)]
improve special remotes list
In several cases, there's an old, maybe unmaintained special remote,
and rclone also supports the service. I don't know which is better,
so I added tips pages for these, listing both possibilies, so users can
fill in the details.
Added some things listed in special_remotes/rclone that were not
in the cloud provider list, so users will see it supports those.
But, omitted S3 and webdav, since it's probably better for users to use
what's built into git-annex than going via rclone.
The rclone list is out of date apparently, as rclone.org has more,
so I added a note at the bottom for users to check.
This commit was sponsored by Ethan Aubin.
Ilya_Shlyakhter [Wed, 4 Mar 2020 21:34:42 +0000 (21:34 +0000)]
Added a comment
Joey Hess [Wed, 4 Mar 2020 21:12:10 +0000 (17:12 -0400)]
comment
Ilya_Shlyakhter [Wed, 4 Mar 2020 17:39:02 +0000 (17:39 +0000)]
added todo: restore original environment when running external special remotes from standalone git-annex?
Ilya_Shlyakhter [Wed, 4 Mar 2020 17:15:58 +0000 (17:15 +0000)]
Added a comment
Joey Hess [Wed, 4 Mar 2020 17:05:53 +0000 (13:05 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 4 Mar 2020 17:04:56 +0000 (13:04 -0400)]
Linux standalone: Use md5sum to shorten paths in .cache/git-annex/locales
md5sum is part of busybox, so is probably available unless it were compiled
out. If md5sum (or cut for that matter) is not available, it will
still use the whole path to $base, otherwise hash it.
Of course it's possible for md5sum to be available sometimes and not others
on the same system; in such an event the locales would be built twice for
the same bundle. The cleanup code will delete both sets once that
version of the bundle is upgraded.
Ilya_Shlyakhter [Wed, 4 Mar 2020 17:04:43 +0000 (17:04 +0000)]
Added a comment: locale info caching for standalone git-annex
Joey Hess [Wed, 4 Mar 2020 16:57:10 +0000 (12:57 -0400)]
response
Joey Hess [Wed, 4 Mar 2020 16:35:20 +0000 (12:35 -0400)]
automate uploading released tarballs to archive.org
Joey Hess [Wed, 4 Mar 2020 16:24:27 +0000 (12:24 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
thk [Wed, 4 Mar 2020 10:14:29 +0000 (10:14 +0000)]
fix formatting
Ilya_Shlyakhter [Wed, 4 Mar 2020 01:33:30 +0000 (01:33 +0000)]
Added a comment: URL for git-annex-standalone for specific version
Added a comment: re: shorter symlinks
Joey Hess [Wed, 4 Mar 2020 00:03:42 +0000 (20:03 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Ilya_Shlyakhter [Tue, 3 Mar 2020 23:31:55 +0000 (23:31 +0000)]
Added a comment: id for locale cache
Ilya_Shlyakhter [Tue, 3 Mar 2020 22:36:42 +0000 (22:36 +0000)]
Added a comment: git-annex standalone and long filenames in locale cache
Ilya_Shlyakhter [Tue, 3 Mar 2020 21:15:07 +0000 (21:15 +0000)]
Added a comment: minimum git version
Added a comment
Ilya_Shlyakhter [Tue, 3 Mar 2020 19:04:03 +0000 (19:04 +0000)]
Added a comment: re: shorter symlinks
yarikoptic [Tue, 3 Mar 2020 17:48:16 +0000 (17:48 +0000)]
Added a comment
thk [Tue, 3 Mar 2020 10:56:48 +0000 (10:56 +0000)]