Commit graph

4214 commits

Author SHA1 Message Date
Joey Hess
befda6f9d2 add cabal command to install build deps 2012-04-13 11:37:49 -04:00
Joey Hess
3642c72320 Renamed diskfree.c to avoid OSX case insensativity bug. 2012-04-13 11:26:39 -04:00
Joey Hess
fdb246044c download updates 2012-04-13 11:25:42 -04:00
Joey Hess
c56cfeba9e word wrap 2012-04-13 11:19:56 -04:00
Joey Hess
64c0093347 move manual cabal install into its own page, and simplify it 2012-04-13 11:15:48 -04:00
Joey Hess
cc70792772 update with manual git clone, and ghc7.0 build
Seems that Fedora is going to ship with an outdated GHC. Pity.
2012-04-13 11:13:58 -04:00
https://www.google.com/accounts/o8/id?id=AItOawm2AOTJmbCbGvmW5fxACaREraMnEVrCofo
45a3cbc55b rename bugs/sensitive.mdwn to bugs/case-insensitive.mdwn 2012-04-13 13:47:14 +00:00
https://www.google.com/accounts/o8/id?id=AItOawm2AOTJmbCbGvmW5fxACaREraMnEVrCofo
d712f5b0c4 2012-04-13 13:26:09 +00:00
http://mildred.pip.verisignlabs.com/
4837ad6dd3 2012-04-13 08:19:27 +00:00
http://mildred.pip.verisignlabs.com/
ebc91c7637 Installation by hand using cabal / Setup.hs 2012-04-13 07:57:28 +00:00
http://mildred.pip.verisignlabs.com/
8000fae9b2 Added a comment: Thank you a lot 2012-04-13 07:28:11 +00:00
Joey Hess
49a95f151c add a todo item 2012-04-12 17:51:16 -04:00
Joey Hess
d5ffd2d99d watch subcommand
So far this only handles auto-annexing new files that are created inside
the repository while it's running. To make this really useful,
it needs to at least:

- notice deleted files and stage the deletion
  (tricky; there's a race with add..)
- notice renamed files, auto-fix the symlink, and stage the new file location
- periodically auto-commit staged changes
- honor .gitignore, not adding files it excludes

Also nice to have would be:

- Somehow sync remotes, possibly using a push sync like dvcs-autosync
  does, so they are immediately updated.
- Somehow get content that is unavilable. This is problimatic with inotify,
  since we only get an event once the user has tried (and failed) to read
  from the file. Perhaps instead, automatically copy content that is added
  out to remotes, with the goal of all repos eventually getting a copy,
  if df allows.
- Drop files that have not been used lately, or meet some other criteria
  (as long as there's a copy elsewhere).
- Perhaps automatically dropunused files that have been deleted,
  although I cannot see a way to do that, since by the time the inotify
  deletion event arrives, the file is deleted, and we cannot see what
  its symlink pointed to! Alternatievely, perhaps automatically
  do an expensive unused/dropunused cleanup process.

Some of this probably needs the currently stateless threads to maintain
a common state.
2012-04-12 17:42:05 -04:00
Joey Hess
6464a576cd allow add or del events to be ignored 2012-04-12 17:28:40 -04:00
Joey Hess
be4edbaaf1 allow excluding directories from being watched 2012-04-12 16:59:33 -04:00
Joey Hess
4ccc86669a don't fall over broken links 2012-04-12 16:46:57 -04:00
Joey Hess
d08a67a78e put in a warning so I remember to look at this 2012-04-12 15:48:59 -04:00
Joey Hess
52a158a7c6 autocorrection
git-annex (but not git-annex-shell) supports the git help.autocorrect
configuration setting, doing fuzzy matching using the restricted
Damerau-Levenshtein edit distance, just as git does. This adds a build
dependency on the haskell edit-distance library.
2012-04-12 15:37:21 -04:00
Joey Hess
fa45175210 version dyslexia 2012-04-12 12:37:19 -04:00
Joey Hess
262b773b8f Merge branch 'master' of ssh://git-annex.branchable.com 2012-04-12 12:32:37 -04:00
http://joey.kitenet.net/
d819c305b1 Added a comment 2012-04-12 16:29:58 +00:00
Joey Hess
08d9a4df0f encourage bugs reports be posted to the right place 2012-04-12 12:25:09 -04:00
http://mildred.pip.verisignlabs.com/
5d0d9c791c Added a comment: Manually fixing links doesn't even work 2012-04-12 15:46:54 +00:00
http://mildred.pip.verisignlabs.com/
1625fed6e8 2012-04-12 15:42:26 +00:00
Joey Hess
1f34bf9acb add waitForTermination 2012-04-11 20:28:01 -04:00
Joey Hess
b133a76f96 recursive inotify thing
Recursive inotify has beaten me before, with its bad design and races,
but not this time! (I think.) This is able to follow the strongest
filesystem traffic I can throw at it, and robustly notices every file
add and delete. Mostly that's down to Haskell having a quite nice threaded
inotify library (that does its own buffering). A key insight was realizing
that the inotify directory add race could be dealt with by scanning for
files inside newly added directories.

TODO: Add support for freebsd/osx kqueue; see
http://hackage.haskell.org/package/kqueue

Can a git-annex-monitor be far off?
2012-04-11 20:09:38 -04:00
Joey Hess
037961aa5d update 2012-04-11 14:22:59 -04:00
Joey Hess
c924542e61 bup: Properly handle key names with spaces or other things that are not legal git refs.
Continue using the key name as bup ref name, to preserve backwards
compatability, unless it is an illegal git ref. In that case, use a sha256
of the key name instead.
2012-04-11 12:45:49 -04:00
Joey Hess
378f61d0ef nicer style; also empty refs are implicitly not allowed 2012-04-11 12:29:31 -04:00
Joey Hess
0be6ebb0aa added a git ref legality checker
git-check-ref-format is .. wow. Good design on one level, but what a mess.
2012-04-11 12:21:54 -04:00
Joey Hess
028972c80f move bug report to right place; analysis 2012-04-11 12:00:39 -04:00
https://www.google.com/accounts/o8/id?id=AItOawlxg9HfyLFn0E87p8Em9P5G9YBUr8JYrkE
2d3efab70d 2012-04-11 09:42:13 +00:00
https://www.google.com/accounts/o8/id?id=AItOawlxg9HfyLFn0E87p8Em9P5G9YBUr8JYrkE
6e128936bc 2012-04-11 09:39:34 +00:00
https://www.google.com/accounts/o8/id?id=AItOawlxg9HfyLFn0E87p8Em9P5G9YBUr8JYrkE
7b8d8daece 2012-04-11 09:38:26 +00:00
https://www.google.com/accounts/o8/id?id=AItOawlxg9HfyLFn0E87p8Em9P5G9YBUr8JYrkE
e27934c42e 2012-04-11 09:37:52 +00:00
https://www.google.com/accounts/o8/id?id=AItOawlxg9HfyLFn0E87p8Em9P5G9YBUr8JYrkE
14ec54118b 2012-04-11 09:37:26 +00:00
https://www.google.com/accounts/o8/id?id=AItOawlxg9HfyLFn0E87p8Em9P5G9YBUr8JYrkE
6b07fb19da 2012-04-11 09:37:06 +00:00
https://www.google.com/accounts/o8/id?id=AItOawlxg9HfyLFn0E87p8Em9P5G9YBUr8JYrkE
af61a5f986 2012-04-11 09:36:34 +00:00
https://www.google.com/accounts/o8/id?id=AItOawlxg9HfyLFn0E87p8Em9P5G9YBUr8JYrkE
75ff4f77b2 removed 2012-04-10 16:30:09 +00:00
https://www.google.com/accounts/o8/id?id=AItOawlxg9HfyLFn0E87p8Em9P5G9YBUr8JYrkE
767ab5fc73 Added a comment 2012-04-10 16:29:35 +00:00
http://joey.kitenet.net/
dce77e9e2b Added a comment 2012-04-10 16:05:40 +00:00
https://www.google.com/accounts/o8/id?id=AItOawlxg9HfyLFn0E87p8Em9P5G9YBUr8JYrkE
83ab75fd48 2012-04-10 15:01:35 +00:00
Joey Hess
182778d664 bugfix: Adding a dotfile also caused all non-dotfiles to be added.
When only a dotfile was specified, the list of non-dotfiles was empty,
triggering the fallback behavior of finding all files.
2012-04-08 12:25:54 -04:00
https://www.google.com/accounts/o8/id?id=AItOawnpdM9F8VbtQ_H5PaPMpGSxPe_d5L1eJ6w
4309f363fb 2012-04-08 15:49:07 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnpdM9F8VbtQ_H5PaPMpGSxPe_d5L1eJ6w
e49f7ea62f 2012-04-08 15:47:29 +00:00
Joey Hess
713ce1e623 add news item for git-annex 3.20120406 2012-04-07 15:59:05 -04:00
Joey Hess
29acf62ba3 releasing version 3.20120406 2012-04-07 15:58:13 -04:00
Joey Hess
62c69e7e25 Disable diskfree on kfreebsd, as I have a build failure on kfreebsd-i386 that is quite likely caused by it. 2012-04-07 15:50:34 -04:00
Joey Hess
fcc08c59ec use unabbreviated size units in status 2012-04-06 14:54:41 -04:00
Joey Hess
1424186c0b cabal says I need a tighter version of cabal to use test-suite 2012-04-05 16:39:50 -04:00