---
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:01 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>Dying of the Light</title>
          <description>Beatae reprehenderit ex quo.</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:
      - '154'
    body:
      encoding: UTF-8
      string: |
        <package name="test_package" project="home:tom">
          <title>Dying of the Light</title>
          <description>Beatae reprehenderit ex quo.</description>
        </package>
  recorded_at: Wed, 31 Jan 2024 11:54:01 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:tom/test_package/foo.kiwi.txz?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="1" vrev="1">
          <srcmd5>5c6164d882258ac8ef8d0f3f065c7b68</srcmd5>
          <version>unknown</version>
          <time>1706702041</time>
          <user>tom</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Wed, 31 Jan 2024 11:54:01 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>Dying of the Light</title>
          <description>Beatae reprehenderit ex quo.</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:
      - '154'
    body:
      encoding: UTF-8
      string: |
        <package name="test_package" project="home:tom">
          <title>Dying of the Light</title>
          <description>Beatae reprehenderit ex quo.</description>
        </package>
  recorded_at: Wed, 31 Jan 2024 11:54:01 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:
      - '202'
    body:
      encoding: UTF-8
      string: |
        <directory name="test_package" rev="1" vrev="1" srcmd5="5c6164d882258ac8ef8d0f3f065c7b68">
          <entry name="foo.kiwi.txz" md5="d41d8cd98f00b204e9800998ecf8427e" size="0" mtime="1706702041"/>
        </directory>
  recorded_at: Wed, 31 Jan 2024 11:54:01 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:
      - '230'
    body:
      encoding: UTF-8
      string: |
        <sourceinfo package="test_package" rev="1" vrev="1" srcmd5="5c6164d882258ac8ef8d0f3f065c7b68" verifymd5="5c6164d882258ac8ef8d0f3f065c7b68">
          <error>bad build configuration, no build type defined or detected</error>
        </sourceinfo>
  recorded_at: Wed, 31 Jan 2024 11:54:01 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:
      - '202'
    body:
      encoding: UTF-8
      string: |
        <directory name="test_package" rev="1" vrev="1" srcmd5="5c6164d882258ac8ef8d0f3f065c7b68">
          <entry name="foo.kiwi.txz" md5="d41d8cd98f00b204e9800998ecf8427e" size="0" mtime="1706702041"/>
        </directory>
  recorded_at: Wed, 31 Jan 2024 11:54:01 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="c80bee99bdb6c4f9498628501ff5629a">
          <old project="home:tom" package="test_package" rev="0" srcmd5="d41d8cd98f00b204e9800998ecf8427e"/>
          <new project="home:tom" package="test_package" rev="1" srcmd5="5c6164d882258ac8ef8d0f3f065c7b68"/>
          <files/>
          <issues>
          </issues>
        </sourcediff>
  recorded_at: Wed, 31 Jan 2024 11:54:01 GMT
recorded_with: VCR 6.2.0
