summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* update for Duration type changeGravatar Joey Hess2013-10-08
|
* quickcheck durationGravatar Joey Hess2013-10-08
|
* expand with a fromDuration and support for mixed unit durationsGravatar Joey Hess2013-10-08
|
* half way complete cronner thread to run scheduled activitiesGravatar Joey Hess2013-10-08
|
* qualify import; also available in crypto-randomGravatar Joey Hess2013-10-08
|
* refactorGravatar Joey Hess2013-10-07
|
* comment typoGravatar Joey Hess2013-10-07
|
* calculating the next time on a ScheduleGravatar Joey Hess2013-10-07
| | | | | | | | | Wow! This was hairy, but about 10x less hairy than expected actually! A bit more recursion than I really like, since I think in theory all of this date stuff can be calulated using some formulas I am too lazy too look up. But this doesn't matter in practice; I asked it for nextTime (Schedule (Divisible 100 (Yearly 7)) (SpecificTime 23 59) (MinutesDuration 10)) Nothing .. and it calculated (NextTimeExactly 2100-01-07 23:59:00) in milliseconds.
* better recurrance formattingGravatar Joey Hess2013-10-07
|
* add schedule to vicfgGravatar Joey Hess2013-10-07
|
* quickcheck schedule parsingGravatar Joey Hess2013-10-07
| | | | soo many arbitrary instances, so little time!
* add a log file for scheduled activitiesGravatar Joey Hess2013-10-07
|
* basic data types for scheduled activitiesGravatar Joey Hess2013-10-07
| | | | | | | Rather similar to crontab, although with a different format. But with less emphasis on per-minute scheduling. Also, supports weekly events, which cron makes too hard. Also, has a duration field.
* Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2013-10-07
|\
| * Added a comment: How can I resolve a non-fast-forware on the git-annex branch?Gravatar http://joeyh.name/2013-10-07
| |
* | import: Skip .git directories.Gravatar Joey Hess2013-10-07
| |
* | Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2013-10-07
|\|
| * Added a commentGravatar https://www.google.com/accounts/o8/id?id=AItOawnpdM9F8VbtQ_H5PaPMpGSxPe_d5L1eJ6w2013-10-07
| |
| * warn about fellow destructionGravatar https://id.koumbit.net/anarcat2013-10-07
| |
| * signGravatar https://id.koumbit.net/anarcat2013-10-07
| |
| * Added a comment: it's worse than not working, it kills! :)Gravatar https://id.koumbit.net/anarcat2013-10-07
| |
| * import not only doesn't work, it killsGravatar https://id.koumbit.net/anarcat2013-10-07
| |
| * Added a commentGravatar https://www.google.com/accounts/o8/id?id=AItOawm5iosFbL2By7UFeViqkc6v-hoAtqILeDA2013-10-07
| |
* | Revert "use vector in local status", which was not an improvementGravatar Joey Hess2013-10-07
| | | | | | | | This reverts commit c0caa37187e9c062825dd6d5cb6be2dfa63bc7dd.
* | use vector in local statusGravatar Joey Hess2013-10-07
| | | | | | | | | | | | Thought was that this would be faster than a map, since a vector can be updated more efficiently. It turns out to not seem to matter; runtime and memory usage are basically identical.
* | status: Fix space leak in local mode, introduced in version 4.20130920.Gravatar Joey Hess2013-10-07
| | | | | | | | Actually fixed 2 leaks, the tuple leak may have been older.
| * Added a comment: sync, push, pull with/to/from centralized bare repositoryGravatar https://www.google.com/accounts/o8/id?id=AItOawkC0W3ZQERUaTkHoks6k68Tsp1tz510nGo2013-10-07
|/
* Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2013-10-06
|\
* | run ssh in the directory with its socket when stoppingGravatar Joey Hess2013-10-06
| | | | | | | | | | | | | | | | | | | | | | This guarantees that stopping an existing socket never fails. This might be the route out of the mess of needing to worry about socket lengths in general. However, it would need quite a lot of refactoring to make every place in git-annex that runs ssh run it with a cwd that was determined by the location of its connection caching socket. If this wasn't already such a mess, I'd consider even the thought of that API a bad idea..
* | work around ssh brain-damangeGravatar Joey Hess2013-10-06
| | | | | | | | | | | | | | | | | | | | | | | | | | The control socket path passed to ssh needs to be 17 characters shorter than the maximum unix domain socket length, because ssh appends stuff to it to make a temporary filename. Closes: #725512 Also, take the shorter of the relative and the absolute paths to the socket. Typically the relative path will be a lot shorter (unless deep inside a subdirectory of the repository), and so using it will avoid flirting with the maximum safe socket lenghts in more situations, and so lead to less breakage if all my attempts at fixing this are still buggy.
| * Added a comment: Tilde did it for meGravatar https://www.google.com/accounts/o8/id?id=AItOawnZEanlyzay_QlEAL0CWpyZcRTyN7vay8U2013-10-06
| |
* | factor out Build.VersionGravatar Joey Hess2013-10-06
| |
* | GHCMAKE not usedGravatar Joey Hess2013-10-06
| |
* | remove __WINDOWS__ ifdefGravatar Joey Hess2013-10-06
| |
| * Added a commentGravatar https://www.google.com/accounts/o8/id?id=AItOawlOc-EOD5ZyggsAp6lOnU7x5MxizwLtUXA2013-10-06
|/
* fix typoGravatar https://id.koumbit.net/anarcat2013-10-06
|
* Added a comment: thanks for your checking..Gravatar http://joeyh.name/2013-10-06
|
* set preferred content expressionGravatar Joey Hess2013-10-06
|
* mention preferred content standardGravatar Joey Hess2013-10-06
|
* fix repo nameGravatar Joey Hess2013-10-06
|
* Added a comment: git annex copy not workingGravatar https://www.google.com/accounts/o8/id?id=AItOawkC0W3ZQERUaTkHoks6k68Tsp1tz510nGo2013-10-06
|
* Added a comment: git annex syncGravatar https://www.google.com/accounts/o8/id?id=AItOawkC0W3ZQERUaTkHoks6k68Tsp1tz510nGo2013-10-06
|
* Added a commentGravatar http://edheil.wordpress.com/2013-10-06
|
* (no commit message)Gravatar https://www.google.com/accounts/o8/id?id=AItOawlkA6XinbeOdnEDxEGQUWyjqPGh0kdMXr42013-10-06
|
* devblogGravatar Joey Hess2013-10-05
|
* assistant: Detect stale git lock files at startup time, and remove them.Gravatar Joey Hess2013-10-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Extends the index.lock handling to other git lock files. I surveyed all lock files used by git, and found more than I expected. All are handled the same in git; it leaves them open while doing the operation, possibly writing the new file content to the lock file, and then closes them when done. The gc.pid file is excluded because it won't affect the normal operation of the assistant, and waiting for a gc to finish on startup wouldn't be good. All threads except the webapp thread wait on the new startup sanity checker thread to complete, so they won't try to do things with git that fail due to stale lock files. The webapp thread mostly avoids doing that kind of thing itself. A few configurators might fail on lock files, but only if the user is explicitly trying to run them. The webapp needs to start immediately when the user has opened it, even if there are stale lock files. Arranging for the threads to wait on the startup sanity checker was a bit of a bear. Have to get all the NotificationHandles set up before the startup sanity checker runs, or they won't see its signal. Perhaps the NotificationBroadcaster is not the best interface to have used for this. Oh well, it works. This commit was sponsored by Michael Jakl
* add dirContentsRecursiveSkippingGravatar Joey Hess2013-10-05
|
* Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2013-10-05
|\
* | Better sanitization of problem characters when generating URL and WORM keys.Gravatar Joey Hess2013-10-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FAT has a lot of characters it does not allow in filenames, like ? and * It's probably the worst offender, but other filesystems also have limitiations. In 2011, I made keyFile escape : to handle FAT, but missed the other characters. It also turns out that when I did that, I was also living dangerously; any existing keys that contained a : had their object location change. Oops. So, adding new characters to escape to keyFile is out. Well, it would be possible to make keyFile behave differently on a per-filesystem basis, but this would be a real nightmare to get right. Consider that a rsync special remote uses keyFile to determine the filenames to use, and we don't know the underlying filesystem on the rsync server.. Instead, I have gone for a solution that is backwards compatable and simple. Its only downside is that already generated URL and WORM keys might not be able to be stored on FAT or some other filesystem that dislikes a character used in the key. (In this case, the user can just migrate the problem keys to a checksumming backend. If this became a big problem, fsck could be made to detect these and suggest a migration.) Going forward, new keys that are created will escape all characters that are likely to cause problems. And if some filesystem comes along that's even worse than FAT (seems unlikely, but here it is 2013, and people are still using FAT!), additional characters can be added to the set that are escaped without difficulty. (Also, made WORM limit the part of the filename that is embedded in the key, to deal with filesystem filename length limits. This could have already been a problem, but is more likely now, since the escaping of the filename can make it longer.) This commit was sponsored by Ian Downes
* | move some code aroundGravatar Joey Hess2013-10-05
| |