---
http_interactions:
- request:
    method: put
    uri: http://backend:5352/source/home:tux/_meta?user=tux
    body:
      encoding: UTF-8
      string: |
        <project name="home:tux">
          <title/>
          <description/>
          <person userid="tux" 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:tux">
          <title></title>
          <description></description>
          <person userid="tux" role="maintainer"/>
        </project>
  recorded_at: Wed, 14 Jun 2023 16:22:59 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:tux/_project/_staging_workflow?user=tux
    body:
      encoding: UTF-8
      string: |
        <workflow project="home:tux" managers="group_2">
          <staging_project name="home:tux:Staging:A"/>
        </workflow>
    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:
      - '165'
    body:
      encoding: UTF-8
      string: |
        <revision rev="3">
          <srcmd5>050880ead884911764d521f1c464c7e5</srcmd5>
          <time>1686759779</time>
          <user>tux</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Wed, 14 Jun 2023 16:22:59 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:tux:Staging:A/_meta?user=tux
    body:
      encoding: UTF-8
      string: |
        <project name="home:tux:Staging:A">
          <title/>
          <description/>
          <group groupid="group_2" 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:
      - '142'
    body:
      encoding: UTF-8
      string: |
        <project name="home:tux:Staging:A">
          <title></title>
          <description></description>
          <group groupid="group_2" role="maintainer"/>
        </project>
  recorded_at: Wed, 14 Jun 2023 16:22:59 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:tux/_project/_staging_workflow?user=tux
    body:
      encoding: UTF-8
      string: |
        <workflow project="home:tux" managers="group_2">
          <staging_project name="home:tux:Staging:A"/>
          <staging_project name="home:tux:Staging:B"/>
        </workflow>
    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:
      - '165'
    body:
      encoding: UTF-8
      string: |
        <revision rev="4">
          <srcmd5>08b8ce485ffdc9843a950341b8871bab</srcmd5>
          <time>1686759780</time>
          <user>tux</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Wed, 14 Jun 2023 16:23:00 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:tux:Staging:B/_meta?user=tux
    body:
      encoding: UTF-8
      string: |
        <project name="home:tux:Staging:B">
          <title/>
          <description/>
          <group groupid="group_2" 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:
      - '142'
    body:
      encoding: UTF-8
      string: |
        <project name="home:tux:Staging:B">
          <title></title>
          <description></description>
          <group groupid="group_2" role="maintainer"/>
        </project>
  recorded_at: Wed, 14 Jun 2023 16:23:00 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:tux/_meta?user=tux
    body:
      encoding: UTF-8
      string: |
        <project name="home:tux">
          <title/>
          <description/>
          <person userid="tux" role="maintainer"/>
          <group groupid="group_2" role="reviewer"/>
        </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:
      - '173'
    body:
      encoding: UTF-8
      string: |
        <project name="home:tux">
          <title></title>
          <description></description>
          <person userid="tux" role="maintainer"/>
          <group groupid="group_2" role="reviewer"/>
        </project>
  recorded_at: Wed, 14 Jun 2023 16:23:00 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:user_11/_meta?user=user_11
    body:
      encoding: UTF-8
      string: |
        <project name="home:user_11">
          <title/>
          <description/>
          <person userid="user_11" 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:
      - '136'
    body:
      encoding: UTF-8
      string: |
        <project name="home:user_11">
          <title></title>
          <description></description>
          <person userid="user_11" role="maintainer"/>
        </project>
  recorded_at: Wed, 14 Jun 2023 16:23:00 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:tux/target_package/_meta?user=tux
    body:
      encoding: UTF-8
      string: |
        <package name="target_package" project="home:tux">
          <title>Taming a Sea Horse</title>
          <description>Temporibus sed culpa et.</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:
      - '152'
    body:
      encoding: UTF-8
      string: |
        <package name="target_package" project="home:tux">
          <title>Taming a Sea Horse</title>
          <description>Temporibus sed culpa et.</description>
        </package>
  recorded_at: Wed, 14 Jun 2023 16:23:00 GMT
- request:
    method: put
    uri: http://backend:5352/source/source_project/_meta?user=tux
    body:
      encoding: UTF-8
      string: |
        <project name="source_project">
          <title>An Acceptable Time</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:
      - '109'
    body:
      encoding: UTF-8
      string: |
        <project name="source_project">
          <title>An Acceptable Time</title>
          <description></description>
        </project>
  recorded_at: Wed, 14 Jun 2023 16:23:00 GMT
- request:
    method: put
    uri: http://backend:5352/source/source_project/source_package/_meta?user=tux
    body:
      encoding: UTF-8
      string: |
        <package name="source_package" project="source_project">
          <title>Far From the Madding Crowd</title>
          <description>Sint unde dolore porro.</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:
      - '165'
    body:
      encoding: UTF-8
      string: |
        <package name="source_package" project="source_project">
          <title>Far From the Madding Crowd</title>
          <description>Sint unde dolore porro.</description>
        </package>
  recorded_at: Wed, 14 Jun 2023 16:23:00 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: 200
      message: OK
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '89'
    body:
      encoding: UTF-8
      string: |
        <directory name="source_package" srcmd5="d41d8cd98f00b204e9800998ecf8427e">
        </directory>
  recorded_at: Wed, 14 Jun 2023 16:23:00 GMT
- request:
    method: post
    uri: http://backend:5352/source/source_project/source_package?cmd=diff&expand=1&filelimit=10000&opackage=target_package&oproject=home:tux&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
      Content-Length:
      - '322'
      Cache-Control:
      - no-cache
      Connection:
      - close
    body:
      encoding: UTF-8
      string: |
        <sourcediff key="dcba7472982eeb139db6ace145688653">
          <old project="home:tux" package="target_package" rev="0" srcmd5="d41d8cd98f00b204e9800998ecf8427e"/>
          <new project="source_project" package="source_package" rev="0" srcmd5="d41d8cd98f00b204e9800998ecf8427e"/>
          <files>
          </files>
          <issues>
          </issues>
        </sourcediff>
  recorded_at: Wed, 14 Jun 2023 16:23:00 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:
      - '89'
    body:
      encoding: UTF-8
      string: |
        <directory name="source_package" srcmd5="d41d8cd98f00b204e9800998ecf8427e">
        </directory>
  recorded_at: Wed, 14 Jun 2023 16:23:00 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:
      - '89'
    body:
      encoding: UTF-8
      string: |
        <directory name="source_package" srcmd5="d41d8cd98f00b204e9800998ecf8427e">
        </directory>
  recorded_at: Wed, 14 Jun 2023 16:23:00 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:tux/target_package/_meta?user=tux
    body:
      encoding: UTF-8
      string: |
        <package name="target_package" project="home:tux">
          <title>Taming a Sea Horse</title>
          <description>Temporibus sed culpa et.</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:
      - '152'
    body:
      encoding: UTF-8
      string: |
        <package name="target_package" project="home:tux">
          <title>Taming a Sea Horse</title>
          <description>Temporibus sed culpa et.</description>
        </package>
  recorded_at: Wed, 14 Jun 2023 16:23:00 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:tux/target_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:
      - '89'
    body:
      encoding: UTF-8
      string: |
        <directory name="target_package" srcmd5="d41d8cd98f00b204e9800998ecf8427e">
        </directory>
  recorded_at: Wed, 14 Jun 2023 16:23:00 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:tux/target_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:
      - '130'
    body:
      encoding: UTF-8
      string: |
        <sourceinfo package="target_package" srcmd5="d41d8cd98f00b204e9800998ecf8427e">
          <error>no source uploaded</error>
        </sourceinfo>
  recorded_at: Wed, 14 Jun 2023 16:23:00 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:tux/target_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:
      - '89'
    body:
      encoding: UTF-8
      string: |
        <directory name="target_package" srcmd5="d41d8cd98f00b204e9800998ecf8427e">
        </directory>
  recorded_at: Wed, 14 Jun 2023 16:23:00 GMT
- request:
    method: post
    uri: http://backend:5352/source/home:tux/target_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:
      - '283'
    body:
      encoding: UTF-8
      string: |
        <sourcediff key="72c89f1b5c74da9447566aba1999db8c">
          <old project="home:tux" package="target_package" rev="0" srcmd5="d41d8cd98f00b204e9800998ecf8427e"/>
          <new project="home:tux" package="target_package" rev="0" srcmd5="d41d8cd98f00b204e9800998ecf8427e"/>
          <files/>
        </sourcediff>
  recorded_at: Wed, 14 Jun 2023 16:23:00 GMT
recorded_with: VCR 6.1.0
