lp://staging/~bzr-upload-devs/bzr-upload/journalled

Created by Petr Viktorin and last modified

The goal is to provide a robust upload that can be resumed if something goes wrong.
See bug #326302

Get this branch:
bzr branch lp://staging/~bzr-upload-devs/bzr-upload/journalled
Members of Bzr-upload-devs can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Bzr-upload-devs
Project:
bzr Upload plugin
Status:
Experimental

Recent revisions

66. By Petr Viktorin

Support the upload_revid_location option

65. By Petr Viktorin

Copied new test suite from trunk

64. By Petr Viktorin

Merge trunk

63. By Petr Viktorin

Reworked renaming/deletion - no checkpoints in between. First custom test passes.

62. By Petr Viktorin

Setting up & tearing down the test case in every iteration (and minor tweaks)

61. By Petr Viktorin

Few fixes to both the test suite and the uploader. Still does not pass.

60. By Petr Viktorin

First version of a journal test suite. Not surprisingly, it doesn't pass.

* tests/__init__.py: Added test_journalled_upload_mirror to list of testing modules
* tests/test_journalled_upload.py renamed to tests/test_journalled_upload_mirror.py
  (this file will later be merged to test_upload.py)
* tests/test_journalled_upload.py: A test suite for the uploader

59. By Petr Viktorin

Merge from trunk

The uploader tests are still mirrored in tests/test_journalled_upload.py for now.

58. By Petr Viktorin

Do journalled uploads when --journalled is given.

__init__.py: Add a --journalled option that triggers the alternate behavior
journal.py: The journalled uploader
tests/__init__.py: Add test_journalled_upload
tests/test_journalled_upload.py: Copied all tests from test_upload.py, added the journalled option to them

57. By Vincent Ladeuil

Fix minor 2.4 compatibility bug.

* tests/test_upload.py:
(UploadUtilsMixin.assertUpPathModeEqual): Update comment.

* __init__.py:
(CannotUploadToWorkingTreeError): Fix 2.4 compatibility
issue (StandardError, the grand-mother class was a type not an
object in 2.4, so we can't us super() here). Besides, BzrError
already provides facilities that doesn't require to redefine
__init__, keyword arguments can be used in _fmt as long as they
are passed as keyword arguments at construction time.

Branch metadata

Branch format:
Branch format 6
Repository format:
Bazaar pack repository format 1 (needs bzr 0.92)
This branch contains Public information 
Everyone can see this information.

Subscribers

No subscribers.