summaryrefslogtreecommitdiff
path: root/Backend/File.hs
Commit message (Collapse)AuthorAge
* get --from is the same as copy --fromGravatar Joey Hess2011-06-09
| | | | | | | | get not honoring --from has surprised me a few times, so least surprise suggests it should just behave like copy --from. This leaves the difference between get and copy being that copy always requires the remote to copy from, while get will decide whether to get a file from a key/value store or a remote.
* rename modules for data types into Types/ directoryGravatar Joey Hess2011-06-01
|
* better types allowed breaking module dep loopGravatar Joey Hess2011-06-01
|
* Add --trust, --untrust, and --semitrust options.Gravatar Joey Hess2011-06-01
|
* Add --numcopies option.Gravatar Joey Hess2011-06-01
|
* reexport RemoteClass from Remote for cleanlinessGravatar Joey Hess2011-03-27
|
* add remotes slot to AnnexGravatar Joey Hess2011-03-27
| | | | This required parameterizing the type for Remote, to avoid a cycle.
* start of generalizing remotesGravatar Joey Hess2011-03-27
| | | | | | | | | Goal is to support multiple different types of remotes, some of which are not git repositories. To that end, added a Remote class, and moved git remote specific code into Remote.GitRemote. Remotes.hs is still present as some code has not been converted to use the new Remote class yet.
* migrate: Support migrating v1 SHA keys to v2 SHA keys with size information ↵Gravatar Joey Hess2011-03-23
| | | | that can be used for free space checking.
* check key size when available, no matter the backendGravatar Joey Hess2011-03-23
| | | | | Now that SHA and other backends can have size info, fsck should check it whenever available.
* rename fileGravatar Joey Hess2011-03-15
|
* Rethink filename encoding handling for display. Since filename encoding may ↵0.23Gravatar Joey Hess2011-03-12
| | | | or may not match locale settings, any attempt to decode filenames will fail for some files. So instead, do all output in binary mode.
* update unicode FilePath handlingGravatar Joey Hess2011-02-11
| | | | | | | | Based on http://hackage.haskell.org/trac/ghc/ticket/3307 , whether FilePath contains decoded unicode varies by OS. So, add a configure check for it. Also, renamed showFile to filePathToString
* Fix display of unicode filenames.Gravatar Joey Hess2011-02-10
| | | | | | | | | Internally, the filenames are stored as un-decoded unicode. I tried decoding them, but then haskell tries to access the wrong files. Hmm. So, I've unhappily chosen option "B", which is to decode filenames before they are displayed.
* idiomatic elemGravatar Joey Hess2011-01-30
|
* 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.
* less verboseGravatar Joey Hess2011-01-27
|
* make filename available to fsck messagesGravatar Joey Hess2011-01-26
|
* bring back display of keysGravatar Joey Hess2011-01-26
| | | | in fsck -q, that's the only way to know what file it means
* this should be a warningGravatar Joey Hess2011-01-26
|
* drop: suppprt untrusted reposGravatar Joey Hess2011-01-26
|
* rework noteGravatar Joey Hess2011-01-26
|
* fsck: handle untrusted reposGravatar Joey Hess2011-01-26
|
* move partitioning out of keyPossibilitiesGravatar Joey Hess2011-01-26
| | | | And a bug fix in passing.
* rename TypeInternals to BackendTypesGravatar Joey Hess2011-01-26
| | | | Now that it only contains types used by the backends
* 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.
* successfully split Annex and AnnexState out of TypeInternalsGravatar Joey Hess2011-01-25
|
* 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.
* got rid of Core moduleGravatar Joey Hess2011-01-16
| | | | Most of it was to do with managing annexed Content, so put there
* tweak messageGravatar Joey Hess2011-01-05
|
* git-annex-shell now exclusively used for all remote accessGravatar Joey Hess2010-12-31
|
* support trusted repositories that are not configured as remotesGravatar Joey Hess2010-12-29
|
* improve list of remotes in error messageGravatar Joey Hess2010-12-29
|
* Fix bug in numcopies handling when a repoisitory has multiple remotes that ↵Gravatar Joey Hess2010-12-29
| | | | point to the same repository.
* refactorGravatar Joey Hess2010-12-29
|
* tweakGravatar Joey Hess2010-12-28
|
* Add trust and untrust subcommands, to allow configuring remotes that are ↵Gravatar Joey Hess2010-12-28
| | | | trusted to retain files without explicit checking.
* better messageGravatar Joey Hess2010-12-24
|
* remove note that looked ugly with resume messageGravatar Joey Hess2010-12-02
|
* include key in messageGravatar Joey Hess2010-11-28
|
* fsck: Fix warning about not enough copies of a file, when locations are ↵Gravatar Joey Hess2010-11-28
| | | | known, but are not available in currently configured remotes.
* In .gitattributes, the git-annex-numcopies attribute can be used to control ↵Gravatar Joey Hess2010-11-28
| | | | the number of copies to retain of different types of files.
* finished hlintingGravatar Joey Hess2010-11-22
|
* fsck: Print warnings to stderr; --quiet can now be used to only see problems.Gravatar Joey Hess2010-11-15
|
* fsck improvementsGravatar Joey Hess2010-11-13
|
* fsck improvementsGravatar Joey Hess2010-11-13
| | | | | | | | | * fsck: Check if annex.numcopies is satisfied. * fsck: Verify the sha1 of files when the SHA1 backend is used. * fsck: Verify the size of files when the WORM backend is used. * fsck: Allow specifying individual files to fsk if fscking everything is not desired. * fsck: Fix bug, introduced in 0.04, in detection of unused data.
* refactoring, no code changes reallyGravatar Joey Hess2010-11-08
|
* more Wall cleaningGravatar Joey Hess2010-10-31
|
* got rid of almost all 'return ()'Gravatar Joey Hess2010-10-28
|
* copyright statements0.02Gravatar Joey Hess2010-10-27
|