---
http_interactions:
- request:
    method: put
    uri: http://backend:5352/source/home:user_5/_meta?user=user_5
    body:
      encoding: UTF-8
      string: |
        <project name="home:user_5">
          <title/>
          <description/>
          <person userid="user_5" role="maintainer"/>
        </project>
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '135'
    body:
      encoding: UTF-8
      string: |
        <project name="home:user_5">
          <title></title>
          <description></description>
          <person userid="user_5" role="maintainer" />
        </project>
    http_version: 
  recorded_at: Fri, 11 Aug 2017 11:10:15 GMT
- request:
    method: put
    uri: http://backend:5352/source/source_project/_meta
    body:
      encoding: UTF-8
      string: |
        <project name="source_project">
          <title>The Parliament of Man</title>
          <description/>
        </project>
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '112'
    body:
      encoding: UTF-8
      string: |
        <project name="source_project">
          <title>The Parliament of Man</title>
          <description></description>
        </project>
    http_version: 
  recorded_at: Fri, 11 Aug 2017 11:10:15 GMT
- request:
    method: put
    uri: http://backend:5352/source/source_project/_config
    body:
      encoding: UTF-8
      string: Placeat debitis quidem. Cum fugiat dolor repellat minus perferendis.
        Et totam maxime doloribus magnam provident deleniti minima. Dolorem et deserunt.
        Atque optio cumque dolores nemo facere minima quia.
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '21'
    body:
      encoding: UTF-8
      string: '<status code="ok" />

'
    http_version: 
  recorded_at: Fri, 11 Aug 2017 11:10:16 GMT
- request:
    method: put
    uri: http://backend:5352/source/source_project/source_package/_meta?user=_nobody_
    body:
      encoding: UTF-8
      string: |
        <package name="source_package" project="source_project">
          <title>The Heart Is a Lonely Hunter</title>
          <description>Quo deleniti expedita in aspernatur voluptates voluptatibus magnam commodi.</description>
        </package>
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '219'
    body:
      encoding: UTF-8
      string: |
        <package name="source_package" project="source_project">
          <title>The Heart Is a Lonely Hunter</title>
          <description>Quo deleniti expedita in aspernatur voluptates voluptatibus magnam commodi.</description>
        </package>
    http_version: 
  recorded_at: Fri, 11 Aug 2017 11:10:16 GMT
- request:
    method: put
    uri: http://backend:5352/source/source_project/source_package/_meta
    body:
      encoding: UTF-8
      string: |
        <package name="source_package" project="source_project">
          <title>The Heart Is a Lonely Hunter</title>
          <description>Quo deleniti expedita in aspernatur voluptates voluptatibus magnam commodi.</description>
        </package>
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '219'
    body:
      encoding: UTF-8
      string: |
        <package name="source_package" project="source_project">
          <title>The Heart Is a Lonely Hunter</title>
          <description>Quo deleniti expedita in aspernatur voluptates voluptatibus magnam commodi.</description>
        </package>
    http_version: 
  recorded_at: Fri, 11 Aug 2017 11:10:16 GMT
- request:
    method: put
    uri: http://backend:5352/source/source_project/source_package/_config
    body:
      encoding: UTF-8
      string: Ea velit sint vero. Ad nobis sed reiciendis. Voluptates ipsum tempora
        et.
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '207'
    body:
      encoding: UTF-8
      string: |
        <revision rev="5" vrev="5">
          <srcmd5>01c7c50b056e897e13ee91c94fe29bd1</srcmd5>
          <version>unknown</version>
          <time>1502449816</time>
          <user>unknown</user>
          <comment></comment>
          <requestid/>
        </revision>
    http_version: 
  recorded_at: Fri, 11 Aug 2017 11:10:16 GMT
- request:
    method: put
    uri: http://backend:5352/source/source_project/source_package/somefile.txt
    body:
      encoding: UTF-8
      string: Quia et inventore neque. Similique vero fugiat ut odio dolorem. Nesciunt
        quo saepe sequi illum. Error officiis ut et ipsum expedita animi quidem.
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '207'
    body:
      encoding: UTF-8
      string: |
        <revision rev="6" vrev="6">
          <srcmd5>214245657d55e2a8660fba87abb8ae51</srcmd5>
          <version>unknown</version>
          <time>1502449816</time>
          <user>unknown</user>
          <comment></comment>
          <requestid/>
        </revision>
    http_version: 
  recorded_at: Fri, 11 Aug 2017 11:10:16 GMT
- request:
    method: put
    uri: http://backend:5352/source/target_project/_meta
    body:
      encoding: UTF-8
      string: |
        <project name="target_project">
          <title>Have His Carcase</title>
          <description/>
        </project>
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '107'
    body:
      encoding: UTF-8
      string: |
        <project name="target_project">
          <title>Have His Carcase</title>
          <description></description>
        </project>
    http_version: 
  recorded_at: Fri, 11 Aug 2017 11:10:16 GMT
- request:
    method: put
    uri: http://backend:5352/source/target_project/_config
    body:
      encoding: UTF-8
      string: Nulla laboriosam in necessitatibus et cumque ullam. Nesciunt quia voluptas
        ut et quia similique quisquam. Possimus ratione iure ullam autem in aut. Architecto
        eius iure optio illo et iusto itaque.
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '21'
    body:
      encoding: UTF-8
      string: '<status code="ok" />

'
    http_version: 
  recorded_at: Fri, 11 Aug 2017 11:10:16 GMT
- request:
    method: put
    uri: http://backend:5352/source/target_project/target_package/_meta?user=_nobody_
    body:
      encoding: UTF-8
      string: |
        <package name="target_package" project="target_project">
          <title>The Needle's Eye</title>
          <description>Asperiores libero autem ut suscipit rerum deserunt.</description>
        </package>
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '183'
    body:
      encoding: UTF-8
      string: |
        <package name="target_package" project="target_project">
          <title>The Needle's Eye</title>
          <description>Asperiores libero autem ut suscipit rerum deserunt.</description>
        </package>
    http_version: 
  recorded_at: Fri, 11 Aug 2017 11:10:16 GMT
- request:
    method: put
    uri: http://backend:5352/source/target_project/target_package/_meta
    body:
      encoding: UTF-8
      string: |
        <package name="target_package" project="target_project">
          <title>The Needle's Eye</title>
          <description>Asperiores libero autem ut suscipit rerum deserunt.</description>
        </package>
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '183'
    body:
      encoding: UTF-8
      string: |
        <package name="target_package" project="target_project">
          <title>The Needle's Eye</title>
          <description>Asperiores libero autem ut suscipit rerum deserunt.</description>
        </package>
    http_version: 
  recorded_at: Fri, 11 Aug 2017 11:10:16 GMT
- request:
    method: put
    uri: http://backend:5352/source/target_project/target_package/somefile.txt
    body:
      encoding: US-ASCII
      string: '0'
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '207'
    body:
      encoding: UTF-8
      string: |
        <revision rev="5" vrev="5">
          <srcmd5>cabf9a1f9a0b7c19d4f7ff46166f4ee0</srcmd5>
          <version>unknown</version>
          <time>1502449816</time>
          <user>unknown</user>
          <comment></comment>
          <requestid/>
        </revision>
    http_version: 
  recorded_at: Fri, 11 Aug 2017 11:10:16 GMT
- request:
    method: put
    uri: http://backend:5352/source/target_project/target_package/somefile.txt
    body:
      encoding: US-ASCII
      string: '1'
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '207'
    body:
      encoding: UTF-8
      string: |
        <revision rev="6" vrev="6">
          <srcmd5>efbe5f0a5dd48df5129b4319df43aa45</srcmd5>
          <version>unknown</version>
          <time>1502449816</time>
          <user>unknown</user>
          <comment></comment>
          <requestid/>
        </revision>
    http_version: 
  recorded_at: Fri, 11 Aug 2017 11:10:16 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:user_6/_meta?user=user_6
    body:
      encoding: UTF-8
      string: |
        <project name="home:user_6">
          <title/>
          <description/>
          <person userid="user_6" role="maintainer"/>
        </project>
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '135'
    body:
      encoding: UTF-8
      string: |
        <project name="home:user_6">
          <title></title>
          <description></description>
          <person userid="user_6" role="maintainer" />
        </project>
    http_version: 
  recorded_at: Fri, 11 Aug 2017 11:10:16 GMT
- request:
    method: get
    uri: http://backend:5352/source/source_project/source_package
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Content-Type:
      - text/plain
      Accept-Encoding:
      - identity
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '302'
    body:
      encoding: UTF-8
      string: |
        <directory name="source_package" rev="6" vrev="6" srcmd5="214245657d55e2a8660fba87abb8ae51">
          <entry name="_config" md5="045b446937b184f981d251cf2503b309" size="73" mtime="1502449816" />
          <entry name="somefile.txt" md5="c3d97727151c65a3ab972cdf8ae77176" size="145" mtime="1502449816" />
        </directory>
    http_version: 
  recorded_at: Fri, 11 Aug 2017 11:10:16 GMT
- request:
    method: post
    uri: http://backend:5352/source/source_project/source_package?cmd=diff&expand=1&filelimit=10000&opackage=target_package&oproject=target_project
    body:
      encoding: UTF-8
      string: ''
    headers:
      Content-Type:
      - application/octet-stream
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - text/plain
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '494'
    body:
      encoding: UTF-8
      string: |2

        new:
        ----
          _config

        other changes:
        --------------

        ++++++ _config (new)
        --- _config
        +++ _config
        @@ -0,0 +1,1 @@
        +Ea velit sint vero. Ad nobis sed reiciendis. Voluptates ipsum tempora et.
        \ No newline at end of file

        ++++++ somefile.txt
        --- somefile.txt
        +++ somefile.txt
        @@ -1,1 +1,1 @@
        -1
        \ No newline at end of file
        +Quia et inventore neque. Similique vero fugiat ut odio dolorem. Nesciunt quo saepe sequi illum. Error officiis ut et ipsum expedita animi quidem.
        \ No newline at end of file
    http_version: 
  recorded_at: Fri, 11 Aug 2017 11:10:16 GMT
- request:
    method: get
    uri: http://backend:5352/source/source_project/source_package?expand=1
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '302'
    body:
      encoding: UTF-8
      string: |
        <directory name="source_package" rev="6" vrev="6" srcmd5="214245657d55e2a8660fba87abb8ae51">
          <entry name="_config" md5="045b446937b184f981d251cf2503b309" size="73" mtime="1502449816" />
          <entry name="somefile.txt" md5="c3d97727151c65a3ab972cdf8ae77176" size="145" mtime="1502449816" />
        </directory>
    http_version: 
  recorded_at: Fri, 11 Aug 2017 11:10:17 GMT
- request:
    method: delete
    uri: http://backend:5352/source/source_project?comment&user=user_5
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '21'
    body:
      encoding: UTF-8
      string: '<status code="ok" />

'
    http_version: 
  recorded_at: Fri, 11 Aug 2017 11:10:17 GMT
- request:
    method: get
    uri: http://backend:5352/source/source_project/source_package
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 404
      message: project 'source_project' does not exist
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '156'
    body:
      encoding: UTF-8
      string: |
        <status code="404">
          <summary>project 'source_project' does not exist</summary>
          <details>404 project 'source_project' does not exist</details>
        </status>
    http_version: 
  recorded_at: Fri, 11 Aug 2017 11:10:18 GMT
- request:
    method: post
    uri: http://backend:5352/source/source_project/source_package?cmd=diff&expand=1&filelimit=10000&opackage=target_package&oproject=target_project&tarlimit=10000
    body:
      encoding: UTF-8
      string: ''
    headers:
      Content-Type:
      - application/octet-stream
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 404
      message: project 'source_project' does not exist
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '156'
    body:
      encoding: UTF-8
      string: |
        <status code="404">
          <summary>project 'source_project' does not exist</summary>
          <details>404 project 'source_project' does not exist</details>
        </status>
    http_version: 
  recorded_at: Tue, 16 Jan 2018 14:12:23 GMT
recorded_with: VCR 4.0.0
