---
http_interactions:
- request:
    method: put
    uri: http://backend:5352/source/Base/_meta?user=user_189
    body:
      encoding: UTF-8
      string: |
        <project name="Base">
          <title>Where Angels Fear to Tread</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="Base">
          <title>Where Angels Fear to Tread</title>
          <description></description>
        </project>
  recorded_at: Wed, 14 Jun 2023 16:23:26 GMT
- request:
    method: put
    uri: http://backend:5352/source/Base/package_10/_meta?user=user_190
    body:
      encoding: UTF-8
      string: |
        <package name="package_10" project="Base">
          <title>The Millstone</title>
          <description>Voluptatem vitae laudantium quas.</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:
      - '148'
    body:
      encoding: UTF-8
      string: |
        <package name="package_10" project="Base">
          <title>The Millstone</title>
          <description>Voluptatem vitae laudantium quas.</description>
        </package>
  recorded_at: Wed, 14 Jun 2023 16:23:26 GMT
- request:
    method: put
    uri: http://backend:5352/source/Base/package_10/_meta?user=user_190
    body:
      encoding: UTF-8
      string: |
        <package name="package_10" project="Base">
          <title>The Millstone</title>
          <description>Voluptatem vitae laudantium quas.</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:
      - '148'
    body:
      encoding: UTF-8
      string: |
        <package name="package_10" project="Base">
          <title>The Millstone</title>
          <description>Voluptatem vitae laudantium quas.</description>
        </package>
  recorded_at: Wed, 14 Jun 2023 16:23:26 GMT
- request:
    method: put
    uri: http://backend:5352/source/Base/source_package/_meta?user=user_191
    body:
      encoding: UTF-8
      string: |
        <package name="source_package" project="Base">
          <title>Vanity Fair</title>
          <description>In culpa assumenda rerum.</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:
      - '142'
    body:
      encoding: UTF-8
      string: |
        <package name="source_package" project="Base">
          <title>Vanity Fair</title>
          <description>In culpa assumenda rerum.</description>
        </package>
  recorded_at: Wed, 14 Jun 2023 16:23:26 GMT
- request:
    method: put
    uri: http://backend:5352/source/Base/source_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="2" vrev="2">
          <srcmd5>cabf9a1f9a0b7c19d4f7ff46166f4ee0</srcmd5>
          <version>unknown</version>
          <time>1686759806</time>
          <user>unknown</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Wed, 14 Jun 2023 16:23:26 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:project_link_test_user/_meta?user=project_link_test_user
    body:
      encoding: UTF-8
      string: |
        <project name="home:project_link_test_user">
          <title/>
          <description/>
          <person userid="project_link_test_user" 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:
      - '166'
    body:
      encoding: UTF-8
      string: |
        <project name="home:project_link_test_user">
          <title></title>
          <description></description>
          <person userid="project_link_test_user" role="maintainer"/>
        </project>
  recorded_at: Wed, 14 Jun 2023 16:23:26 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:project_link_test_user/target_package/_meta?user=user_192
    body:
      encoding: UTF-8
      string: |
        <package name="target_package" project="home:project_link_test_user">
          <title>Jacob Have I Loved</title>
          <description>Et minus tempora est.</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:
      - '168'
    body:
      encoding: UTF-8
      string: |
        <package name="target_package" project="home:project_link_test_user">
          <title>Jacob Have I Loved</title>
          <description>Et minus tempora est.</description>
        </package>
  recorded_at: Wed, 14 Jun 2023 16:23:26 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:project_link_test_user/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="3" vrev="3">
          <srcmd5>cabf9a1f9a0b7c19d4f7ff46166f4ee0</srcmd5>
          <version>unknown</version>
          <time>1686759806</time>
          <user>unknown</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Wed, 14 Jun 2023 16:23:26 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:project_link_test_user/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="4" vrev="4">
          <srcmd5>efbe5f0a5dd48df5129b4319df43aa45</srcmd5>
          <version>unknown</version>
          <time>1686759806</time>
          <user>unknown</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Wed, 14 Jun 2023 16:23:26 GMT
- request:
    method: put
    uri: http://backend:5352/source/Base:my_project/_meta?user=project_link_test_user
    body:
      encoding: UTF-8
      string: |
        <project name="Base:my_project">
          <title>An Instant In The Wind</title>
          <description/>
          <link project="Base"/>
        </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:
      - '139'
    body:
      encoding: UTF-8
      string: |
        <project name="Base:my_project">
          <title>An Instant In The Wind</title>
          <description></description>
          <link project="Base"/>
        </project>
  recorded_at: Wed, 14 Jun 2023 16:23:27 GMT
- request:
    method: get
    uri: http://backend:5352/source/Base:my_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: 200
      message: OK
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '204'
    body:
      encoding: UTF-8
      string: |
        <directory name="source_package" rev="2" vrev="2" srcmd5="cabf9a1f9a0b7c19d4f7ff46166f4ee0">
          <entry name="somefile.txt" md5="cfcd208495d565ef66e7dff9f98764da" size="1" mtime="1686759805"/>
        </directory>
  recorded_at: Wed, 14 Jun 2023 16:23:27 GMT
- request:
    method: get
    uri: http://backend:5352/source/Base:my_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: 200
      message: OK
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '204'
    body:
      encoding: UTF-8
      string: |
        <directory name="source_package" rev="2" vrev="2" srcmd5="cabf9a1f9a0b7c19d4f7ff46166f4ee0">
          <entry name="somefile.txt" md5="cfcd208495d565ef66e7dff9f98764da" size="1" mtime="1686759805"/>
        </directory>
  recorded_at: Wed, 14 Jun 2023 16:23:27 GMT
- request:
    method: post
    uri: http://backend:5352/source/Base:my_project/source_package?cmd=diff&expand=1&nodiff=1&opackage=target_package&oproject=home:project_link_test_user
    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:
      - '55'
    body:
      encoding: UTF-8
      string: |2

        ++++++ somefile.txt
        --- somefile.txt
        +++ somefile.txt
  recorded_at: Wed, 14 Jun 2023 16:23:27 GMT
- request:
    method: get
    uri: http://backend:5352/source/Base:my_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:
      - '204'
    body:
      encoding: UTF-8
      string: |
        <directory name="source_package" rev="2" vrev="2" srcmd5="cabf9a1f9a0b7c19d4f7ff46166f4ee0">
          <entry name="somefile.txt" md5="cfcd208495d565ef66e7dff9f98764da" size="1" mtime="1686759805"/>
        </directory>
  recorded_at: Wed, 14 Jun 2023 16:23:27 GMT
- request:
    method: get
    uri: http://backend:5352/source/Base:my_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: 200
      message: OK
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '204'
    body:
      encoding: UTF-8
      string: |
        <directory name="source_package" rev="2" vrev="2" srcmd5="cabf9a1f9a0b7c19d4f7ff46166f4ee0">
          <entry name="somefile.txt" md5="cfcd208495d565ef66e7dff9f98764da" size="1" mtime="1686759805"/>
        </directory>
  recorded_at: Wed, 14 Jun 2023 16:23:27 GMT
- request:
    method: post
    uri: http://backend:5352/source/Base:my_project/source_package?cmd=diff&expand=1&filelimit=10000&opackage=target_package&oproject=home:project_link_test_user&tarlimit=10000&view=xml&withissues=1
    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/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '651'
    body:
      encoding: UTF-8
      string: |
        <sourcediff key="1ead3f7ec4dc28fb85f551ed3699583e">
          <old project="home:project_link_test_user" package="target_package" rev="4" srcmd5="efbe5f0a5dd48df5129b4319df43aa45"/>
          <new project="Base:my_project" package="source_package" rev="2" srcmd5="cabf9a1f9a0b7c19d4f7ff46166f4ee0"/>
          <files>
            <file state="changed">
              <old name="somefile.txt" md5="c4ca4238a0b923820dcc509a6f75849b" size="1"/>
              <new name="somefile.txt" md5="cfcd208495d565ef66e7dff9f98764da" size="1"/>
              <diff lines="5">@@ -1,1 +1,1 @@
        -1
        \ No newline at end of file
        +0
        \ No newline at end of file
        </diff>
            </file>
          </files>
          <issues>
          </issues>
        </sourcediff>
  recorded_at: Wed, 14 Jun 2023 16:23:27 GMT
recorded_with: VCR 6.1.0
