summaryrefslogtreecommitdiff
path: root/lib/thandy/ClientCLI.py
AgeCommit message (Collapse)Author
2009-08-25Allow tracking all bundles in the repository with thandy-clientSebastian Hahn
thandy-client now allows passing ** instead of a path for bundles. This is treated as a special case, other wild card or regular expression matching is not included.
2009-08-25Spelling fixes and import cleanupSebastian Hahn
2009-03-19Actually enforce file lengths when downloading.Nick Mathewson
Most of the code was already written for this, but we didn't actually pass the length fields we'd parsed to the downloading logic.
2009-01-22Fix multiple pychecker-spotted typos.Nick Mathewson
These are mostly typos in methods that don't get used in the current Thandy, error in error-handling paths, modules we imported unnecessarily, etc.
2008-12-01Make controller logging work better on python 2.4 (where the "extra" feature ↵Nick Mathewson
of logger.log does not exist.) git-svn-id: file:///home/or/svnrepo/updater/trunk@17431 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-12-01coderman's hack to make it not traceback on etch. nick should do aRoger Dingledine
cleaner one if he likes. git-svn-id: file:///home/or/svnrepo/updater/trunk@17425 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-12-01Add a possible workaround for coderman's Ubuntu's simplejson snafus. 1) ↵Nick Mathewson
Only use json instead of simplejson if json actually works. Apparently there is sometimes a json module that is not the kind of json module you get with python2.6. 2) Check to see if json thinks you should escape /, and try to override that "helpful" choice. git-svn-id: file:///home/or/svnrepo/updater/trunk@17422 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-11-30Big thandy installation refactoring. Things should be saner now: we ↵Nick Mathewson
recognize that checking an item is sometimes orthogonal to installing it; we do not carry around big bits of unimplemented machinery; we actually document what stuff does in thandy-spec.txt; we do more OO in the places that make sense and less in the places that do not; and almost as an afterthought, we support the command installer type internally. Now all we need is a frontend to make command installers. git-svn-id: file:///home/or/svnrepo/updater/trunk@17414 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-11-24Document Thandy controller interface better.Nick Mathewson
git-svn-id: file:///home/or/svnrepo/updater/trunk@17385 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-11-22Fix a bug in userFilename that left us with a directory in ./~/. Add a ↵Nick Mathewson
facility for controller-readable log messages with --controller-log-format git-svn-id: file:///home/or/svnrepo/updater/trunk@17367 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-11-22Add a quick and dirty thandy-client json2xml command. I am going to regret ↵Nick Mathewson
this someday. git-svn-id: file:///home/or/svnrepo/updater/trunk@17366 55e972cd-5a19-0410-ae62-a4d7a52db4cd
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-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-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-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-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-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-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-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