Commit graph

18700 commits

Author SHA1 Message Date
https://openid.stackexchange.com/user/e65e6d0e-58ba-41de-84cc-1f2ba54cf574
0f609b1f7f removed 2014-04-12 03:51:56 +00: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
740788ccb6 Merge branch 'master' of ssh://git-annex.branchable.com 2014-04-11 19:02:28 -04:00
Joey Hess
0ad2314e89
devblog 2014-04-11 19:01:01 -04:00
Joey Hess
8d45a82988 use ustar format and omit filnames with colons. new hackage requirements
The tarball on hackage will no longer correspond to the git tag. Oh well.
2014-04-11 18:45:46 -04:00
Joey Hess
13902f50d0 Merge branch 'master' of ssh://git-annex.branchable.com 2014-04-11 18:31:35 -04:00
Joey Hess
da795e0843 add news item for git-annex 5.20140412 2014-04-11 18:29:48 -04:00
Joey Hess
2503f433dc prep release 2014-04-11 18:10:10 -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
7da3e2b908 Merge branch 'master' of ssh://git-annex.branchable.com 2014-04-11 15:58:33 -04:00
Joey Hess
5006ade11d add news item for git-annex 5.20140411 2014-04-11 15:45:44 -04:00
Joey Hess
9d8e15bd37 Merge branch 'master' of ssh://git-annex.branchable.com 2014-04-11 15:31:02 -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
e0ca99b480
rename confusingly named "day" 2014-04-11 14:38:23 -04:00
Joey Hess
2aab47ea3e Merge branch 'master' of ssh://git-annex.branchable.com 2014-04-11 14:35:27 -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
80b41c5a6b Merge branch 'master' of ssh://git-annex.branchable.com 2014-04-11 13:31:20 -04:00
http://joeyh.name/
66e81aacfd Added a comment 2014-04-11 16:32:51 +00:00
Joey Hess
fd49e7f1b1 Merge branch 'master' of ssh://git-annex.branchable.com 2014-04-11 12:30:38 -04:00
Joey Hess
5ef1a160dd typo 2014-04-11 12:12:34 -04:00
Joey Hess
b8e43fda1e
note that GIT_ANNEX_SHELL_READONLY does not imply GIT_ANNEX_SHELL_LIMITED 2014-04-11 12:08:31 -04:00
Joey Hess
a67c16a81e Merge branch 'master' of ssh://git-annex.branchable.com 2014-04-11 12:04:10 -04:00
Joey Hess
8ca44c25e6
update for g3 2014-04-11 12:03:40 -04:00
Joey Hess
e31c5a1648 Merge branch 'master' of ssh://git-annex.branchable.com 2014-04-11 10:31:22 -04:00
https://www.google.com/accounts/o8/id?id=AItOawn6-8_3tbusU0Myh97-GGuGUY9bBoBP3bQ
60e10298c4 2014-04-11 13:43:55 +00:00
Joey Hess
eb9e7c44ee Merge branch 'master' of ssh://git-annex.branchable.com 2014-04-10 16:32:20 -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
a40bf97d8c Merge branch 'master' of ssh://git-annex.branchable.com 2014-04-10 13:32:11 -04:00
Joey Hess
aba17a402e
update 2014-04-10 13:27:47 -04:00
Joey Hess
67e280baa9
nuke tmp dir so things don't linger between builds 2014-04-10 13:08:07 -04:00
Joey Hess
27cad7f808 note automatic upgrade issue 2014-04-10 13:05:11 -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
fdd189626e Merge branch 'master' of ssh://git-annex.branchable.com 2014-04-10 11:47:38 -04:00
Joey Hess
9a1ce2b0cd fix title (#150) 2014-04-10 11:27:21 -04:00
Joey Hess
6b43d8432c Merge branch 'master' of ssh://git-annex.branchable.com 2014-04-10 06:32:29 -04:00
https://me.yahoo.com/a/FHnTlSBo1eCGJRwueeKeB6.RCaPbGMPr5jxx8A--#ce0d8
66692efed9 2014-04-10 09:34:36 +00:00
Joey Hess
4c89145a26 Merge branch 'master' of ssh://git-annex.branchable.com 2014-04-10 05:31:53 -04:00
https://me.yahoo.com/a/FHnTlSBo1eCGJRwueeKeB6.RCaPbGMPr5jxx8A--#ce0d8
9f98234657 2014-04-10 09:23:25 +00:00
Joey Hess
7002766a8a Merge branch 'master' of ssh://git-annex.branchable.com 2014-04-10 04:31:39 -04:00
https://www.google.com/accounts/o8/id?id=AItOawl64jV2rE8GMogJ6XuqESSkz78RVBgVdGw
4c9cce7cb4 Added a comment: I can't add google drive as remote 2014-04-10 07:55:56 +00:00
ayutheos
78ddde9a59 Added a comment 2014-04-10 07:52:37 +00:00
https://www.google.com/accounts/o8/id?id=AItOawl64jV2rE8GMogJ6XuqESSkz78RVBgVdGw
3bd6e00277 removed 2014-04-10 07:52:05 +00:00
https://www.google.com/accounts/o8/id?id=AItOawl64jV2rE8GMogJ6XuqESSkz78RVBgVdGw
ae070c310b Added a comment: I can't add special remotes 2014-04-10 07:50:40 +00:00
Joey Hess
9417526a8f Merge branch 'master' of ssh://git-annex.branchable.com 2014-04-09 17:32:23 -04:00
Joey Hess
4cca9cef0c
update 2014-04-09 16:43:43 -04:00
Joey Hess
83654f031d Merge branch 'master' of ssh://git-annex.branchable.com 2014-04-09 16:34:19 -04:00
Joey Hess
4d19487a0b
devblog 2014-04-09 16:33:10 -04:00
Joey Hess
38862bf65d merge from propellor 2014-04-09 01:15:24 -04:00