Joey Hess
afc5153157
update my email address and homepage url
2015-01-21 12:50:09 -04:00
Joey Hess
b1d7474c1d
Auto-upgrade v3 indirect repos to v5 with no changes. This also fixes a 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.
2013-12-29 13:06:23 -04:00
Joey Hess
3e9db00d2d
Bug fix: annex.version did not get set on automatic upgrade to v5 direct mode repo, so the upgrade was performed repeatedly, slowing commands down.
2013-11-26 12:54:50 -04:00
Joey Hess
9c20185f55
webapp: Check annex.version.
2013-11-17 14:58:35 -04:00
Joey Hess
4510819215
v5 for direct mode, with automatic upgrade
...
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.
2013-11-05 17:05:03 -04:00
Joey Hess
6a97896b47
missed some __WINDOWS__ defines
2013-08-04 13:07:55 -04:00
Joey Hess
abe8d549df
fix permission damage (thanks, Windows)
2013-05-11 23:54:25 -04:00
Joey Hess
3c7e30a295
git-annex now builds on Windows (doesn't work)
2013-05-11 15:03:00 -05:00
Joey Hess
2172cc586e
where indenting
2012-11-11 00:51:07 -04:00
Joey Hess
abdacf58ed
tweaks
2012-01-11 00:06:54 -04:00
Joey Hess
6a6ea06cee
rename
2011-10-05 16:02:51 -04:00
Joey Hess
cfe21e85e7
rename
2011-10-04 00:59:08 -04:00
Joey Hess
8ef2095fa0
factor out common imports
...
no code changes
2011-10-03 23:29:48 -04:00
Joey Hess
944c51ba26
improve version checking for v3
...
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.
2011-06-22 18:07:45 -04:00
Joey Hess
1a182d4d04
stub in v2 upgrade
2011-06-22 17:51:48 -04:00
Joey Hess
6a2a17658c
No longer auto-upgrade to repository format 2, to avoid accidental upgrades, etc. Use git-annex upgrade when you're ready to run this version.
2011-03-19 18:33:39 -04:00
Joey Hess
828a84ba33
Add version command to show git-annex version as well as repository version information.
2011-03-19 14:33:24 -04:00
Joey Hess
a4d0250298
slways set current version in new repos
...
detect v1 repos that don't have a version set
2011-03-16 02:16:25 -04:00
Joey Hess
e227c210ec
upgrade groundwork
...
pulled in old versions of functions for working with keys
Wrote a parser from old key filenames to new keys.
2011-03-16 01:23:20 -04:00
Joey Hess
f1e010f42e
upgrade thoughts
...
long comments :)
2011-03-16 00:32:15 -04:00
Joey Hess
4651688290
increase repo version
2011-03-15 22:08:19 -04:00
Joey Hess
9d49fe2c17
first pass at using new keys
...
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.
2011-03-15 21:34:13 -04:00
Joey Hess
fcdc4797a9
use ShellParam type
...
So, I have a type checked safe handling of filenames starting with dashes,
throughout the code.
2011-02-28 16:18:55 -04:00
Joey Hess
755029ae0e
use forM_ in a few places
2011-01-31 23:27:53 -04:00
Joey Hess
d007e58a54
use mapM_
2011-01-31 13:52:11 -04:00
Joey Hess
167523f09d
better directory handling
...
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.
2011-01-27 17:00:32 -04:00
Joey Hess
e7b557ef5d
got rid of Core module
...
Most of it was to do with managing annexed Content, so put there
2011-01-16 16:05:05 -04:00
Joey Hess
346c7a0257
Avoid multiple calls to git ls-files when passed eg, "*".
2010-12-23 21:58:58 -04:00
Joey Hess
eedebb0057
Support upgrading from a v0 annex with nothing in it.
2010-12-20 15:01:04 -04:00
Joey Hess
0210628263
Fix upgrade from 0.03.
2010-12-13 11:35:00 -04:00
Joey Hess
0e55d6a907
move stuff out of Core
2010-11-14 14:44:24 -04:00