---
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:13 GMT
- request:
    method: put
    uri: http://backend:5352/source/foo_project/_meta?user=user_9
    body:
      encoding: UTF-8
      string: |
        <project name="foo_project">
          <title>Tirra Lirra by the River</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:
      - '156'
    body:
      encoding: UTF-8
      string: |
        <project name="foo_project">
          <title>Tirra Lirra by the River</title>
          <description></description>
          <person userid="Iggy" role="maintainer"/>
        </project>
  recorded_at: Thu, 03 Aug 2023 15:16:13 GMT
- request:
    method: put
    uri: http://backend:5352/source/foo_project/bar_package/_meta?user=user_10
    body:
      encoding: UTF-8
      string: |
        <package name="bar_package" project="foo_project">
          <title>East of Eden</title>
          <description>Aut delectus eum dolorem.</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:
      - '147'
    body:
      encoding: UTF-8
      string: |
        <package name="bar_package" project="foo_project">
          <title>East of Eden</title>
          <description>Aut delectus eum dolorem.</description>
        </package>
  recorded_at: Thu, 03 Aug 2023 15:16:13 GMT
- request:
    method: put
    uri: http://backend:5352/source/foo_project/bar_package/_config
    body:
      encoding: UTF-8
      string: Incidunt laboriosam rerum. Autem quos ullam. Voluptates necessitatibus
        modi.
    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="2253" vrev="2253">
          <srcmd5>4ceb20f208c12b2f0154e5d2dc18ec05</srcmd5>
          <version>unknown</version>
          <time>1691075773</time>
          <user>unknown</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Thu, 03 Aug 2023 15:16:13 GMT
- request:
    method: put
    uri: http://backend:5352/source/foo_project/bar_package/somefile.txt
    body:
      encoding: UTF-8
      string: Facere architecto praesentium. Similique architecto explicabo. Mollitia
        id consequatur.
    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="2254" vrev="2254">
          <srcmd5>a74191152c33cae7a71268b4f3beb976</srcmd5>
          <version>unknown</version>
          <time>1691075773</time>
          <user>unknown</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Thu, 03 Aug 2023 15:16:13 GMT
- request:
    method: put
    uri: http://backend:5352/source/baz_project/_meta?user=Iggy
    body:
      encoding: UTF-8
      string: |
        <project name="baz_project">
          <title>Some Buried Caesar</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:
      - '106'
    body:
      encoding: UTF-8
      string: |
        <project name="baz_project">
          <title>Some Buried Caesar</title>
          <description></description>
        </project>
  recorded_at: Thu, 03 Aug 2023 15:16:13 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="2254" vrev="2254" srcmd5="a74191152c33cae7a71268b4f3beb976">
          <entry name="_branch_request" md5="c4321e613d633f87e139ae1201ad0bf8" size="113" mtime="1690882801"/>
          <entry name="_config" md5="fe94814f5103070141f87f8a402637c6" size="76" mtime="1691075773"/>
          <entry name="somefile.txt" md5="4fa350bbf4b5e55cd86a13aa20032269" size="87" mtime="1691075773"/>
        </directory>
  recorded_at: Thu, 03 Aug 2023 15:16:13 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="2254" vrev="2254" srcmd5="a74191152c33cae7a71268b4f3beb976">
          <entry name="_branch_request" md5="c4321e613d633f87e139ae1201ad0bf8" size="113" mtime="1690882801"/>
          <entry name="_config" md5="fe94814f5103070141f87f8a402637c6" size="76" mtime="1691075773"/>
          <entry name="somefile.txt" md5="4fa350bbf4b5e55cd86a13aa20032269" size="87" mtime="1691075773"/>
        </directory>
  recorded_at: Thu, 03 Aug 2023 15:16:13 GMT
- request:
    method: post
    uri: http://backend:5352/source/foo_project/bar_package?cmd=diff&expand=1&filelimit=10000&orev=0&rev=2254&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:
      - '1269'
    body:
      encoding: UTF-8
      string: |
        <sourcediff key="891d63535e86d7599d2ef80f19f170fc">
          <old project="foo_project" package="bar_package" rev="0" srcmd5="d41d8cd98f00b204e9800998ecf8427e"/>
          <new project="foo_project" package="bar_package" rev="2254" srcmd5="a74191152c33cae7a71268b4f3beb976"/>
          <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="fe94814f5103070141f87f8a402637c6" size="76"/>
              <diff lines="3">@@ -0,0 +1,1 @@
        +Incidunt laboriosam rerum. Autem quos ullam. Voluptates necessitatibus modi.
        \ No newline at end of file
        </diff>
            </file>
            <file state="added">
              <new name="somefile.txt" md5="4fa350bbf4b5e55cd86a13aa20032269" size="87"/>
              <diff lines="3">@@ -0,0 +1,1 @@
        +Facere architecto praesentium. Similique architecto explicabo. Mollitia id consequatur.
        \ No newline at end of file
        </diff>
            </file>
          </files>
          <issues>
          </issues>
        </sourcediff>
  recorded_at: Thu, 03 Aug 2023 15:16:13 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="2254" vrev="2254" srcmd5="a74191152c33cae7a71268b4f3beb976">
          <entry name="_branch_request" md5="c4321e613d633f87e139ae1201ad0bf8" size="113" mtime="1690882801"/>
          <entry name="_config" md5="fe94814f5103070141f87f8a402637c6" size="76" mtime="1691075773"/>
          <entry name="somefile.txt" md5="4fa350bbf4b5e55cd86a13aa20032269" size="87" mtime="1691075773"/>
        </directory>
  recorded_at: Thu, 03 Aug 2023 15:16:13 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="2254" vrev="2254" srcmd5="a74191152c33cae7a71268b4f3beb976">
          <entry name="_branch_request" md5="c4321e613d633f87e139ae1201ad0bf8" size="113" mtime="1690882801"/>
          <entry name="_config" md5="fe94814f5103070141f87f8a402637c6" size="76" mtime="1691075773"/>
          <entry name="somefile.txt" md5="4fa350bbf4b5e55cd86a13aa20032269" size="87" mtime="1691075773"/>
        </directory>
  recorded_at: Thu, 03 Aug 2023 15:16:13 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="2254" vrev="2254" srcmd5="a74191152c33cae7a71268b4f3beb976">
          <entry name="_branch_request" md5="c4321e613d633f87e139ae1201ad0bf8" size="113" mtime="1690882801"/>
          <entry name="_config" md5="fe94814f5103070141f87f8a402637c6" size="76" mtime="1691075773"/>
          <entry name="somefile.txt" md5="4fa350bbf4b5e55cd86a13aa20032269" size="87" mtime="1691075773"/>
        </directory>
  recorded_at: Thu, 03 Aug 2023 15:16:13 GMT
- request:
    method: post
    uri: http://backend:5352/source/foo_project/bar_package?cmd=diff&expand=1&nodiff=1&orev=0&rev=2254
    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:13 GMT
- request:
    method: get
    uri: http://backend:5352/source/foo_project/bar_package?expand=1&rev=2254
    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="2254" vrev="2254" srcmd5="a74191152c33cae7a71268b4f3beb976">
          <entry name="_branch_request" md5="c4321e613d633f87e139ae1201ad0bf8" size="113" mtime="1690882801"/>
          <entry name="_config" md5="fe94814f5103070141f87f8a402637c6" size="76" mtime="1691075773"/>
          <entry name="somefile.txt" md5="4fa350bbf4b5e55cd86a13aa20032269" size="87" mtime="1691075773"/>
        </directory>
  recorded_at: Thu, 03 Aug 2023 15:16:13 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="2254" vrev="2254" srcmd5="a74191152c33cae7a71268b4f3beb976">
          <entry name="_branch_request" md5="c4321e613d633f87e139ae1201ad0bf8" size="113" mtime="1690882801"/>
          <entry name="_config" md5="fe94814f5103070141f87f8a402637c6" size="76" mtime="1691075773"/>
          <entry name="somefile.txt" md5="4fa350bbf4b5e55cd86a13aa20032269" size="87" mtime="1691075773"/>
        </directory>
  recorded_at: Thu, 03 Aug 2023 15:16:13 GMT
- request:
    method: post
    uri: http://backend:5352/source/foo_project/bar_package?cmd=diff&expand=1&filelimit=10000&orev=0&rev=2254&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:
      - '1269'
      Cache-Control:
      - no-cache
      Connection:
      - close
    body:
      encoding: UTF-8
      string: |
        <sourcediff key="891d63535e86d7599d2ef80f19f170fc">
          <old project="foo_project" package="bar_package" rev="0" srcmd5="d41d8cd98f00b204e9800998ecf8427e"/>
          <new project="foo_project" package="bar_package" rev="2254" srcmd5="a74191152c33cae7a71268b4f3beb976"/>
          <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="fe94814f5103070141f87f8a402637c6" size="76"/>
              <diff lines="3">@@ -0,0 +1,1 @@
        +Incidunt laboriosam rerum. Autem quos ullam. Voluptates necessitatibus modi.
        \ No newline at end of file
        </diff>
            </file>
            <file state="added">
              <new name="somefile.txt" md5="4fa350bbf4b5e55cd86a13aa20032269" size="87"/>
              <diff lines="3">@@ -0,0 +1,1 @@
        +Facere architecto praesentium. Similique architecto explicabo. Mollitia id consequatur.
        \ No newline at end of file
        </diff>
            </file>
          </files>
          <issues>
          </issues>
        </sourcediff>
  recorded_at: Thu, 03 Aug 2023 15:16:14 GMT
- request:
    method: post
    uri: https://api.github.com/repos/openSUSE/open-build-service/statuses/123456789
    body:
      encoding: UTF-8
      string: '{"context":"OBS Request 2 - ","target_url":"https://unconfigured.openbuildservice.org/request/show/2","state":"pending"}'
    headers:
      Accept:
      - application/vnd.github.v3+json
      User-Agent:
      - Octokit Ruby Gem 7.0.0
      Content-Type:
      - application/json
      Authorization:
      - token h089932a195l7m3bveo8cszi2jsbx5he
      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:14 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:
      - '41'
      X-Ratelimit-Reset:
      - '1691077175'
      X-Ratelimit-Used:
      - '19'
      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:
      - 83BA:0D44:1FE44C9:20177AD:64CBC4BE
    body:
      encoding: UTF-8
      string: '{"message":"Bad credentials","documentation_url":"https://docs.github.com/rest"}'
  recorded_at: Thu, 03 Aug 2023 15:16:14 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="2254" vrev="2254" srcmd5="a74191152c33cae7a71268b4f3beb976">
          <entry name="_branch_request" md5="c4321e613d633f87e139ae1201ad0bf8" size="113" mtime="1690882801"/>
          <entry name="_config" md5="fe94814f5103070141f87f8a402637c6" size="76" mtime="1691075773"/>
          <entry name="somefile.txt" md5="4fa350bbf4b5e55cd86a13aa20032269" size="87" mtime="1691075773"/>
        </directory>
  recorded_at: Thu, 03 Aug 2023 15:16:14 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="2254" vrev="2254" srcmd5="a74191152c33cae7a71268b4f3beb976">
          <entry name="_branch_request" md5="c4321e613d633f87e139ae1201ad0bf8" size="113" mtime="1690882801"/>
          <entry name="_config" md5="fe94814f5103070141f87f8a402637c6" size="76" mtime="1691075773"/>
          <entry name="somefile.txt" md5="4fa350bbf4b5e55cd86a13aa20032269" size="87" mtime="1691075773"/>
        </directory>
  recorded_at: Thu, 03 Aug 2023 15:16:14 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="2254" vrev="2254" srcmd5="a74191152c33cae7a71268b4f3beb976">
          <entry name="_branch_request" md5="c4321e613d633f87e139ae1201ad0bf8" size="113" mtime="1690882801"/>
          <entry name="_config" md5="fe94814f5103070141f87f8a402637c6" size="76" mtime="1691075773"/>
          <entry name="somefile.txt" md5="4fa350bbf4b5e55cd86a13aa20032269" size="87" mtime="1691075773"/>
        </directory>
  recorded_at: Thu, 03 Aug 2023 15:16:14 GMT
- request:
    method: post
    uri: http://backend:5352/source/foo_project/bar_package?cmd=diff&expand=1&nodiff=1&orev=0&rev=2254
    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:14 GMT
- request:
    method: get
    uri: http://backend:5352/source/foo_project/bar_package?expand=1&rev=2254
    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="2254" vrev="2254" srcmd5="a74191152c33cae7a71268b4f3beb976">
          <entry name="_branch_request" md5="c4321e613d633f87e139ae1201ad0bf8" size="113" mtime="1690882801"/>
          <entry name="_config" md5="fe94814f5103070141f87f8a402637c6" size="76" mtime="1691075773"/>
          <entry name="somefile.txt" md5="4fa350bbf4b5e55cd86a13aa20032269" size="87" mtime="1691075773"/>
        </directory>
  recorded_at: Thu, 03 Aug 2023 15:16:14 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="2254" vrev="2254" srcmd5="a74191152c33cae7a71268b4f3beb976">
          <entry name="_branch_request" md5="c4321e613d633f87e139ae1201ad0bf8" size="113" mtime="1690882801"/>
          <entry name="_config" md5="fe94814f5103070141f87f8a402637c6" size="76" mtime="1691075773"/>
          <entry name="somefile.txt" md5="4fa350bbf4b5e55cd86a13aa20032269" size="87" mtime="1691075773"/>
        </directory>
  recorded_at: Thu, 03 Aug 2023 15:16:14 GMT
- request:
    method: post
    uri: http://backend:5352/source/foo_project/bar_package?cmd=diff&expand=1&filelimit=10000&orev=0&rev=2254&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:
      - '1269'
      Cache-Control:
      - no-cache
      Connection:
      - close
    body:
      encoding: UTF-8
      string: |
        <sourcediff key="891d63535e86d7599d2ef80f19f170fc">
          <old project="foo_project" package="bar_package" rev="0" srcmd5="d41d8cd98f00b204e9800998ecf8427e"/>
          <new project="foo_project" package="bar_package" rev="2254" srcmd5="a74191152c33cae7a71268b4f3beb976"/>
          <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="fe94814f5103070141f87f8a402637c6" size="76"/>
              <diff lines="3">@@ -0,0 +1,1 @@
        +Incidunt laboriosam rerum. Autem quos ullam. Voluptates necessitatibus modi.
        \ No newline at end of file
        </diff>
            </file>
            <file state="added">
              <new name="somefile.txt" md5="4fa350bbf4b5e55cd86a13aa20032269" size="87"/>
              <diff lines="3">@@ -0,0 +1,1 @@
        +Facere architecto praesentium. Similique architecto explicabo. Mollitia id consequatur.
        \ No newline at end of file
        </diff>
            </file>
          </files>
          <issues>
          </issues>
        </sourcediff>
  recorded_at: Thu, 03 Aug 2023 15:16:14 GMT
- request:
    method: post
    uri: https://api.github.com/repos/openSUSE/open-build-service/statuses/123456789
    body:
      encoding: UTF-8
      string: '{"context":"OBS Request 3 - ","target_url":"https://unconfigured.openbuildservice.org/request/show/3","state":"pending"}'
    headers:
      Accept:
      - application/vnd.github.v3+json
      User-Agent:
      - Octokit Ruby Gem 7.0.0
      Content-Type:
      - application/json
      Authorization:
      - token h089932a195l7m3bveo8cszi2jsbx5he
      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:14 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:
      - '40'
      X-Ratelimit-Reset:
      - '1691077175'
      X-Ratelimit-Used:
      - '20'
      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:
      - 83C8:D266:1CB18C5:1CE4AFE:64CBC4BE
    body:
      encoding: UTF-8
      string: '{"message":"Bad credentials","documentation_url":"https://docs.github.com/rest"}'
  recorded_at: Thu, 03 Aug 2023 15:16:14 GMT
recorded_with: VCR 6.2.0
