summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2008-11-20Teach thandy downloader how to back off on failure, ignore failing mirrors ↵Nick Mathewson
for a while, etc. still needs to be taught to persist this info, if that seems smart. git-svn-id: file:///home/or/svnrepo/updater/trunk@17339 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-11-20do not crash on exe_registry_entNick Mathewson
git-svn-id: file:///home/or/svnrepo/updater/trunk@17338 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-11-20Unlike everything else in Python, registry keys want Close() not close().Nick Mathewson
git-svn-id: file:///home/or/svnrepo/updater/trunk@17337 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-11-20Make downloaded files in binary mode.Nick Mathewson
git-svn-id: file:///home/or/svnrepo/updater/trunk@17336 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-11-20Normalize paths to avoid bugging win32 folks with harmless (i believe) slashes.Nick Mathewson
git-svn-id: file:///home/or/svnrepo/updater/trunk@17335 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-11-20fix a couple more types in ExePackages.py.Nick Mathewson
git-svn-id: file:///home/or/svnrepo/updater/trunk@17334 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-11-20various fixes. now thandy will loop infinitely because the exe file gives a ↵Nick Mathewson
404. git-svn-id: file:///home/or/svnrepo/updater/trunk@17332 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-11-20actually look at the firmat line.Nick Mathewson
git-svn-id: file:///home/or/svnrepo/updater/trunk@17331 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-11-20maybe if i remove these letters it'll be a recognized variable...Roger Dingledine
git-svn-id: file:///home/or/svnrepo/updater/trunk@17330 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-11-20what the heck kind of language doesn't have basic function checking?Roger Dingledine
git-svn-id: file:///home/or/svnrepo/updater/trunk@17329 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-11-20fix syntax errorRoger Dingledine
git-svn-id: file:///home/or/svnrepo/updater/trunk@17322 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-11-17Add win32 registry support to thandy. untested.Nick Mathewson
git-svn-id: file:///home/or/svnrepo/updater/trunk@17319 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-11-17misc docsNick Mathewson
git-svn-id: file:///home/or/svnrepo/updater/trunk@17315 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-11-17Actually call the "flush the downloaded thing's state" callback on success ↵Nick Mathewson
so that we can notice that we got a new thing. git-svn-id: file:///home/or/svnrepo/updater/trunk@17313 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-11-17Make log message not result in exception when timestamp expires.Nick Mathewson
git-svn-id: file:///home/or/svnrepo/updater/trunk@17311 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-11-17Stop dropping a byte every time a download fails. also start working on ↵Nick Mathewson
making other exceptions propagete from woder threads. git-svn-id: file:///home/or/svnrepo/updater/trunk@17309 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-11-17Avoid failure in the common-in-debugging case where we have a completely ↵Nick Mathewson
downloaded file in tmp git-svn-id: file:///home/or/svnrepo/updater/trunk@17308 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-11-17Add a --force-check option to make the client download a new timestamp file ↵Nick Mathewson
whether it is too old or not. Crank the maximum timestamp age down to 3 hours. git-svn-id: file:///home/or/svnrepo/updater/trunk@17306 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-11-17document rpm and exe formats in example package configNick Mathewson
git-svn-id: file:///home/or/svnrepo/updater/trunk@17303 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-11-17make log levels configurable. check file hashes correctly.Nick Mathewson
git-svn-id: file:///home/or/svnrepo/updater/trunk@17301 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-11-16Fix bundle download logic. Better fix needed.Nick Mathewson
git-svn-id: file:///home/or/svnrepo/updater/trunk@17299 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-11-16chmod files on import.Nick Mathewson
git-svn-id: file:///home/or/svnrepo/updater/trunk@17298 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-11-16note changed repo locationNick Mathewson
git-svn-id: file:///home/or/svnrepo/updater/trunk@17297 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-11-16Try to fix timestamp generation with bundles.Nick Mathewson
git-svn-id: file:///home/or/svnrepo/updater/trunk@17296 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-11-16Support socks.Nick Mathewson
git-svn-id: file:///home/or/svnrepo/updater/trunk@17295 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-11-16attach per-file type-specific metainfo to packages. use metainfo to tell ↵Nick Mathewson
what is already installed. use database to track things we have installed with not attacked version. notice when we have installable files and optionally install them. git-svn-id: file:///home/or/svnrepo/updater/trunk@17294 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-11-16Make client downloading work. Testing still needed. Glue still needed for ↵Nick Mathewson
installation. git-svn-id: file:///home/or/svnrepo/updater/trunk@17293 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-11-16Add main-thread callbacks for download success/failure.Nick Mathewson
git-svn-id: file:///home/or/svnrepo/updater/trunk@17292 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-11-16Add current mirror and master key from updates.torproject.orgNick Mathewson
git-svn-id: file:///home/or/svnrepo/updater/trunk@17291 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-11-16Make more objects get pretty-printed when signedNick Mathewson
git-svn-id: file:///home/or/svnrepo/updater/trunk@17290 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-11-16have some more thandy. This update includes a working downloader with tor ↵Nick Mathewson
support, a package system framework, and more. Most of what's left is glue code. git-svn-id: file:///home/or/svnrepo/updater/trunk@17288 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-10-15In python 2.6 and later, simplejson is built-in as json.Nick Mathewson
git-svn-id: file:///home/or/svnrepo/updater/trunk@17112 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-10-15Checkpoint: s/glider/thandy/; s/sexp/json/Nick Mathewson
git-svn-id: file:///home/or/svnrepo/updater/trunk@17109 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-10-14Stop trying to monkeypatch simplejson to support canonical encoding, and ↵Nick Mathewson
just use our own internal canonical encoder when we want that. It is actually less code this way. git-svn-id: file:///home/or/svnrepo/updater/trunk@17104 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-10-14tolerate the 2.4 getpass(), which can't be told which streamRoger Dingledine
to write on. git-svn-id: file:///home/or/svnrepo/updater/trunk@17102 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-10-14Fix another syntax errorNick Mathewson
git-svn-id: file:///home/or/svnrepo/updater/trunk@17099 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-10-14Usability fixes and cleanupsNick Mathewson
git-svn-id: file:///home/or/svnrepo/updater/trunk@17096 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-10-14clean up some docstringsRoger Dingledine
git-svn-id: file:///home/or/svnrepo/updater/trunk@17093 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-10-14Add some in-code documentation, fix some dead code, add a license, add a ↵Nick Mathewson
working distutils script. git-svn-id: file:///home/or/svnrepo/updater/trunk@17092 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-10-14Support older versions of simplejson.Nick Mathewson
git-svn-id: file:///home/or/svnrepo/updater/trunk@17090 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-10-14Rename glider to thandy, based on discussions on #nottor. Please let me ↵Nick Mathewson
know ASAP if there is another program Thandy, or if it means something rude, or whatever. git-svn-id: file:///home/or/svnrepo/updater/trunk@17085 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-10-14Implement all of signing-side and server-side for updater, and the core ↵Nick Mathewson
loops of client-side. More downloader support is needed, and more polishing. See TODO for details. This no longer matches glider-spec.txt exactly. Notably, it uses json instead of sexp. git-svn-id: file:///home/or/svnrepo/updater/trunk@17084 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-09-19More repository/signing/marshalling/crypto work for glider.Nick Mathewson
git-svn-id: file:///home/or/svnrepo/updater/trunk@16928 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-09-16More glider hacks: implement public keys.Nick Mathewson
git-svn-id: file:///home/or/svnrepo/updater/trunk@16917 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-09-13More code for glider.Nick Mathewson
git-svn-id: file:///home/or/svnrepo/updater/trunk@16902 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-09-11Initial glider TODO and format-handling codeNick Mathewson
git-svn-id: file:///home/or/svnrepo/updater/trunk@16856 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-09-11More tests and bugfixes for data access code in sexp libNick Mathewson
git-svn-id: file:///home/or/svnrepo/updater/trunk@16855 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-08-30Initial auto-updater commit: s-expression libray and format spec.Nick Mathewson
git-svn-id: file:///home/or/svnrepo/updater/trunk@16692 55e972cd-5a19-0410-ae62-a4d7a52db4cd