aboutsummaryrefslogtreecommitdiff
path: root/Command/Status.hs
Commit message (Collapse)AuthorAge
* more partial function removalGravatar Joey Hess2011-12-15
| | | | | Left a few Prelude.head's in where it was checked not null and too hard to remove, etc.
* hslintGravatar Joey Hess2011-12-09
|
* fix display of dead repositories in statusGravatar Joey Hess2011-12-02
|
* status --json now shows most thingsGravatar Joey Hess2011-11-20
| | | | | | Left out the backend usage graph for now, and bad/temp directory sizes are only displayed when present. Also, disk usage is returned as a string with units, which I can see changing later.
* status: Include all special remotes in the list of repositories.Gravatar Joey Hess2011-11-18
| | | | | Special remotes do not always have a description listed in uuid.log, and such ones were not listed before.
* fix display of semitrusted repos in statusGravatar Joey Hess2011-11-16
| | | | | | semitrusted uuids rarely are listed in trust.log, so a special case is needed to get a list of them. Take the difference of all known uuids with non-semitrusted uuids.
* show number of reposGravatar Joey Hess2011-11-15
|
* better status outputGravatar Joey Hess2011-11-15
|
* fix exit status so json gets terminated properlyGravatar Joey Hess2011-11-14
|
* status --json --fast for escGravatar Joey Hess2011-11-14
| | | | | | * status: Fix --json mode (only the repository lists are currently displayed) * status: --fast is back
* probably makes sense to list semitrusted before untrustedGravatar Joey Hess2011-11-14
|
* status: Now displays trusted, untrusted, and semitrusted repositories ↵Gravatar Joey Hess2011-11-14
| | | | separately.
* status: clean up for bare repositoriesGravatar Joey Hess2011-10-29
| | | | | | | | | | The backend usage graph shows present keys as well as keys found in the repository tree, so it will also be populated for bare repositories. Changed wording to "visible annex keys", which explains why it's 0 in a bare repository (no keys visible as no tree), and also why it varies depending on which branch is checked out. This seemed better than doing something expensive to look up keys from the git-annex branch.
* clean up check selection codeGravatar Joey Hess2011-10-29
| | | | | | | | | This new approach allows filtering out checks from the default set that are not appropriate for a command, rather than having to list every check that is appropriate. It also reduces some boilerplate. Haskell does not define Eq for functions, so I had to go a long way around with each check having a unique id. Meh.
* Fail if --from or --to is passed to commands that do not support them.Gravatar Joey Hess2011-10-27
|
* refactored and generalized pre-command sanity checkingGravatar Joey Hess2011-10-27
|
* reorganize log modulesGravatar Joey Hess2011-10-15
| | | | no code changes
* renameGravatar Joey Hess2011-10-05
|
* renameGravatar Joey Hess2011-10-04
|
* factor out common importsGravatar Joey Hess2011-10-03
| | | | no code changes
* status: List all known repositories.Gravatar Joey Hess2011-09-30
|
* better output layoutGravatar Joey Hess2011-09-30
|
* list backends with more keys first, not lastGravatar Joey Hess2011-09-30
|
* go go gadget hlintGravatar Joey Hess2011-09-20
|
* pull out pure codeGravatar Joey Hess2011-09-20
|
* bugfixGravatar Joey Hess2011-09-20
| | | | | | Different keys can have the same size, so can't make a Set of the sizes. This version actually runs faster yet, too..
* status: Massively sped up; remove --fast mode.Gravatar Joey Hess2011-09-20
| | | | | | | | | | Using Sets is the right thing; they have constant size lookup like my SizeList, and logn insertation, which beats nub to death. Runs faster than --fast mode did before, and gives accurate counts. 13 seconds total runtime with a warm cache in a repository with 40 thousand keys.
* status: In --fast mode, all status info is displayed now; but some of it is ↵Gravatar Joey Hess2011-09-20
| | | | only approximate, and is marked as such.
* remove command type definitionsGravatar Joey Hess2011-09-15
| | | | | | | These were a mistake, they make the type signatures harder to read and less flexible. The CommandSeek, CommandStart, CommandPerform, and CommandCleanup types were a good idea, but composing them with the parameters expected is going too far.
* code simplification thanks to applicative functorsGravatar Joey Hess2011-08-25
|
* finished hlint passGravatar Joey Hess2011-07-15
|
* renameGravatar Joey Hess2011-07-05
|
* remove unused backend machineryGravatar Joey Hess2011-07-05
| | | | | | | | | | | | | The only remaining vestiage of backends is different types of keys. These are still called "backends", mostly to avoid needing to change user interface and configuration. But everything to do with storing keys in different backends was gone; instead different types of remotes are used. In the refactoring, lots of code was moved out of odd corners like Backend.File, to closer to where it's used, like Command.Drop and Command.Fsck. Quite a lot of dead code was removed. Several data structures became simpler, which may result in better runtime efficiency. There should be no user-visible changes.
* renamed GitRepo to GitGravatar Joey Hess2011-06-30
| | | | It was always imported qualified as Git anyway
* add merge subcommandGravatar Joey Hess2011-06-22
|
* rename modules for data types into Types/ directoryGravatar Joey Hess2011-06-01
|
* Data.Tuple.swap not available with ghc 6.12.3Gravatar Joey Hess2011-05-28
|
* tweakGravatar Joey Hess2011-05-17
|
* tweakGravatar Joey Hess2011-05-16
|
* am I silly to worry about length overflowing int max?Gravatar Joey Hess2011-05-16
|
* rejigger what's --fastGravatar Joey Hess2011-05-16
|
* add info about any temp files and bad content filesGravatar Joey Hess2011-05-16
|
* status: New subcommand to show info about an annex, including its size.Gravatar Joey Hess2011-05-16