---
http_interactions:
- request:
    method: put
    uri: http://backend:5352/source/home:permitted_user/_meta?user=permitted_user
    body:
      encoding: UTF-8
      string: |
        <project name="home:permitted_user">
          <title/>
          <description/>
          <person userid="permitted_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:
      - '150'
    body:
      encoding: UTF-8
      string: |
        <project name="home:permitted_user">
          <title></title>
          <description></description>
          <person userid="permitted_user" role="maintainer"/>
        </project>
  recorded_at: Mon, 25 Jul 2022 15:48:05 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:permitted_user/_project/_staging_workflow?user=permitted_user
    body:
      encoding: UTF-8
      string: |
        <workflow project="home:permitted_user" managers="group_1">
          <staging_project name="home:permitted_user: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:
      - '176'
    body:
      encoding: UTF-8
      string: |
        <revision rev="5">
          <srcmd5>437960873390f6d51b29cac67e3b5453</srcmd5>
          <time>1658764085</time>
          <user>permitted_user</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Mon, 25 Jul 2022 15:48:05 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:permitted_user:Staging:A/_meta?user=permitted_user
    body:
      encoding: UTF-8
      string: |
        <project name="home:permitted_user:Staging:A">
          <title/>
          <description/>
          <group groupid="group_1" 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:
      - '153'
    body:
      encoding: UTF-8
      string: |
        <project name="home:permitted_user:Staging:A">
          <title></title>
          <description></description>
          <group groupid="group_1" role="maintainer"/>
        </project>
  recorded_at: Mon, 25 Jul 2022 15:48:05 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:permitted_user/_project/_staging_workflow?user=permitted_user
    body:
      encoding: UTF-8
      string: |
        <workflow project="home:permitted_user" managers="group_1">
          <staging_project name="home:permitted_user:Staging:A"/>
          <staging_project name="home:permitted_user: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:
      - '176'
    body:
      encoding: UTF-8
      string: |
        <revision rev="6">
          <srcmd5>1cb65454e99e97791176705d1691a126</srcmd5>
          <time>1658764085</time>
          <user>permitted_user</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Mon, 25 Jul 2022 15:48:05 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:permitted_user:Staging:B/_meta?user=permitted_user
    body:
      encoding: UTF-8
      string: |
        <project name="home:permitted_user:Staging:B">
          <title/>
          <description/>
          <group groupid="group_1" 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:
      - '153'
    body:
      encoding: UTF-8
      string: |
        <project name="home:permitted_user:Staging:B">
          <title></title>
          <description></description>
          <group groupid="group_1" role="maintainer"/>
        </project>
  recorded_at: Mon, 25 Jul 2022 15:48:05 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:permitted_user/_meta?user=permitted_user
    body:
      encoding: UTF-8
      string: |
        <project name="home:permitted_user">
          <title/>
          <description/>
          <person userid="permitted_user" role="maintainer"/>
          <group groupid="group_1" 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:
      - '195'
    body:
      encoding: UTF-8
      string: |
        <project name="home:permitted_user">
          <title></title>
          <description></description>
          <person userid="permitted_user" role="maintainer"/>
          <group groupid="group_1" role="reviewer"/>
        </project>
  recorded_at: Mon, 25 Jul 2022 15:48:05 GMT
- request:
    method: put
    uri: http://backend:5352/source/target_project/_meta?user=permitted_user
    body:
      encoding: UTF-8
      string: |
        <project name="target_project">
          <title>The Heart Is a Lonely Hunter</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:
      - '119'
    body:
      encoding: UTF-8
      string: |
        <project name="target_project">
          <title>The Heart Is a Lonely Hunter</title>
          <description></description>
        </project>
  recorded_at: Mon, 25 Jul 2022 15:48:05 GMT
- request:
    method: put
    uri: http://backend:5352/source/target_project/target_package/_meta?user=permitted_user
    body:
      encoding: UTF-8
      string: |
        <package name="target_package" project="target_project">
          <title>Look to Windward</title>
          <description>Molestiae explicabo molestias harum.</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="target_project">
          <title>Look to Windward</title>
          <description>Molestiae explicabo molestias harum.</description>
        </package>
  recorded_at: Mon, 25 Jul 2022 15:48:05 GMT
- request:
    method: put
    uri: http://backend:5352/source/source_project/_meta?user=permitted_user
    body:
      encoding: UTF-8
      string: |
        <project name="source_project">
          <title>Consider Phlebas</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="source_project">
          <title>Consider Phlebas</title>
          <description></description>
        </project>
  recorded_at: Mon, 25 Jul 2022 15:48:05 GMT
- request:
    method: put
    uri: http://backend:5352/source/source_project/_project/_attribute?meta=1&user=permitted_user
    body:
      encoding: UTF-8
      string: |
        <attributes>
          <attribute name="ApprovedRequestSource" namespace="OBS"/>
        </attributes>
    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:
      - '177'
    body:
      encoding: UTF-8
      string: |
        <revision rev="66">
          <srcmd5>6aab2c5e83adc8c393700492d1d5ba3a</srcmd5>
          <time>1658764085</time>
          <user>permitted_user</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Mon, 25 Jul 2022 15:48:05 GMT
- request:
    method: put
    uri: http://backend:5352/source/source_project/source_package/_meta?user=permitted_user
    body:
      encoding: UTF-8
      string: |
        <package name="source_package" project="source_project">
          <title>A Swiftly Tilting Planet</title>
          <description>Id eaque excepturi animi.</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>A Swiftly Tilting Planet</title>
          <description>Id eaque excepturi animi.</description>
        </package>
  recorded_at: Mon, 25 Jul 2022 15:48:05 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: Mon, 25 Jul 2022 15:48:06 GMT
- request:
    method: post
    uri: http://backend:5352/source/source_project/source_package?cmd=diff&expand=1&filelimit=10000&opackage=target_package&oproject=target_project&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:
      - '328'
    body:
      encoding: UTF-8
      string: |
        <sourcediff key="41624200f44c06023433fa81152364d3">
          <old project="target_project" package="target_package" rev="8" srcmd5="d41d8cd98f00b204e9800998ecf8427e"/>
          <new project="source_project" package="source_package" rev="0" srcmd5="d41d8cd98f00b204e9800998ecf8427e"/>
          <files>
          </files>
          <issues>
          </issues>
        </sourcediff>
  recorded_at: Mon, 25 Jul 2022 15:48:06 GMT
- request:
    method: post
    uri: http://backend:5352/search/package/id?match=(linkinfo/@package=%22source_package%22%20and%20linkinfo/@project=%22source_project%22%20and%20@project=%22source_project%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: Mon, 25 Jul 2022 15:48:06 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:permitted_user:Staging:A/target_package/_meta?user=staging-hero
    body:
      encoding: UTF-8
      string: |
        <package name="target_package" project="home:permitted_user:Staging:A">
          <title>A Swiftly Tilting Planet</title>
          <description>Id eaque excepturi animi.</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:
      - '180'
    body:
      encoding: UTF-8
      string: |
        <package name="target_package" project="home:permitted_user:Staging:A">
          <title>A Swiftly Tilting Planet</title>
          <description>Id eaque excepturi animi.</description>
        </package>
  recorded_at: Mon, 25 Jul 2022 15:48:06 GMT
- request:
    method: post
    uri: http://backend:5352/source/home:permitted_user:Staging:A/target_package?cmd=branch&noservice=1&opackage=source_package&oproject=source_project&user=staging-hero
    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:
      - '212'
    body:
      encoding: UTF-8
      string: |
        <revision rev="1" vrev="1">
          <srcmd5>8e451641a827df5f4f409d1d543fdb7b</srcmd5>
          <version>unknown</version>
          <time>1658764086</time>
          <user>staging-hero</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Mon, 25 Jul 2022 15:48:06 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:permitted_user:Staging:A/target_package/_meta?user=staging-hero
    body:
      encoding: UTF-8
      string: |
        <package name="target_package" project="home:permitted_user:Staging:A">
          <title>A Swiftly Tilting Planet</title>
          <description>Id eaque excepturi animi.</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:
      - '180'
    body:
      encoding: UTF-8
      string: |
        <package name="target_package" project="home:permitted_user:Staging:A">
          <title>A Swiftly Tilting Planet</title>
          <description>Id eaque excepturi animi.</description>
        </package>
  recorded_at: Mon, 25 Jul 2022 15:48:06 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:permitted_user:Staging:A/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:
      - '434'
    body:
      encoding: UTF-8
      string: |
        <directory name="target_package" rev="1" vrev="1" srcmd5="8e451641a827df5f4f409d1d543fdb7b">
          <linkinfo project="source_project" package="source_package" srcmd5="d41d8cd98f00b204e9800998ecf8427e" baserev="d41d8cd98f00b204e9800998ecf8427e" xsrcmd5="7eae9f6b12a2579550692e1b40dfc7d6" lsrcmd5="8e451641a827df5f4f409d1d543fdb7b"/>
          <entry name="_link" md5="703fd7abfeaa0a7804702191c078ab66" size="147" mtime="1658490907"/>
        </directory>
  recorded_at: Mon, 25 Jul 2022 15:48:06 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:permitted_user:Staging:A/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:
      - '337'
    body:
      encoding: UTF-8
      string: |
        <sourceinfo package="target_package" rev="1" vrev="1" srcmd5="7eae9f6b12a2579550692e1b40dfc7d6" lsrcmd5="8e451641a827df5f4f409d1d543fdb7b" verifymd5="d41d8cd98f00b204e9800998ecf8427e">
          <error>bad build configuration, no build type defined or detected</error>
          <linked project="source_project" package="source_package"/>
        </sourceinfo>
  recorded_at: Mon, 25 Jul 2022 15:48:06 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:permitted_user:Staging:A/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:
      - '434'
    body:
      encoding: UTF-8
      string: |
        <directory name="target_package" rev="1" vrev="1" srcmd5="8e451641a827df5f4f409d1d543fdb7b">
          <linkinfo project="source_project" package="source_package" srcmd5="d41d8cd98f00b204e9800998ecf8427e" baserev="d41d8cd98f00b204e9800998ecf8427e" xsrcmd5="7eae9f6b12a2579550692e1b40dfc7d6" lsrcmd5="8e451641a827df5f4f409d1d543fdb7b"/>
          <entry name="_link" md5="703fd7abfeaa0a7804702191c078ab66" size="147" mtime="1658490907"/>
        </directory>
  recorded_at: Mon, 25 Jul 2022 15:48:06 GMT
- request:
    method: post
    uri: http://backend:5352/source/home:permitted_user:Staging:A/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
      Content-Length:
      - '348'
      Cache-Control:
      - no-cache
      Connection:
      - close
    body:
      encoding: UTF-8
      string: |
        <sourcediff key="090c61f9f468e5eeac25c00d92b220e8">
          <old project="home:permitted_user:Staging:A" package="target_package" rev="0" srcmd5="d41d8cd98f00b204e9800998ecf8427e"/>
          <new project="home:permitted_user:Staging:A" package="target_package" rev="1" srcmd5="8e451641a827df5f4f409d1d543fdb7b"/>
          <files/>
          <issues>
          </issues>
        </sourcediff>
  recorded_at: Mon, 25 Jul 2022 15:48:06 GMT
- request:
    method: post
    uri: http://backend:5352/source/home:permitted_user:Staging:A/target_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
      Content-Length:
      - '395'
      Cache-Control:
      - no-cache
      Connection:
      - close
    body:
      encoding: UTF-8
      string: |
        <sourcediff key="852124a25d67d16792e7f9ce3ef195fb">
          <old project="source_project" package="source_package" rev="d41d8cd98f00b204e9800998ecf8427e" srcmd5="d41d8cd98f00b204e9800998ecf8427e"/>
          <new project="home:permitted_user:Staging:A" package="target_package" rev="7eae9f6b12a2579550692e1b40dfc7d6" srcmd5="7eae9f6b12a2579550692e1b40dfc7d6"/>
          <files/>
          <issues>
          </issues>
        </sourcediff>
  recorded_at: Mon, 25 Jul 2022 15:48:06 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:permitted_user/_project/_staging_workflow?user=staging-hero
    body:
      encoding: UTF-8
      string: |
        <workflow project="home:permitted_user" managers="group_1">
          <staging_project name="home:permitted_user:Staging:A"/>
          <staging_project name="home:permitted_user: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:
      - '174'
    body:
      encoding: UTF-8
      string: |
        <revision rev="7">
          <srcmd5>1cb65454e99e97791176705d1691a126</srcmd5>
          <time>1658764086</time>
          <user>staging-hero</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Mon, 25 Jul 2022 15:48:06 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:permitted_user:Staging:A/_meta?user=staging-hero
    body:
      encoding: UTF-8
      string: |
        <project name="home:permitted_user:Staging:A">
          <title/>
          <description/>
          <person userid="staging-hero" role="maintainer"/>
          <group groupid="group_1" 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:
      - '205'
    body:
      encoding: UTF-8
      string: |
        <project name="home:permitted_user:Staging:A">
          <title></title>
          <description></description>
          <person userid="staging-hero" role="maintainer"/>
          <group groupid="group_1" role="maintainer"/>
        </project>
  recorded_at: Mon, 25 Jul 2022 15:48:06 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: Mon, 25 Jul 2022 15:48:06 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: Mon, 25 Jul 2022 15:48:06 GMT
- request:
    method: get
    uri: http://backend:5352/build/home:permitted_user:Staging:A/_result?code=unresolvable
    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:
      - '55'
    body:
      encoding: UTF-8
      string: '<resultlist state="00000000000000000000000000000000"/>

'
  recorded_at: Mon, 25 Jul 2022 15:48:06 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:permitted_user/_project/_staging_workflow?user=permitted_user
    body:
      encoding: UTF-8
      string: |
        <workflow project="home:permitted_user" managers="group_1">
          <staging_project name="home:permitted_user:Staging:A"/>
          <staging_project name="home:permitted_user: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:
      - '176'
    body:
      encoding: UTF-8
      string: |
        <revision rev="8">
          <srcmd5>1cb65454e99e97791176705d1691a126</srcmd5>
          <time>1658764086</time>
          <user>permitted_user</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Mon, 25 Jul 2022 15:48:06 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:permitted_user:Staging:A/_meta?user=permitted_user
    body:
      encoding: UTF-8
      string: |
        <project name="home:permitted_user:Staging:A">
          <title/>
          <description/>
          <person userid="staging-hero" role="maintainer"/>
          <group groupid="group_1" role="maintainer"/>
          <build>
            <disable/>
          </build>
        </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:
      - '241'
    body:
      encoding: UTF-8
      string: |
        <project name="home:permitted_user:Staging:A">
          <title></title>
          <description></description>
          <person userid="staging-hero" role="maintainer"/>
          <group groupid="group_1" role="maintainer"/>
          <build>
            <disable/>
          </build>
        </project>
  recorded_at: Mon, 25 Jul 2022 15:48:06 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: Mon, 25 Jul 2022 15:48:06 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: Mon, 25 Jul 2022 15:48:06 GMT
- request:
    method: post
    uri: http://backend:5352/source/target_project/target_package?cmd=copy&comment=Fixes%20issue%20%2342&expand=1&keeplink=1&noservice=1&opackage=source_package&oproject=source_project&requestid=1&user=permitted_user&withacceptinfo=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:
      - '350'
    body:
      encoding: UTF-8
      string: |
        <revision rev="9" vrev="9">
          <srcmd5>d41d8cd98f00b204e9800998ecf8427e</srcmd5>
          <version>unknown</version>
          <time>1658764086</time>
          <user>permitted_user</user>
          <comment>Fixes issue #42</comment>
          <requestid>1</requestid>
          <acceptinfo rev="9" srcmd5="d41d8cd98f00b204e9800998ecf8427e" osrcmd5="d41d8cd98f00b204e9800998ecf8427e"/>
        </revision>
  recorded_at: Mon, 25 Jul 2022 15:48:06 GMT
- request:
    method: put
    uri: http://backend:5352/source/target_project/target_package/_meta?user=permitted_user
    body:
      encoding: UTF-8
      string: |
        <package name="target_package" project="target_project">
          <title>Look to Windward</title>
          <description>Molestiae explicabo molestias harum.</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="target_project">
          <title>Look to Windward</title>
          <description>Molestiae explicabo molestias harum.</description>
        </package>
  recorded_at: Mon, 25 Jul 2022 15:48:06 GMT
- request:
    method: get
    uri: http://backend:5352/source/target_project/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:
      - '106'
    body:
      encoding: UTF-8
      string: |
        <directory name="target_package" rev="9" vrev="9" srcmd5="d41d8cd98f00b204e9800998ecf8427e">
        </directory>
  recorded_at: Mon, 25 Jul 2022 15:48:06 GMT
- request:
    method: get
    uri: http://backend:5352/source/target_project/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:
      - '147'
    body:
      encoding: UTF-8
      string: |
        <sourceinfo package="target_package" rev="9" vrev="9" srcmd5="d41d8cd98f00b204e9800998ecf8427e">
          <error>no source uploaded</error>
        </sourceinfo>
  recorded_at: Mon, 25 Jul 2022 15:48:06 GMT
- request:
    method: get
    uri: http://backend:5352/source/target_project/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:
      - '106'
    body:
      encoding: UTF-8
      string: |
        <directory name="target_package" rev="9" vrev="9" srcmd5="d41d8cd98f00b204e9800998ecf8427e">
        </directory>
  recorded_at: Mon, 25 Jul 2022 15:48:06 GMT
- request:
    method: post
    uri: http://backend:5352/source/target_project/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:
      - '295'
    body:
      encoding: UTF-8
      string: |
        <sourcediff key="64d8dcc3860ad0331c818dfca89a0bff">
          <old project="target_project" package="target_package" rev="0" srcmd5="d41d8cd98f00b204e9800998ecf8427e"/>
          <new project="target_project" package="target_package" rev="9" srcmd5="d41d8cd98f00b204e9800998ecf8427e"/>
          <files/>
        </sourcediff>
  recorded_at: Mon, 25 Jul 2022 15:48:06 GMT
- request:
    method: delete
    uri: http://backend:5352/source/home:permitted_user:Staging:A/target_package?comment&user=permitted_user
    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:
      - '21'
    body:
      encoding: UTF-8
      string: '<status code="ok" />

'
  recorded_at: Mon, 25 Jul 2022 15:48:06 GMT
recorded_with: VCR 6.1.0
