summaryrefslogtreecommitdiff
path: root/Upgrade/V1.hs
Commit message (Collapse)AuthorAge
* 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
* refactorGravatar Joey Hess2011-09-23
|
* go go gadget hlintGravatar Joey Hess2011-09-20
|
* code simplification thanks to applicative functorsGravatar Joey Hess2011-08-25
|
* split groups of related functions out of UtilityGravatar Joey Hess2011-08-22
|
* Fix broken upgrade from V1 repository. Closes: #638584Gravatar Joey Hess2011-08-19
| | | | | Had forgotten to keep several old versions of functions needed during this upgrade.
* 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/*
* 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.
* 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
* 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.
* remove stateDirGravatar Joey Hess2011-06-23
|
* v3 upgrade code worksGravatar Joey Hess2011-06-23
| | | | but write the index file a lot, so slow
* fixed logFileGravatar Joey Hess2011-06-22
|
* stop changing gitattributes on update from v1Gravatar Joey Hess2011-06-22
| | | | gitattributes changes are not needed, and will be removed in the v2 upgrade
* move LocationLog into Annex monad from IOGravatar Joey Hess2011-06-22
| | | | It will need to run in Annex so it can use Branch
* rename modules for data types into Types/ directoryGravatar Joey Hess2011-06-01
|
* Periodically flush git command queue, to avoid boating memory usage too much.Gravatar Joey Hess2011-04-07
| | | | | | | Since the queue is flushed in between subcommand actions being run, there should be no issues with actions that expect to queue up some stuff and have it run after they do other stuff. So I didn't have to audit for such assumptions.
* Bugfix: Keys could be received into v1 annexes from v2 annexes, via v1 ↵Gravatar Joey Hess2011-03-28
| | | | git-annex-shell. This results in some oddly named keys in the v1 annex. Recognise and fix those keys when upgrading, instead of crashing.
* responseGravatar Joey Hess2011-03-27
|
* typoGravatar Joey Hess2011-03-21
|
* upgrade messagesGravatar Joey Hess2011-03-21
|
* don't crash on upgrade if .git-annex DNEGravatar Joey Hess2011-03-19
|
* set version before running operation that can commitGravatar Joey Hess2011-03-16
|
* add explicit upgrade commandGravatar Joey Hess2011-03-16
|
* use queue when upgrading, flushing every so oftenGravatar Joey Hess2011-03-16
| | | | | | | | | | | | | | | | | Added a cheap way to query the size of a queue. runQueueAt is not the default yet only because there may be some code that expects to be able to queue some suff, do something else, and run the whole queue at the end. 10240 is an arbitrary size for the queue. If we assume annexed filenames are between 10 and 255 characters long, then the queue will build up between 100kb and 2550kb long commands. The max command line length on linux is somewhere above 20k, so this is a fairly good balance -- the queue will buffer only a few megabytes of stuff and a minimal number of commands will be run by xargs. Also, insert queue items strictly, this should save memory.
* bare repo upgrade supportGravatar Joey Hess2011-03-16
|
* don't use queue when upgradingGravatar Joey Hess2011-03-16
| | | | In a large repo, just queuing the things to do used a lot of ram.
* improve upgradeGravatar Joey Hess2011-03-16
|
* upgrades seem to fully workGravatar Joey Hess2011-03-16
|
* v1 -> v2 upgrade partially workingGravatar Joey Hess2011-03-16
| | | | still need to move location log files, and auto-commit
* upgrade groundworkGravatar Joey Hess2011-03-16
pulled in old versions of functions for working with keys Wrote a parser from old key filenames to new keys.