Skip to content
Snippets Groups Projects
  1. Oct 05, 2011
  2. Oct 04, 2011
  3. Sep 21, 2011
  4. Sep 20, 2011
  5. Sep 18, 2011
    • Joey Hess's avatar
      add --and --or --not -( and -) · b9aa944b
      Joey Hess authored
      I dislike -( and -), but without using a different option parser, can't
      easily use bare parens.
      
      --and and --or will become more useful once there are more interesting
      limits than --exclude
      b9aa944b
  6. Sep 15, 2011
    • Joey Hess's avatar
      remove optimize subcommand; use --auto instead · 984c9fc0
      Joey Hess authored
      get, drop: Added --auto option, which decides whether to get/drop content
      as needed to work toward the configured numcopies.
      
      The problem with bundling it up in optimize was that I then found I wanted
      to run an optmize that did not drop files, only got them. Considered adding
      a --only-get switch to it, but that seemed wrong. Instead, let's make
      existing subcommands optionally smarter.
      
      Note that the only actual difference between drop and drop --auto is that
      the latter does not even try to drop a file if it knows of not enough
      copies, and does not print any error messages about files it was unable to
      drop.
      
      It might be nice to make get avoid asking git for attributes when not in
      auto mode. For now it always asks for attributes.
      984c9fc0
  7. Sep 01, 2011
    • Joey Hess's avatar
      basic json support · 2f4d4d1c
      Joey Hess authored
      This includes a generic JSONStream library built on top of Text.JSON
      (somewhat hackishly).
      
      It would be possible to stream out a single json document describing
      all actions, but it's probably better for consumers if they can expect
      one json document per line, so I did it that way instead.
      
      Output from external programs used for transferring files is not
      currently hidden when outputting json, which probably makes it not very
      useful there. This may be dealt with if there is demand for json
      output for --get or --move to be parsable.
      
      The version, status, and find subcommands have hand-crafted output and
      don't do json. The whereis subcommand needs to be modified to produce
      useful json.
      2f4d4d1c
    • Joey Hess's avatar
      generalize quiet flag to output type · 57dd34c6
      Joey Hess authored
      This will allow adding other styles of output.
      57dd34c6
  8. May 22, 2011
  9. May 21, 2011
    • Joey Hess's avatar
      Add --debug option. Closes: #627499 · 93a4f3d4
      Joey Hess authored
      This takes advantage of the debug logging done by missingh, and I added
      my own debug messages for executeFile calls. There are still some other
      low-level ways git-annex runs stuff that are not shown by debugging,
      but this gets most of it easily.
      93a4f3d4
  10. May 18, 2011
  11. Apr 03, 2011
  12. Mar 22, 2011
    • Joey Hess's avatar
      fast mode · c2199872
      Joey Hess authored
      Add --fast flag, that can enable less expensive, but also less thurough versions of some commands.
      
      * Add --fast flag, that can enable less expensive, but also less thurough
        versions of some commands.
      * fsck: In fast mode, avoid checking checksums.
      * unused: In fast mode, just show all existing temp files as unused,
        and avoid expensive scan for other unused content.
      c2199872
  13. Jan 26, 2011
  14. Dec 31, 2010
  15. Dec 30, 2010