---
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: Thu, 05 Jun 2025 11:48:37 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_7">
          <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:
      - '177'
    body:
      encoding: UTF-8
      string: |
        <revision rev="13">
          <srcmd5>fa40fec1d3f02b90640ab4672aac23e6</srcmd5>
          <time>1749124118</time>
          <user>permitted_user</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Thu, 05 Jun 2025 11:48:38 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_7" 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_7" role="maintainer"/>
        </project>
  recorded_at: Thu, 05 Jun 2025 11:48:38 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_7">
          <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:
      - '177'
    body:
      encoding: UTF-8
      string: |
        <revision rev="14">
          <srcmd5>1fef1c9a82221ac3ea6c4b3d67bf8df7</srcmd5>
          <time>1749124118</time>
          <user>permitted_user</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Thu, 05 Jun 2025 11:48:38 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_7" 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_7" role="maintainer"/>
        </project>
  recorded_at: Thu, 05 Jun 2025 11:48:38 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_7" 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_7" role="reviewer"/>
        </project>
  recorded_at: Thu, 05 Jun 2025 11:48:38 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:permitted_user/target_package/_meta?user=permitted_user
    body:
      encoding: UTF-8
      string: |
        <package name="target_package" project="home:permitted_user">
          <title>Those Barren Leaves, Thrones, Dominations</title>
          <description>Quia cum labore eligendi.</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:
      - '187'
    body:
      encoding: UTF-8
      string: |
        <package name="target_package" project="home:permitted_user">
          <title>Those Barren Leaves, Thrones, Dominations</title>
          <description>Quia cum labore eligendi.</description>
        </package>
  recorded_at: Thu, 05 Jun 2025 11:48:38 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>Eyeless in Gaza</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:
      - '106'
    body:
      encoding: UTF-8
      string: |
        <project name="source_project">
          <title>Eyeless in Gaza</title>
          <description></description>
        </project>
  recorded_at: Thu, 05 Jun 2025 11:48:38 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>Antic Hay</title>
          <description>Fugit velit tempora ut.</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:
      - '148'
    body:
      encoding: UTF-8
      string: |
        <package name="source_package" project="source_project">
          <title>Antic Hay</title>
          <description>Fugit velit tempora ut.</description>
        </package>
  recorded_at: Thu, 05 Jun 2025 11:48:38 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: Thu, 05 Jun 2025 11:48:39 GMT
- request:
    method: post
    uri: http://backend:5352/source/source_project/source_package?cmd=diff&expand=1&filelimit=10000&opackage=target_package&oproject=home:permitted_user&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:
      - '333'
      Cache-Control:
      - no-cache
      Connection:
      - close
    body:
      encoding: UTF-8
      string: |
        <sourcediff key="4dcc8eb16675ed9243fb8e77822f4355">
          <old project="home:permitted_user" 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: Thu, 05 Jun 2025 11:48:39 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: Thu, 05 Jun 2025 11:48:39 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:permitted_user:Staging:A/target_package/_meta?user=permitted_user
    body:
      encoding: UTF-8
      string: |
        <package name="target_package" project="home:permitted_user:Staging:A">
          <title/>
          <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:
      - '131'
    body:
      encoding: UTF-8
      string: |
        <package name="target_package" project="home:permitted_user:Staging:A">
          <title></title>
          <description></description>
        </package>
  recorded_at: Thu, 05 Jun 2025 11:48:39 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:permitted_user:Staging:A/target_package/_link?user=permitted_user
    body:
      encoding: UTF-8
      string: <link project="source_project" package="source_package" rev="d41d8cd98f00b204e9800998ecf8427e"
        vrev=""/>
    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:
      - '214'
    body:
      encoding: UTF-8
      string: |
        <revision rev="3" vrev="3">
          <srcmd5>d5e16cac42930eeb8421736378202c08</srcmd5>
          <version>unknown</version>
          <time>1749124119</time>
          <user>permitted_user</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Thu, 05 Jun 2025 11:48:39 GMT
recorded_with: VCR 6.3.1
