Joey Hess
d656e5bda3
more backport changelog
2014-05-16 17:03:16 -04:00
Joey Hess
9072088174
backport changelog
2014-05-16 16:58:43 -04:00
Joey Hess
b1207db461
tagging package git-annex version 5.20140421
...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIVAwUAU1U938kQ2SIlEuPHAQJHHQ/+J+f3OQdr0Thm1TsJyNHStVnmNbv519My
VrDpyWEZIW3jQdQ04QUl3GDobouApAQ2KxqKlX8qWcmsDf1YJCz2NlI8GnZFXgz4
sftiIRWCZDJ8gC+erNfZb0BVcToMDgEAIVQ0+CPuVO1vsuMJzxVCz4w2Pn8qnzvp
ZDbZeznJB8AaF6nz5uEp2+YrkPwZHcc9+35ToYVBgAFYbNDsE8GKOnLPNBI21EgX
5z53MZBmrM0P9QfHoG/wjK1vRD0eCi5XKzg3ILb6vesEhuM3XlryQSix5sgm5kzl
Lt+DKQnx2duM7EroRa6iXOcZGnCUbGZDwRh9j/0EfXh6hg4N5DBXwEB7fHDFKBgI
f0Yl3e+qQmCIBeFEFbC7GxG6EX71BPMcLHVSiFR9OzjcvjH4I/87CHY7Na8ebCxY
KeVyF62tvvBEgvNExOzXefa+GV357mkVtPIKS0LMU96T6EkdR++peE4VkYaia/4H
nRD/gDNckcpy8YKfvXsZaWYPkpHkVmz0fAsoiDdMhNxUgeo5X7pcD97g/LnFWuGb
Jws34xJcHHr6FTEt54HOXJ1RZMm8L3udQeH7LJok8ipn0XibgEFLcLMwHgOy67R2
V9K5qoYNLz389/LCBBtAVsQNh2wrY4Znne9zinYKjI/zZqDlpXurN7Wv3klttlVR
AeMs+MRudsc=
=TiRQ
-----END PGP SIGNATURE-----
Merge tag '5.20140421' into debian-wheezy-backport
tagging package git-annex version 5.20140421
# gpg: Signature made Mon Apr 21 11:48:47 2014 JEST using RSA key ID 2512E3C7
# gpg: Good signature from "Joey Hess <joeyh@debian.org>"
# gpg: aka "Joey Hess <joey@kitenet.net>"
# gpg: aka "Joey Hess <id@joeyh.name>"
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg: There is no indication that the signature belongs to the owner.
# Primary key fingerprint: E85A 5F63 B31D 24C1 EBF0 D81C C910 D922 2512 E3C7
2014-05-16 16:50:58 -04:00
Joey Hess
6fbf4ab776
prep release
2014-04-20 19:46:01 -04:00
Joey Hess
eba3a28a28
webapp: Support using git-annex on a remote server, which was installed from the standalone tarball or OSX app, and so does not have git-annex in PATH (and may also not have git or rsync in PATH).
...
* webapp: Support using git-annex on a remote server, which was installed
from the standalone tarball or OSX app, and so does not have
git-annex in PATH (and may also not have git or rsync in PATH).
* standalone tarball, OSX app: Install a ~/.ssh/git-annex-wrapper, which
can be used to run git-annex, git, rsync, etc.
2014-04-20 18:39:10 -04:00
Joey Hess
a8bd7a607d
When init detects that git is not configured to commit, and sets user.email to work around the problem, also make it set user.name.
...
I was able to reproduce git failing to commit despite user.email being set,
in a test account on my laptop. The account had no GECOS information.
2014-04-20 14:17:57 -04:00
Joey Hess
9724667a3d
webapp: Fix UI for removing XMPP connection.
2014-04-20 12:46:33 -04:00
Joey Hess
ecc3dc8433
findref: New command, like find but shows files in a specified git ref.
2014-04-17 18:41:24 -04:00
Joey Hess
41c7aaa65c
typo
2014-04-17 17:11:18 -04:00
Joey Hess
4ce64ff998
webapp: Start even if the current directory is listed in ~/.config/git-annex/autostart but no longer has a git repository in it.
2014-04-17 16:47:49 -04:00
Joey Hess
f00cb21037
Bring back rsync -p, but only when git-annex is running on a non-crippled file system. This is a better approach to fix #700282 while not unncessarily losing file permissions on non-crippled systems.
2014-04-17 14:31:42 -04:00
Joey Hess
584ab89ea2
drop --from: When local repository is untrusted, its copy of a file does not count.
2014-04-17 13:31:39 -04:00
Joey Hess
915d038bec
reinit: New command that can initialize a new reposotory using the configuration of a previously known repository. Useful if a repository got deleted and you want to clone it back the way it was.
2014-04-15 20:13:35 -04:00
Joey Hess
162565d928
info: Allow use in a repository where annex.uuid is not set.
2014-04-15 19:42:49 -04:00
Joey Hess
03ce5cd8d2
found a way to make uninit always fast
...
To do so, I slightly changed the behavior of unannex. Now in fast mode, it
only makes a hard link when the annexed file's link count is 1. This avoids
unannexing 2 files with the same content in fast mode from hard linking
them together. (One will end up hard linked to the annex, which the docs
warn about.)
With that change, uninit can simply always run unannex in fast mode. Since
.git/annex/objects is being blown away anyway, there's no worry in this
case about a hard link pointing into it causing an annexed object to be
modified.
2014-04-15 14:23:08 -04:00
Joey Hess
b70cd37a6f
it's landed! merge remotecontrol into master
2014-04-14 14:22:44 -04:00
Joey Hess
138d25518d
Merge branch 'master' into remotecontrol
...
Conflicts:
doc/devblog/day_152__more_ssh_connection_caching.mdwn
2014-04-14 13:38:35 -04:00
Joey Hess
1a425b9c90
tagging package git-annex version 5.20140412
...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIVAwUAU0hs2MkQ2SIlEuPHAQIQmA//boUwVbPk1fDaoj8wgnC0oXOTtNCKt3ja
1fEq28ZoyRgrdWIlpBUtxsswz6HEJxqoUzDvvFw1WrDjqi8e6xCiMPSP7TRCc9Ez
j2q7LtHzZbqsR6kldvedLEZp+5VsHpNMC45od3K9BtLkOB7eerLzacFb4v4Z+Emj
QOp1PkTIYFvjmO0tn/h67u7J/1EaWg1+6lOqdK81iq1/tEu3wjEYxanjbnbqQvWQ
KXPZrB8P4znXy24Ow4IHd79EtI9B/Jhdx5u6/7f6gYjhSkj2vQ2J9OKkEhdFaaTL
BEdb4DulBJDATURODORJEzpkWOaojE9gph4+RP767dWCatApfo6f+P2Qpm0lmTwR
H21B7RfzUKgHnd3Igbc08cNvW+ymereJcbrCS0WqV26THujLCmSR7pzldLeqUn4K
BzzXUIHwx7bPlRSDug/E20ejfbnm3/JcLFcaUy4w/UmsHtHDh7Hg1iWhMVr7sbSX
CgLST3l3yYPKXGNou5+P0NSKRIOpkhU+oePgArms+HY9M1qjF8dzOh4rYbQmo81K
CkFHY49pZ6SqjOccdzMAhEleUgqLVBoNfpspD+By2DAr5q8ADGP0CfXi+khwdXer
l3OHQL0XLQ2PT9Owie9qmnSrddDahGwyDdis7PdnBUVkqU3aWRhlkNYtkgDdEhLm
VBswoF1Pej4=
=V7mr
-----END PGP SIGNATURE-----
Merge tag '5.20140412' into debian-wheezy-backport
tagging package git-annex version 5.20140412
# gpg: Signature made Fri Apr 11 18:29:44 2014 JEST using RSA key ID 2512E3C7
# gpg: Good signature from "Joey Hess <joeyh@debian.org>"
# gpg: aka "Joey Hess <joey@kitenet.net>"
# gpg: aka "Joey Hess <id@joeyh.name>"
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg: There is no indication that the signature belongs to the owner.
# Primary key fingerprint: E85A 5F63 B31D 24C1 EBF0 D81C C910 D922 2512 E3C7
2014-04-14 12:56:08 -04:00
Joey Hess
ab09a50f3a
Avoid depending on shakespeare except for when building the webapp.
2014-04-13 13:12:14 -04:00
Joey Hess
a33b30d0c4
remotedaemon: When network connection is lost, close all cached ssh connections.
...
This commit was sponsored by Cedric Staub.
2014-04-12 16:32:59 -04:00
Joey Hess
15917ec1a8
sync, assistant, remotedaemon: Use ssh connection caching for git pushes and pulls.
...
For sync, saves 1 ssh connection per remote. For remotedaemon, the same
ssh connection that is already open to run git-annex-shell notifychanges
is reused to pull from the remote.
Only potential problem is that this also enables connection caching
when the assistant syncs with a ssh remote. Including the sync it does
when a network connection has just come up. In that case, cached ssh
connections are likely to be stale, and so using them would hang.
Until I'm sure such problems have been dealt with, this commit needs to
stay on the remotecontrol branch, and not be merged to master.
This commit was sponsored by Alexandre Dupas.
2014-04-12 15:59:34 -04:00
Joey Hess
96ce2812e0
Merge branch 'master' into remotecontrol
...
Conflicts:
debian/changelog
2014-04-12 14:20:41 -04:00
Joey Hess
d955cfe78a
Improve handling on monthly/yearly scheduling.
...
Code was still buggy, it turns out (though the recursion checker caught
it). In the case of (Schedule (Monthly Nothing) AnyTime), where the last
run was on yyyy-12-31, it looped forever.
Also, the handling of (Schedule (Yearly Nothing) AnyTime) was wacky where
the last run was yyyy-12-31. It would suggest a window starting on the 3rd
for the next run (because 31 mod 28 is 3).
I think that originally I was wanted to avoid running on 01-01 if it had
just run on 12-31. But the code didn't accomplish this, and it's not
necessary anyway. This is supposed to calculate the next window meeting the
schedule, and for (Schedule (Monthly Nothing), the window starts at 01-01
and runs through 01-31. If that causes two back-to-back runs, well the next
one will not be until 02-01 at the earliest.
Also, back-to-back runs can be avoided, if desired, by using Divisible 2.
2014-04-11 21:42:43 -04:00
Joey Hess
e26dead493
guard against any remaining infinite recursion bugs; throw error if no candidate cn be found in next hundred years
...
Note that the exception thrown is not visible in the webapp currently
because it crashes one of Cronner's 2 worker threads, which is never
checked.
2014-04-11 18:08:46 -04:00
Joey Hess
9e16171c7f
Last release didn't quite fix the high cpu issue in all cases, this should.
...
This is supposed to look for a day past the last day it ran, not a month
past.
Seems to work, at least in anarcat's test case.
2014-04-11 17:14:19 -04:00
Joey Hess
91fa570aad
more prep
2014-04-11 15:10:19 -04:00
Joey Hess
bdb81af880
prep release
2014-04-11 15:01:10 -04:00
Joey Hess
c678798a5c
assistant: Fix high CPU usage triggered when a monthly fsck is scheduled, and the last time the job ran was a day of the month > 12. This caused a runaway loop. Thanks to Anarcat for his assistance, and to Maximiliano Curia for identifying the cause of this bug.
2014-04-11 14:34:09 -04:00
Joey Hess
a6df4698a3
Fix rsync progress parsing in locales that use comma in number display. Closes : #744148
2014-04-10 15:36:51 -04:00
Joey Hess
407d60ca5d
Remove wget from OSX dmg, due to issues with cert paths that broke git-annex automatic upgrading. Instead, curl is used, unless the OSX system has wget installed, which will then be used.
2014-04-10 12:54:58 -04:00
Joey Hess
db38678595
webapp: Rework xmpp nudge to prompt for either xmpp or a ssh remote be set up.
...
This commit was sponsored by Nathan Howell.
2014-04-09 16:27:24 -04:00
Joey Hess
14349fb752
also show signal icon next to connected xmpp remotes
2014-04-09 15:51:00 -04:00
Joey Hess
33b8cff433
webapp: Show a network signal icon next to ssh remotes that it's currently connected with.
2014-04-09 15:26:41 -04:00
Joey Hess
fac7bca05b
assistant: Now detects immediately when other repositories push changes to
...
a ssh remote, and pulls.
XMPP is no longer needed in this configuration!
Requires the remote server have git-annex-shell with notifychanges support.
(untested)
This commit was sponsored by Geog Wechslberger.
2014-04-08 15:23:50 -04:00
Joey Hess
836f2cc816
importfeed: Filename template can now contain an itempubdate variable. Needs feed 0.3.9.2.
2014-04-07 16:55:04 -04:00
Joey Hess
aff7691d8d
prepping for a linux-only release
2014-04-05 16:57:05 -04:00
Joey Hess
ade5d8ccc5
Fix nautilus script installation to not crash when the nautilus script dir does not exist. Instead, only install scripts when the directory already exists.
...
nautilus creates this directory each time run, so this avoids putting cruft
in user's home
2014-04-05 16:36:58 -04:00
Joey Hess
66f7354dae
credit
2014-04-05 16:28:35 -04:00
Joey Hess
0fbbec261d
git-annex-shell: Added notifychanges command.
...
This will be used by the remote-daemon to quickly tell when changes have
been pushed from some other repository into a ssh remote.
Adjusted the remote-daemon protocol to communicate changed shas, rather
than git branch refs. This way, it can easily check if a sha is new.
This commit was sponsored by Carlos Trijueque Albarran.
2014-04-05 16:10:39 -04:00
Joey Hess
aad6efe890
prep release
2014-04-02 16:45:04 -04:00
Joey Hess
c09fd6443e
fix fish
2014-04-02 15:37:43 -04:00
Joey Hess
39996f8222
assistant: Adjust ssh authorized keys line generated in local pairing or for a remote ssh server to set environment variables in an alternative way that works with the non-POSIX fix shell, as well as POSIX shells.
2014-04-02 15:30:10 -04:00
Joey Hess
065248f3d2
Added required content configuration.
...
This includes checking when dropping files that any required content
configuration is satisfied. However, it does not yet include an active
check on the required content; the location log is trusted when checking
the required content expression.
2014-03-29 16:03:33 -04:00
Joey Hess
3b8d5f03bb
Fix glacier repo creation bug
...
Version 5.20140227 broke creation of glacier repositories, not including
the datacenter and vault in their configuration. This bug is fixed, but
glacier repositories set up with the broken version of git-annex need to
have the datacenter and vault set in order to be usable. This can be done
using git annex enableremote to add the missing settings. For details, see
http://git-annex.branchable.com/bugs/problems_with_glacier/
2014-03-27 14:30:36 -04:00
Joey Hess
3c530c4e71
backport built w/o securemem
2014-03-26 15:28:10 -04:00
Joey Hess
dcd71ace66
changelog for backport
2014-03-26 15:17:07 -04:00
Joey Hess
a20b9d78dc
tagging package git-annex version 5.20140320
...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIVAwUAUytJN8kQ2SIlEuPHAQgcEA//X5MJTU5DXbnTV9Yrqg9zf3WUF9dTeKnb
fxpUzHd20pjVhH8oqAmwTPpMHViNQax3CBhR2qd/T41eHZA0jljxefihWYd7e+2m
3KFxTc//9/5BI2cNjr+3cOikairVRK1jjCts0+rWF6YBjK0IRjxCN56ij9hg4B0a
11J/qu5GelB3VvyMUzyZqheapmP0MKAtIlcIXL0tr695dR2Ar4etvrkX/VFgtuSQ
2Nir6emXsoxrhl4Ph1WtwC9+mdJi85n2IbZ4l14l5n+sAc1Lmkp+r6RZJp8Efkef
LN6OsYHV2pqyKUZiZ9y3RgBzd838R7ocpOggsA14RtMslxAYxP5jZP9QwUvSWAqk
t2gibt6p3sJms1cvASHpOtegnz6d7+LK6pNqIl5XgjugofHlT+XHUEvrzyP/Lan4
RZK8wUIfJRX+VBju4tCZ+Q/5Br9VM/ZF80DIps0WIYOzLR5b1po8YTTWMskwkiii
g5UjNw4NVfi9X7N+SjArwzmtpijctAeQj2QkBlb+kaPL+dxx33EDcRegw7KZ+/4Q
ViyOhwl21Lb5Nzj8n6t/8g5GKRNJBmlOsa/K80vTOraRgukt4QejliFPswK7Z/6b
DjfItpny+qqwuufa0hWW/U9VgTQfbewEsCt8QdpQHIUpjO+KvGHjOpal/zjnGemy
qpFXO5EiwOo=
=AwJK
-----END PGP SIGNATURE-----
Merge tag '5.20140320' into debian-wheezy-backport
tagging package git-annex version 5.20140320
Conflicts:
Assistant/Threads/WebApp.hs
Utility/WebApp.hs
git-annex.cabal
2014-03-26 15:15:45 -04:00
Joey Hess
2f538dd65c
add --include-dotfiles: New option, perhaps useful for backups.
2014-03-26 14:52:07 -04:00
Joey Hess
72978a8de0
git-annex-shell: Make configlist automatically initialize a remote git repository, as long as a git-annex branch has been pushed to it, to simplify setup of remote git repositories, including via gitolite.
2014-03-26 14:22:21 -04:00
Joey Hess
0df4848a9e
forget --drop-dead: Avoid removing the dead remote from the trust.log, so that if git remotes for it still exist anywhere, git annex info will still know it's dead and not show it.
2014-03-26 13:28:26 -04:00