Commit graph

26429 commits

Author SHA1 Message Date
Joey Hess
6a194e09ff
response 2016-01-06 11:52:16 -04:00
mark@6b90344cdab3158eacb94a3944460d138afc9bef
632b4c72d2 2016-01-05 22:44:15 +00:00
Joey Hess
70a4d41b9d
Merge branch 'master' of ssh://git-annex.branchable.com 2016-01-05 18:13:10 -04:00
Joey Hess
50d25c186d
update 2016-01-05 17:41:46 -04:00
Joey Hess
aa4f353e5d
clarify absPathFrom
The repo path is typically relative, not absolute, so
providing it to absPathFrom doesn't yield an absolute path.
This is not a bug, just unclear documentation.

Indeed, there seem to be no reason to simplifyPath here, which absPathFrom
does, so instead just combine the repo path and the TopFilePath.

Also, removed an export of the TopFilePath constructor; asTopFilePath
is provided to construct one as-is.
2016-01-05 17:33:48 -04:00
Joey Hess
b3d60ca285
use TopFilePath for associated files
Fixes several bugs with updates of pointer files. When eg, running
git annex drop --from localremote
it was updating the pointer file in the local repository, not the remote.
Also, fixes drop ../foo when run in a subdir, and probably lots of other
problems. Test suite drops from ~30 to 11 failures now.

TopFilePath is used to force thinking about what the filepath is relative
to.

The data stored in the sqlite db is still just a plain string, and
TopFilePath is a newtype, so there's no overhead involved in using it in
DataBase.Keys.
2016-01-05 17:22:19 -04:00
Joey Hess
f3d6f9acb5
fix some tests of v6 unlocked files 2016-01-05 17:19:30 -04:00
mark@6b90344cdab3158eacb94a3944460d138afc9bef
bf2f942997 removed 2016-01-05 20:14:46 +00:00
felix.hagemann@b76e9ea0928cf33dacffc37ec3dbecf33171a8a5
09435ff50a 2016-01-05 19:56:28 +00:00
Joey Hess
66060f45f7
Revert "Add Munin module."
This reverts commit f09df3e226.

Wow, applied to wrong project entirely.
2016-01-05 15:32:33 -04:00
Joey Hess
afb7a22176
Merge branch 'master' of ssh://git-annex.branchable.com 2016-01-05 12:01:59 -04:00
Yaroslav Halchenko
bfb68c2245
BF: added forgotten commas for new build-depends 2016-01-05 12:01:35 -04:00
Jelmer Vernooij
f09df3e226
Add Munin module.
Signed-off-by: Jelmer Vernooij <jelmer@jelmer.uk>
2016-01-05 12:01:35 -04:00
CandyAngel
14c5c24c40 Added a comment 2016-01-05 11:41:13 +00:00
grawity@2ea26be48562f66fcb9b66307da72b1e2e37453f
d45344e5c4 2016-01-05 11:23:36 +00:00
grawity@2ea26be48562f66fcb9b66307da72b1e2e37453f
10aecc58ab Added a comment 2016-01-05 11:09:07 +00:00
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4
1d6d7a6e16 2016-01-05 02:20:14 +00:00
umeboshi
54c569ee2e Added a comment 2016-01-04 21:26:05 +00:00
sameerds
34408b48ec 2016-01-03 17:39:29 +00:00
eigengrau
621b903321 Added a comment 2016-01-03 07:52:36 +00:00
umeboshi
e3105b95e2 Fix formatting (grrr) 2016-01-02 23:29:38 +00:00
umeboshi
f234306a8a added ifarchive.org mirror. 2016-01-02 23:23:49 +00:00
umeboshi
d63194fc36 removed 2016-01-02 23:13:43 +00:00
umeboshi
ab0494206c Added a comment 2016-01-02 23:13:15 +00:00
umeboshi
bc4ff0c71f Added a comment 2016-01-02 23:09:53 +00:00
umeboshi
628325f45b 2016-01-02 22:45:54 +00:00
umeboshi
a06f3e5014 Added a comment 2016-01-02 21:02:51 +00:00
umeboshi
75a28aae43 2016-01-02 20:15:38 +00:00
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4
91ba1f0405 Added a comment 2016-01-02 01:57:45 +00:00
ColinW
bd1974e98d 2016-01-01 22:53:23 +00:00
ColinW
c823d6f7de Added a comment: Re Comment 1 2016-01-01 22:39:14 +00:00
Joey Hess
c626822679
devblog 2016-01-01 17:50:48 -04:00
Joey Hess
ef474f0da7
fixed 2016-01-01 17:46:36 -04:00
Joey Hess
92823d8413
analysis 2016-01-01 17:17:57 -04:00
Joey Hess
6c03a091ec
response 2016-01-01 16:41:48 -04:00
Joey Hess
650f9ddd8b
response 2016-01-01 16:37:31 -04:00
Joey Hess
121659576b
info --json: Improve json for "backend usage", using a nested object with fields for each backend instead of the previous weird nested lists. This may break existing parsers of this json output, if there were any. 2016-01-01 16:33:05 -04:00
Joey Hess
09a2fcb643
info: Fix "backend usage" numbers, which were counting present keys twice.
Let's just count the referenced keys for that, and not present keys at all.
2016-01-01 16:13:16 -04:00
Joey Hess
67532c7b49
response 2016-01-01 16:07:38 -04:00
Joey Hess
b1373f0d15
update 2016-01-01 16:02:11 -04:00
Joey Hess
ec28151722
improve data type 2016-01-01 15:56:24 -04:00
Joey Hess
f7256842cc
wait for git lstree to exit 2016-01-01 15:51:29 -04:00
Joey Hess
70fee8208c
remove old TODO 2016-01-01 15:43:13 -04:00
Joey Hess
eb2bf9d768
response 2016-01-01 15:39:13 -04:00
Joey Hess
e10731c6ee
Merge branch 'master' of ssh://git-annex.branchable.com 2016-01-01 15:22:51 -04:00
Joey Hess
5b7fea0c31
remporarily disable v6 unlocked test pass while it's failing 2016-01-01 15:22:11 -04:00
Joey Hess
9b99595473
only do scan when there's a branch, not in freshly created new repo 2016-01-01 15:16:16 -04:00
Joey Hess
e9a33088e8
reorder
May be unlocked files pulled from elsewhere, but converting from direct
mode will add more. So, do the scan for them first, since it empties
anything currently in the database.
2016-01-01 15:15:15 -04:00
Joey Hess
f36f24197a
scan for unlocked files on init/upgrade of v6 repo 2016-01-01 15:09:42 -04:00
Joey Hess
b03a24dc10
update 2016-01-01 14:26:09 -04:00