GitHub PullRequestReviewCommentEvent at 2014-04-08 17:13:58
Repository: archivematica-storage-service
Actor: mistydemeo
Payload: {"comment":{"url":"https://api.github.com/repos/artefactual/archivematica-storage-service/pulls/comments/11400478","id":11400478,"diff_hunk":"@@ -236,24 +418,105 @@ class PipelineLocalFS(models.Model):\n         help_text=\"Name or IP of the remote machine.\")\n     # Space.path is the path on the remote machine\n \n+    class Meta:\n+        verbose_name = \"Pipeline Local FS\"\n+\n+    def move_to_storage_service(self, src_path, dest_path, dest_space):\n+        \"\"\" Moves src_path to dest_space.staging_path/dest_path. \"\"\"\n+        # if dest_space == self:\n+        #     # If moving within same space, don't bring to storage service\n+        #     # FIXME dest_path is relative, and intended for staging_path, need\n+        #     # real destination path - memoize something and retrieve it in\n+        #     # move_from_storage_service?  Move to self.space.path/dest_path?\n+        #     command = 'mkdir -p {dest_dir} && mv {src_path} {dest_path}'.format(","path":"storage_service/locations/models.py","position":241,"original_position":241,"commit_id":"809e844a4fcd0dd2f58e7096c66ef51d64a3d22d","original_commit_id":"809e844a4fcd0dd2f58e7096c66ef51d64a3d22d","user":{"login":"mistydemeo","id":780485,"avatar_url":"https://avatars.githubusercontent.com/u/780485?","gravatar_id":"f5f2035f07c635d24c62cf211d37f3d4","url":"https://api.github.com/users/mistydemeo","html_url":"https://github.com/mistydemeo","followers_url":"https://api.github.com/users/mistydemeo/followers","following_url":"https://api.github.com/users/mistydemeo/following{/other_user}","gists_url":"https://api.github.com/users/mistydemeo/gists{/gist_id}","starred_url":"https://api.github.com/users/mistydemeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mistydemeo/subscriptions","organizations_url":"https://api.github.com/users/mistydemeo/orgs","repos_url":"https://api.github.com/users/mistydemeo/repos","events_url":"https://api.github.com/users/mistydemeo/events{/privacy}","received_events_url":"https://api.github.com/users/mistydemeo/received_events","type":"User","site_admin":false},"body":"Quote `dest_dir` and `src_path`?","created_at":"2014-04-08T17:13:58Z","updated_at":"2014-04-08T17:13:58Z","html_url":"https://github.com/artefactual/archivematica-storage-service/pull/4#discussion_r11400478","pull_request_url":"https://api.github.com/repos/artefactual/archivematica-storage-service/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/artefactual/archivematica-storage-service/pulls/comments/11400478"},"html":{"href":"https://github.com/artefactual/archivematica-storage-service/pull/4#discussion_r11400478"},"pull_request":{"href":"https://api.github.com/repos/artefactual/archivematica-storage-service/pulls/4"}}}}