---
http_interactions:
- request:
    method: put
    uri: http://backend:5352/source/home:tom/_meta?user=tom
    body:
      encoding: UTF-8
      string: |
        <project name="home:tom">
          <title/>
          <description/>
          <person userid="tom" 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:
      - '128'
    body:
      encoding: UTF-8
      string: |
        <project name="home:tom">
          <title></title>
          <description></description>
          <person userid="tom" role="maintainer"/>
        </project>
  recorded_at: Wed, 31 Jan 2024 11:54:02 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:tom/test_package/_meta?user=tom
    body:
      encoding: UTF-8
      string: |
        <package name="test_package" project="home:tom">
          <title>Ego Dominus Tuus</title>
          <description>Repudiandae aspernatur aut aliquam.</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:
      - '159'
    body:
      encoding: UTF-8
      string: |
        <package name="test_package" project="home:tom">
          <title>Ego Dominus Tuus</title>
          <description>Repudiandae aspernatur aut aliquam.</description>
        </package>
  recorded_at: Wed, 31 Jan 2024 11:54:02 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:tom/test_package/foo.spec?user=tom
    body:
      encoding: UTF-8
      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:
      - '203'
    body:
      encoding: UTF-8
      string: |
        <revision rev="2" vrev="2">
          <srcmd5>9b1c1ddcaab8327d31b5f9d882782630</srcmd5>
          <version>unknown</version>
          <time>1706702042</time>
          <user>tom</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Wed, 31 Jan 2024 11:54:02 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:tom/test_package/_meta?user=tom
    body:
      encoding: UTF-8
      string: |
        <package name="test_package" project="home:tom">
          <title>Ego Dominus Tuus</title>
          <description>Repudiandae aspernatur aut aliquam.</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:
      - '159'
    body:
      encoding: UTF-8
      string: |
        <package name="test_package" project="home:tom">
          <title>Ego Dominus Tuus</title>
          <description>Repudiandae aspernatur aut aliquam.</description>
        </package>
  recorded_at: Wed, 31 Jan 2024 11:54:02 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:tom/test_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:
      - '296'
    body:
      encoding: UTF-8
      string: |
        <directory name="test_package" rev="2" vrev="2" srcmd5="9b1c1ddcaab8327d31b5f9d882782630">
          <entry name="foo.kiwi.txz" md5="d41d8cd98f00b204e9800998ecf8427e" size="0" mtime="1706702041"/>
          <entry name="foo.spec" md5="d41d8cd98f00b204e9800998ecf8427e" size="0" mtime="1706702042"/>
        </directory>
  recorded_at: Wed, 31 Jan 2024 11:54:02 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:tom/test_package?view=info
    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:
      - '186'
    body:
      encoding: UTF-8
      string: |
        <sourceinfo package="test_package" rev="2" vrev="2" srcmd5="9b1c1ddcaab8327d31b5f9d882782630" verifymd5="9b1c1ddcaab8327d31b5f9d882782630">
          <filename>foo.spec</filename>
        </sourceinfo>
  recorded_at: Wed, 31 Jan 2024 11:54:02 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:tom/test_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:
      - '296'
    body:
      encoding: UTF-8
      string: |
        <directory name="test_package" rev="2" vrev="2" srcmd5="9b1c1ddcaab8327d31b5f9d882782630">
          <entry name="foo.kiwi.txz" md5="d41d8cd98f00b204e9800998ecf8427e" size="0" mtime="1706702041"/>
          <entry name="foo.spec" md5="d41d8cd98f00b204e9800998ecf8427e" size="0" mtime="1706702042"/>
        </directory>
  recorded_at: Wed, 31 Jan 2024 11:54:02 GMT
- request:
    method: post
    uri: http://backend:5352/source/home:tom/test_package?cmd=diff&linkrev=base&onlyissues=1&orev=0&view=xml
    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:
      - '302'
    body:
      encoding: UTF-8
      string: |
        <sourcediff key="b19e7be6361c9c087b949ca15c3b64a1">
          <old project="home:tom" package="test_package" rev="0" srcmd5="d41d8cd98f00b204e9800998ecf8427e"/>
          <new project="home:tom" package="test_package" rev="2" srcmd5="9b1c1ddcaab8327d31b5f9d882782630"/>
          <files/>
          <issues>
          </issues>
        </sourcediff>
  recorded_at: Wed, 31 Jan 2024 11:54:02 GMT
recorded_with: VCR 6.2.0
