lp:~jesse-imaginaryrobots/bzr-upload/upload-mappings

Created by Jesse van Herk and last modified
Get this branch:
bzr branch lp:~jesse-imaginaryrobots/bzr-upload/upload-mappings
Only Jesse van Herk can upload to this branch. If you are Jesse van Herk please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Jesse van Herk
Project:
bzr Upload plugin
Status:
Development

Recent revisions

77. By Jesse van Herk

* test: added useful tests for uploadmap branch

76. By Jesse van Herk

* bugfix: fix bzr-upload to proceed happily if the remote file was already deleted

75. By Jesse van Herk

* enhancement: added code to detect mapped remote path conflicts

74. By Jesse van Herk

* bugfix: changed bzr upload to create remote dirs if needed
* cleanup: removed permissions param

73. By Jesse van Herk

* cleanup/refactor: cleaned up function calls, output, and docs for upload mapping feature
* enhancement: added config option for upload_executable_perms

72. By Jesse van Herk

* refactor: updated upload mapping code to be more like bzrignore-upload, less conflict-y

71. By Jesse van Herk

* changes to bzr-upload to use arbitrary mappings of remote files (first draft)

70. By Vincent Ladeuil

Ensure we use the transport API correctly for unicode paths.

* tests/test_upload.py:
(TestUploadMixin._test_create_file,
TestUploadMixin._test_create_file_in_dir,
TestUploadMixin._test_rename_one_file,
TestUploadMixin._test_change_file_into_dir,
TestUploadMixin._test_make_file_executable): Add variant for
unicode paths.

* __init__.py:
(BzrUploader._up_stat, BzrUploader._up_rename,
BzrUploader._up_delete, BzrUploader._up_delete_tree,
BzrUploader._up_mkdir, BzrUploader._up_rmdir,
BzrUploader._up_put_bytes, BzrUploader._up_get_bytes): Add helpers
to trap path encoding.
(BzrUploader.set_uploaded_revid, BzrUploader.get_uploaded_revid,
BzrUploader.upload_file, BzrUploader.upload_file_robustly,
BzrUploader.upload_file_robustly,
BzrUploader.upload_file_robustly, BzrUploader.make_remote_dir,
BzrUploader.make_remote_dir_robustly,
BzrUploader.delete_remote_file, BzrUploader.delete_remote_dir,
BzrUploader.finish_deletions, BzrUploader.rename_remote,
BzrUploader.finish_renames, cmd_upload.run): Ensure we respect the
path encoding expected by the transport.

69. By Vincent Ladeuil

(vila, beuno) Implement .bzrignore-upload

68. By Vincent Ladeuil

Cleanup some pending changes.

* tests/test_upload.py:
Fix imports.
(TestUploadFromRemoteBranch.setUp): Refactor some setup common to
all tests.

* __init__.py:
(CannotUploadToWorkingTree): Renamed from
CannotUploadToWorkingTreeError, no need to prefix with error, we
know that.
(DivergedUploadedTree): Replace DIvergedError.
(cmd_upload.run): Simplify locking.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:bzr-upload
This branch contains Public information 
Everyone can see this information.

Subscribers