---
http_interactions:
- request:
    method: put
    uri: http://backend:5352/source/source_project_123/_meta?user=user_16
    body:
      encoding: UTF-8
      string: |
        <project name="source_project_123">
          <title>For a Breath I Tarry</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:
      - '160'
    body:
      encoding: UTF-8
      string: |
        <project name="source_project_123">
          <title>For a Breath I Tarry</title>
          <description></description>
          <person userid="sagan" role="maintainer"/>
        </project>
  recorded_at: Wed, 14 Jun 2023 16:23:01 GMT
- request:
    method: put
    uri: http://backend:5352/source/source_project_123/source_package_123/_meta?user=user_17
    body:
      encoding: UTF-8
      string: |
        <package name="source_package_123" project="source_project_123">
          <title>Bury My Heart at Wounded Knee</title>
          <description>Sint non in eos.</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_123" project="source_project_123">
          <title>Bury My Heart at Wounded Knee</title>
          <description>Sint non in eos.</description>
        </package>
  recorded_at: Wed, 14 Jun 2023 16:23:01 GMT
- request:
    method: put
    uri: http://backend:5352/source/project_123/_meta?user=user_18
    body:
      encoding: UTF-8
      string: |
        <project name="project_123">
          <title>The Wealth of Nations</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:
      - '154'
    body:
      encoding: UTF-8
      string: |
        <project name="project_123">
          <title>The Wealth of Nations</title>
          <description></description>
          <person userid="sagan" role="maintainer"/>
        </project>
  recorded_at: Wed, 14 Jun 2023 16:23:01 GMT
- request:
    method: put
    uri: http://backend:5352/source/project_123/package_123/_meta?user=user_19
    body:
      encoding: UTF-8
      string: |
        <package name="package_123" project="project_123">
          <title>Unweaving the Rainbow</title>
          <description>Voluptas ea aspernatur atque.</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:
      - '160'
    body:
      encoding: UTF-8
      string: |
        <package name="package_123" project="project_123">
          <title>Unweaving the Rainbow</title>
          <description>Voluptas ea aspernatur atque.</description>
        </package>
  recorded_at: Wed, 14 Jun 2023 16:23:01 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:01 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="36426383506e4e97ca7e23b422bc1f4c">
          <old project="project_123" package="package_123" rev="0" 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:01 GMT
- request:
    method: put
    uri: http://backend:5352/source/project_123/package_123/_attribute?meta=1&user=bujold
    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="4">
          <srcmd5>e57d3fc6838daf0fd97b9c871082a661</srcmd5>
          <time>1686759782</time>
          <user>bujold</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Wed, 14 Jun 2023 16:23:02 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:02 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:02 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=bujold&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="1" vrev="1">
          <srcmd5>d41d8cd98f00b204e9800998ecf8427e</srcmd5>
          <version>unknown</version>
          <time>1686759782</time>
          <user>bujold</user>
          <comment>A single comment</comment>
          <requestid>1</requestid>
          <acceptinfo rev="1" srcmd5="d41d8cd98f00b204e9800998ecf8427e" osrcmd5="d41d8cd98f00b204e9800998ecf8427e"/>
        </revision>
  recorded_at: Wed, 14 Jun 2023 16:23:02 GMT
- request:
    method: put
    uri: http://backend:5352/source/project_123/package_123/_meta?user=bujold
    body:
      encoding: UTF-8
      string: |
        <package name="package_123" project="project_123">
          <title>Unweaving the Rainbow</title>
          <description>Voluptas ea aspernatur atque.</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:
      - '160'
    body:
      encoding: UTF-8
      string: |
        <package name="package_123" project="project_123">
          <title>Unweaving the Rainbow</title>
          <description>Voluptas ea aspernatur atque.</description>
        </package>
  recorded_at: Wed, 14 Jun 2023 16:23:02 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="1" vrev="1" srcmd5="d41d8cd98f00b204e9800998ecf8427e">
        </directory>
  recorded_at: Wed, 14 Jun 2023 16:23:02 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="1" vrev="1" srcmd5="d41d8cd98f00b204e9800998ecf8427e">
          <error>no source uploaded</error>
        </sourceinfo>
  recorded_at: Wed, 14 Jun 2023 16:23:02 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="1" vrev="1" srcmd5="d41d8cd98f00b204e9800998ecf8427e">
        </directory>
  recorded_at: Wed, 14 Jun 2023 16:23:02 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="616ad3a5a7c3778bebe3cd4dccf6c171">
          <old project="project_123" package="package_123" rev="0" srcmd5="d41d8cd98f00b204e9800998ecf8427e"/>
          <new project="project_123" package="package_123" rev="1" srcmd5="d41d8cd98f00b204e9800998ecf8427e"/>
          <files/>
        </sourcediff>
  recorded_at: Wed, 14 Jun 2023 16:23:02 GMT
recorded_with: VCR 6.1.0
