Commit graph

36673 commits

Author SHA1 Message Date
thk
53c3b1ed5e 2020-03-07 12:16:50 +00:00
thk
5321262958 2020-03-07 11:46:33 +00:00
Ilya_Shlyakhter
639a4a3b71 Added a comment 2020-03-07 01:05:30 +00:00
sam.nastase@2b4a9b3e5094dab41e0a4de0b808a2697a3e9860
8004a41667 Added a comment 2020-03-06 23:34:12 +00:00
erewhon
8f667ad0c6 removed 2020-03-06 23:01:02 +00:00
kyle
69ce4fcd42 Added a comment: re: Invalid option `--include-dotfiles' 2020-03-06 22:56:35 +00:00
erewhon
90ec42b92d Added a comment 2020-03-06 22:53:52 +00:00
sam.nastase@2b4a9b3e5094dab41e0a4de0b808a2697a3e9860
acee2067cf Added a comment: Invalid option `--include-dotfiles' 2020-03-06 22:17:32 +00:00
Ilya_Shlyakhter
82b03249cd added bug report: running git annex commands in worktree of a non-git-annex repo changes the .git 2020-03-06 22:15:51 +00:00
kyle
9fc0e8091d behavior of annexed dotfiles in clone 2020-03-06 22:05:44 +00:00
thk
f10e7be4bb 2020-03-06 17:58:10 +00:00
Joey Hess
e87dc1341e
link to upstream bug report 2020-03-06 13:52:48 -04:00
thk
db9958bfc8 Added a comment: Also no clear error for permission problems 2020-03-06 17:51:20 +00:00
thk
75d382a9f7 2020-03-06 17:38:55 +00:00
Joey Hess
c9ba6b0e20
Merge branch 'master' of ssh://git-annex.branchable.com 2020-03-06 13:16:25 -04:00
Joey Hess
093fde5abd
completed the createDirectoryIfMissing conversion
Remaining calls in the assistant and Annex.Ssh have been audited and are ok.
2020-03-06 12:55:03 -04:00
Joey Hess
7f992ef59c
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.
2020-03-06 11:57:15 -04:00
Joey Hess
2f204b5d37
refactor 2020-03-06 11:43:07 -04:00
Joey Hess
eaa49ab53d
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.
2020-03-06 11:31:01 -04:00
yarikoptic
be2e839870 initial report on "Too many open files" on OSX 2020-03-05 20:26:48 +00:00
kyle
b078bc6f91 Added a comment: can use copies=groupname:number 2020-03-05 20:26:02 +00:00
kyle
dda1e8a2c8 Added a comment: re: annexing only large dotfiles 2020-03-05 19:56:50 +00:00
erewhon
b6b29a62a7 2020-03-05 19:53:37 +00:00
Joey Hess
b6c14a84ab
Merge branch 'master' of ssh://git-annex.branchable.com 2020-03-05 15:50:42 -04:00
Ilya_Shlyakhter
ebd0447dc2 Added a comment: annexing only large dotfiles 2020-03-05 19:31:37 +00:00
Joey Hess
6d58ca94d6
some easy createDirectoryUnder conversions 2020-03-05 15:20:10 -04:00
Ilya_Shlyakhter
ae61ee34c0 Added a comment: atomic/transactional upgrades 2020-03-05 19:10:16 +00:00
Joey Hess
ebbc5004fa
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.
2020-03-05 14:33:04 -04:00
Joey Hess
5b022eea87
implemented createDirectoryUnder 2020-03-05 14:10:34 -04:00
Joey Hess
662e5a5db9
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.
2020-03-05 13:52:30 -04:00
kyle
8f9d480076 annex.dotfiles override 2020-03-05 17:41:11 +00:00
Joey Hess
14dfd297a4
buglist template 2020-03-05 12:34:34 -04:00
Joey Hess
74694ece9b
pagespecs are absolute 2020-03-05 12:33:48 -04:00
Joey Hess
6ed6782c5d
exclude ones tagged needsthought 2020-03-05 12:31:28 -04:00
Joey Hess
f58a87f194
convert roadmap to list todo's that have been tagged confirmed 2020-03-05 12:29:19 -04:00
Joey Hess
a5c5a94bdf
remove done item 2020-03-05 12:26:05 -04:00
Joey Hess
25b80b772f
update 2020-03-05 11:39:42 -04:00
MartinL
daed9cb05c 2020-03-05 06:10:28 +00:00
Joey Hess
8f4e11653d
remove amazon cloud drive, since amazon banned rclone 2020-03-04 22:48:42 -04:00
Joey Hess
baaacc2eb3
layout 2020-03-04 22:45:48 -04:00
Joey Hess
facf488de5
two more services with multiple special remotes 2020-03-04 22:42:33 -04:00
Joey Hess
952c420cae
Merge branch 'master' of ssh://git-annex.branchable.com 2020-03-04 22:33:17 -04:00
Joey Hess
5995eba531
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.
2020-03-04 22:27:56 -04:00
titaniumfiles@5227364ee3e2f9207bc36b6ebb281fc7af6d3c16
4e8fe3d311 2020-03-05 01:01:30 +00:00
Ilya_Shlyakhter
aa91792d41 Added a comment 2020-03-04 21:34:42 +00:00
Joey Hess
97a8ce0191
comment 2020-03-04 17:12:10 -04:00
Ilya_Shlyakhter
8f48ebd8c2 added todo: restore original environment when running external special remotes from standalone git-annex? 2020-03-04 17:39:02 +00:00
Ilya_Shlyakhter
40e1fb9f8a Added a comment 2020-03-04 17:15:58 +00:00
Joey Hess
5b7cf6ab9e
Merge branch 'master' of ssh://git-annex.branchable.com 2020-03-04 13:05:53 -04:00
Joey Hess
88f721549d
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.
2020-03-04 13:04:56 -04:00