---
http_interactions:
- request:
    method: put
    uri: http://backend:5352/source/project_11/_meta?user=user_175
    body:
      encoding: UTF-8
      string: |
        <project name="project_11">
          <title>A Handful of Dust</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:
      - '104'
    body:
      encoding: UTF-8
      string: |
        <project name="project_11">
          <title>A Handful of Dust</title>
          <description></description>
        </project>
  recorded_at: Wed, 14 Jun 2023 16:23:23 GMT
- request:
    method: put
    uri: http://backend:5352/source/target_project/_meta?user=user_176
    body:
      encoding: UTF-8
      string: |
        <project name="target_project">
          <title>After Many a Summer Dies the Swan</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:
      - '124'
    body:
      encoding: UTF-8
      string: |
        <project name="target_project">
          <title>After Many a Summer Dies the Swan</title>
          <description></description>
        </project>
  recorded_at: Wed, 14 Jun 2023 16:23:23 GMT
- request:
    method: put
    uri: http://backend:5352/source/target_project/target_package/_meta?user=user_177
    body:
      encoding: UTF-8
      string: |
        <package name="target_package" project="target_project">
          <title>O Jerusalem!</title>
          <description>Est dignissimos qui voluptas.</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:
      - '157'
    body:
      encoding: UTF-8
      string: |
        <package name="target_package" project="target_project">
          <title>O Jerusalem!</title>
          <description>Est dignissimos qui voluptas.</description>
        </package>
  recorded_at: Wed, 14 Jun 2023 16:23:23 GMT
- request:
    method: put
    uri: http://backend:5352/source/source_project/_meta?user=user_178
    body:
      encoding: UTF-8
      string: |
        <project name="source_project">
          <title>Great Work of 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>Great Work of Time</title>
          <description></description>
        </project>
  recorded_at: Wed, 14 Jun 2023 16:23:23 GMT
- request:
    method: put
    uri: http://backend:5352/source/source_project/_project/_attribute?meta=1&user=user_178
    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:
      - '171'
    body:
      encoding: UTF-8
      string: |
        <revision rev="44">
          <srcmd5>e2657530d940772f2e6548a6dc433269</srcmd5>
          <time>1686759803</time>
          <user>user_178</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Wed, 14 Jun 2023 16:23:23 GMT
- request:
    method: put
    uri: http://backend:5352/source/source_project/source_package/_meta?user=user_179
    body:
      encoding: UTF-8
      string: |
        <package name="source_package" project="source_project">
          <title>Dulce et Decorum Est</title>
          <description>Debitis consequuntur quo ducimus.</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:
      - '169'
    body:
      encoding: UTF-8
      string: |
        <package name="source_package" project="source_project">
          <title>Dulce et Decorum Est</title>
          <description>Debitis consequuntur quo ducimus.</description>
        </package>
  recorded_at: Wed, 14 Jun 2023 16:23:23 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:24 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
      Content-Length:
      - '328'
      Cache-Control:
      - no-cache
      Connection:
      - close
    body:
      encoding: UTF-8
      string: |
        <sourcediff key="22bfb82bf1c9f9c9dd66ba87930cd41c">
          <old project="target_project" package="target_package" rev="1" 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:24 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:24 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:24 GMT
- request:
    method: post
    uri: http://backend:5352/source/target_project/target_package?cmd=copy&comment=Update%20package%20to%20newest%20version&expand=1&keeplink=1&noservice=1&opackage=source_package&oproject=source_project&requestid=1&user=tux&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:
      - '356'
    body:
      encoding: UTF-8
      string: |
        <revision rev="2" vrev="2">
          <srcmd5>d41d8cd98f00b204e9800998ecf8427e</srcmd5>
          <version>unknown</version>
          <time>1686759804</time>
          <user>tux</user>
          <comment>Update package to newest version</comment>
          <requestid>1</requestid>
          <acceptinfo rev="2" srcmd5="d41d8cd98f00b204e9800998ecf8427e" osrcmd5="d41d8cd98f00b204e9800998ecf8427e"/>
        </revision>
  recorded_at: Wed, 14 Jun 2023 16:23:24 GMT
- request:
    method: put
    uri: http://backend:5352/source/target_project/target_package/_meta?user=tux
    body:
      encoding: UTF-8
      string: |
        <package name="target_package" project="target_project">
          <title>O Jerusalem!</title>
          <description>Est dignissimos qui voluptas.</description>
          <person userid="tux" role="maintainer"/>
        </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:
      - '200'
    body:
      encoding: UTF-8
      string: |
        <package name="target_package" project="target_project">
          <title>O Jerusalem!</title>
          <description>Est dignissimos qui voluptas.</description>
          <person userid="tux" role="maintainer"/>
        </package>
  recorded_at: Wed, 14 Jun 2023 16:23:24 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="2" vrev="2" srcmd5="d41d8cd98f00b204e9800998ecf8427e">
        </directory>
  recorded_at: Wed, 14 Jun 2023 16:23:24 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="2" vrev="2" srcmd5="d41d8cd98f00b204e9800998ecf8427e">
          <error>no source uploaded</error>
        </sourceinfo>
  recorded_at: Wed, 14 Jun 2023 16:23:24 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="2" vrev="2" srcmd5="d41d8cd98f00b204e9800998ecf8427e">
        </directory>
  recorded_at: Wed, 14 Jun 2023 16:23:24 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="fde9adb5c560326a887fb736be54bb29">
          <old project="target_project" package="target_package" rev="0" srcmd5="d41d8cd98f00b204e9800998ecf8427e"/>
          <new project="target_project" package="target_package" rev="2" srcmd5="d41d8cd98f00b204e9800998ecf8427e"/>
          <files/>
        </sourcediff>
  recorded_at: Wed, 14 Jun 2023 16:23:24 GMT
recorded_with: VCR 6.1.0
