]> dgit.raspbian.org Git - git-annex.git/log
git-annex.git
6 years agouse fromRepo
Joey Hess [Tue, 12 Nov 2019 14:32:14 +0000 (10:32 -0400)]
use fromRepo

6 years agoremove some unncessary uses of warningIO
Joey Hess [Tue, 12 Nov 2019 14:07:27 +0000 (10:07 -0400)]
remove some unncessary uses of warningIO

warningIO is not concurrent output safe, and it doesn't go to
--json-error-messages

There are a few more that would be too hard to remove, and there are also
several dozen direct prints to stderr still.

6 years agorefactor
Joey Hess [Mon, 11 Nov 2019 22:20:35 +0000 (18:20 -0400)]
refactor

Better to not have a single function module, and better to have a more
specific type than Bool.

This commit was sponsored by Jack Hill on Patreon

6 years agoAdded annex.allowsign option.
Joey Hess [Mon, 11 Nov 2019 20:15:05 +0000 (16:15 -0400)]
Added annex.allowsign option.

This commit was sponsored by Ilya Shlyakhter on Patreon.

6 years agomention special remotes
Joey Hess [Mon, 11 Nov 2019 17:15:01 +0000 (13:15 -0400)]
mention special remotes

6 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 11 Nov 2019 16:53:00 +0000 (12:53 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

6 years agosome improvements to docs
Joey Hess [Mon, 11 Nov 2019 16:52:45 +0000 (12:52 -0400)]
some improvements to docs

6 years agotypo
Joey Hess [Mon, 11 Nov 2019 16:39:51 +0000 (12:39 -0400)]
typo

6 years agofix language
Joey Hess [Mon, 11 Nov 2019 16:36:57 +0000 (12:36 -0400)]
fix language

6 years agotypo
Joey Hess [Mon, 11 Nov 2019 16:36:05 +0000 (12:36 -0400)]
typo

6 years agoadded todo about documenting sqlite database schemas
Ilya_Shlyakhter [Sun, 10 Nov 2019 23:27:57 +0000 (23:27 +0000)]
added todo about documenting sqlite database schemas

6 years agoAdded a comment: Re: Symlinks for not-present unlocked files in v8
Ilya_Shlyakhter [Sun, 10 Nov 2019 23:03:43 +0000 (23:03 +0000)]
Added a comment: Re: Symlinks for not-present unlocked files in v8

6 years agoAdded a comment: Symlinks for not-present unlocked files in v8?
gb@4a49bb1afcf3d183bba8f07297b0395808768c6c [Sun, 10 Nov 2019 14:51:59 +0000 (14:51 +0000)]
Added a comment: Symlinks for not-present unlocked files in v8?

6 years agoAdded a comment: limiting clean/smudge filter to unlocked files
Ilya_Shlyakhter [Fri, 8 Nov 2019 19:48:11 +0000 (19:48 +0000)]
Added a comment: limiting clean/smudge filter to unlocked files

6 years agoAdded a comment: RFC: how would it work for regular git remote + special remote
yarikoptic [Fri, 8 Nov 2019 19:19:19 +0000 (19:19 +0000)]
Added a comment: RFC: how would it work for regular git remote + special remote

6 years agoAdded a comment: A warning in the docs about earlier v7 revisions would be nice
http://templeofcrom.duckdns.org/ [Fri, 8 Nov 2019 04:59:43 +0000 (04:59 +0000)]
Added a comment: A warning in the docs about earlier v7 revisions would be nice

6 years agoremoved
pigmonkey [Thu, 7 Nov 2019 18:39:43 +0000 (18:39 +0000)]
removed

6 years agoAdded a comment: Consider deprecation warnings in the web app
pigmonkey [Thu, 7 Nov 2019 18:39:03 +0000 (18:39 +0000)]
Added a comment: Consider deprecation warnings in the web app

6 years agoAdded a comment: Consider deprecation warnings in the web app
pigmonkey [Thu, 7 Nov 2019 18:38:29 +0000 (18:38 +0000)]
Added a comment: Consider deprecation warnings in the web app

6 years agodevblog
Joey Hess [Thu, 7 Nov 2019 17:46:27 +0000 (13:46 -0400)]
devblog

6 years agoupdate status of sqlite branch
Joey Hess [Thu, 7 Nov 2019 17:26:05 +0000 (13:26 -0400)]
update status of sqlite branch

6 years agoremove UNRELEASED marker
Joey Hess [Thu, 7 Nov 2019 17:20:28 +0000 (13:20 -0400)]
remove UNRELEASED marker

6 years agoadd news item for git-annex 7.20191106
Joey Hess [Wed, 6 Nov 2019 22:37:42 +0000 (18:37 -0400)]
add news item for git-annex 7.20191106

6 years agoprep release
Joey Hess [Wed, 6 Nov 2019 16:21:02 +0000 (12:21 -0400)]
prep release

6 years agoAdded a comment: Thanks!
nivek-retsof@97a405d1563af7581f6c8d1f7bae67b0ce896721 [Tue, 5 Nov 2019 22:18:49 +0000 (22:18 +0000)]
Added a comment: Thanks!

6 years agoupdate
Joey Hess [Tue, 5 Nov 2019 16:57:46 +0000 (12:57 -0400)]
update

6 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 5 Nov 2019 16:51:50 +0000 (12:51 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

6 years agoupdate to document current state of sqlite branch
Joey Hess [Tue, 5 Nov 2019 16:50:53 +0000 (12:50 -0400)]
update to document current state of sqlite branch

6 years agoinit: fix data loss bug
Joey Hess [Tue, 5 Nov 2019 16:41:15 +0000 (12:41 -0400)]
init: fix data loss bug

Fix bug that lost modifications to unlocked files when init is re-ran in an
already initialized repo.

In retrospect needing scanUnlockedFiles False in the direct mode upgrade
path was a good hint that it was unsafe when used with True.

However, this bug did not affect upgrade from v5. In such an upgrade, an
unlocked file that is modified is left as-is. The only place
scanUnlockedFiles True did overwrite modified unlocked files is during an
git-annex init of a repo that was already initialized by git-annex.

(I also tried a scenario where the repo had not been initialized by
git-annex yet, but was cloned from a v7 repo with an unlocked file, and the
pointer file replaced with some other content, and the data loss did not
occur in that situation.)

Since the fixed scanUnlockedFiles avoids overwriting non-pointer files,
it should be safe to run in any situation, so there's no need any longer
for the parameter.

6 years agofix typo
Joey Hess [Mon, 4 Nov 2019 18:30:27 +0000 (14:30 -0400)]
fix typo

6 years agoadded <details> to fold done/fixed things
yarikoptic [Mon, 4 Nov 2019 17:56:46 +0000 (17:56 +0000)]
added <details> to fold done/fixed things

6 years agoAdded a comment
Ilya_Shlyakhter [Mon, 4 Nov 2019 16:40:53 +0000 (16:40 +0000)]
Added a comment

6 years agoAdded a comment: comment 5
irieger [Mon, 4 Nov 2019 08:30:08 +0000 (08:30 +0000)]
Added a comment: comment 5

6 years agoAdded a comment: Ssh config
hobbes@b2cacef69071743c3a831e60511062f7e014e52f [Sun, 3 Nov 2019 23:49:05 +0000 (23:49 +0000)]
Added a comment: Ssh config

6 years agoadded todo re: git-annex-sync handling of linked worktrees
Ilya_Shlyakhter [Sun, 3 Nov 2019 23:06:39 +0000 (23:06 +0000)]
added todo re: git-annex-sync handling of linked worktrees

6 years agoAdded a comment: the issue persists
yarikoptic [Fri, 1 Nov 2019 18:12:27 +0000 (18:12 +0000)]
Added a comment: the issue persists

6 years agoAdded a comment: Yggdrasill
plasmastrike@66c1cae4abae92d03faf344111c446a1908981ff [Fri, 1 Nov 2019 13:34:36 +0000 (13:34 +0000)]
Added a comment: Yggdrasill

6 years ago(no commit message)
jonjitsu [Fri, 1 Nov 2019 11:55:22 +0000 (11:55 +0000)]

6 years ago(no commit message)
jonjitsu [Fri, 1 Nov 2019 11:54:28 +0000 (11:54 +0000)]

6 years agoAdded a comment: annexing previously non-annexed files, and compatibility with v5
Ilya_Shlyakhter [Thu, 31 Oct 2019 16:19:40 +0000 (16:19 +0000)]
Added a comment: annexing previously non-annexed files, and compatibility with v5

6 years agoAdded a comment: not annexing files already stored in git
Ilya_Shlyakhter [Thu, 31 Oct 2019 16:03:42 +0000 (16:03 +0000)]
Added a comment: not annexing files already stored in git

6 years agomore notes on communicating breaking changes
Ilya_Shlyakhter [Thu, 31 Oct 2019 15:52:10 +0000 (15:52 +0000)]
more notes on communicating breaking changes

6 years agoAdded a comment: plz don't annex already committed files
bremner [Thu, 31 Oct 2019 13:50:10 +0000 (13:50 +0000)]
Added a comment: plz don't annex already committed files

6 years agoadded meta tags
yarikoptic [Thu, 31 Oct 2019 12:55:54 +0000 (12:55 +0000)]
added meta tags

6 years agoinitial report on an error message from addurl
yarikoptic [Thu, 31 Oct 2019 12:55:03 +0000 (12:55 +0000)]
initial report on an error message from addurl

6 years agoAdded a comment
ghen1 [Wed, 30 Oct 2019 22:51:27 +0000 (22:51 +0000)]
Added a comment

6 years agoAdded a comment
Dwk [Tue, 29 Oct 2019 21:04:42 +0000 (21:04 +0000)]
Added a comment

6 years agobenchmark: Add --databases to benchmark sqlite databases
Joey Hess [Tue, 29 Oct 2019 19:16:15 +0000 (15:16 -0400)]
benchmark: Add --databases to benchmark sqlite databases

Rescued from commit 11d6e2e260d70ba99e35464c19c2b2772ce9efaa which removed
db benchmarks in favor of benchmarking arbitrary git-annex commands. Which
is nice and general, but microbenchmarks are useful too.

6 years agoAdded a comment
strmd [Tue, 29 Oct 2019 20:01:01 +0000 (20:01 +0000)]
Added a comment

6 years agoAdded a comment: ACLs keep fighting back
yarikoptic [Tue, 29 Oct 2019 18:03:57 +0000 (18:03 +0000)]
Added a comment: ACLs keep fighting back

6 years agoremoved
Simon [Tue, 29 Oct 2019 15:54:51 +0000 (15:54 +0000)]
removed

6 years agoAdded a comment: What is a recent enough version?
Simon [Tue, 29 Oct 2019 15:51:55 +0000 (15:51 +0000)]
Added a comment: What is a recent enough version?

6 years agoAdded a comment: re: setkey
Ilya_Shlyakhter [Mon, 28 Oct 2019 22:12:51 +0000 (22:12 +0000)]
Added a comment: re: setkey

6 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 28 Oct 2019 16:24:29 +0000 (12:24 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

6 years agodevblog
Joey Hess [Mon, 28 Oct 2019 16:24:13 +0000 (12:24 -0400)]
devblog

6 years agoAdded a comment: Maybe this is the problem...
Simon [Mon, 28 Oct 2019 16:13:18 +0000 (16:13 +0000)]
Added a comment: Maybe this is the problem...

6 years agoAdded a comment: Should there have been a combine step?
Simon [Mon, 28 Oct 2019 16:06:22 +0000 (16:06 +0000)]
Added a comment: Should there have been a combine step?

6 years agoAdded a comment: Can you give more details?
Simon [Mon, 28 Oct 2019 16:04:52 +0000 (16:04 +0000)]
Added a comment: Can you give more details?

6 years agoAdded a comment: Oh yeah, use verbose flag too.
nordmagnus999 [Mon, 28 Oct 2019 15:50:42 +0000 (15:50 +0000)]
Added a comment: Oh yeah, use verbose flag too.

6 years agoAdded a comment: A possible solution
nordmagnus999 [Mon, 28 Oct 2019 15:49:12 +0000 (15:49 +0000)]
Added a comment: A possible solution

6 years ago(no commit message)
Simon [Mon, 28 Oct 2019 15:37:04 +0000 (15:37 +0000)]

6 years ago(no commit message)
nordmagnus999 [Sat, 26 Oct 2019 09:58:54 +0000 (09:58 +0000)]

6 years agoAdded a comment: Thank you
anthony@ad39673d230d75cbfd19d2757d754030049c7673 [Fri, 25 Oct 2019 20:29:46 +0000 (20:29 +0000)]
Added a comment: Thank you

6 years ago(no commit message)
nordmagnus999 [Fri, 25 Oct 2019 19:54:13 +0000 (19:54 +0000)]

6 years ago(no commit message)
nordmagnus999 [Fri, 25 Oct 2019 19:37:42 +0000 (19:37 +0000)]

6 years agoadd news item for git-annex 7.20191024
Joey Hess [Fri, 25 Oct 2019 17:08:24 +0000 (13:08 -0400)]
add news item for git-annex 7.20191024

6 years agoreleasing package git-annex version 7.20191024
Joey Hess [Fri, 25 Oct 2019 17:07:58 +0000 (13:07 -0400)]
releasing package git-annex version 7.20191024

6 years agoAdded a comment
https://tribut.de/ [Fri, 25 Oct 2019 12:41:55 +0000 (12:41 +0000)]
Added a comment

6 years agoAdded a comment: Thank you
https://id.andreparames.com/ [Thu, 24 Oct 2019 23:56:42 +0000 (23:56 +0000)]
Added a comment: Thank you

6 years agoadded todo "warn of breaking changes same way git does"
Ilya_Shlyakhter [Thu, 24 Oct 2019 22:05:46 +0000 (22:05 +0000)]
added todo "warn of breaking changes same way git does"

6 years agoAdded a comment: Triggering which stage and when?
giuly.ippoliti@c1e2f0d5e40b128900f94f3d107d3719f87c3ff7 [Thu, 24 Oct 2019 20:30:11 +0000 (20:30 +0000)]
Added a comment: Triggering which stage and when?

6 years agoprep release
Joey Hess [Thu, 24 Oct 2019 18:40:36 +0000 (14:40 -0400)]
prep release

6 years agomake git add only annex when configured by annex.largefiles
Joey Hess [Thu, 24 Oct 2019 18:10:48 +0000 (14:10 -0400)]
make git add only annex when configured by annex.largefiles

6 years agodocumentation for making git add only annex when configured by annex.largefiles
Joey Hess [Thu, 24 Oct 2019 17:50:44 +0000 (13:50 -0400)]
documentation for making git add only annex when configured by annex.largefiles

Code change should be trvial, but not yet implemented. This
significantly complicated the task of documenting how git-annex works.

I'm not sure how useful the annex.gitaddtoannex confguration is after
this change; seems that if a user has an annex.largefiles they will want
it applied consistently. But the last thing I want to hear is more
complaining from users about git add doing something they don't want it
to.

There's a pretty high risk users who got used to the git add behavior
and don't have annex.largefiles configured will miss the NEWS and
complain bitterly about their suddenly bloated repositories. Oh well.

Removed outdated comments about the old behavior to avoid confusion.
I don't know if I've found all the places that griping spread to.

6 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 24 Oct 2019 15:57:43 +0000 (11:57 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

6 years agofix sql syntax
Joey Hess [Thu, 24 Oct 2019 15:57:17 +0000 (11:57 -0400)]
fix sql syntax

6 years agodisplay sqlite error message when it crashes
Joey Hess [Thu, 24 Oct 2019 15:50:55 +0000 (11:50 -0400)]
display sqlite error message when it crashes

6 years agoavoid warning over name
Joey Hess [Thu, 24 Oct 2019 15:46:40 +0000 (11:46 -0400)]
avoid warning over name

6 years agoAdded a comment: Friendly bump to keep on the radar
jason.dixon.email@aa0e536a2ec2877d6f666108dbbc6e39bbe87ac0 [Thu, 24 Oct 2019 09:26:23 +0000 (09:26 +0000)]
Added a comment: Friendly bump to keep on the radar

6 years agoAdded a comment
ghen1 [Wed, 23 Oct 2019 21:03:11 +0000 (21:03 +0000)]
Added a comment

6 years agoAdded a comment: right! forgot about log -S
anarcat [Wed, 23 Oct 2019 20:16:26 +0000 (20:16 +0000)]
Added a comment: right! forgot about log -S

6 years agoupdate from comments
anarcat [Wed, 23 Oct 2019 20:15:40 +0000 (20:15 +0000)]
update from comments

6 years agoclarify
Joey Hess [Wed, 23 Oct 2019 19:43:31 +0000 (15:43 -0400)]
clarify

6 years agodevblog
Joey Hess [Wed, 23 Oct 2019 19:33:30 +0000 (15:33 -0400)]
devblog

6 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 23 Oct 2019 19:30:55 +0000 (15:30 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

6 years agoannex.gitaddtoannex configuration
Joey Hess [Wed, 23 Oct 2019 19:20:00 +0000 (15:20 -0400)]
annex.gitaddtoannex configuration

Added annex.gitaddtoannex configuration. Setting it to false prevents
git add from usually adding files to the annex.
(Unless the file was annexed before, or a renamed annexed file is detected.)

Currently left at true; some users are encouraging it be set to false.

6 years agoshouldAnnex: check isInodeKnown
Joey Hess [Wed, 23 Oct 2019 18:37:51 +0000 (14:37 -0400)]
shouldAnnex: check isInodeKnown

Renamed unlocked files are now detected, and will always be
annexed, unless annex.largefiles disallows it.

This allows for git add's behavior to later be changed to otherwise
not annex files (whether by default or as a config option), without
worrying about the rename case.

This is not a major behavior change; annexing is still the default. But
there is one case where the behavior is changed, I think for the better:

touch f
git -c annex.largefiles=nothing add f
git add bigfile
git commit -m ...
mv bigfile f
git add f

Before, git-annex would see that f was previously not annexed,
and so the renamed bigfile content gets added to git. Now, it notices
that the inode is the one that bigfile used, and so it annexes it.

This potentially slows down git add a lot in some repositories because
of the poor performance of isInodeKnown when there are a lot of unlocked
files. Configuring annex.largefiles avoids the speed hit.

6 years agohorrible impementation of isInodeKnown
Joey Hess [Wed, 23 Oct 2019 18:06:11 +0000 (14:06 -0400)]
horrible impementation of isInodeKnown

The only good thing about it is it does not require a major version bump
to improve the database. That will need to happen at some point though.

Potentially very very slow in a large repository.

Ugly use of raw sql.

6 years agoAdded a comment: configuring git add behavior
Ilya_Shlyakhter [Wed, 23 Oct 2019 17:57:03 +0000 (17:57 +0000)]
Added a comment: configuring git add behavior

6 years agoAdded a comment: preventing `git add` from annexing new files
Ilya_Shlyakhter [Wed, 23 Oct 2019 17:05:42 +0000 (17:05 +0000)]
Added a comment: preventing `git add` from annexing new files

6 years agocomment typo
Joey Hess [Wed, 23 Oct 2019 16:32:46 +0000 (12:32 -0400)]
comment typo

6 years agoAdded a comment: searching by inode
Ilya_Shlyakhter [Wed, 23 Oct 2019 16:32:37 +0000 (16:32 +0000)]
Added a comment: searching by inode

6 years agocomment
Joey Hess [Wed, 23 Oct 2019 16:26:55 +0000 (12:26 -0400)]
comment

6 years agorename this so it does not start with a dash
Joey Hess [Wed, 23 Oct 2019 16:15:19 +0000 (12:15 -0400)]
rename this so it does not start with a dash

6 years agoremove unused function
Joey Hess [Wed, 23 Oct 2019 16:01:34 +0000 (12:01 -0400)]
remove unused function

6 years agofix formatting of inserted news
Joey Hess [Wed, 23 Oct 2019 16:01:09 +0000 (12:01 -0400)]
fix formatting of inserted news

6 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 23 Oct 2019 15:53:32 +0000 (11:53 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

6 years agosync: Fix crash when there are submodules and an adjusted branch is checked out
Joey Hess [Wed, 23 Oct 2019 15:52:56 +0000 (11:52 -0400)]
sync: Fix crash when there are submodules and an adjusted branch is checked out

Reverse adjusting the branch uses treeItemToTreeContent, which was missed
when adding submodule support earlier.

6 years agoAdded a comment
spwhitton [Wed, 23 Oct 2019 15:28:56 +0000 (15:28 +0000)]
Added a comment

6 years agoAdded a comment
spwhitton [Wed, 23 Oct 2019 15:25:30 +0000 (15:25 +0000)]
Added a comment