---
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: Fri, 31 Jul 2020 14:58:47 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:tom/my_package/_meta?user=tom
    body:
      encoding: UTF-8
      string: |
        <package name="my_package" project="home:tom">
          <title>Beneath the Bleeding</title>
          <description>Sed laudantium iste maxime.</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:
      - '153'
    body:
      encoding: UTF-8
      string: |
        <package name="my_package" project="home:tom">
          <title>Beneath the Bleeding</title>
          <description>Sed laudantium iste maxime.</description>
        </package>
  recorded_at: Fri, 31 Jul 2020 14:58:47 GMT
- request:
    method: post
    uri: http://backend:5352/search/package/id?match=(linkinfo/@package=%22my_package%22%20and%20linkinfo/@project=%22home:tom%22%20and%20@project=%22home:tom%22)
    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:
      - '27'
    body:
      encoding: UTF-8
      string: |
        <collection>
        </collection>
  recorded_at: Fri, 31 Jul 2020 14:58:47 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:tom:branches:home:tom/_meta?user=tom
    body:
      encoding: UTF-8
      string: |
        <project name="home:tom:branches:home:tom">
          <title>Branch project for package my_package</title>
          <description>This project was created for package my_package via attribute OBS:Maintained</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:
      - '259'
    body:
      encoding: UTF-8
      string: |
        <project name="home:tom:branches:home:tom">
          <title>Branch project for package my_package</title>
          <description>This project was created for package my_package via attribute OBS:Maintained</description>
          <person userid="tom" role="maintainer"/>
        </project>
  recorded_at: Fri, 31 Jul 2020 14:58:47 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:tom:branches:home:tom/my_package/_meta?user=tom
    body:
      encoding: UTF-8
      string: |
        <package name="my_package" project="home:tom:branches:home:tom">
          <title>Beneath the Bleeding</title>
          <description>Sed laudantium iste maxime.</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:
      - '171'
    body:
      encoding: UTF-8
      string: |
        <package name="my_package" project="home:tom:branches:home:tom">
          <title>Beneath the Bleeding</title>
          <description>Sed laudantium iste maxime.</description>
        </package>
  recorded_at: Fri, 31 Jul 2020 14:58:47 GMT
- request:
    method: post
    uri: http://backend:5352/source/home:tom:branches:home:tom/my_package?cmd=branch&noservice=1&opackage=my_package&oproject=home:tom&user=tom
    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:
      - '203'
    body:
      encoding: UTF-8
      string: |
        <revision rev="3" vrev="3">
          <srcmd5>83a26953292465b9db7b73e54859d7e0</srcmd5>
          <version>unknown</version>
          <time>1596207527</time>
          <user>tom</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Fri, 31 Jul 2020 14:58:47 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:tom:branches:home:tom/my_package/_meta?user=tom
    body:
      encoding: UTF-8
      string: |
        <package name="my_package" project="home:tom:branches:home:tom">
          <title>Beneath the Bleeding</title>
          <description>Sed laudantium iste maxime.</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:
      - '171'
    body:
      encoding: UTF-8
      string: |
        <package name="my_package" project="home:tom:branches:home:tom">
          <title>Beneath the Bleeding</title>
          <description>Sed laudantium iste maxime.</description>
        </package>
  recorded_at: Fri, 31 Jul 2020 14:58:47 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:tom:branches:home:tom/my_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:
      - '420'
    body:
      encoding: UTF-8
      string: |
        <directory name="my_package" rev="3" vrev="3" srcmd5="83a26953292465b9db7b73e54859d7e0">
          <linkinfo project="home:tom" package="my_package" srcmd5="d41d8cd98f00b204e9800998ecf8427e" baserev="d41d8cd98f00b204e9800998ecf8427e" xsrcmd5="c688657843e10f988f2fb32c79413ce4" lsrcmd5="83a26953292465b9db7b73e54859d7e0"/>
          <entry name="_link" md5="702b2f782cb222a3f9124aa00cdb6bf4" size="116" mtime="1596207360"/>
        </directory>
  recorded_at: Fri, 31 Jul 2020 14:58:47 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:tom:branches:home:tom/my_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:
      - '323'
    body:
      encoding: UTF-8
      string: |
        <sourceinfo package="my_package" rev="3" vrev="3" srcmd5="c688657843e10f988f2fb32c79413ce4" lsrcmd5="83a26953292465b9db7b73e54859d7e0" verifymd5="d41d8cd98f00b204e9800998ecf8427e">
          <error>bad build configuration, no build type defined or detected</error>
          <linked project="home:tom" package="my_package"/>
        </sourceinfo>
  recorded_at: Fri, 31 Jul 2020 14:58:47 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:tom:branches:home:tom/my_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:
      - '420'
    body:
      encoding: UTF-8
      string: |
        <directory name="my_package" rev="3" vrev="3" srcmd5="83a26953292465b9db7b73e54859d7e0">
          <linkinfo project="home:tom" package="my_package" srcmd5="d41d8cd98f00b204e9800998ecf8427e" baserev="d41d8cd98f00b204e9800998ecf8427e" xsrcmd5="c688657843e10f988f2fb32c79413ce4" lsrcmd5="83a26953292465b9db7b73e54859d7e0"/>
          <entry name="_link" md5="702b2f782cb222a3f9124aa00cdb6bf4" size="116" mtime="1596207360"/>
        </directory>
  recorded_at: Fri, 31 Jul 2020 14:58:47 GMT
- request:
    method: post
    uri: http://backend:5352/source/home:tom:branches:home:tom/my_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:
      - '334'
    body:
      encoding: UTF-8
      string: |
        <sourcediff key="066d72b329a296606082cb5153b948ad">
          <old project="home:tom:branches:home:tom" package="my_package" rev="0" srcmd5="d41d8cd98f00b204e9800998ecf8427e"/>
          <new project="home:tom:branches:home:tom" package="my_package" rev="3" srcmd5="83a26953292465b9db7b73e54859d7e0"/>
          <files/>
          <issues>
          </issues>
        </sourcediff>
  recorded_at: Fri, 31 Jul 2020 14:58:47 GMT
- request:
    method: post
    uri: http://backend:5352/source/home:tom:branches:home:tom/my_package?cmd=linkdiff&linkrev=base&onlyissues=1&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:
      - '355'
    body:
      encoding: UTF-8
      string: |
        <sourcediff key="cfd8c7a8066dcbd43b2ad2f21933b9a3">
          <old project="home:tom" package="my_package" rev="d41d8cd98f00b204e9800998ecf8427e" srcmd5="d41d8cd98f00b204e9800998ecf8427e"/>
          <new project="home:tom:branches:home:tom" package="my_package" rev="c688657843e10f988f2fb32c79413ce4" srcmd5="c688657843e10f988f2fb32c79413ce4"/>
          <files/>
        </sourcediff>
  recorded_at: Fri, 31 Jul 2020 14:58:47 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:tom:branches:home:tom/_meta?user=tom
    body:
      encoding: UTF-8
      string: |
        <project name="home:tom:branches:home:tom">
          <title>Branch project for package my_package</title>
          <description>This project was created for package my_package via attribute OBS:Maintained</description>
          <person userid="tom" role="maintainer"/>
          <publish>
            <disable/>
          </publish>
        </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:
      - '299'
    body:
      encoding: UTF-8
      string: |
        <project name="home:tom:branches:home:tom">
          <title>Branch project for package my_package</title>
          <description>This project was created for package my_package via attribute OBS:Maintained</description>
          <person userid="tom" role="maintainer"/>
          <publish>
            <disable/>
          </publish>
        </project>
  recorded_at: Fri, 31 Jul 2020 14:58:47 GMT
recorded_with: VCR 6.0.0
