summaryrefslogtreecommitdiff
path: root/Command
Commit message (Collapse)AuthorAge
* add json formatted list of remotesGravatar Joey Hess2011-09-01
| | | | | Wherever a list of remotes is shown, --json now enables a json formatted list.
* generalize quiet flag to output typeGravatar Joey Hess2011-09-01
| | | | This will allow adding other styles of output.
* add explanation for why strictness is needed hereGravatar Joey Hess2011-08-31
|
* unused --remote: Reduced memory use to 1/4th what was used before.Gravatar Joey Hess2011-08-31
| | | | | | | Using a single strictness annotation, in just the right place. Tried several others, none of which helped and some of which potentially hurt. This is only the second time I've really had to deal with this in a year of using haskell, which is, I suppose not that bad.
* init: Make description an optional parameter.Gravatar Joey Hess2011-08-29
|
* code simplification thanks to applicative functorsGravatar Joey Hess2011-08-25
|
* split groups of related functions out of UtilityGravatar Joey Hess2011-08-22
|
* moved files aroundGravatar Joey Hess2011-08-20
|
* git-annex-shell configlist should not be standaloneGravatar Joey Hess2011-08-17
| | | | | This makes it initialize the repository with a uuid, and list the uuid, allowing automatic setup of bare repositories when git-annex is used.
* Now "git annex init" only has to be run onceGravatar Joey Hess2011-08-17
| | | | | | | when a git repository is first being created. Clones will automatically notice that git-annex is in use and automatically perform a basic initalization. It's still recommended to run "git annex init" in any clones, to describe them.
* reorg Remote/*Gravatar Joey Hess2011-08-16
|
* split out generic url stuff into a helper library from Remote.WebGravatar Joey Hess2011-08-16
|
* avoid namespace conflictGravatar Joey Hess2011-08-16
|
* addurl: --fast can be used to avoid immediately downloading the url.Gravatar Joey Hess2011-08-06
| | | | | | The tricky part about this is that to generate a key, the file must be present already. Worked around by adding (back) an URL key type, which is used for addurl --fast.
* unify elipsis handlingGravatar Joey Hess2011-07-19
| | | | | And add a simple dots-based progress display, currently only used in v2 upgrade.
* finished hlint passGravatar Joey Hess2011-07-15
|
* unannex: only commit, no -aGravatar Joey Hess2011-07-14
| | | | -a is actually not needed; only commit staged changes
* unannex: Clean up use of git commit -a.Gravatar Joey Hess2011-07-14
| | | | | | | | This was more complex than would be expected. unannex has to use git commit -a since it's removing files from git; git commit filelist won't do. Allow commands to be added to the Git queue that have no associated files, and run such commands once.
* add: Be even more robust to avoid ever leaving the file seemingly deleted.Gravatar Joey Hess2011-07-07
| | | | | A failure at any point after the file is annexed will result in an undo that puts the original file back into place and wipes the location log.
* add: Avoid a failure mode that resulted in the file seemingly being deleted ↵Gravatar Joey Hess2011-07-07
| | | | (content put in the annex but no symlink present).
* renameGravatar Joey Hess2011-07-05
|
* renameGravatar Joey Hess2011-07-05
|
* factor out RemoteLogGravatar 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.
* better display of thrown errorsGravatar Joey Hess2011-07-05
|
* uninit: Use unannex in --fast mode, to support unannexing multiple files ↵Gravatar Joey Hess2011-07-04
| | | | that link to the same content.
* fix usage for setkeyGravatar Joey Hess2011-07-04
|
* unannex: In --fast mode, file content is left in the annex, and a hard link ↵Gravatar Joey Hess2011-07-04
| | | | made to it.
* uninit: delete .git/annex/Gravatar Joey Hess2011-07-04
|
* uninit: Delete the git-annex branch.Gravatar Joey Hess2011-07-04
|
* download urls via tmp file, and support resumingGravatar Joey Hess2011-07-01
|
* add the addurl commandGravatar Joey Hess2011-07-01
|
* add web special remoteGravatar Joey Hess2011-07-01
| | | | | Generalized LocationLog to PresenceLog, and use a presence log to record urls for the web special remote.
* renamed GitRepo to GitGravatar Joey Hess2011-06-30
| | | | It was always imported qualified as Git anyway
* generalized safeWriteFile to viaTmpGravatar Joey Hess2011-06-30
|
* 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
| |
* | avoid unnecessary read of trust.logGravatar Joey Hess2011-06-23
| |
* | unused command updates for branchesGravatar Joey Hess2011-06-23
| | | | | | | | | | Now that branches are more likely, unused needs to more explicitly warn that it does not look in them.
* | v3 upgrade code worksGravatar Joey Hess2011-06-23
| | | | | | | | but write the index file a lot, so slow
* | rewrite loggedkeys to use git-annex branchGravatar Joey Hess2011-06-22
| | | | | | | | | | | | That sucking sound is a whole page of code vanishing to be replaced with return . catMaybes . map (logFileKey . takeFileName) =<< Branch.files What can I say, git is my database, and haskell my copilot.
* | add merge subcommandGravatar Joey Hess2011-06-22
| |
* | improve bare repo handingGravatar Joey Hess2011-06-22
| | | | | | | | | | Many more commands can work in bare repos now, thanks to the git-annex branch.
* | improve version checking for v3Gravatar Joey Hess2011-06-22
| | | | | | | | | | | | | | | | | | Do not set annex.version whenever any command is run. Just do it in init. This ensures that, if a repo has annex.version=3, it has a git-annex branch, so we don't have to run a command every time to check for the branch. Remove the old ad-hoc logic for v0 and v1, to simplify version checking.
* | store trust.log and remote.log in the git-annex branchGravatar Joey Hess2011-06-22
| | | | | | | | .. and I think that's everything that will use the branch
* | fixed logFileGravatar Joey Hess2011-06-22
| |
* | update for git-annex branchGravatar Joey Hess2011-06-22
| | | | | | | | | | | | | | | | | | | | | | stop changing gitattributes on init create git-annex branch on init ugly special case for init in a bare repository goes away, yay! git annex init is also faster, at least in a large existing repo, as it does not need to run the slow 'git add'
* | stop undoing gitattributes on uninitGravatar Joey Hess2011-06-22
| | | | | | | | v2 upgrade will undo them
* | move LocationLog into Annex monad from IOGravatar Joey Hess2011-06-22
|/ | | | It will need to run in Annex so it can use Branch