Age | Commit message (Collapse) | Author |
|
The Client has learned a new option, --download-method, too specify
whether we're downloading directly or via BitTorrent.
This implementation has a few remaining issues, the biggest one is
that seeding isn't implemented at all (when the download stops,
Thandy stops sharing). Failure to download due to no available
peers also doesn't work.
|
|
Also update the spec with the information where the .torrent
metadata file will be stored.
|
|
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.
|
|
|
|
|
|
|
|
|
|
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.
|
|
This might break old clients, but AFAICT there are no clients running versions
prior to 15 Dec. It's necessary to avoid some DOS attacks.
|
|
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.
|
|
git-svn-id: file:///home/or/svnrepo/updater/trunk@17904 55e972cd-5a19-0410-ae62-a4d7a52db4cd
|
|
git-svn-id: file:///home/or/svnrepo/updater/trunk@17715 55e972cd-5a19-0410-ae62-a4d7a52db4cd
|
|
making new packages or bundles. i think.
git-svn-id: file:///home/or/svnrepo/updater/trunk@17713 55e972cd-5a19-0410-ae62-a4d7a52db4cd
|
|
Accept them, and when they're present, don't fetch more bytes than
specified, since that would be dangerous. Include lengths in every
generated object type except for the timestamp, since that would break
exising code.
git-svn-id: file:///home/or/svnrepo/updater/trunk@17629 55e972cd-5a19-0410-ae62-a4d7a52db4cd
|
|
git-svn-id: file:///home/or/svnrepo/updater/trunk@17523 55e972cd-5a19-0410-ae62-a4d7a52db4cd
|
|
break. Maybe I _am_ still sick.
git-svn-id: file:///home/or/svnrepo/updater/trunk@17516 55e972cd-5a19-0410-ae62-a4d7a52db4cd
|
|
git-svn-id: file:///home/or/svnrepo/updater/trunk@17467 55e972cd-5a19-0410-ae62-a4d7a52db4cd
|
|
git-svn-id: file:///home/or/svnrepo/updater/trunk@17433 55e972cd-5a19-0410-ae62-a4d7a52db4cd
|
|
of logger.log does not exist.)
git-svn-id: file:///home/or/svnrepo/updater/trunk@17431 55e972cd-5a19-0410-ae62-a4d7a52db4cd
|
|
git-svn-id: file:///home/or/svnrepo/updater/trunk@17429 55e972cd-5a19-0410-ae62-a4d7a52db4cd
|
|
happy.
git-svn-id: file:///home/or/svnrepo/updater/trunk@17428 55e972cd-5a19-0410-ae62-a4d7a52db4cd
|
|
git-svn-id: file:///home/or/svnrepo/updater/trunk@17427 55e972cd-5a19-0410-ae62-a4d7a52db4cd
|
|
cleaner one if he likes.
git-svn-id: file:///home/or/svnrepo/updater/trunk@17425 55e972cd-5a19-0410-ae62-a4d7a52db4cd
|
|
git-svn-id: file:///home/or/svnrepo/updater/trunk@17424 55e972cd-5a19-0410-ae62-a4d7a52db4cd
|
|
git-svn-id: file:///home/or/svnrepo/updater/trunk@17423 55e972cd-5a19-0410-ae62-a4d7a52db4cd
|
|
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
|
|
git-svn-id: file:///home/or/svnrepo/updater/trunk@17416 55e972cd-5a19-0410-ae62-a4d7a52db4cd
|
|
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
|
|
git-svn-id: file:///home/or/svnrepo/updater/trunk@17385 55e972cd-5a19-0410-ae62-a4d7a52db4cd
|
|
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
|
|
this someday.
git-svn-id: file:///home/or/svnrepo/updater/trunk@17366 55e972cd-5a19-0410-ae62-a4d7a52db4cd
|
|
git-svn-id: file:///home/or/svnrepo/updater/trunk@17365 55e972cd-5a19-0410-ae62-a4d7a52db4cd
|
|
git-svn-id: file:///home/or/svnrepo/updater/trunk@17364 55e972cd-5a19-0410-ae62-a4d7a52db4cd
|
|
git-svn-id: file:///home/or/svnrepo/updater/trunk@17363 55e972cd-5a19-0410-ae62-a4d7a52db4cd
|
|
git-svn-id: file:///home/or/svnrepo/updater/trunk@17350 55e972cd-5a19-0410-ae62-a4d7a52db4cd
|
|
git-svn-id: file:///home/or/svnrepo/updater/trunk@17346 55e972cd-5a19-0410-ae62-a4d7a52db4cd
|
|
git-svn-id: file:///home/or/svnrepo/updater/trunk@17341 55e972cd-5a19-0410-ae62-a4d7a52db4cd
|
|
decides to try installing a win32 binary on their linux box.
git-svn-id: file:///home/or/svnrepo/updater/trunk@17340 55e972cd-5a19-0410-ae62-a4d7a52db4cd
|
|
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
|
|
git-svn-id: file:///home/or/svnrepo/updater/trunk@17338 55e972cd-5a19-0410-ae62-a4d7a52db4cd
|
|
git-svn-id: file:///home/or/svnrepo/updater/trunk@17337 55e972cd-5a19-0410-ae62-a4d7a52db4cd
|
|
git-svn-id: file:///home/or/svnrepo/updater/trunk@17336 55e972cd-5a19-0410-ae62-a4d7a52db4cd
|
|
git-svn-id: file:///home/or/svnrepo/updater/trunk@17335 55e972cd-5a19-0410-ae62-a4d7a52db4cd
|
|
git-svn-id: file:///home/or/svnrepo/updater/trunk@17334 55e972cd-5a19-0410-ae62-a4d7a52db4cd
|
|
404.
git-svn-id: file:///home/or/svnrepo/updater/trunk@17332 55e972cd-5a19-0410-ae62-a4d7a52db4cd
|
|
git-svn-id: file:///home/or/svnrepo/updater/trunk@17331 55e972cd-5a19-0410-ae62-a4d7a52db4cd
|
|
git-svn-id: file:///home/or/svnrepo/updater/trunk@17330 55e972cd-5a19-0410-ae62-a4d7a52db4cd
|
|
git-svn-id: file:///home/or/svnrepo/updater/trunk@17329 55e972cd-5a19-0410-ae62-a4d7a52db4cd
|
|
git-svn-id: file:///home/or/svnrepo/updater/trunk@17322 55e972cd-5a19-0410-ae62-a4d7a52db4cd
|
|
git-svn-id: file:///home/or/svnrepo/updater/trunk@17319 55e972cd-5a19-0410-ae62-a4d7a52db4cd
|