Commit graph

19583 commits

Author SHA1 Message Date
wsha.code+ga@b38779424f41c5701bbe5937340be43ff1474b2d
bd1ce3ef0d Added a comment 2016-01-10 03:08:24 +00:00
G.nius.ck@d885edcfde63422ee84e5ee501b7aa545e91298d
6bdbc06317 Added a comment: What do you mean by "git-annex" branch? 2016-01-09 16:04:30 +00:00
https://openid.stackexchange.com/user/e65e6d0e-58ba-41de-84cc-1f2ba54cf574
e4e76c881a Added a comment: Copy from .git/config 2016-01-09 06:44:59 +00:00
mark@6b90344cdab3158eacb94a3944460d138afc9bef
f285579729 Added a comment: Special remotes 2016-01-08 21:12:45 +00:00
Joey Hess
dc58825bed
link 2016-01-08 16:37:47 -04:00
Joey Hess
2f41bbebfb
Merge branch 'master' of ssh://git-annex.branchable.com 2016-01-08 16:35:15 -04:00
Joey Hess
8be45cbf0a
devblog 2016-01-08 16:32:22 -04:00
Joey Hess
55ad30d1d9
update 2016-01-08 16:30:31 -04:00
oliverconzen@8cff8c5ab3868de177f748566f90c79720f9cf4b
1b91c07834 Added a comment 2016-01-08 19:21:28 +00:00
Joey Hess
51bc32e21e
better fix for slash in view metadata
The homomorphs are back, just encoded such that it doesn't crash in LANG=C

However, I noticed a bug in the old escaping; [pseudoSlash] was escaped the
same as ['/','/']. Fixed by using '%' to escape pseudoSlash. Which requires
doubling '%' to escape it, but that's already done in the escaping of
worktree filenames in a view, so is probably ok.
2016-01-08 13:55:35 -04:00
Joey Hess
42619e2231
view: Avoid using cute unicode homomorphs for '/' and '\' and instead use ugly escaping, as the unicode method doesn't work on non-unicode supporting systems. 2016-01-08 12:45:32 -04:00
Joey Hess
6b963426a0
link to new tip about encryption 2016-01-08 11:48:53 -04:00
Alan
498bd6fb43 2016-01-08 12:53:20 +00:00
wsha.code+ga@b38779424f41c5701bbe5937340be43ff1474b2d
e94ef9bcb7 2016-01-08 07:38:01 +00:00
anntzer.lee@b6e099b6ef8ba8b53005ca7f0e473e825001129b
f0a54b40de Added a comment 2016-01-08 07:35:21 +00:00
sameerds
5527ea62b8 Added a comment: bump! 2016-01-08 07:31:18 +00:00
wsha.code+ga@b38779424f41c5701bbe5937340be43ff1474b2d
f381b5f952 Added a comment 2016-01-08 06:56:02 +00:00
philippgodbersen@b5b6f1c85f129c3bbf300214eb690810f9c582b6
219b1fc3f9 2016-01-07 23:27:10 +00:00
Joey Hess
65b0358444
response 2016-01-07 18:22:51 -04:00
Joey Hess
2b781cbf7b
Merge branch 'master' of ssh://git-annex.branchable.com 2016-01-07 18:03:33 -04:00
Joey Hess
c96fb11a96
devblog 2016-01-07 18:03:06 -04:00
Joey Hess
722f56a99d
update 2016-01-07 15:47:19 -04:00
grawity@2ea26be48562f66fcb9b66307da72b1e2e37453f
ab36e2908b Added a comment 2016-01-07 06:19:30 +00:00
Joey Hess
5498576c79
Merge branch 'master' of ssh://git-annex.branchable.com 2016-01-06 16:54:04 -04:00
Joey Hess
d667a68b7e
test: Added --keep-failures option. 2016-01-06 13:44:12 -04:00
ovidiu@66ace8a8d99ce938b0538ffa0f26d30db02a9626
679ab35238 Added a comment 2016-01-06 17:00:38 +00:00
Joey Hess
b96cfdc094
whereis --json: Make url list be included in machine-parseable form. 2016-01-06 12:33:32 -04:00
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
mark@6b90344cdab3158eacb94a3944460d138afc9bef
bf2f942997 removed 2016-01-05 20:14:46 +00:00
felix.hagemann@b76e9ea0928cf33dacffc37ec3dbecf33171a8a5
09435ff50a 2016-01-05 19:56:28 +00: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
67532c7b49
response 2016-01-01 16:07:38 -04:00
Joey Hess
b1373f0d15
update 2016-01-01 16:02:11 -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
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
markus@c65ad4f0b6624673047e959218d058eb73e7ff15
6cb5cb039d 2016-01-01 13:41:17 +00:00
lars@20e4ed7efd4581b7e490713058bd5f94e43488a1
913fb77e5b 2015-12-30 21:27:32 +00:00
Joey Hess
4be2b57606
add test: conflict resolution (mixed locked and unlocked file) 2015-12-30 16:36:39 -04:00
Joey Hess
eff33d33f0
Merge branch 'master' of ssh://git-annex.branchable.com 2015-12-30 15:21:40 -04:00
Joey Hess
0b8bba8031
test suite 100% pass in v6, finally!
Set annex.largefiles when adding the conflicting non-annexed file,
otherwise it would be added as an annexed file.
2015-12-30 15:12:45 -04:00
divergentdave@5c17d06f6d67c6f157b76a4cc95ca764b7d2f899
1e4d6c29d8 Added a comment: SELinux 2015-12-30 03:40:02 +00:00
divergentdave@5c17d06f6d67c6f157b76a4cc95ca764b7d2f899
f0732a21ae Added a comment: Logcat output -- SELinux 2015-12-30 03:01:56 +00:00
Joey Hess
f34c0b1319
devblog 2015-12-29 17:47:57 -04:00
Joey Hess
7fd9fa3d72
update 2015-12-29 17:47:49 -04:00
Joey Hess
6aa19b7184
Merge branch 'master' of ssh://git-annex.branchable.com 2015-12-29 17:40:49 -04:00
umeboshi
813262448c Added a comment: Link to TH 2015-12-29 20:36:42 +00:00
Joey Hess
b6b34f4916
automatic conflict resolution for v6 unlocked files
Several tricky parts:

* When the conflict is just between the same key being locked and unlocked,
  the unlocked version wins, and the file is not renamed in this case.

* Need to update associated file map when conflict resolution renames
  an unlocked file.

* git merge runs the smudge filter on the conflicting file, and actually
  overwrites the file with the same content it had before, and so
  invalidates its inode cache. This makes it difficult to know when it's
  safe to remove such files as conflict cruft, without going so far as to
  compare their entire contents.

  Dealt with this by preventing the smudge filter from populating the file
  when a merge is run. However, that also prevents the smudge filter being
  run for non-conflicting files, so eg moving a file won't put its new
  content into place.

* Ideally, if a merge or a merge conflict resolution renames an unlocked
  file, the file in the work tree can just be moved, rather than copying
  the content to a new worktree file.

  This is attempted to be done in merge conflict resolution, but
  due to git merge's behavior of running smudge filters, what actually
  seems to happen is the old worktree file with the content is deleted and
  rewritten as a pointer file, so doesn't get reused.

So, this is probably not as efficient as it optimally could be.
If that becomes a problem, could look into running the merge in a separate
worktree and updating the real worktree more efficiently, similarly to the
direct mode merge. However, the direct mode merge had a lot of bugs, and
I'd rather not use that more error-prone method unless really needed.
2015-12-29 15:41:09 -04:00
ColinW
b54c8eb49a 2015-12-29 17:59:03 +00:00
joseph.rawson.works@85a210ab8c0e37a0b2d6bb235738b20e23e8878f
6972a80ec1 Added a comment: Replacing dashes with underscores 2015-12-28 22:39:49 +00:00
joseph.rawson.works@85a210ab8c0e37a0b2d6bb235738b20e23e8878f
09deb028b4 Added a comment: ssh keys, github, xmpp 2015-12-28 22:09:24 +00:00
david.wargert@3142e930e120f177dff9fd083ebc900263143dad
049a0bb9f5 removed 2015-12-27 22:50:45 +00:00
Joey Hess
7eed80b316
cleanup 2015-12-27 17:27:52 -04:00
Joey Hess
342259aa9d
devblog 2015-12-27 17:18:18 -04:00
Joey Hess
ad742c522c
Merge branch 'master' of ssh://git-annex.branchable.com 2015-12-27 17:12:14 -04:00
Joey Hess
a46158240b
doc improvements 2015-12-27 16:06:11 -04:00
Joey Hess
121f5d5b0c
annex.thin
Decided it's too scary to make v6 unlocked files have 1 copy by default,
but that should be available to those who need it. This is consistent with
git-annex not dropping unused content without --force, etc.

* Added annex.thin setting, which makes unlocked files in v6 repositories
  be hard linked to their content, instead of a copy. This saves disk
  space but means any modification of an unlocked file will lose the local
  (and possibly only) copy of the old version.
* Enable annex.thin by default on upgrade from direct mode to v6, since
  direct mode made the same tradeoff.
* fix: Adjusts unlocked files as configured by annex.thin.
2015-12-27 15:59:59 -04:00
a@b34f238966e58f7c2ea550cc4cab3005c0e33150
15de76b362 2015-12-27 09:15:43 +00:00
Joey Hess
bb6719678e
update walkthrough and add tip about using v6 unlocked files
The walkthrough should make sense now both for v5 and v6 repo users.
2015-12-26 16:47:23 -04:00
Joey Hess
51b69ef551
add copy of note.mdwn, since Makefile's ikiwiki invocation omits the basewiki 2015-12-26 16:40:11 -04:00
Joey Hess
025f284ac1
reorg 2015-12-26 15:15:02 -04:00
Joey Hess
fcb013044b
update 2015-12-26 15:13:05 -04:00
Joey Hess
0fe43d7f8e
update for v6 unlocked files 2015-12-26 14:59:06 -04:00
Joey Hess
f776ac0a11
add unlocked flag for git-annex-shell recvkey
The direct flag is also set when sending unlocked content, to support old
versions of git-annex-shell. At some point, the direct flag will be
removed, and only the unlocked flag will be used.
2015-12-26 13:59:27 -04:00
david.wargert@3142e930e120f177dff9fd083ebc900263143dad
a79c297d1b 2015-12-26 14:56:28 +00:00
wsha.code+ga@b38779424f41c5701bbe5937340be43ff1474b2d
52e5e958c1 Added a comment 2015-12-26 12:31:13 +00:00
setthemfree@b25cdbaf5e7d071aa15bea1877178fc926343d09
d4513b758f 2015-12-25 17:40:37 +00:00
Joey Hess
72e717e14c
Merge branch 'smudge' 2015-12-24 19:23:18 -04:00
divergentdave@5c17d06f6d67c6f157b76a4cc95ca764b7d2f899
9aaa072d26 Added a comment 2015-12-24 22:44:16 +00:00
divergentdave@5c17d06f6d67c6f157b76a4cc95ca764b7d2f899
b783c481ef 2015-12-24 22:32:23 +00:00
Joey Hess
f87aaa57b4
Merge branch 'master' of ssh://git-annex.branchable.com 2015-12-23 19:41:11 -04:00
Joey Hess
dcb0ec50fd
devblog 2015-12-23 19:40:39 -04:00
Joey Hess
4224fae71f
optimise read and write for Keys database (untested)
Writes are optimised by queueing up multiple writes when possible.
The queue is flushed after the Annex monad action finishes. That makes it
happen on program termination, and also whenever a nested Annex monad action
finishes.

Reads are optimised by checking once (per AnnexState) if the database
exists. If the database doesn't exist yet, all reads return mempty.

Reads also cause queued writes to be flushed, so reads will always be
consistent with writes (as long as they're made inside the same Annex monad).
A future optimisation path would be to determine when that's not necessary,
which is probably most of the time, and avoid flushing unncessarily.

Design notes for this commit:

- separate reads from writes
- reuse a handle which is left open until program
  exit or until the MVar goes out of scope (and autoclosed then)
- writes are queued
  - queue is flushed periodically
  - immediate queue flush before any read
  - auto-flush queue when database handle is garbage collected
  - flush queue on exit from Annex monad
    (Note that this may happen repeatedly for a single database connection;
    or a connection may be reused for multiple Annex monad actions,
    possibly even concurrent ones.)
- if database does not exist (or is empty) the handle
  is not opened by reads; reads instead return empty results
- writes open the handle if it was not open previously
2015-12-23 19:18:52 -04:00
mark@6b90344cdab3158eacb94a3944460d138afc9bef
6b394a5b36 Added a comment: Centralized server with separate remote 2015-12-23 17:59:49 +00:00
CandyAngel
b0518fe3ce Added a comment 2015-12-23 12:46:37 +00:00
Joey Hess
1f6c0be2b2
devblog 2015-12-22 18:22:24 -04:00
Joey Hess
b3690c4499
update 2015-12-22 18:19:32 -04:00
Joey Hess
39048e4568
Merge branch 'master' into smudge 2015-12-22 18:10:40 -04:00
Joey Hess
95971475c7
link to neurodebian standalone deb 2015-12-22 12:34:28 -04:00
Joey Hess
9eb96e8e84
remove obsolte note about sid package being out of date 2015-12-22 12:31:58 -04:00
Joey Hess
19f78dc76b
Merge branch 'master' of ssh://git-annex.branchable.com 2015-12-22 12:22:03 -04:00
Joey Hess
2dce8081a6
addurl: Added --with-files option. 2015-12-22 12:20:39 -04:00
Joey Hess
ca2c977704
wip v6 support for assistant
Files are not yet added to v6 repos in unlocked mode.
2015-12-21 18:41:15 -04:00
Joey Hess
d82b110da8
Merge branch 'master' into smudge 2015-12-21 17:12:46 -04:00
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4
24419103f3 2015-12-21 19:50:38 +00:00
frost.kristian@75a6b6a25121f985cd8708f98c691d41716ac720
082ae2083c Added a comment 2015-12-21 17:47:13 +00:00
Joey Hess
d3240f4622
Merge branch 'master' of ssh://git-annex.branchable.com 2015-12-21 12:57:20 -04:00
Joey Hess
a8b398c1fa
addurl: Added --batch option. 2015-12-21 12:57:13 -04:00
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4
7505f0970a Added a comment 2015-12-21 15:46:53 +00:00
cbaines
b032015f57 Added a comment 2015-12-21 13:33:34 +00:00
frost.kristian@75a6b6a25121f985cd8708f98c691d41716ac720
f67862644b Added a comment 2015-12-21 13:08:49 +00:00
cbaines
6eedcc3a3e Added a comment 2015-12-21 12:40:52 +00:00
cbaines
8def2688c4 Added a comment 2015-12-21 12:32:55 +00:00
https://openid.stackexchange.com/user/e65e6d0e-58ba-41de-84cc-1f2ba54cf574
bbfa501f4a Added a comment 2015-12-21 06:02:21 +00:00
jhannwong@c9c7a67b5632a4bbc0c959cfeb3d340e02f28565
466a249291 Added a comment: A problem with SmartGit then? 2015-12-21 03:21:59 +00:00
frost.kristian@75a6b6a25121f985cd8708f98c691d41716ac720
29ea9f3782 2015-12-20 21:43:57 +00:00
sts
3bd5cbc131 Added a comment 2015-12-20 19:49:27 +00:00
Joey Hess
4e226d2cd2
update 2015-12-19 14:33:10 -04:00
Joey Hess
02dc62e2d3
reuse comment 2015-12-19 14:29:40 -04:00
Joey Hess
2c014e97dd
comment 2015-12-19 14:27:22 -04:00
Joey Hess
962c5ee0db
comment 2015-12-19 14:19:24 -04:00
Joey Hess
f5b103b455
comment 2015-12-19 14:07:57 -04:00
Joey Hess
7588e2fba7
comment 2015-12-19 13:59:03 -04:00
Joey Hess
9deaf4f1d9
comment 2015-12-19 13:55:28 -04:00
Joey Hess
d215acf6ef
comment 2015-12-19 13:51:26 -04:00
Joey Hess
fa1e9a9ee9
Merge branch 'master' of ssh://git-annex.branchable.com 2015-12-19 13:47:01 -04:00
Joey Hess
35827e2705
status: On crippled filesystems, was displaying M for all annexed files that were present. Probably caused by a change to what git status displays in this situation. Fixed by treating files git thinks are modified the same as typechanged files. 2015-12-19 13:36:40 -04:00
https://openid.stackexchange.com/user/e65e6d0e-58ba-41de-84cc-1f2ba54cf574
df181d5a38 2015-12-19 06:52:08 +00:00
Joey Hess
9d19a60349
add news item for git-annex 5.20151218 2015-12-18 14:48:04 -04:00
neocryptek@659edac901ffbc8e541a974f8f18987eeafc63bd
5008846f7b Added a comment 2015-12-18 18:09:54 +00:00
Joey Hess
fbf6c25de5
interaction with shared clones 2015-12-17 18:46:52 -04:00
SamuelTardieu
7b73f343ae Added a comment 2015-12-17 11:15:55 +00:00
jhannwong@c9c7a67b5632a4bbc0c959cfeb3d340e02f28565
a604f7cd93 2015-12-17 02:25:02 +00:00
pete.ward@26c41318616c4cf9601d0431557c1df734ccdb77
ffefc488f4 2015-12-16 22:15:17 +00:00
Joey Hess
0914d33b21
Merge branch 'master' of ssh://git-annex.branchable.com 2015-12-16 17:05:12 -04:00
Joey Hess
ca9b84754d
devblog 2015-12-16 17:04:48 -04:00
Joey Hess
e55ac3d383
update 2015-12-16 17:04:31 -04:00
Joey Hess
e61f3d1752
update todo list 2015-12-16 16:02:21 -04:00
Joey Hess
a858a331c4
fix docs
"git -a annex.largefiles=* add" cannot be used.. git does not pass the
config along to the smudge filter, sadly.
2015-12-16 16:00:41 -04:00
Joey Hess
029111b89a
Merge branch 'master' into smudge 2015-12-16 13:07:46 -04:00
wsha.code+ga@b38779424f41c5701bbe5937340be43ff1474b2d
4a02a243f3 Added a comment 2015-12-16 11:21:48 +00:00
14.203.223.70
ff5de4ff57 poll vote (My phone (or MP3 player)) 2015-12-16 07:09:17 +00:00
Joey Hess
7800125783
starting to work on test suite for v6 2015-12-15 17:19:26 -04:00
Joey Hess
7d0e79b9e1
Use git-annex init --version=6 to get v6 for now
Not ready to make it default because of the direct mode upgrade needing to
all happen at once.
2015-12-15 17:17:13 -04:00
Joey Hess
db8b32254c
update todo list 2015-12-15 16:07:02 -04:00
Joey Hess
f9d077186a
implemented upgrade of direct mode repo to v6 2015-12-15 16:00:26 -04:00
Joey Hess
178dbe8cb1
doc update 2015-12-15 14:17:34 -04:00
Joey Hess
c7a066a3e4
fix incorrect doc change 2015-12-15 14:14:19 -04:00
Joey Hess
d1bb518e25
update doc for v6 2015-12-15 14:07:54 -04:00
Joey Hess
71e2050f8f
have clean filter check if the filename was already in use by an old key
The annex object for it may have been modified due to hard link, and
that should be cleaned up when the new version is added. If another
associated file has the old key's content, that's linked into the annex
object. Otherwise, update location log to reflect that content has been
lost.
2015-12-15 13:06:52 -04:00
Joey Hess
9fcc5046b3
todo 2015-12-15 12:38:32 -04:00
Joey Hess
f5d4ee9b63
Merge branch 'master' into smudge 2015-12-15 12:01:21 -04:00
wsha.code+ga@b38779424f41c5701bbe5937340be43ff1474b2d
555f5ae302 removed 2015-12-14 12:04:46 +00:00
wsha.code+ga@b38779424f41c5701bbe5937340be43ff1474b2d
eb822fbd1c Added a comment 2015-12-14 12:03:58 +00:00
wsha.code+ga@b38779424f41c5701bbe5937340be43ff1474b2d
9051166774 Added a comment 2015-12-14 12:03:23 +00:00
https://me.yahoo.com/a/ZF7p46cPmpWtb9zvA8iTitPmiQ--#eb014
9690904b45 Added a comment: It worked 2015-12-14 04:46:46 +00:00
https://me.yahoo.com/a/ZF7p46cPmpWtb9zvA8iTitPmiQ--#eb014
367791c827 Added a comment: I'm also having this issue 2015-12-14 03:17:58 +00:00
yminus
97bb479165 Added a comment 2015-12-13 22:55:16 +00:00
scorchgeek
d998d20364 Added a comment: Indeed 2015-12-13 22:30:47 +00:00
basak
4c8fdaa008 Added a comment 2015-12-13 21:35:59 +00:00
joakim.hovlandsvag@ad788ffa13d1ccbf03f2c485653900f8baa33950
ea01310d98 Added a comment: Repairing ignores disk space issues too 2015-12-13 09:13:25 +00:00
joakim.hovlandsvag@ad788ffa13d1ccbf03f2c485653900f8baa33950
7bca9bc5b1 2015-12-13 07:42:22 +00:00
scorchgeek
928de5e3ad create page 2015-12-12 22:44:00 +00:00
wsha.code+ga@b38779424f41c5701bbe5937340be43ff1474b2d
4183f0e1dc Added a comment 2015-12-12 10:42:47 +00:00
wsha.code+ga@b38779424f41c5701bbe5937340be43ff1474b2d
68e05915ed Added a comment 2015-12-12 05:28:51 +00:00
https://openid.stackexchange.com/user/27ceb3c5-0762-42b8-8f8a-ed21c284748f
c475d71f9e Added a comment 2015-12-11 22:58:22 +00:00
http://www.ryantm.com/
5e01b40151 2 more data -> 2 more days 2015-12-11 21:04:54 +00:00
Joey Hess
3e54d95aa3
devblog 2015-12-11 16:24:21 -04:00
Joey Hess
cc2d78870c
update 2015-12-11 16:22:40 -04:00
Joey Hess
1dad3af3fc
checked getKeysPresent; it's ok for v6 unlocked files
When a v6 unlocked files is removed from the work tree,
unused doesn't show it. When it gets removed from the index,
unused does show it. This is the same as a locked file.
2015-12-11 16:12:42 -04:00
Joey Hess
e7183d83d3
fsck for v6 unlocked files
This only adds 1 stat to each file fscked for locked files, so
added overhead is minimal.

For unlocked files it has to access the database to see if a file
is modified.
2015-12-11 16:07:54 -04:00
Joey Hess
7790e059b2
finish v6 git-annex lock
This was a doozy!
2015-12-11 15:28:34 -04:00
Joey Hess
50e83b606c
only make 1 hardlink max between pointer file and annex object
If multiple files point to the same annex object, the user may want to
modify them independently, so don't use a hard link.

Also, check diskreserve when copying.
2015-12-11 14:00:21 -04:00
Joey Hess
c608a752a5
Merge branch 'master' into smudge 2015-12-11 13:50:31 -04:00
Joey Hess
4407df6314
Merge branch 'master' of ssh://git-annex.branchable.com 2015-12-11 12:15:29 -04:00
Joey Hess
0f126440ca
webdav: When testing the WebDAV server, send a file with content. The empty file it was sending tickled bugs in some php WebDAV server. 2015-12-11 12:13:20 -04:00
Joey Hess
48bc7a9057
comment 2015-12-11 11:27:33 -04:00
Joey Hess
4ea479f776
comment 2015-12-11 11:23:57 -04:00
Joey Hess
9e34ed66f7
comment 2015-12-11 11:20:35 -04:00
Joey Hess
b12fc8cf1b
add Blackblaze B2 extranal special remote to the list 2015-12-11 11:06:02 -04:00
Joey Hess
bbfd454edc
comment 2015-12-11 11:04:48 -04:00
Joey Hess
eee5bede24
clean up 2015-12-11 11:03:22 -04:00
Joey Hess
c910b4e255
wip 2015-12-11 10:42:18 -04:00
yminus
3e59d498c4 Added a comment 2015-12-10 22:25:26 +00:00
Joey Hess
e2c8dc6778
v6 git-annex unlock
Note that the implementation uses replaceFile, so that the actual
replacement of the work tree file is atomic. This seems a good property to
have!

It would be possible for unlock in v6 mode to be run on files that do not
have their content present. However, that would be a behavior change from
before, and I don't see any immediate need to support it, so I didn't
implement it.
2015-12-10 16:12:48 -04:00
Joey Hess
9dffd3d255
add generalized linkAnnex' 2015-12-10 16:08:19 -04:00
http://joeyh.name/
a6dec1c9db Added a comment 2015-12-10 18:58:46 +00:00
Joey Hess
108f711d37
todo 2015-12-10 14:54:03 -04:00
Joey Hess
f80a3d8cd0
check InodeCache in inAnnex et al
This avoids querying the database when the content file doen't exist
(or otherwise fails the provided check). However, it does add overhead of
querying the database, and will certianly impact performance.
2015-12-10 14:51:04 -04:00
Joey Hess
2b8f6b8b2f
check inode cache in prepSendAnnex
This does mean one query of the database every time an object is sent.
May impact performance.
2015-12-10 14:50:52 -04:00
Joey Hess
3d936fdb59
Merge branch 'master' into smudge 2015-12-10 14:07:11 -04:00
Joey Hess
b376047cc3
comment 2015-12-10 12:31:26 -04:00
fbicknel@01ede624a1a56b3998b823e9b60da0ff81cccb16
4b31d9c404 Added a comment: Complete removal 2015-12-10 16:16:43 +00:00
Joey Hess
d283fa4fe9
comment 2015-12-10 11:22:28 -04:00
Joey Hess
79dd48546a
response 2015-12-10 11:20:01 -04:00
Joey Hess
2f25b8360f
response 2015-12-10 11:15:06 -04:00
https://openid.stackexchange.com/user/27ceb3c5-0762-42b8-8f8a-ed21c284748f
7a03f55aa0 Added a comment: The downside 2015-12-10 03:45:09 +00:00
https://openid.stackexchange.com/user/3ee5cf54-f022-4a71-8666-3c2b5ee231dd
b9312e3554 2015-12-09 23:01:21 +00:00
Joey Hess
d0449ac1e4
Merge branch 'master' of ssh://git-annex.branchable.com 2015-12-09 18:14:19 -04:00
Joey Hess
3964d3388b
devblog 2015-12-09 18:13:31 -04:00
Joey Hess
bf98d2bd77
Merge branch 'master' into smudge 2015-12-09 17:58:59 -04:00
Joey Hess
ce73a96e4e
use InodeCache when dropping a key to see if a pointer file can be safely reset
The Keys database can hold multiple inode caches for a given key. One for
the annex object, and one for each pointer file, which may not be hard
linked to it.

Inode caches for a key are recorded when its content is added to the annex,
but only if it has known pointer files. This is to avoid the overhead of
maintaining the database when not needed.

When the smudge filter outputs a file's content, the inode cache is not
updated, because git's smudge interface doesn't let us write the file. So,
dropping will fall back to doing an expensive verification then. Ideally,
git's interface would be improved, and then the inode cache could be
updated then too.
2015-12-09 17:54:54 -04:00
openmedi
ef664f089f Added a comment 2015-12-09 20:18:48 +00:00
Joey Hess
3311c48631
move InodeSentinal from direct mode code to its own module
Will be used outside of direct mode for v6 unlocked files, and is already
used outside of direct mode when adding files to annex.
2015-12-09 15:52:11 -04:00
Joey Hess
8a818088a3
link/copy pointer files to object content when it's added 2015-12-09 15:27:29 -04:00
Joey Hess
751120c171
avoid pre-commit hook messing up new-style unlocked files in v6 repo 2015-12-09 15:18:54 -04:00
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4
5ef6ed8b9a Added a comment: anyone saw/worked on backend for watchdox service? (not free one but needed :-/) 2015-12-08 19:45:03 +00:00
Joey Hess
37c9026c6e
todo 2015-12-08 13:07:45 -04:00
Joey Hess
e1961bf806
add news item for git-annex 5.20151208 2015-12-08 11:28:19 -04:00
Joey Hess
e276f4abb2
response 2015-12-08 11:13:55 -04:00
ben
4f3dd0b7b2 Added a comment: Problems initializing glacier remote 2015-12-08 10:39:30 +00:00
wsha.code+ga@b38779424f41c5701bbe5937340be43ff1474b2d
a690782429 I started using a repo on S3, so that partially answered my question about how files are stored on S3. 2015-12-08 10:02:06 +00:00
wsha.code+ga@b38779424f41c5701bbe5937340be43ff1474b2d
c92917d24a Added a comment 2015-12-08 09:44:49 +00:00
cantora@432fae6be728a32ac472387df86a8922f059d4a6
c71a6e3a0d Added a comment: How to view configuration of special remotes? 2015-12-08 08:29:12 +00:00
Joey Hess
50398c69a1
Merge branch 'master' of ssh://git-annex.branchable.com 2015-12-07 17:25:20 -04:00
Joey Hess
d9ec9a56d4
devblog 2015-12-07 17:24:44 -04:00
Joey Hess
9923b8dc77
long walk led to long list of things to do 2015-12-07 17:24:16 -04:00
Joey Hess
712c9fc590
require "annex/objects/" before key in pointer files
This removes ambiguity, because while someone might have "WORM--foo" in a
file that's not intended to be a git-annex pointer file,
"annex/objects/WORM--foo" is less likely.

Also, 664cc987e8 had a caveat about symlink
targets being parsed as pointer files, and now the same parser is used for
both.

I did not include any hash directories before the key in the pointer file,
as they're not needed. However, if they were included, the parser would
still work ok.
2015-12-07 15:45:08 -04:00
Joey Hess
2cbcb4f1a8
update associated files database on smudge and clean 2015-12-07 14:41:22 -04:00
Joey Hess
62a2fba1cd
Merge branch 'master' into smudge 2015-12-07 12:29:34 -04:00
sts
bf02216690 Added a comment 2015-12-07 08:12:26 +00:00
Joey Hess
bd6f694687
Merge branch 'master' of ssh://git-annex.branchable.com 2015-12-06 16:56:16 -04:00
Joey Hess
2936153fc4
fix temp filename
Was not putting it inside the temp dir, but next to it!

This was just wrong, and it led to a longer filename that desired being
used, leading to some bug reports.
2015-12-06 16:54:01 -04:00
torpidus
9d46da4a29 Added a comment 2015-12-06 20:29:26 +00:00
torpidus
99fa2b5716 2015-12-06 18:51:12 +00:00
samuel.hym+bugs@a85e9c44dc6369ad6b12e8e6a3896ad34f7df4a3
912246f4ae Fix broken link to other bug 2015-12-06 10:02:35 +00:00
samuel.hym+bugs@a85e9c44dc6369ad6b12e8e6a3896ad34f7df4a3
6e85743a86 Report bug due to broken createSymbolicLink 2015-12-06 10:01:00 +00:00
spwhitton
d1cf30890e m 2015-12-05 19:52:38 +00:00
spwhitton
59aa9d313b Copy hints for Emacs users from propellor coding style page 2015-12-05 19:52:17 +00:00
a@b34f238966e58f7c2ea550cc4cab3005c0e33150
50cd06c332 2015-12-05 18:17:45 +00:00
Joey Hess
1b597cbee6
Merge branch 'master' of ssh://git-annex.branchable.com 2015-12-04 18:05:18 -04:00
Joey Hess
7579d50959
devblog 2015-12-04 17:57:34 -04:00
Joey Hess
2fe21d47c5
init: Configure .git/info/attributes to use git-annex as a smudge filter.
Note that this changes the default behavior of git add in a newly
initialized repository; it will add files to the annex.

Don't like that this could break workflows, but it's necessary in order for
any pointer files in the repo to be handled by git-annex.
2015-12-04 17:57:15 -04:00
Joey Hess
e7f75b079d
don't let git-annex direct be run in a v6 repo 2015-12-04 16:33:09 -04:00
Joey Hess
ccc49861ca
add v6; keep v5 working for now and manual upgrade
Since all places where a repo is used in direct mode need to have git-annex
upgraded before the repo can safely be converted to v6, the upgrade needs
to be manual for now.

I suppose that at some point I'll want to drop all the direct mode support
code. At that point, will stop supporting v5, and will need to auto-upgrade
any remaining v5 repos. If possible, I'd like to carry the direct mode
support for say, a year or so, to give people plenty of time to upgrade and
avoid disruption.
2015-12-04 16:14:48 -04:00
Joey Hess
723e4e31a1
merge clean into smudge command
The git filter config can be used to map the single git-annex command to
the 2 actions, and this avoids "git annex clean" being used for this thing,
it might have a better use for that name later.
2015-12-04 15:32:47 -04:00
mellon85@e4812de7355433a8e232ce8ca4c231092d9afebb
f966984cd3 2015-12-04 17:15:34 +00:00
mellon85@e4812de7355433a8e232ce8ca4c231092d9afebb
05bd8ae9bd 2015-12-04 17:11:45 +00:00
Joey Hess
20ca89dfa3
skeleton smudge/clean filters 2015-12-04 13:03:39 -04:00
sts
b27b851436 2015-12-04 12:57:59 +00:00
OlivierBerger
bddeb020e9 Added a comment: Again, difficult to tell 2015-12-04 12:24:07 +00:00
OlivierBerger
ce1757e7e4 Added a comment: Difficult to tell 2015-12-04 10:21:26 +00:00
wsha.code+ga@b38779424f41c5701bbe5937340be43ff1474b2d
a3fb7a38ce 2015-12-04 10:18:08 +00:00