Joey Hess
c77ac11acc
unannex: Commit staged changes at end
...
to avoid some confusing behavior with the pre-commit hook, which would see
some types of commits after an unannex as checking in of an unlocked file.
2011-02-01 21:27:23 -04:00
Joey Hess
27056daccd
cleanup last change
2011-01-31 20:15:23 -04:00
Joey Hess
37c62eebb7
Preserve specified file ordering when instructed to act on multiple files or directories.
2011-01-31 20:06:34 -04:00
Joey Hess
3c49113023
releasing version 0.19
2011-01-28 14:42:06 -04:00
Joey Hess
e6da7eb177
Improved temp file handling
...
* Improved temp file handling. Transfers of content can now be resumed
from temp files later; the resume does not have to be the immediate
next git-annex run.
* unused: Include partially transferred content in the list.
2011-01-28 14:10:50 -04:00
Joey Hess
c30d38e108
better warnings display
2011-01-26 20:30:07 -04:00
Joey Hess
1a11085a50
drop: suppprt untrusted repos
2011-01-26 19:35:35 -04:00
Joey Hess
ba748a1198
fsck: handle untrusted repos
2011-01-26 17:44:40 -04:00
Joey Hess
b7903eb2d1
move partitioning out of keyPossibilities
...
And a bug fix in passing.
2011-01-26 16:44:14 -04:00
Joey Hess
7f6af79232
trust setting improvements
2011-01-26 16:20:28 -04:00
Joey Hess
f7e3d6eea2
document 3-level trust
2011-01-26 14:09:06 -04:00
Joey Hess
6a97b10fcb
rework config storage
...
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.
2011-01-26 00:17:38 -04:00
Joey Hess
dbb76c22d0
Support using the uuidgen command if the uuid command is not available.
2011-01-19 18:08:50 -04:00
Joey Hess
818111e0c2
releasing version 0.18
2011-01-14 15:10:13 -04:00
Joey Hess
c1839fdccb
unlock: Fix behavior when file content is not present.
2011-01-13 23:46:02 -04:00
Joey Hess
2a67721d51
DEP5
2011-01-13 18:53:15 -04:00
Joey Hess
5869e7ccd5
test unused et al
2011-01-12 01:58:23 -04:00
Joey Hess
e18a4d566b
migrate: Fix support for --backend option.
2011-01-11 21:32:38 -04:00
Joey Hess
b557a2ccf4
test migrate; 75%
2011-01-11 21:11:32 -04:00
Joey Hess
868486c6b6
update
2011-01-11 20:08:15 -04:00
Joey Hess
e2af0914fa
fsck: Fix bug in moving of corrupted files to .git/annex/bad/
2011-01-11 19:41:13 -04:00
Joey Hess
196c2fa786
Bugfix: copy --to
and move --to
forgot to stage location log changes after transferring the file to the remote repository. (Did not affect ssh remotes.)
2011-01-11 16:06:19 -04:00
Joey Hess
53170b1a14
fix real underlaying cause, and fix test suite to not skip it
2011-01-09 10:48:04 -04:00
Joey Hess
f4ddb580c8
bugfix: Fix crash caused by a symlink in the repo with link text ending in a "/". (Thanks Henrik for reporting.)
2011-01-09 10:04:16 -04:00
Joey Hess
9de982eab7
copyright years
2011-01-08 16:09:17 -04:00
Joey Hess
a78b0555e1
New migrate subcommand can be used to switch files to using a different backend, safely and with no duplication of content.
2011-01-08 15:54:14 -04:00
Joey Hess
32b0e10390
unannex: Now skips files whose content is not present, rather than it being an error. This allows gradual conversion from one backend to another by running unannex followed by add in each repository.
2011-01-08 15:14:41 -04:00
Joey Hess
d31e61a90d
add news item for git-annex 0.16
2011-01-07 14:36:52 -04:00
Joey Hess
f3472d3a5d
Test suite improvements. Current top-level test coverage: 65%
2011-01-07 14:06:32 -04:00
Joey Hess
2684cbbd23
clarify
2011-01-07 12:34:44 -04:00
Joey Hess
e43d4730c5
bugfix: Running copy --to
when both local and remote had the key dropped it from local.
2011-01-07 02:14:22 -04:00
Joey Hess
71a8278f9c
bugfix: Running move --to
with a non-ssh remote failed.
2011-01-07 01:14:27 -04:00
Joey Hess
f4a26f01ea
more tests
2011-01-06 22:22:09 -04:00
Joey Hess
87f424eca7
more tests
2011-01-06 21:39:26 -04:00
Joey Hess
2533d826fc
make test suite link in git-annex's commands and run directly
...
this way, test coverage works
2011-01-06 20:26:57 -04:00
Joey Hess
901cdbde78
added some toplevel git-annex subcommand tests
...
note that test coverage doesn't work for those yet
2011-01-06 20:09:49 -04:00
Joey Hess
f1b747e6d9
bugfix: Running move --to
with a remote whose UUID was not yet known
...
* bugfix: Running `move --to` with a remote whose UUID was not yet known
could result in git-annex not recording on the local side where the
file was moved to. This could not result in data loss, or even a
significant problem, since the remote *did* record that it had the file.
* Also, add a general guard to detect attempts to record information
about repositories with missing UUIDs.
2011-01-04 17:45:27 -04:00
Joey Hess
a857e1f4ee
git-annex-shell: Avoid exposing any git repo config except for the annex.uuid when doing configlist.
2011-01-04 17:34:14 -04:00
Joey Hess
3902b05b25
releasing version 0.15
2010-12-31 22:22:50 -04:00
Joey Hess
14fe13dc2b
support ssh urls containing "~", and relative user:path
2010-12-31 21:22:03 -04:00
Joey Hess
e6af35d206
update
2010-12-31 19:19:26 -04:00
Joey Hess
f48658d4ee
Now rsync is exclusively used for copying files to and from remotes. scp is not longer supported.
2010-12-31 19:11:18 -04:00
Joey Hess
25ffa04c5a
wording
2010-12-29 17:00:14 -04:00
Joey Hess
885f7048d5
Fix bug in numcopies handling when a repoisitory has multiple remotes that point to the same repository.
2010-12-29 16:31:25 -04:00
Joey Hess
7329a1b655
note
2010-12-28 17:19:52 -04:00
Joey Hess
aa4f91b2d6
Add trust and untrust subcommands, to allow configuring remotes that are trusted to retain files without explicit checking.
2010-12-28 17:17:02 -04:00
Joey Hess
022e0c7751
Support scp-style urls for remotes (host:path).
2010-12-28 13:48:11 -04:00
Joey Hess
80aaa68e91
releasing version 0.14
2010-12-24 17:41:15 -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
c4a357d5d1
Bugfix to git annex unused in a repository with nothing yet annexed.
2010-12-20 14:57:43 -04:00
Joey Hess
dc25c7030a
releasing version 0.13
2010-12-14 13:12:24 -04:00
Joey Hess
5d4052d0e0
Support remotes using git+ssh and ssh+git as protocol. Closes : #607056
2010-12-14 12:46:09 -04:00
Joey Hess
5ec3cea059
Support remotes using git+ssh:// as protocol. Closes : #607056
2010-12-14 11:37:11 -04:00
Joey Hess
0210628263
Fix upgrade from 0.03.
2010-12-13 11:35:00 -04:00
Joey Hess
67c5036579
Makefile: Add GHCFLAGS variable.
2010-12-12 13:17:53 -04:00
Joey Hess
b805b9ae66
Makefile: Add GHCOPTS variable.
2010-12-12 13:16:34 -04:00
Joey Hess
98ad5402d9
Makefile: Install man page and html (when built).
2010-12-12 13:15:16 -04:00
Joey Hess
3a252efd9d
releasing version 0.12
2010-12-11 17:37:24 -04:00
Joey Hess
10484a69b8
Makefile: Add PREFIX variable.
2010-12-11 17:29:50 -04:00
Joey Hess
77e52a52dd
Bugfix to git annex add of an unlocked file in a subdir. Closes : #606579
2010-12-11 17:14:54 -04:00
Joey Hess
cdf040e816
mwdn2man: Fix a bug in newline supression. Closes : #606578
2010-12-10 17:27:02 -04:00
Joey Hess
f8851aad66
use Text.Regex.PCRE.Light.Char8 rather than Text.Regexp
...
Text.Regexp does not think that á matches . -- seems to be a unicode
problem.
2010-12-08 14:48:10 -04:00
Joey Hess
2099407d8a
Add --exclude option to exclude files from processing.
...
Required some lifting so flags are evaled in the Annex monad before
file filtering.
2010-12-08 14:07:49 -04:00
Joey Hess
b34da73ec2
releasing version 0.11
2010-12-04 17:29:28 -04:00
Joey Hess
57305570eb
Add uninit subcommand. Closes : #605749
2010-12-03 00:33:41 -04:00
Joey Hess
83a87a5229
Improve detection of version 0 repos.
2010-12-02 21:07:16 -04:00
Joey Hess
2fba1ba40d
Avoid deleting temp files when rsync fails.
2010-12-02 17:51:02 -04:00
Joey Hess
b9320ee1d5
use rsync for all remote file transfers
2010-12-02 17:45:28 -04:00
Joey Hess
37941184f9
Rsync will now be used to resume interrupted/failed partial file transfers from a remote.
2010-12-02 16:55:21 -04:00
Joey Hess
0643b7f4c6
releasing version 0.10
2010-11-28 19:32:00 -04:00
Joey Hess
ca32c7859b
The git-annex-backend attribute has been renamed to annex.backend.
2010-11-28 18:58:03 -04:00
Joey Hess
9d82e815ff
change name of numcopies attribute
2010-11-28 18:55:49 -04:00
Joey Hess
dabfc455c6
clarify
2010-11-28 17:34:31 -04:00
Joey Hess
7e82d420d8
missing \n in -q mode
2010-11-28 17:32:06 -04:00
Joey Hess
949e4abc56
fsck: Fix warning about not enough copies of a file, when locations are known, but are not available in currently configured remotes.
2010-11-28 17:26:15 -04:00
Joey Hess
abf084f628
Bugfix: Always correctly handle gitattributes when in a subdirectory of the repository.
2010-11-28 17:17:18 -04:00
Joey Hess
653ad35a9f
In .gitattributes, the git-annex-numcopies attribute can be used to control the number of copies to retain of different types of files.
2010-11-28 15:28:20 -04:00
Joey Hess
92e5d28ca8
precommit: Optimise to avoid calling git-check-attr more than once.
2010-11-28 14:21:30 -04:00
Joey Hess
1493601982
releasing version 0.09
2010-11-27 17:17:14 -04:00
Joey Hess
e0518a4adc
Fix bug in setkey subcommand triggered by move --to.
2010-11-27 17:07:22 -04:00
Joey Hess
e97d13e29b
Add copy subcommand.
2010-11-27 17:02:53 -04:00
Joey Hess
d93e877a3e
releasing version 0.08
2010-11-21 13:47:44 -04:00
Joey Hess
68183b4721
add tests for uuid and xargs -0
2010-11-18 15:15:40 -04:00
Joey Hess
da794cce7d
typo
2010-11-18 14:12:40 -04:00
Joey Hess
161823d6ea
Only use cp -a if it is supported, falling back to cp -p or plain cp.
...
* cp --reflink=auto is used if supported, and will make git annex unlock
much faster on filesystems like btrfs that support copy of write.
2010-11-18 13:49:01 -04:00
Joey Hess
54513c69ba
Add configure step to build process.
...
* configure: Check to see if cp -a can be used.
* configure: Check to see if cp --reflink=auto can be used.
2010-11-18 13:30:42 -04:00
Joey Hess
5c7d1b0279
Fix git annex add ../foo
(when ran in a subdir of the repo).
...
There was no reason for Git.relative to be used here.
2010-11-17 13:55:38 -04:00
Joey Hess
2b7203c5d2
releasing version 0.07
2010-11-15 18:43:59 -04:00
Joey Hess
0893820812
fsck: Print warnings to stderr; --quiet can now be used to only see problems.
2010-11-15 18:37:49 -04:00
Joey Hess
354be7a00b
on dropunused and unused
2010-11-15 18:13:20 -04:00
Joey Hess
748a7475bb
dropunused
2010-11-15 18:04:19 -04:00
Joey Hess
9dc43d2599
unused: New subcommand, finds unused data (the global part of fsck).
2010-11-15 16:35:06 -04:00
Joey Hess
a5c4dd9743
find: New subcommand.
2010-11-14 12:35:05 -04:00
Joey Hess
2403fece78
releasing version 0.06
2010-11-13 16:29:33 -04:00
Joey Hess
5fa25a812a
fsck improvements
...
* 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.
2010-11-13 14:59:27 -04:00
Joey Hess
fc6b972da6
link to ghc bug
2010-11-11 19:00:38 -04:00
Joey Hess
3e60c3a3f9
releasing version 0.05
2010-11-11 18:59:19 -04:00
Joey Hess
da0de293d1
refactor param seeking
2010-11-11 18:54:52 -04:00
Joey Hess
ce62f5abf1
rework command dispatching for add and pre-commit
...
Both subcommands do two different operations on different sets of files, so
allowing a subcommand to perform a list of operations cleans things up.
2010-11-11 17:58:55 -04:00
Joey Hess
dffe949963
Optimize both pre-commit and lock subcommands.
...
isLocked was doing the expensive check before the cheap one. Let's not
fork git diff twice per file when committing, especially.
git diff is still run more than strictly necessary (ie, more than once)
if multiple unlocked files are being committed. But much better now.
2010-11-11 14:54:29 -04:00
Joey Hess
b9d7e67f61
releasing version 0.04
2010-11-10 14:29:51 -04:00
Joey Hess
d9d6b256fc
cleanup
2010-11-10 14:16:53 -04:00
Joey Hess
99d9c1cf89
edit an alias for unlock
2010-11-10 13:28:04 -04:00
Joey Hess
361d28e138
Unlocked files will now automatically be added back into the annex when committed (and the updated symlink committed), by some magic in the pre-commit hook.
2010-11-10 13:01:17 -04:00
Joey Hess
f1c4a5a8dc
close
2010-11-10 10:55:00 -04:00
Joey Hess
515d6b6c7d
Avoid using runghc to run test suite as it is not available on all architectures. Closes : #603006
2010-11-10 10:49:35 -04:00
Joey Hess
d56feda25d
maybe call it unlock and not checkout
...
It'd be confusing to have a git-annex subcommand with the same name as a
git subcommand.
2010-11-09 15:11:45 -04:00
Joey Hess
75d2925082
Merge branch 'master' into checkout
...
Conflicts:
debian/changelog
doc/backends.mdwn
2010-11-09 15:05:08 -04:00
Joey Hess
1d32d902c9
Annexed file contents are now made unwritable and put in unwriteable directories, to avoid them accidentially being removed or modified. (Thanks Josh Triplett for the idea.)
2010-11-08 19:26:37 -04:00
Joey Hess
6395b790ce
Reorganised the layout of .git/annex/
2010-11-08 17:00:34 -04:00
Joey Hess
02a21d7f27
reorg .git/annex
2010-11-08 15:14:54 -04:00
Joey Hess
ab4de45491
Add annex.version, which will be used to automate upgrades.
2010-11-08 14:39:12 -04:00
Joey Hess
f03adec793
Add build dep on libghc6-testpack-dev.
2010-11-08 12:36:55 -04:00
Joey Hess
377bf24d9a
documentation for checkout
2010-11-07 21:02:25 -04:00
Joey Hess
8f949b1644
releasing version 0.03
2010-11-07 18:30:21 -04:00
Joey Hess
bbee90cd55
update
2010-11-07 18:23:25 -04:00
Joey Hess
b1e26b19c6
idea
2010-11-07 00:26:44 +00:00
Joey Hess
016b6a59e7
add fsck subcommand (stub)
2010-11-06 17:06:59 -04:00
Joey Hess
2926cc64fb
In .gitattributes, the git-annex-backend attribute can be set to the names of backends to use when adding different types of files.
2010-11-01 19:05:38 -04:00
Joey Hess
59e49ae083
rework subcommand invocation logic
2010-11-01 15:40:28 -04:00
Joey Hess
0194394be6
Added remote.annex-scp-options and remote.annex-ssh-options.
2010-10-31 22:56:56 -04:00
Joey Hess
fd6611f955
Fix crash on unknown symlinks.
2010-10-31 18:04:34 -04:00
Joey Hess
c2651d64bc
Fixed memory leak; git-annex no longer reads the whole file list from git before starting, and will be much faster with large repos.
2010-10-30 23:19:33 -04:00
Joey Hess
23da029b75
Support building with Debian stable's ghc.
2010-10-30 15:10:10 -04:00
Joey Hess
c88d493945
changelog
2010-10-29 17:38:12 -04:00
Joey Hess
fde01e52f3
Fix SIGINT handling.
2010-10-29 12:38:41 -04:00
Joey Hess
ecfbc01ff8
Add --verbose
2010-10-28 14:04:22 -04:00
Joey Hess
5c2c652d7d
Fix support for file:// remotes.
2010-10-28 13:47:10 -04:00
Joey Hess
833d4b342e
copyright statements
2010-10-27 16:53:54 -04:00
Joey Hess
e44c7d1136
update
2010-10-27 15:08:46 -04:00
Joey Hess
3874b978ab
update
2010-10-27 14:39:21 -04:00
Joey Hess
563484e135
pre-commit hook
2010-10-27 14:33:44 -04:00
Joey Hess
0a4235e26e
update
2010-10-25 20:22:37 -04:00
Joey Hess
fec9f611df
add setkey subcommand
...
And finished implementing move --to
2010-10-25 20:19:08 -04:00
Joey Hess
a0e8ba37c6
changelog
2010-10-25 19:38:59 -04:00
Joey Hess
ff38e49eb4
--from/--to can be used to limit the remote repository that git-annex uses.
2010-10-22 20:35:39 -04:00
Joey Hess
e6048b0389
document using ssh remotes
2010-10-22 15:38:31 -04:00
Joey Hess
599cb15f30
update
2010-10-22 15:08:53 -04:00
Joey Hess
aafb63edb1
support checking network remotes when dropping
2010-10-22 15:06:57 -04:00
Joey Hess
9ec5d90b6a
avoid reading configs for URL remotes every time
2010-10-22 14:28:47 -04:00
Joey Hess
e8e397036f
changelog
2010-10-21 16:38:14 -04:00
Joey Hess
a68e36f518
entry for the prerelease
2010-10-20 12:54:40 -04:00
Joey Hess
ee10027a24
3
2010-10-20 11:56:36 -04:00
Joey Hess
d53519fade
probably won't use SHA module
2010-10-19 16:30:17 -04:00
Joey Hess
d6911f57b7
update
2010-10-19 16:17:29 -04:00
Joey Hess
05539c773e
split TODO
2010-10-19 16:01:48 -04:00
Joey Hess
e8267f1b9e
add doc wiki
2010-10-19 14:37:19 -04:00
Joey Hess
f3c5a8543b
update
2010-10-19 14:17:41 -04:00
Joey Hess
d1a455bdb4
need SHA too
2010-10-16 16:52:20 -04:00
Joey Hess
117e97ea30
debianization
2010-10-16 16:41:24 -04:00