Commit graph

26697 commits

Author SHA1 Message Date
Joey Hess
b1cf0869db
link to todo 2019-11-04 11:48:45 -04:00
Joey Hess
96c81fa4f1
comment 2019-11-04 11:47:21 -04:00
Joey Hess
d3e4de0175
fix test suite
The test suite found a bug; select_ can fail now because a uniqueness
constrain has been added.

Now the test suite passes.

Also, I'm satisfied the changed PersistField instances work.
Looking over what changed, and what I've already tested, Key, FilePath,
and InodeCache are known working; ContentIdentifier is trivial
ByteString to blob; and SSha is trivial String to varchar. Both are
tested by the test suite. I've also tested the new FileSize and
EpochTime instances already, and they work.
2019-10-30 15:51:37 -04:00
Joey Hess
d7ecac66d2
notes 2019-10-30 15:31:16 -04:00
Joey Hess
4940a135af
eliminate raw sql LIKE query 2019-10-30 15:19:52 -04:00
Joey Hess
09c7cbbaa8
update for things already fixed in this branch 2019-10-30 13:57:22 -04:00
Joey Hess
9085a2cfec
make sure all sqlite selects have indexes
Bearing in mind that these indexes are really uniqueness constraints
that just happen to also make sqlite generate indexes.

In Database.ContentIndentifier, the ContentIndentifiersKeyRemoteCidIndex
is fine as a uniqueness constraint because it contains all rows from the
table. The ContentIndentifiersCidRemoteIndex is also ok because there
can only be one key for a given (cid, uuid) combination.

In Database.Export, the new ExportTreeFileKeyIndex is the same pair as
the old ExportTreeKeyFileIndex (previously ExportTreeIndex). And
in Database.Keys.SQL, the new InodeCacheKeyIndex is the same pair as the
old KeyInodeCacheIndex.
2019-10-30 13:46:52 -04:00
Joey Hess
25f912de5b
benchmark: Add --databases to benchmark sqlite databases
Rescued from commit 11d6e2e260 which removed
db benchmarks in favor of benchmarking arbitrary git-annex commands. Which
is nice and general, but microbenchmarks are useful too.
2019-10-29 16:59:27 -04:00
Joey Hess
27e10fdbd7
Merge branch 'master' of ssh://git-annex.branchable.com 2019-10-28 12:24:29 -04:00
Joey Hess
8bb99ff2aa
devblog 2019-10-28 12:24:13 -04:00
Simon
b1077b417f Added a comment: Maybe this is the problem... 2019-10-28 16:13:18 +00:00
Simon
3f3e2d56ab Added a comment: Should there have been a combine step? 2019-10-28 16:06:22 +00:00
Simon
c4b628b241 Added a comment: Can you give more details? 2019-10-28 16:04:52 +00:00
nordmagnus999
bb9421bda4 Added a comment: Oh yeah, use verbose flag too. 2019-10-28 15:50:42 +00:00
nordmagnus999
54cdad7630 Added a comment: A possible solution 2019-10-28 15:49:12 +00:00
Simon
acae35d6e1 2019-10-28 15:37:04 +00:00
nordmagnus999
7fd392e584 2019-10-26 09:58:54 +00:00
anthony@ad39673d230d75cbfd19d2757d754030049c7673
e4828c7e45 Added a comment: Thank you 2019-10-25 20:29:46 +00:00
nordmagnus999
72e3faa747 2019-10-25 19:54:13 +00:00
nordmagnus999
24afa8ebe5 2019-10-25 19:37:42 +00:00
Joey Hess
772a6be526
add news item for git-annex 7.20191024 2019-10-25 13:08:24 -04:00
https://tribut.de/
d5ca57a596 Added a comment 2019-10-25 12:41:55 +00:00
https://id.andreparames.com/
32adffbfe4 Added a comment: Thank you 2019-10-24 23:56:42 +00:00
Ilya_Shlyakhter
cd482f3cd6 added todo "warn of breaking changes same way git does" 2019-10-24 22:05:46 +00:00
giuly.ippoliti@c1e2f0d5e40b128900f94f3d107d3719f87c3ff7
3d0330a555 Added a comment: Triggering which stage and when? 2019-10-24 20:30:11 +00:00
Joey Hess
4a3f3a2cb5
make git add only annex when configured by annex.largefiles 2019-10-24 14:17:29 -04:00
Joey Hess
31a5b58b2c
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.
2019-10-24 14:01:54 -04:00
jason.dixon.email@aa0e536a2ec2877d6f666108dbbc6e39bbe87ac0
ccdb34b181 Added a comment: Friendly bump to keep on the radar 2019-10-24 09:26:23 +00:00
ghen1
6dd732f1e6 Added a comment 2019-10-23 21:03:11 +00:00
anarcat
b4a9397c4a Added a comment: right! forgot about log -S 2019-10-23 20:16:26 +00:00
anarcat
2755a22c37 update from comments 2019-10-23 20:15:40 +00:00
Joey Hess
94a7bd9873
clarify 2019-10-23 15:43:31 -04:00
Joey Hess
f1b374e44e
devblog 2019-10-23 15:33:30 -04:00
Joey Hess
8fb1350a2c
Merge branch 'master' of ssh://git-annex.branchable.com 2019-10-23 15:30:55 -04:00
Joey Hess
bd197be3ad
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.
2019-10-23 15:29:46 -04:00
Joey Hess
94efc400e9
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.
2019-10-23 14:37:29 -04:00
Ilya_Shlyakhter
2d33c62965 Added a comment: configuring git add behavior 2019-10-23 17:57:03 +00:00
Ilya_Shlyakhter
bdf6d2eb48 Added a comment: preventing git add from annexing new files 2019-10-23 17:05:42 +00:00
Ilya_Shlyakhter
5f7036d0a7 Added a comment: searching by inode 2019-10-23 16:32:37 +00:00
Joey Hess
ff5c0ef43f
comment 2019-10-23 12:26:55 -04:00
Joey Hess
f318743f77
rename this so it does not start with a dash 2019-10-23 12:16:12 -04:00
Joey Hess
b23c87cd0f
fix formatting of inserted news 2019-10-23 12:01:09 -04:00
Joey Hess
940be8cd70
Merge branch 'master' of ssh://git-annex.branchable.com 2019-10-23 11:53:32 -04:00
Joey Hess
bbdeb1a1a8
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.
2019-10-23 11:52:56 -04:00
spwhitton
f67285f079 Added a comment 2019-10-23 15:28:56 +00:00
spwhitton
2744c1d7a0 Added a comment 2019-10-23 15:25:30 +00:00
amindfv@6f75355c5dad3450ed73d1f01715be90dfdd6cd6
f6222bc6c4 Added a comment 2019-10-23 04:42:36 +00:00
amindfv@6f75355c5dad3450ed73d1f01715be90dfdd6cd6
3aec7db42e Added a comment 2019-10-23 04:24:01 +00:00
Ilya_Shlyakhter
bafed0f619 Added a comment: can git add only annex already-annexed files? 2019-10-22 20:01:52 +00:00
Joey Hess
70b306ec34
start at analysis before dental appt 2019-10-22 15:46:34 -04:00