summaryrefslogtreecommitdiff
path: root/lib/thandy
AgeCommit message (Collapse)Author
2011-10-20Fix possible race condition with os.path.existsTomás Touceda
2011-10-20Documents the ThpPackages codeTomás Touceda
Also fixes a typo in a still unused method.
2011-10-20Use the tmp dir just for the metadataTomás Touceda
2011-10-20Handle Thp package creation in a separate CLI from SignerTomás Touceda
2011-10-20Fix file permissionsTomás Touceda
2011-09-07Adds README, RELEASE-NOTES and ACKS files for lockfileTomás Touceda
2011-09-07Add the LICENSE file for the lockfile libraryTomás Touceda
2011-09-03Add a WAIT-FOR logCtrl messageTomás Touceda
2011-09-03Try to install only if isReadyTomás Touceda
Also, it removes a bunch of code for non-thp packages.
2011-09-03Improve handling of updates to thp bundlesTomás Touceda
It only installs thp packages that aren't already installed as they should be. It also outputs READY for bundles that have at least one package in them that's installable under this restrictions.
2011-09-03Improve re-install behaviorTomás Touceda
Also add more controller oriented output
2011-09-02Fix behavior for bundles with more than one thp and add thpTomás Touceda
2011-09-02Run transactions only if --install is given, and create pkg-status if it ↵Tomás Touceda
doesn't exist
2011-09-01Log with loggin instead of print, and add thp files to download when neededTomás Touceda
2011-07-26Update lockfile to work on OSXTomás Touceda
This changes the file modes, it seems OSX needs it this way.
2011-06-27Execute postinst script and serialize script executionTomas Touceda
2011-06-26Start scripts partTomas Touceda
2011-06-25Adds installation with subdirs and upgrade based on the specTomas Touceda
2011-06-25Adds basic installationTomas Touceda
Right now it's a bit more than just copying files, nothing else.
2011-06-24Adds the ThpTransaction class and its basic structureTomas Touceda
2011-06-24Correct some silly errorsTomas Touceda
2011-06-23Adds the code to introduce Thp TransactionsTomas Touceda
Recognizes bundles that have all thp packages and arranges them in a separated dict from the installableDict. This bundles will be handled by the ThpInstaller as a whole, so it can order installations by dependencies.
2011-06-23Validate files in a thp and add LockFile bundle depTomas Touceda
2011-06-22Improve ThpDB, implement ThpPackageTomas Touceda
ThpDB's insert, delete and exists seems to work as expected by now.
2011-06-22Add really simple checker, installer and thpdbTomas Touceda
But it's still not finished.
2011-06-22Creates basic structure to start the thp checkerTomas Touceda
2011-06-22Make optional keys actually optionalTomas Touceda
2011-06-22Creates the thp fileTomas Touceda
Adds two parameters to makethppackage: thpPath and scriptsDir. thpPath: where to save the finished thp file. scriptsDir: where the scripts specified in the configuration file are.
2011-06-21First part of makethppackageTomas Touceda
Creates its metadata based on a config file. This still needs a sanity check.
2011-06-21Fix typo in RPMCheckerTomas Touceda
2010-07-25More unit tests and documentation for the Thandy codeNick Mathewson
2010-07-25Fix the interface of RSAKey.sign() to work as documented.Nick Mathewson
Also, remove the (unused) thandy.formats.Key
2009-08-25NONE? We are python; we have no NONE. Only none.Nick Mathewson
2009-08-25Add the ability to download files via BitTorrentSebastian Hahn
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.
2009-08-25Add ability to create .torrent metadata when making a packageSebastian Hahn
Also update the spec with the information where the .torrent metadata file will be stored.
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-25If we have more than we want, we have too much, not the other way.Sebastian Hahn
2009-08-25All current versions of Thandy have length fieldsSebastian Hahn
2009-08-25Spelling fixes and import cleanupSebastian Hahn
2009-06-01fix "make test"Sebastian 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-03-19Add lengths to the timestamp file.Nick Mathewson
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.
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.
2009-01-05Correct syntax for name-to-length dictionary assignment.Martin Peck
git-svn-id: file:///home/or/svnrepo/updater/trunk@17904 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-12-21packageLen was meant to be a name-to-length dictionary, not an int.Nick Mathewson
git-svn-id: file:///home/or/svnrepo/updater/trunk@17715 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-12-21fix a "NameError: global name 'os' is not defined" complaint whenRoger Dingledine
making new packages or bundles. i think. git-svn-id: file:///home/or/svnrepo/updater/trunk@17713 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-12-15Implement lengths in thandy objects, mostly:Nick Mathewson
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
2008-12-08Make encrypted data format handle unicode.Nick Mathewson
git-svn-id: file:///home/or/svnrepo/updater/trunk@17523 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-12-08Oops: actually commit the patch from this morning where I made Thandy not ↵Nick Mathewson
break. Maybe I _am_ still sick. git-svn-id: file:///home/or/svnrepo/updater/trunk@17516 55e972cd-5a19-0410-ae62-a4d7a52db4cd
2008-12-03add missing PackageItem.getRelativePath()Nick Mathewson
git-svn-id: file:///home/or/svnrepo/updater/trunk@17467 55e972cd-5a19-0410-ae62-a4d7a52db4cd