git-annex.git
6 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 9 Mar 2020 18:54:44 +0000 (14:54 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

6 years agoAvoid converting .git file in a worktree or submodule to a symlink when the repositor...
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.

6 years agoAdded a comment
sam.nastase@2b4a9b3e5094dab41e0a4de0b808a2697a3e9860 [Mon, 9 Mar 2020 18:47:06 +0000 (18:47 +0000)]
Added a comment

6 years agoAdded a comment
Ilya_Shlyakhter [Mon, 9 Mar 2020 18:45:46 +0000 (18:45 +0000)]
Added a comment

6 years agoupdate comment
Joey Hess [Mon, 9 Mar 2020 18:31:28 +0000 (14:31 -0400)]
update comment

6 years agoAdded a comment: thanks
kyle [Mon, 9 Mar 2020 18:29:26 +0000 (18:29 +0000)]
Added a comment: thanks

6 years agoremove changelog for problem I've not fixed yet
Joey Hess [Mon, 9 Mar 2020 18:24:40 +0000 (14:24 -0400)]
remove changelog for problem I've not fixed yet

6 years agocomment
Joey Hess [Mon, 9 Mar 2020 18:24:04 +0000 (14:24 -0400)]
comment

6 years agoFix bug that caused unlocked annexed dotfiles to be added to git by the smudge filter...
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.

6 years agov5 too?
Joey Hess [Mon, 9 Mar 2020 18:02:20 +0000 (14:02 -0400)]
v5 too?

6 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 9 Mar 2020 17:54:33 +0000 (13:54 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

6 years agocomment
Joey Hess [Mon, 9 Mar 2020 17:52:07 +0000 (13:52 -0400)]
comment

6 years agobug report
Joey Hess [Mon, 9 Mar 2020 17:45:06 +0000 (13:45 -0400)]
bug report

6 years agoadd a comment about CWD
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!

6 years agoAdded a comment
sam.nastase@2b4a9b3e5094dab41e0a4de0b808a2697a3e9860 [Mon, 9 Mar 2020 17:31:44 +0000 (17:31 +0000)]
Added a comment

6 years agocomment
Joey Hess [Mon, 9 Mar 2020 17:14:18 +0000 (13:14 -0400)]
comment

6 years agoAdded a comment: Problem solved (partially)
scinu [Mon, 9 Mar 2020 17:00:52 +0000 (17:00 +0000)]
Added a comment: Problem solved (partially)

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

6 years agofollowup
Joey Hess [Mon, 9 Mar 2020 16:57:07 +0000 (12:57 -0400)]
followup

6 years agoadd news item for git-annex 7.20200309
Joey Hess [Mon, 9 Mar 2020 16:55:33 +0000 (12:55 -0400)]
add news item for git-annex 7.20200309

6 years agoadded a note about historical builds
yarikoptic [Mon, 9 Mar 2020 16:50:13 +0000 (16:50 +0000)]
added a note about historical builds

6 years agoGETCONFIG name fix
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.)

6 years agoclarify LISTCONFIGS
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.

6 years agocomment
Joey Hess [Mon, 9 Mar 2020 16:33:35 +0000 (12:33 -0400)]
comment

6 years agofix build
Joey Hess [Mon, 9 Mar 2020 16:29:40 +0000 (12:29 -0400)]
fix build

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

6 years ago(no commit message)
thk [Sun, 8 Mar 2020 15:31:32 +0000 (15:31 +0000)]

6 years agoadded metadata tot he bug -- datalad
yarikoptic [Sun, 8 Mar 2020 15:00:14 +0000 (15:00 +0000)]
added metadata tot he bug -- datalad

6 years ago(no commit message)
michael.hanke@c60e12358aa3fc6060531bdead1f530ac4d582ec [Sun, 8 Mar 2020 08:01:00 +0000 (08:01 +0000)]

6 years agoAdded a comment
erewhon [Sat, 7 Mar 2020 23:14:56 +0000 (23:14 +0000)]
Added a comment

6 years agoadded todo: add option to disable fsck upgradable key warnings
Ilya_Shlyakhter [Sat, 7 Mar 2020 21:01:41 +0000 (21:01 +0000)]
added todo: add option to disable fsck upgradable key warnings

6 years ago(no commit message)
thk [Sat, 7 Mar 2020 12:53:37 +0000 (12:53 +0000)]

6 years agoAdded a comment: No clear error message for failing names on NTFS
thk [Sat, 7 Mar 2020 12:50:19 +0000 (12:50 +0000)]
Added a comment: No clear error message for failing names on NTFS

6 years ago(no commit message)
thk [Sat, 7 Mar 2020 12:16:50 +0000 (12:16 +0000)]

6 years ago(no commit message)
thk [Sat, 7 Mar 2020 11:46:33 +0000 (11:46 +0000)]

6 years agoAdded a comment
Ilya_Shlyakhter [Sat, 7 Mar 2020 01:05:30 +0000 (01:05 +0000)]
Added a comment

6 years agoAdded a comment
sam.nastase@2b4a9b3e5094dab41e0a4de0b808a2697a3e9860 [Fri, 6 Mar 2020 23:34:12 +0000 (23:34 +0000)]
Added a comment

6 years agoremoved
erewhon [Fri, 6 Mar 2020 23:01:02 +0000 (23:01 +0000)]
removed

6 years agoAdded a comment: re: Invalid option `--include-dotfiles'
kyle [Fri, 6 Mar 2020 22:56:35 +0000 (22:56 +0000)]
Added a comment: re: Invalid option `--include-dotfiles'

6 years agoAdded a comment
erewhon [Fri, 6 Mar 2020 22:53:52 +0000 (22:53 +0000)]
Added a comment

6 years agoAdded a comment: Invalid option `--include-dotfiles'
sam.nastase@2b4a9b3e5094dab41e0a4de0b808a2697a3e9860 [Fri, 6 Mar 2020 22:17:32 +0000 (22:17 +0000)]
Added a comment: Invalid option `--include-dotfiles'

6 years agoadded bug report: running git annex commands in worktree of a non-git-annex repo...
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

6 years agobehavior of annexed dotfiles in clone
kyle [Fri, 6 Mar 2020 22:05:44 +0000 (22:05 +0000)]
behavior of annexed dotfiles in clone

6 years ago(no commit message)
thk [Fri, 6 Mar 2020 17:58:10 +0000 (17:58 +0000)]

6 years agolink to upstream bug report
Joey Hess [Fri, 6 Mar 2020 17:52:48 +0000 (13:52 -0400)]
link to upstream bug report

6 years agoAdded a comment: Also no clear error for permission problems
thk [Fri, 6 Mar 2020 17:51:20 +0000 (17:51 +0000)]
Added a comment: Also no clear error for permission problems

6 years ago(no commit message)
thk [Fri, 6 Mar 2020 17:38:55 +0000 (17:38 +0000)]

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

6 years agocompleted the createDirectoryIfMissing conversion
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.

6 years agomostly finished with createDirectoryUnder conversion
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.

6 years agorefactor
Joey Hess [Fri, 6 Mar 2020 15:40:20 +0000 (11:40 -0400)]
refactor

6 years agoconvert replaceFile to createDirectoryUnder
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.

6 years agoinitial report on "Too many open files" on OSX
yarikoptic [Thu, 5 Mar 2020 20:26:48 +0000 (20:26 +0000)]
initial report on "Too many open files" on OSX

6 years agoAdded a comment: can use copies=groupname:number
kyle [Thu, 5 Mar 2020 20:26:02 +0000 (20:26 +0000)]
Added a comment: can use copies=groupname:number

6 years agoAdded a comment: re: annexing only large dotfiles
kyle [Thu, 5 Mar 2020 19:56:50 +0000 (19:56 +0000)]
Added a comment: re: annexing only large dotfiles

6 years ago(no commit message)
erewhon [Thu, 5 Mar 2020 19:53:37 +0000 (19:53 +0000)]

6 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 5 Mar 2020 19:50:42 +0000 (15:50 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

6 years agoAdded a comment: annexing only large dotfiles
Ilya_Shlyakhter [Thu, 5 Mar 2020 19:31:37 +0000 (19:31 +0000)]
Added a comment: annexing only large dotfiles

6 years agosome easy createDirectoryUnder conversions
Joey Hess [Thu, 5 Mar 2020 18:56:47 +0000 (14:56 -0400)]
some easy createDirectoryUnder conversions

6 years agoAdded a comment: atomic/transactional upgrades
Ilya_Shlyakhter [Thu, 5 Mar 2020 19:10:16 +0000 (19:10 +0000)]
Added a comment: atomic/transactional upgrades

6 years agoconvert createAnnexDirectory to use createDirectoryUnder
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.

6 years agoimplemented createDirectoryUnder
Joey Hess [Thu, 5 Mar 2020 17:56:39 +0000 (13:56 -0400)]
implemented createDirectoryUnder

6 years agosmall opt to absPath
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.

6 years agoannex.dotfiles override
kyle [Thu, 5 Mar 2020 17:41:11 +0000 (17:41 +0000)]
annex.dotfiles override

6 years agobuglist template
Joey Hess [Thu, 5 Mar 2020 16:34:34 +0000 (12:34 -0400)]
buglist template

6 years agopagespecs are absolute
Joey Hess [Thu, 5 Mar 2020 16:33:48 +0000 (12:33 -0400)]
pagespecs are absolute

6 years agoexclude ones tagged needsthought
Joey Hess [Thu, 5 Mar 2020 16:31:28 +0000 (12:31 -0400)]
exclude ones tagged needsthought

6 years agoconvert roadmap to list todo's that have been tagged confirmed
Joey Hess [Thu, 5 Mar 2020 16:29:19 +0000 (12:29 -0400)]
convert roadmap to list todo's that have been tagged confirmed

6 years agoremove done item
Joey Hess [Thu, 5 Mar 2020 16:26:05 +0000 (12:26 -0400)]
remove done item

6 years agoupdate
Joey Hess [Thu, 5 Mar 2020 15:39:42 +0000 (11:39 -0400)]
update

6 years ago(no commit message)
MartinL [Thu, 5 Mar 2020 06:10:28 +0000 (06:10 +0000)]

6 years agoremove amazon cloud drive, since amazon banned rclone
Joey Hess [Thu, 5 Mar 2020 02:48:42 +0000 (22:48 -0400)]
remove amazon cloud drive, since amazon banned rclone

6 years agolayout
Joey Hess [Thu, 5 Mar 2020 02:45:48 +0000 (22:45 -0400)]
layout

6 years agotwo more services with multiple special remotes
Joey Hess [Thu, 5 Mar 2020 02:42:33 +0000 (22:42 -0400)]
two more services with multiple special remotes

6 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 5 Mar 2020 02:33:17 +0000 (22:33 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

6 years agoimprove special remotes list
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.

6 years ago(no commit message)
titaniumfiles@5227364ee3e2f9207bc36b6ebb281fc7af6d3c16 [Thu, 5 Mar 2020 01:01:30 +0000 (01:01 +0000)]

6 years agoAdded a comment
Ilya_Shlyakhter [Wed, 4 Mar 2020 21:34:42 +0000 (21:34 +0000)]
Added a comment

6 years agocomment
Joey Hess [Wed, 4 Mar 2020 21:12:10 +0000 (17:12 -0400)]
comment

6 years agoadded todo: restore original environment when running external special remotes from...
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?

6 years agoAdded a comment
Ilya_Shlyakhter [Wed, 4 Mar 2020 17:15:58 +0000 (17:15 +0000)]
Added a comment

6 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 4 Mar 2020 17:05:53 +0000 (13:05 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

6 years agoLinux standalone: Use md5sum to shorten paths in .cache/git-annex/locales
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.

6 years agoAdded a comment: locale info caching for standalone git-annex
Ilya_Shlyakhter [Wed, 4 Mar 2020 17:04:43 +0000 (17:04 +0000)]
Added a comment: locale info caching for standalone git-annex

6 years agoresponse
Joey Hess [Wed, 4 Mar 2020 16:57:10 +0000 (12:57 -0400)]
response

6 years agoautomate uploading released tarballs to archive.org
Joey Hess [Wed, 4 Mar 2020 16:35:20 +0000 (12:35 -0400)]
automate uploading released tarballs to archive.org

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

6 years agofix formatting
thk [Wed, 4 Mar 2020 10:14:29 +0000 (10:14 +0000)]
fix formatting

6 years agoAdded a comment: URL for git-annex-standalone for specific version
Ilya_Shlyakhter [Wed, 4 Mar 2020 01:33:30 +0000 (01:33 +0000)]
Added a comment: URL for git-annex-standalone for specific version

6 years agoAdded a comment: re: shorter symlinks
amerlyq+annex@12121d70a602f094228689a0a24d348d478a8af1 [Wed, 4 Mar 2020 00:48:02 +0000 (00:48 +0000)]
Added a comment: re: shorter symlinks

6 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 4 Mar 2020 00:03:42 +0000 (20:03 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

6 years agoAdded a comment: id for locale cache
Ilya_Shlyakhter [Tue, 3 Mar 2020 23:31:55 +0000 (23:31 +0000)]
Added a comment: id for locale cache

6 years agoAdded a comment: git-annex standalone and long filenames in 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

6 years ago(no commit message)
titaniumfiles@5227364ee3e2f9207bc36b6ebb281fc7af6d3c16 [Tue, 3 Mar 2020 22:30:34 +0000 (22:30 +0000)]

6 years ago(no commit message)
titaniumfiles@5227364ee3e2f9207bc36b6ebb281fc7af6d3c16 [Tue, 3 Mar 2020 22:28:38 +0000 (22:28 +0000)]

6 years agoAdded a comment: minimum git version
Ilya_Shlyakhter [Tue, 3 Mar 2020 21:15:07 +0000 (21:15 +0000)]
Added a comment: minimum git version

6 years agoAdded a comment
lhunath@3b4ff15f4600f3276d1776a490b734fca0f5c245 [Tue, 3 Mar 2020 20:33:47 +0000 (20:33 +0000)]
Added a comment

6 years agoAdded a comment: re: shorter symlinks
Ilya_Shlyakhter [Tue, 3 Mar 2020 19:04:03 +0000 (19:04 +0000)]
Added a comment: re: shorter symlinks

6 years agoAdded a comment
yarikoptic [Tue, 3 Mar 2020 17:48:16 +0000 (17:48 +0000)]
Added a comment

6 years ago(no commit message)
thk [Tue, 3 Mar 2020 10:56:48 +0000 (10:56 +0000)]