summaryrefslogtreecommitdiff
path: root/Command.hs
Commit message (Collapse)AuthorAge
...
* move annex.numcopies parsing into withNumCopiesGravatar Joey Hess2011-09-15
|
* bugfix: drop and fsck did not honor --excludeGravatar Joey Hess2011-09-15
|
* clean up params in usage displayGravatar Joey Hess2011-09-15
|
* remove optimize subcommand; use --auto insteadGravatar Joey Hess2011-09-15
| | | | | | | | | | | | | | | | | | 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.
* fix synopsisGravatar Joey Hess2011-09-15
|
* optimize: A new subcommand that either gets or drops file content as needed ↵Gravatar Joey Hess2011-09-14
| | | | | | | | to work toward meeting the configured numcopies setting. This is currently rather simplistic, though still useful. In the future, it could become smarter about what content is stored where, etc.
* Improve display of newlines around error and warning messages.Gravatar Joey Hess2011-09-06
|
* code simplification thanks to applicative functorsGravatar Joey Hess2011-08-25
|
* avoid namespace conflictGravatar Joey Hess2011-08-16
|
* unify elipsis handlingGravatar Joey Hess2011-07-19
| | | | | And add a simple dots-based progress display, currently only used in v2 upgrade.
* hlint tweaksGravatar Joey Hess2011-07-15
| | | | Did all sources except Remotes/* and Command/*
* better display of thrown errorsGravatar Joey Hess2011-07-05
|
* renamed GitRepo to GitGravatar Joey Hess2011-06-30
| | | | It was always imported qualified as Git anyway
* factor out file list stuff from GitRepoGravatar Joey Hess2011-06-29
| | | | | GitRepo is getting too large an interface; these all fit nicely into a submodule.
* Merge branch 'master' into v3Gravatar Joey Hess2011-06-29
|\ | | | | | | | | Conflicts: debian/changelog
| * --force will cause add, etc, to operate on ignored files.Gravatar Joey Hess2011-06-29
| |
* | remove stateDirGravatar Joey Hess2011-06-23
|/
* rename modules for data types into Types/ directoryGravatar Joey Hess2011-06-01
|
* show error message on unexpected parameters to commands that take noneGravatar Joey Hess2011-05-28
| | | | Before it would exit nonzero w/o doing anything, which was confusing.
* simplifyGravatar Joey Hess2011-05-28
|
* Fix bug in --exclude introduced in 0.20110516.Gravatar Joey Hess2011-05-27
|
* better multiword parameter handlingGravatar Joey Hess2011-05-16
| | | | | This way, individual words as entered on the command line are available to commands.
* Maybe reduction pass 2Gravatar Joey Hess2011-05-15
|
* simplified a bunch of Maybe handlingGravatar Joey Hess2011-05-15
|
* cleanupGravatar Joey Hess2011-05-15
|
* refactor some boilerplateGravatar Joey Hess2011-05-15
|
* started on initremoteGravatar Joey Hess2011-03-28
|
* Fix space leak in fsck and drop commands.Gravatar Joey Hess2011-03-22
| | | | | | | | | | | | | | The space leak was somehow caused by this line: absfiles <- mapM absPath files I confess, I don't quite understand why this caused bad buffering, but apparently the whole pipeline from git-ls-files backed up at that point. Happily, rewriting the code to only get the cwd once and use a pure function to calculate absfiles clears it up, and should be a little more efficient in syscalls too.
* avoid version check before running version and upgrade commandsGravatar Joey Hess2011-03-19
| | | | | There are two types of commands; those that access the repository and those that don't. Sorted.
* make commands that take a key as a parameter error if it's badGravatar Joey Hess2011-03-15
|
* fixed dropkey, setkey, and git-annex-shell subcommandsGravatar Joey Hess2011-03-15
| | | | key is now specified as the full key, no --backend needed
* fromkey, and url backend download work nowGravatar Joey Hess2011-03-15
|
* rename fileGravatar Joey Hess2011-03-15
|
* first pass at using new keysGravatar Joey Hess2011-03-15
| | | | | | | It compiles. It sorta works. Several subcommands are FIXME marked and broken, because things that used to accept separate --backend and --key params need to be changed to accept just a --key that encodes all the key info, now that there is metadata in keys.
* shorten a help string to avoid column getting too wideGravatar Joey Hess2011-03-05
|
* add describe subcommandGravatar Joey Hess2011-03-03
|
* prevent trust commands from trying to do things in a bare repoGravatar Joey Hess2011-03-03
| | | | | Since they need to stage changes, they would actually, if allowed to run, succeed, but wipe out existing trust.log content.
* hello, liftMGravatar Joey Hess2011-02-19
|
* add check for unclean treeGravatar Joey Hess2011-02-01
|
* cleanup last changeGravatar Joey Hess2011-01-31
|
* Preserve specified file ordering when instructed to act on multiple files or ↵Gravatar Joey Hess2011-01-31
| | | | directories.
* tweakGravatar Joey Hess2011-01-30
|
* more pure code refactoringGravatar Joey Hess2011-01-29
|
* idiomGravatar Joey Hess2011-01-27
|
* better directory handlingGravatar Joey Hess2011-01-27
| | | | | | | | | | Rename Locations functions for better consitency, and make their values more consistent too. Used </> rather than manually building paths. There are still more places that manually do so, but are tricky, due to the behavior of </> when the second FilePath is absolute. So I only changed places where it obviously was relative.
* use isPrefixOfGravatar Joey Hess2011-01-27
|
* rework config storageGravatar Joey Hess2011-01-26
| | | | | | | Moved away from a map of flags to storing config directly in the AnnexState structure. Got rid of most accessor functions in Annex. This allowed supporting multiple --exclude flags.
* parameterize Backend typeGravatar Joey Hess2011-01-25
| | | | | This allows the Backend type to not depend on the Annex type, and so the Annex type can later be moved out of TypeInternals.
* clarify default values when no path is specifiedGravatar Joey Hess2011-01-13
| | | | | Much of the code to handle this was unnecessary, as git ls-files is used, and defaults to returning all files of the desired type.
* use concatGravatar Joey Hess2011-01-09
|