---
http_interactions:
- request:
    method: put
    uri: http://backend:5352/source/home:Iggy/_meta?user=Iggy
    body:
      encoding: UTF-8
      string: |
        <project name="home:Iggy">
          <title/>
          <description/>
          <person userid="Iggy" 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:
      - '130'
    body:
      encoding: UTF-8
      string: |
        <project name="home:Iggy">
          <title></title>
          <description></description>
          <person userid="Iggy" role="maintainer"/>
        </project>
  recorded_at: Thu, 03 Aug 2023 15:16:20 GMT
- request:
    method: put
    uri: http://backend:5352/source/foo_project/_meta?user=user_23
    body:
      encoding: UTF-8
      string: |
        <project name="foo_project">
          <title>The Way Through the Woods</title>
          <description/>
          <person userid="Iggy" 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:
      - '157'
    body:
      encoding: UTF-8
      string: |
        <project name="foo_project">
          <title>The Way Through the Woods</title>
          <description></description>
          <person userid="Iggy" role="maintainer"/>
        </project>
  recorded_at: Thu, 03 Aug 2023 15:16:20 GMT
- request:
    method: put
    uri: http://backend:5352/source/foo_project/bar_package/_meta?user=user_24
    body:
      encoding: UTF-8
      string: |
        <package name="bar_package" project="foo_project">
          <title>Ego Dominus Tuus</title>
          <description>Iure tenetur molestiae commodi.</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="bar_package" project="foo_project">
          <title>Ego Dominus Tuus</title>
          <description>Iure tenetur molestiae commodi.</description>
        </package>
  recorded_at: Thu, 03 Aug 2023 15:16:20 GMT
- request:
    method: put
    uri: http://backend:5352/source/foo_project/bar_package/_config
    body:
      encoding: UTF-8
      string: Rerum tempore aspernatur. Quisquam sed nihil. Fugiat autem id.
    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:
      - '213'
    body:
      encoding: UTF-8
      string: |
        <revision rev="2267" vrev="2267">
          <srcmd5>ee65c4cd4ffe58ad984b1d22ee05a84a</srcmd5>
          <version>unknown</version>
          <time>1691075780</time>
          <user>unknown</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Thu, 03 Aug 2023 15:16:20 GMT
- request:
    method: put
    uri: http://backend:5352/source/foo_project/bar_package/somefile.txt
    body:
      encoding: UTF-8
      string: Quas saepe vitae. Officiis nemo earum. Quia ut officia.
    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:
      - '213'
    body:
      encoding: UTF-8
      string: |
        <revision rev="2268" vrev="2268">
          <srcmd5>425cea8ea34fc737c78dee7ef4d7f7b2</srcmd5>
          <version>unknown</version>
          <time>1691075780</time>
          <user>unknown</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Thu, 03 Aug 2023 15:16:20 GMT
- request:
    method: put
    uri: http://backend:5352/source/baz_project/_meta?user=Iggy
    body:
      encoding: UTF-8
      string: |
        <project name="baz_project">
          <title>The Needle's Eye</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="baz_project">
          <title>The Needle's Eye</title>
          <description></description>
        </project>
  recorded_at: Thu, 03 Aug 2023 15:16:20 GMT
- request:
    method: get
    uri: http://backend:5352/source/foo_project/bar_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:
      - '405'
    body:
      encoding: UTF-8
      string: |
        <directory name="bar_package" rev="2268" vrev="2268" srcmd5="425cea8ea34fc737c78dee7ef4d7f7b2">
          <entry name="_branch_request" md5="c4321e613d633f87e139ae1201ad0bf8" size="113" mtime="1690882801"/>
          <entry name="_config" md5="50791d789223f063b06eec2cafc546da" size="62" mtime="1691075780"/>
          <entry name="somefile.txt" md5="d6289ffbe0f220afe9b16fd26c32f2b9" size="55" mtime="1691075780"/>
        </directory>
  recorded_at: Thu, 03 Aug 2023 15:16:20 GMT
- request:
    method: get
    uri: http://backend:5352/source/foo_project/bar_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:
      - '405'
    body:
      encoding: UTF-8
      string: |
        <directory name="bar_package" rev="2268" vrev="2268" srcmd5="425cea8ea34fc737c78dee7ef4d7f7b2">
          <entry name="_branch_request" md5="c4321e613d633f87e139ae1201ad0bf8" size="113" mtime="1690882801"/>
          <entry name="_config" md5="50791d789223f063b06eec2cafc546da" size="62" mtime="1691075780"/>
          <entry name="somefile.txt" md5="d6289ffbe0f220afe9b16fd26c32f2b9" size="55" mtime="1691075780"/>
        </directory>
  recorded_at: Thu, 03 Aug 2023 15:16:20 GMT
- request:
    method: get
    uri: http://backend:5352/source/foo_project/bar_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:
      - '405'
    body:
      encoding: UTF-8
      string: |
        <directory name="bar_package" rev="2268" vrev="2268" srcmd5="425cea8ea34fc737c78dee7ef4d7f7b2">
          <entry name="_branch_request" md5="c4321e613d633f87e139ae1201ad0bf8" size="113" mtime="1690882801"/>
          <entry name="_config" md5="50791d789223f063b06eec2cafc546da" size="62" mtime="1691075780"/>
          <entry name="somefile.txt" md5="d6289ffbe0f220afe9b16fd26c32f2b9" size="55" mtime="1691075780"/>
        </directory>
  recorded_at: Thu, 03 Aug 2023 15:16:20 GMT
- request:
    method: post
    uri: http://backend:5352/source/foo_project/bar_package?cmd=diff&expand=1&nodiff=1&orev=0&rev=2268
    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/plain
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '262'
    body:
      encoding: UTF-8
      string: |2

        new:
        ----
          _branch_request
          _config
          somefile.txt

        other changes:
        --------------

        ++++++ _branch_request (new)
        --- _branch_request
        +++ _branch_request

        ++++++ _config (new)
        --- _config
        +++ _config

        ++++++ somefile.txt (new)
        --- somefile.txt
        +++ somefile.txt
  recorded_at: Thu, 03 Aug 2023 15:16:20 GMT
- request:
    method: get
    uri: http://backend:5352/source/foo_project/bar_package?expand=1&rev=2268
    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:
      - '405'
    body:
      encoding: UTF-8
      string: |
        <directory name="bar_package" rev="2268" vrev="2268" srcmd5="425cea8ea34fc737c78dee7ef4d7f7b2">
          <entry name="_branch_request" md5="c4321e613d633f87e139ae1201ad0bf8" size="113" mtime="1690882801"/>
          <entry name="_config" md5="50791d789223f063b06eec2cafc546da" size="62" mtime="1691075780"/>
          <entry name="somefile.txt" md5="d6289ffbe0f220afe9b16fd26c32f2b9" size="55" mtime="1691075780"/>
        </directory>
  recorded_at: Thu, 03 Aug 2023 15:16:20 GMT
- request:
    method: get
    uri: http://backend:5352/source/foo_project/bar_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:
      - '405'
    body:
      encoding: UTF-8
      string: |
        <directory name="bar_package" rev="2268" vrev="2268" srcmd5="425cea8ea34fc737c78dee7ef4d7f7b2">
          <entry name="_branch_request" md5="c4321e613d633f87e139ae1201ad0bf8" size="113" mtime="1690882801"/>
          <entry name="_config" md5="50791d789223f063b06eec2cafc546da" size="62" mtime="1691075780"/>
          <entry name="somefile.txt" md5="d6289ffbe0f220afe9b16fd26c32f2b9" size="55" mtime="1691075780"/>
        </directory>
  recorded_at: Thu, 03 Aug 2023 15:16:20 GMT
- request:
    method: post
    uri: http://backend:5352/source/foo_project/bar_package?cmd=diff&expand=1&filelimit=10000&orev=0&rev=2268&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
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '1223'
    body:
      encoding: UTF-8
      string: |
        <sourcediff key="9ce58117465735dd2655abdd36ae2e14">
          <old project="foo_project" package="bar_package" rev="0" srcmd5="d41d8cd98f00b204e9800998ecf8427e"/>
          <new project="foo_project" package="bar_package" rev="2268" srcmd5="425cea8ea34fc737c78dee7ef4d7f7b2"/>
          <files>
            <file state="added">
              <new name="_branch_request" md5="c4321e613d633f87e139ae1201ad0bf8" size="113"/>
              <diff lines="3">@@ -0,0 +1,1 @@
        +{&quot;action&quot;:&quot;synchronize&quot;,&quot;pull_request&quot;:{&quot;head&quot;:{&quot;repo&quot;:{&quot;full_name&quot;:&quot;source_repository_full_name&quot;},&quot;sha&quot;:&quot;123&quot;}}}
        \ No newline at end of file
        </diff>
            </file>
            <file state="added">
              <new name="_config" md5="50791d789223f063b06eec2cafc546da" size="62"/>
              <diff lines="3">@@ -0,0 +1,1 @@
        +Rerum tempore aspernatur. Quisquam sed nihil. Fugiat autem id.
        \ No newline at end of file
        </diff>
            </file>
            <file state="added">
              <new name="somefile.txt" md5="d6289ffbe0f220afe9b16fd26c32f2b9" size="55"/>
              <diff lines="3">@@ -0,0 +1,1 @@
        +Quas saepe vitae. Officiis nemo earum. Quia ut officia.
        \ No newline at end of file
        </diff>
            </file>
          </files>
          <issues>
          </issues>
        </sourcediff>
  recorded_at: Thu, 03 Aug 2023 15:16:20 GMT
- request:
    method: post
    uri: https://api.github.com/repos/openSUSE/open-build-service/statuses/123456789
    body:
      encoding: UTF-8
      string: '{"context":"OBS Request 1 - ","target_url":"https://unconfigured.openbuildservice.org/request/show/1","state":"pending"}'
    headers:
      Accept:
      - application/vnd.github.v3+json
      User-Agent:
      - Octokit Ruby Gem 7.0.0
      Content-Type:
      - application/json
      Authorization:
      - token bqxp3agrolz9ahpwzyv18fai8qatr4p6
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
  response:
    status:
      code: 401
      message: Unauthorized
    headers:
      Server:
      - GitHub.com
      Date:
      - Thu, 03 Aug 2023 15:16:20 GMT
      Content-Type:
      - application/json; charset=utf-8
      Content-Length:
      - '80'
      X-Github-Media-Type:
      - github.v3; format=json
      X-Ratelimit-Limit:
      - '60'
      X-Ratelimit-Remaining:
      - '34'
      X-Ratelimit-Reset:
      - '1691077175'
      X-Ratelimit-Used:
      - '26'
      X-Ratelimit-Resource:
      - core
      Access-Control-Expose-Headers:
      - ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
        X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes,
        X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO,
        X-GitHub-Request-Id, Deprecation, Sunset
      Access-Control-Allow-Origin:
      - "*"
      Strict-Transport-Security:
      - max-age=31536000; includeSubdomains; preload
      X-Frame-Options:
      - deny
      X-Content-Type-Options:
      - nosniff
      X-Xss-Protection:
      - '0'
      Referrer-Policy:
      - origin-when-cross-origin, strict-origin-when-cross-origin
      Content-Security-Policy:
      - default-src 'none'
      Vary:
      - Accept-Encoding, Accept, X-Requested-With
      X-Github-Request-Id:
      - BF5C:6708:1CDF3F6:1D126EB:64CBC4C4
    body:
      encoding: UTF-8
      string: '{"message":"Bad credentials","documentation_url":"https://docs.github.com/rest"}'
  recorded_at: Thu, 03 Aug 2023 15:16:20 GMT
recorded_with: VCR 6.2.0
