---
http_interactions:
- request:
    method: put
    uri: http://backend:5352/source/source_project_123/_meta?user=user_24
    body:
      encoding: UTF-8
      string: |
        <project name="source_project_123">
          <title>The Sun Also Rises</title>
          <description/>
          <person userid="sagan" 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:
      - '158'
    body:
      encoding: UTF-8
      string: |
        <project name="source_project_123">
          <title>The Sun Also Rises</title>
          <description></description>
          <person userid="sagan" role="maintainer"/>
        </project>
  recorded_at: Wed, 14 Jun 2023 16:23:02 GMT
- request:
    method: put
    uri: http://backend:5352/source/source_project_123/source_package_123/_meta?user=user_25
    body:
      encoding: UTF-8
      string: |
        <package name="source_package_123" project="source_project_123">
          <title>A Swiftly Tilting Planet</title>
          <description>Illum rerum nostrum quaerat.</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:
      - '176'
    body:
      encoding: UTF-8
      string: |
        <package name="source_package_123" project="source_project_123">
          <title>A Swiftly Tilting Planet</title>
          <description>Illum rerum nostrum quaerat.</description>
        </package>
  recorded_at: Wed, 14 Jun 2023 16:23:02 GMT
- request:
    method: put
    uri: http://backend:5352/source/project_123/_meta?user=user_26
    body:
      encoding: UTF-8
      string: |
        <project name="project_123">
          <title>In a Dry Season</title>
          <description/>
          <person userid="sagan" 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:
      - '148'
    body:
      encoding: UTF-8
      string: |
        <project name="project_123">
          <title>In a Dry Season</title>
          <description></description>
          <person userid="sagan" role="maintainer"/>
        </project>
  recorded_at: Wed, 14 Jun 2023 16:23:03 GMT
- request:
    method: put
    uri: http://backend:5352/source/project_123/package_123/_meta?user=user_27
    body:
      encoding: UTF-8
      string: |
        <package name="package_123" project="project_123">
          <title>The Man Within</title>
          <description>Maiores pariatur reprehenderit consequatur.</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:
      - '167'
    body:
      encoding: UTF-8
      string: |
        <package name="package_123" project="project_123">
          <title>The Man Within</title>
          <description>Maiores pariatur reprehenderit consequatur.</description>
        </package>
  recorded_at: Wed, 14 Jun 2023 16:23:03 GMT
- request:
    method: get
    uri: http://backend:5352/source/source_project_123/source_package_123
    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:
      - '93'
    body:
      encoding: UTF-8
      string: |
        <directory name="source_package_123" srcmd5="d41d8cd98f00b204e9800998ecf8427e">
        </directory>
  recorded_at: Wed, 14 Jun 2023 16:23:03 GMT
- request:
    method: post
    uri: http://backend:5352/source/source_project_123/source_package_123?cmd=diff&expand=1&filelimit=10000&opackage=package_123&oproject=project_123&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:
      - '330'
      Cache-Control:
      - no-cache
      Connection:
      - close
    body:
      encoding: UTF-8
      string: |
        <sourcediff key="4f00cce18a19a6fc50ac47235aa1aed4">
          <old project="project_123" package="package_123" rev="1" srcmd5="d41d8cd98f00b204e9800998ecf8427e"/>
          <new project="source_project_123" package="source_package_123" rev="0" srcmd5="d41d8cd98f00b204e9800998ecf8427e"/>
          <files>
          </files>
          <issues>
          </issues>
        </sourcediff>
  recorded_at: Wed, 14 Jun 2023 16:23:03 GMT
- request:
    method: put
    uri: http://backend:5352/source/project_123/_project/_attribute?meta=1&user=clarke
    body:
      encoding: UTF-8
      string: |
        <attributes>
          <attribute name="CreatorCannotAcceptOwnRequests" 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:
      - '168'
    body:
      encoding: UTF-8
      string: |
        <revision rev="6">
          <srcmd5>752ae25de4eb412d38aa222ad57d6bb4</srcmd5>
          <time>1686759783</time>
          <user>clarke</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Wed, 14 Jun 2023 16:23:03 GMT
- request:
    method: get
    uri: http://backend:5352/source/source_project_123/source_package_123?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:
      - '93'
    body:
      encoding: UTF-8
      string: |
        <directory name="source_package_123" srcmd5="d41d8cd98f00b204e9800998ecf8427e">
        </directory>
  recorded_at: Wed, 14 Jun 2023 16:23:03 GMT
- request:
    method: get
    uri: http://backend:5352/source/source_project_123/source_package_123?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:
      - '93'
    body:
      encoding: UTF-8
      string: |
        <directory name="source_package_123" srcmd5="d41d8cd98f00b204e9800998ecf8427e">
        </directory>
  recorded_at: Wed, 14 Jun 2023 16:23:03 GMT
- request:
    method: post
    uri: http://backend:5352/source/project_123/package_123?cmd=copy&comment=A%20single%20comment&expand=1&keeplink=1&noservice=1&opackage=source_package_123&oproject=source_project_123&requestid=1&user=clarke&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:
      - '343'
    body:
      encoding: UTF-8
      string: |
        <revision rev="2" vrev="2">
          <srcmd5>d41d8cd98f00b204e9800998ecf8427e</srcmd5>
          <version>unknown</version>
          <time>1686759783</time>
          <user>clarke</user>
          <comment>A single comment</comment>
          <requestid>1</requestid>
          <acceptinfo rev="2" srcmd5="d41d8cd98f00b204e9800998ecf8427e" osrcmd5="d41d8cd98f00b204e9800998ecf8427e"/>
        </revision>
  recorded_at: Wed, 14 Jun 2023 16:23:03 GMT
- request:
    method: put
    uri: http://backend:5352/source/project_123/package_123/_meta?user=clarke
    body:
      encoding: UTF-8
      string: |
        <package name="package_123" project="project_123">
          <title>The Man Within</title>
          <description>Maiores pariatur reprehenderit consequatur.</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:
      - '167'
    body:
      encoding: UTF-8
      string: |
        <package name="package_123" project="project_123">
          <title>The Man Within</title>
          <description>Maiores pariatur reprehenderit consequatur.</description>
        </package>
  recorded_at: Wed, 14 Jun 2023 16:23:03 GMT
- request:
    method: get
    uri: http://backend:5352/source/project_123/package_123
    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:
      - '103'
    body:
      encoding: UTF-8
      string: |
        <directory name="package_123" rev="2" vrev="2" srcmd5="d41d8cd98f00b204e9800998ecf8427e">
        </directory>
  recorded_at: Wed, 14 Jun 2023 16:23:03 GMT
- request:
    method: get
    uri: http://backend:5352/source/project_123/package_123?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:
      - '144'
    body:
      encoding: UTF-8
      string: |
        <sourceinfo package="package_123" rev="2" vrev="2" srcmd5="d41d8cd98f00b204e9800998ecf8427e">
          <error>no source uploaded</error>
        </sourceinfo>
  recorded_at: Wed, 14 Jun 2023 16:23:03 GMT
- request:
    method: get
    uri: http://backend:5352/source/project_123/package_123
    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:
      - '103'
    body:
      encoding: UTF-8
      string: |
        <directory name="package_123" rev="2" vrev="2" srcmd5="d41d8cd98f00b204e9800998ecf8427e">
        </directory>
  recorded_at: Wed, 14 Jun 2023 16:23:03 GMT
- request:
    method: post
    uri: http://backend:5352/source/project_123/package_123?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="460b0ed8426eb51890555d8dd9d78e9d">
          <old project="project_123" package="package_123" rev="0" srcmd5="d41d8cd98f00b204e9800998ecf8427e"/>
          <new project="project_123" package="package_123" rev="2" srcmd5="d41d8cd98f00b204e9800998ecf8427e"/>
          <files/>
        </sourcediff>
  recorded_at: Wed, 14 Jun 2023 16:23:03 GMT
recorded_with: VCR 6.1.0
