---
http_interactions:
- request:
    method: put
    uri: http://backend:5352/source/project_9/_meta?user=user_165
    body:
      encoding: UTF-8
      string: |
        <project name="project_9">
          <title>The Green Bay Tree</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_9">
          <title>The Green Bay Tree</title>
          <description></description>
        </project>
  recorded_at: Wed, 14 Jun 2023 16:23:22 GMT
- request:
    method: put
    uri: http://backend:5352/source/target_project/_meta?user=user_166
    body:
      encoding: UTF-8
      string: |
        <project name="target_project">
          <title>No Highway</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:
      - '101'
    body:
      encoding: UTF-8
      string: |
        <project name="target_project">
          <title>No Highway</title>
          <description></description>
        </project>
  recorded_at: Wed, 14 Jun 2023 16:23:22 GMT
- request:
    method: put
    uri: http://backend:5352/source/target_project/target_package/_meta?user=user_167
    body:
      encoding: UTF-8
      string: |
        <package name="target_package" project="target_project">
          <title>Vanity Fair</title>
          <description>Optio voluptatem et quas.</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="target_project">
          <title>Vanity Fair</title>
          <description>Optio voluptatem et quas.</description>
        </package>
  recorded_at: Wed, 14 Jun 2023 16:23:22 GMT
- request:
    method: put
    uri: http://backend:5352/source/source_project/_meta?user=user_168
    body:
      encoding: UTF-8
      string: |
        <project name="source_project">
          <title>The Lathe of Heaven</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:
      - '110'
    body:
      encoding: UTF-8
      string: |
        <project name="source_project">
          <title>The Lathe of Heaven</title>
          <description></description>
        </project>
  recorded_at: Wed, 14 Jun 2023 16:23:22 GMT
- request:
    method: put
    uri: http://backend:5352/source/source_project/_project/_attribute?meta=1&user=user_168
    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="40">
          <srcmd5>459cf156bdf710047d40bd6cda0dcf9f</srcmd5>
          <time>1686759802</time>
          <user>user_168</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Wed, 14 Jun 2023 16:23:22 GMT
- request:
    method: put
    uri: http://backend:5352/source/source_project/source_package/_meta?user=user_169
    body:
      encoding: UTF-8
      string: |
        <package name="source_package" project="source_project">
          <title>Vanity Fair</title>
          <description>Amet mollitia voluptates reiciendis.</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:
      - '163'
    body:
      encoding: UTF-8
      string: |
        <package name="source_package" project="source_project">
          <title>Vanity Fair</title>
          <description>Amet mollitia voluptates reiciendis.</description>
        </package>
  recorded_at: Wed, 14 Jun 2023 16:23:22 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:22 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="1d2d66e37ffce337361288aaa1a481e8">
          <old project="target_project" 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:22 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:22 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:22 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="1" vrev="1">
          <srcmd5>d41d8cd98f00b204e9800998ecf8427e</srcmd5>
          <version>unknown</version>
          <time>1686759802</time>
          <user>tux</user>
          <comment>Update package to newest version</comment>
          <requestid>1</requestid>
          <acceptinfo rev="1" srcmd5="d41d8cd98f00b204e9800998ecf8427e" osrcmd5="d41d8cd98f00b204e9800998ecf8427e"/>
        </revision>
  recorded_at: Wed, 14 Jun 2023 16:23:22 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>Vanity Fair</title>
          <description>Optio voluptatem et quas.</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:
      - '195'
    body:
      encoding: UTF-8
      string: |
        <package name="target_package" project="target_project">
          <title>Vanity Fair</title>
          <description>Optio voluptatem et quas.</description>
          <person userid="tux" role="maintainer"/>
        </package>
  recorded_at: Wed, 14 Jun 2023 16:23:22 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="1" vrev="1" srcmd5="d41d8cd98f00b204e9800998ecf8427e">
        </directory>
  recorded_at: Wed, 14 Jun 2023 16:23:22 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="1" vrev="1" srcmd5="d41d8cd98f00b204e9800998ecf8427e">
          <error>no source uploaded</error>
        </sourceinfo>
  recorded_at: Wed, 14 Jun 2023 16:23:22 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="1" vrev="1" srcmd5="d41d8cd98f00b204e9800998ecf8427e">
        </directory>
  recorded_at: Wed, 14 Jun 2023 16:23:22 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="5f6ba5b116b5c2e09ac680ad128e9a9c">
          <old project="target_project" package="target_package" rev="0" srcmd5="d41d8cd98f00b204e9800998ecf8427e"/>
          <new project="target_project" package="target_package" rev="1" srcmd5="d41d8cd98f00b204e9800998ecf8427e"/>
          <files/>
        </sourcediff>
  recorded_at: Wed, 14 Jun 2023 16:23:22 GMT
recorded_with: VCR 6.1.0
