Joey Hess
8990d4cc68
fsck: When checksumming a file fails due to a hardware fault, the file is now moved to the bad directory, and the fsck proceeds. Before, the fsck immediately failed.
2015-05-27 16:40:03 -04:00
Joey Hess
67469ce01f
Revert removal dependency on obsolete hamlet package, since the autobuilders are not ready for this change yet and it prevented them from building the webapp. Reopens : #786659
2015-05-27 14:49:58 -04:00
Joey Hess
5e1f1bd252
Linux standalone, OSX app: Improve runshell script to always quote shell vars, so that it will work when eg, untarred into a directory path with spaces in its name.
2015-05-26 15:38:54 -04:00
Joey Hess
6e05764532
changelog for bug closed in last release
2015-05-24 15:45:36 -04:00
Joey Hess
77c43a388e
fromkey, registerurl: Allow urls to be specified instead of keys, and generate URL keys.
...
This is especially useful because the caller doesn't need to generate valid
url keys, which involves some escaping of characters, and may involve
taking a md5sum of the url if it's too long.
2015-05-22 22:41:36 -04:00
Joey Hess
979064b1cb
prep release
2015-05-22 14:20:21 -04:00
Joey Hess
1b01322de0
OSX: Corrected the location of trustedkeys.gpg, so the built-in upgrade code will find it. Fixes OSX upgrade going forward, but older versions won't upgrade themselves due to this problem.
2015-05-22 13:41:47 -04:00
Joey Hess
8e40cb6f56
Build documentation with TZ=UTC for reproducible builds. See #785736 .
2015-05-19 15:45:21 -04:00
Joey Hess
ecb0d5c087
use lock pools throughout git-annex
...
The one exception is in Utility.Daemon. As long as a process only
daemonizes once, which seems reasonable, and as long as it avoids calling
checkDaemon once it's already running as a daemon, the fcntl locking
gotchas won't be a problem there.
Annex.LockFile has it's own separate lock pool layer, which has been
renamed to LockCache. This is a persistent cache of locks that persist
until closed.
This is not quite done; lockContent stil needs to be converted.
2015-05-19 14:09:52 -04:00
Joey Hess
6ec7c4fef4
webapp: Fix zombie xdg-open process left when opening file browser. Closes : #785498
2015-05-17 17:26:19 -04:00
Joey Hess
b284cefccc
fix type in the name of --used-refspec in changelog
2015-05-14 15:46:01 -04:00
Joey Hess
823bb8031b
add annex.used-refspec
2015-05-14 15:44:08 -04:00
Joey Hess
86699ff861
unused: Add --used option, which can specify a set of refs to consider used, rather than the default of considering all refs used.
2015-05-14 15:31:38 -04:00
Joey Hess
7ebf234616
Stale transfer lock and info files will be cleaned up automatically when get/unused/info commands are run.
...
Deleting lock files is tricky, tricky stuff. I think I got it right!
2015-05-12 20:11:23 -04:00
Joey Hess
8c2dd7d8ee
Fix an unlikely race that could result in two transfers of the same key running at once.
...
As discussed in bug report.
2015-05-12 19:39:28 -04:00
Joey Hess
61ccf95004
Avoid accumulating transfer failure log files unless the assistant is being used.
...
Only the assistant uses these, and only the assistant cleans them up, so
make only git annex transferkeys write them,
There is one behavior change from this. If glacier is being used, and a
manual git annex get --from glacier fails because the file isn't available
yet, the assistant will no longer later see that failed transfer file and
retry the get. Hope no-one depended on that old behavior.
2015-05-12 15:53:38 -04:00
Joey Hess
a812d598ef
Take space that will be used by running downloads into account when checking annex.diskreserve.
2015-05-12 15:20:22 -04:00
Joey Hess
505d540360
allow building without ascii-progress, since it is not ready yet
...
No progress bars with -J unless built with ascii-progress.
2015-05-12 13:54:16 -04:00
Joey Hess
e27b97d364
Merge branch 'master' into concurrentprogress
...
Conflicts:
Command/Fsck.hs
Messages.hs
Remote/Directory.hs
Remote/Git.hs
Remote/Helper/Special.hs
Types/Remote.hs
debian/changelog
git-annex.cabal
2015-05-12 13:23:22 -04:00
Joey Hess
96d24a8161
note about git annex drop behavior change in bare repo
2015-05-12 13:02:22 -04:00
Joey Hess
4b2e3210ea
drop: Now supports --all, --unused, and --key.
2015-05-12 13:00:06 -04:00
Joey Hess
db5d831d07
import: Refuse to import files that are within the work tree, as that does not make sense and could cause data loss.
2015-05-11 12:57:47 -04:00
Joey Hess
6ebf615995
cutting a point release, will be a cabal-only update
2015-05-11 12:09:02 -04:00
Joey Hess
26ac0753c1
more FlexibleContexts
2015-05-10 15:54:58 -04:00
Joey Hess
6a1814abf5
seems that webapp ssh password ssh-agent hack is broken on windows after recent ssh changes
2015-05-08 15:07:23 -04:00
Joey Hess
f1a81cfce2
prep release
2015-05-08 13:42:45 -04:00
Joey Hess
f395ca7a41
Improve quvi 0.4 output parsing to handle cases wher there is no known filename extension. This is currently the case when using quvi with youtube. In this case, the extension ".m" will be used.
2015-05-08 13:39:00 -04:00
Joey Hess
54bee7dad4
Revert "Android: Updated bundled ssh from 6.1p1 to 6.4p1."
...
This reverts commit 27836a2af9
.
Build didn't actually seem to succeed, for both versions of android, so
I'll need to revisit this later.
2015-05-08 13:05:33 -04:00
Joey Hess
ee94a79690
Debian's ghc now supports TH on arm! Adjust build dependencies to build the webapp on arm, and enable DAV support on arm. \o/
...
Also, adjust some other arch specific build dependencies that are now
available on more architectures in Devian unstable.
2015-05-07 19:09:44 -04:00
Joey Hess
e09816b0e6
reorder
2015-05-07 18:12:08 -04:00
Joey Hess
4aba1c74bd
remaining dataenc to sandi conversions
...
I've tested all the dataenc to sandi conversions except Assistant.XMPP,
and all have unchanged behavior, including behavior on large unicode code
points.
2015-05-07 18:07:13 -04:00
Joey Hess
18fc05ff04
Windows: Roll back to an older version of rsync from cygwin. The newer version has some dependency on a newer ssh from cygwin.
2015-05-07 15:56:40 -04:00
Joey Hess
ce285ea6fa
Windows: Remove cygwin ssh, the newer version of which has stopped honoring the setting of HOME. Instead, copy msysgit's ssh into PATH.
2015-05-07 15:53:03 -04:00
Joey Hess
469242ac4d
fsck: Ignore error recording the fsck in the activity log, which can happen when running fsck in a read-only repository. Closes : #698559 (fsck can still need to write to the repository if it find problems, but a successful fsck can be done read-only)
2015-05-06 14:45:20 -04:00
Joey Hess
eeb0359a2e
contentlocation, examinekey, lookupkey: Added --batch mode option.
2015-05-06 13:44:53 -04:00
Joey Hess
cf786f42a4
Support checking ftp urls for file presence.
2015-05-05 14:05:02 -04:00
Joey Hess
0b18228516
Work around wget bug #784348 which could cause it to clobber git-annex symlinks when downloading from ftp.
2015-05-05 13:53:06 -04:00
Joey Hess
27836a2af9
Android: Updated bundled ssh from 6.1p1 to 6.4p1.
...
Tested it builds, but have not run it yet.
2015-05-01 15:33:29 -04:00
Joey Hess
437d9db41d
assistant: Added --autostop to complement --autostart.
2015-05-01 13:53:45 -04:00
Joey Hess
efb37e7c78
Improve behavior when a git-annex command is told to operate on a file that doesn't exist. It will now continue to other files specified after that on the command line, and only error out at the end.
2015-04-30 15:28:17 -04:00
Joey Hess
ac6b492711
import: Before removing a duplicate file in --deduplicate or --clean-duplicates mode, verify that enough copies of its content still exist.
2015-04-30 14:04:36 -04:00
Joey Hess
995643665a
Improve integration with KDE's file manager to work with dolphin version 14.12.3 while still being compatable with 4.14.2. Thanks, silvio.
2015-04-29 15:53:16 -04:00
Joey Hess
d8ad1d5503
import: Don't stop entire import when one file fails due to being gitignored or conflicting with something in the work tree.
2015-04-29 13:56:41 -04:00
Joey Hess
2e54251c18
import: Check for gitignored files before moving them into the tree. (Needs git 1.8.4 or newer.)
2015-04-29 13:46:12 -04:00
Joey Hess
986e245ac1
changelog
2015-04-27 18:10:56 -04:00
Joey Hess
ee78958798
S3: Fix incompatability with bucket names used by hS3; the aws library cannot handle upper-case bucket names. git-annex now converts them to lower case automatically.
...
For example, it failed to get files from a bucket named S3.
Also fixes `git annex initremote UPPERCASE type=S3`, which failed with the
new aws library, with a signing error message.
2015-04-27 18:00:58 -04:00
Joey Hess
cfbeb1e7b7
Fix bogus failure of fsck --fast.
2015-04-27 17:40:21 -04:00
Joey Hess
22a4e92df7
S3: git annex enableremote will not create a bucket name, which failed since the bucket already exists.
2015-04-23 14:16:53 -04:00
Joey Hess
b3eccec68c
S3: git annex info will show additional information about a S3 remote (endpoint, port, storage class)
2015-04-23 14:12:25 -04:00
Joey Hess
8f010bb55b
also drop old dbus compat
2015-04-22 16:23:41 -04:00