Beispiel #1
0
    def start_auth(self, data):
        # ( success ( ( ANONYMOUS ) 36:40435d67-9594-4fb4-bb67-394e327d0cc5 ) )
        self.request_uri = data[1][2]
        self.repository = Repository.get_by_uri(self.request_uri)

        self.send_and_receive(
            Success([literal('ANONYMOUS')], self.repository.id), self.auth2)
Beispiel #2
0
 def auth2(self, data):
     # ( success ( ) )
     # ( success ( 36:40435d67-9594-4fb4-bb67-394e327d0cc5 25:svn://localhost:9630/cool ( mergeinfo ) ) )
     self.send(Success())
     self.send_and_receive(
         Success(self.repository.id, self.request_uri, [literal('mergeinfo')]),
         self.handle_command,
     )
Beispiel #3
0
    def start_auth(self, data):
        # ( success ( ( ANONYMOUS ) 36:40435d67-9594-4fb4-bb67-394e327d0cc5 ) )
        self.request_uri = data[1][2]
        self.repository = Repository.get_by_uri(self.request_uri)

        self.send_and_receive(
            Success([literal('ANONYMOUS')], self.repository.id),
            self.auth2
        )
Beispiel #4
0
 def auth2(self, data):
     # ( success ( ) )
     # ( success ( 36:40435d67-9594-4fb4-bb67-394e327d0cc5 25:svn://localhost:9630/cool ( mergeinfo ) ) )
     self.send(Success())
     self.send_and_receive(
         Success(self.repository.id, self.request_uri,
                 [literal('mergeinfo')]),
         self.handle_command,
     )
Beispiel #5
0
 def greeting(self):
     self.send_and_receive(
         Success(2, 2, [], [literal('edit-pipeline')]),
         self.start_auth,
     )
Beispiel #6
0
 def cmd_check_path(self, *args):
     # ( success ( ( ) 0: ) )
     # ( success ( dir ) )
     self.send(Success([], ''))
     self.send_and_end(Success(literal('dir')))
Beispiel #7
0
 def greeting(self):
     self.send_and_receive(
         Success(2, 2, [], [literal('edit-pipeline')]),
         self.start_auth,
     )
Beispiel #8
0
 def cmd_check_path(self, *args):
     # ( success ( ( ) 0: ) )
     # ( success ( dir ) )
     self.send(Success([], ''))
     self.send_and_end(Success(literal('dir')))