summaryrefslogtreecommitdiff
path: root/Upgrade.hs
Commit message (Collapse)AuthorAge
* Auto-upgrade v3 indirect repos to v5 with no changes. This also fixes a ↵Gravatar Joey Hess2013-12-29
| | | | problem when a direct mode repo was somehow set to v3 rather than v4, and so the automatic direct mode upgrade to v5 was not done.
* Bug fix: annex.version did not get set on automatic upgrade to v5 direct ↵Gravatar Joey Hess2013-11-26
| | | | mode repo, so the upgrade was performed repeatedly, slowing commands down.
* webapp: Check annex.version.Gravatar Joey Hess2013-11-17
|
* v5 for direct mode, with automatic upgradeGravatar Joey Hess2013-11-05
| | | | | This includes storing the current state of the HEAD ref, which git annex sync is going to need, but does not make sync use it.
* missed some __WINDOWS__ definesGravatar Joey Hess2013-08-04
|
* fix permission damage (thanks, Windows)Gravatar Joey Hess2013-05-11
|
* git-annex now builds on Windows (doesn't work)Gravatar Joey Hess2013-05-11
|
* where indentingGravatar Joey Hess2012-11-11
|
* tweaksGravatar Joey Hess2012-01-11
|
* renameGravatar Joey Hess2011-10-05
|
* renameGravatar Joey Hess2011-10-04
|
* factor out common importsGravatar Joey Hess2011-10-03
| | | | no code changes
* 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.
* stub in v2 upgradeGravatar Joey Hess2011-06-22
|
* No longer auto-upgrade to repository format 2, to avoid accidental upgrades, ↵Gravatar Joey Hess2011-03-19
| | | | etc. Use git-annex upgrade when you're ready to run this version.
* Add version command to show git-annex version as well as repository version ↵Gravatar Joey Hess2011-03-19
| | | | information.
* slways set current version in new reposGravatar Joey Hess2011-03-16
| | | | detect v1 repos that don't have a version set
* 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.
* upgrade thoughtsGravatar Joey Hess2011-03-16
| | | | long comments :)
* increase repo versionGravatar 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.
* use ShellParam typeGravatar Joey Hess2011-02-28
| | | | | So, I have a type checked safe handling of filenames starting with dashes, throughout the code.
* use forM_ in a few placesGravatar Joey Hess2011-01-31
|
* use mapM_Gravatar Joey Hess2011-01-31
|
* 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.
* got rid of Core moduleGravatar Joey Hess2011-01-16
| | | | Most of it was to do with managing annexed Content, so put there
* Avoid multiple calls to git ls-files when passed eg, "*".Gravatar Joey Hess2010-12-23
|
* Support upgrading from a v0 annex with nothing in it.Gravatar Joey Hess2010-12-20
|
* Fix upgrade from 0.03.Gravatar Joey Hess2010-12-13
|
* move stuff out of CoreGravatar Joey Hess2010-11-14