~stevenk/launchpad/poppy-sftp

Viewing all changes in revision 10866.

  • Committer: Steve Kowalik
  • Date: 2010-05-26 06:56:55 UTC
  • Revision ID: steve.kowalik@canonical.com-20100526065655-k1uocmfl1v0c23yh
* Give the TacHandler another argument, umask, which will be fed into twistd
  if it's set, and use it for the poppy tests.
* Remove getFTPConnection in the poppy tests, everything uses bzrlib's
  transport now.
* Fix test_change_directory and test_upload_isolation to work with transports.
* Add another test, that simulates a full source upload to a PPA, which checks
  permissions, and file contents.
* Don't run test_change_directory for sftp, it doesn't make sense.
* Remove a bunch of debugging from the twistedsftp server.
* Change the perms of the temporary upload directory to what is expected.
* Set perms when we set hooks, so that the directories will be chmod'd for us.
* Rewrite both _create_missing_directories and _translate_path using functions
  already in UploadFileSystem.
* Create files with the right perms when they're created by openFile.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: