lp://qastaging/~stevenk/launchpad/poppy-sftp
- Get this branch:
- bzr branch lp://qastaging/~stevenk/launchpad/poppy-sftp
Branch merges
Branch information
Recent revisions
- 10866. By Steve Kowalik
-
* 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. - 10865. By Steve Kowalik
-
* Pass the avatar into the SFTPServer construction.
* Provide a function that gets called when the SFTP connection is closed,
and force it to call the poppy hook.
* Sleep for 5 seconds after closing the SFTP connection in the tests. Ew.
* Add support for uploading files.
* Fiddle end-to-end files to support {S,}FTP for creating and deleting
directories, as well as uploading single files.
* Remove test_LOGIN from the end-to-end tests. It's pointless for SFTP, and
the later tests check that it works anyway.
* Add unit tests for directory creation, deletion and uploading files. - 10864. By Jonathan Lange
-
Couple of fixes:
- use the zopeless layer instead of unittest layer to avoid craziness
w/ lp.testing.TestCase
- disconnect SFTP really - 10862. By Steve Kowalik
-
Make mkdir work, and trying to sprinkle in a smattering of configuration for the fsroot
- 10861. By Jonathan Lange
-
The tests now fail interestingly!
Actually use paramiko so that the HOME hacking works. Start the XMLRPC
server during the tests so that the authserver works.Move the 'disconnect' function to the "Server" classes so that SFTP can
have its own special disconnect. - 10858. By Steve Kowalik
-
* Add development configuration for poppy sftp.
* Add a user and associated crud to the sftp test. - 10857. By Jonathan Lange
-
Actually start the sftp server for our sftp tests. Doesn't work because
it is badly configured.Next step: set it up with the right keys on the right port.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://qastaging/launchpad/db-devel