---
http_interactions:
- request:
    method: put
    uri: http://backend:5352/source/home:request_user/_meta?user=request_user
    body:
      encoding: UTF-8
      string: |
        <project name="home:request_user">
          <title/>
          <description/>
          <person userid="request_user" 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:
      - '146'
    body:
      encoding: UTF-8
      string: |
        <project name="home:request_user">
          <title></title>
          <description></description>
          <person userid="request_user" role="maintainer"/>
        </project>
  recorded_at: Wed, 08 Nov 2023 18:43:10 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:request_user/_project/_attribute?meta=1&user=request_user
    body:
      encoding: UTF-8
      string: |
        <attributes>
          <attribute name="EnforceRevisionsInRequests" 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:
      - '175'
    body:
      encoding: UTF-8
      string: |
        <revision rev="18">
          <srcmd5>b3e3cb3ec11e4fe3274337e8768d13b5</srcmd5>
          <time>1699468990</time>
          <user>request_user</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Wed, 08 Nov 2023 18:43:10 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:request_user/hpackage/_meta?user=request_user
    body:
      encoding: UTF-8
      string: |
        <package name="hpackage" project="home:request_user">
          <title>This Side of Paradise</title>
          <description>Dolorum et eaque temporibus.</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:
      - '162'
    body:
      encoding: UTF-8
      string: |
        <package name="hpackage" project="home:request_user">
          <title>This Side of Paradise</title>
          <description>Dolorum et eaque temporibus.</description>
        </package>
  recorded_at: Wed, 08 Nov 2023 18:43:10 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:request_user/hpackage/_config
    body:
      encoding: UTF-8
      string: Reprehenderit quaerat et. Velit adipisci dolore. Dolores adipisci tenetur.
    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:
      - '207'
    body:
      encoding: UTF-8
      string: |
        <revision rev="7" vrev="7">
          <srcmd5>260cce9ffcec70406f0f4a067f4b87ac</srcmd5>
          <version>unknown</version>
          <time>1699468990</time>
          <user>unknown</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Wed, 08 Nov 2023 18:43:10 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:request_user/hpackage/0wnyou.txt
    body:
      encoding: UTF-8
      string: Evil Content
    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:
      - '207'
    body:
      encoding: UTF-8
      string: |
        <revision rev="8" vrev="8">
          <srcmd5>260cce9ffcec70406f0f4a067f4b87ac</srcmd5>
          <version>unknown</version>
          <time>1699468990</time>
          <user>unknown</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Wed, 08 Nov 2023 18:43:10 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:request_user/tpackage/_meta?user=request_user
    body:
      encoding: UTF-8
      string: |
        <package name="tpackage" project="home:request_user">
          <title>Have His Carcase</title>
          <description>Nisi dolor nemo nihil.</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:
      - '151'
    body:
      encoding: UTF-8
      string: |
        <package name="tpackage" project="home:request_user">
          <title>Have His Carcase</title>
          <description>Nisi dolor nemo nihil.</description>
        </package>
  recorded_at: Wed, 08 Nov 2023 18:43:10 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:request_user/tpackage/_config
    body:
      encoding: UTF-8
      string: Laudantium deleniti qui. Sunt ducimus magnam. Libero est dolores.
    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:
      - '209'
    body:
      encoding: UTF-8
      string: |
        <revision rev="19" vrev="19">
          <srcmd5>aff31ee95cf4ed35aceb177ac5af71fe</srcmd5>
          <version>unknown</version>
          <time>1699468990</time>
          <user>unknown</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Wed, 08 Nov 2023 18:43:10 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:request_user/tpackage/somefile.txt
    body:
      encoding: UTF-8
      string: Hallo
    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:
      - '209'
    body:
      encoding: UTF-8
      string: |
        <revision rev="20" vrev="20">
          <srcmd5>aff31ee95cf4ed35aceb177ac5af71fe</srcmd5>
          <version>unknown</version>
          <time>1699468990</time>
          <user>unknown</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Wed, 08 Nov 2023 18:43:10 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:request_user/spackage/_meta?user=request_user
    body:
      encoding: UTF-8
      string: |
        <package name="spackage" project="home:request_user">
          <title>Where Angels Fear to Tread</title>
          <description>Dolorem ipsam ab maiores.</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:
      - '164'
    body:
      encoding: UTF-8
      string: |
        <package name="spackage" project="home:request_user">
          <title>Where Angels Fear to Tread</title>
          <description>Dolorem ipsam ab maiores.</description>
        </package>
  recorded_at: Wed, 08 Nov 2023 18:43:10 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:request_user/spackage/_config
    body:
      encoding: UTF-8
      string: Aut earum distinctio. Adipisci vero velit. Assumenda voluptates dolorum.
    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:
      - '209'
    body:
      encoding: UTF-8
      string: |
        <revision rev="19" vrev="19">
          <srcmd5>a00706d5c00f7006df5610401b593e73</srcmd5>
          <version>unknown</version>
          <time>1699468990</time>
          <user>unknown</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Wed, 08 Nov 2023 18:43:10 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:request_user/spackage/_link
    body:
      encoding: UTF-8
      string: "<link package='hpackage'/>"
    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:
      - '209'
    body:
      encoding: UTF-8
      string: |
        <revision rev="20" vrev="20">
          <srcmd5>a00706d5c00f7006df5610401b593e73</srcmd5>
          <version>unknown</version>
          <time>1699468990</time>
          <user>unknown</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Wed, 08 Nov 2023 18:43:10 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:request_user/spackage
    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:
      - '575'
    body:
      encoding: UTF-8
      string: |
        <directory name="spackage" rev="20" vrev="20" srcmd5="a00706d5c00f7006df5610401b593e73">
          <linkinfo project="home:request_user" package="hpackage" srcmd5="260cce9ffcec70406f0f4a067f4b87ac" xsrcmd5="9cabedb5300d01d2e75ab746f8b736af" lsrcmd5="a00706d5c00f7006df5610401b593e73"/>
          <entry name="_config" md5="bdb8445d247ad0fba77f14e98f54ba40" size="72" mtime="1699468990"/>
          <entry name="_link" md5="3069c761c6f33c814305ac38344d5a00" size="26" mtime="1699468931"/>
          <entry name="somefile.txt" md5="59c9428d4e21d63aefeb230c919dcfe3" size="5" mtime="1699468822"/>
        </directory>
  recorded_at: Wed, 08 Nov 2023 18:43:10 GMT
- request:
    method: post
    uri: http://backend:5352/source/home:request_user/spackage?cmd=diff&filelimit=10000&opackage=tpackage&oproject=home:request_user&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:
      - '1282'
    body:
      encoding: UTF-8
      string: |
        <sourcediff key="6e63c1281d7e6b9879079b70de0614a0">
          <old project="home:request_user" package="tpackage" rev="20" srcmd5="aff31ee95cf4ed35aceb177ac5af71fe"/>
          <new project="home:request_user" package="spackage" rev="20" srcmd5="9cabedb5300d01d2e75ab746f8b736af"/>
          <files>
            <file state="changed">
              <old name="_config" md5="abbf4f43e7ebc55f65560632042f7690" size="65"/>
              <new name="_config" md5="bdb8445d247ad0fba77f14e98f54ba40" size="72"/>
              <diff lines="5">@@ -1,1 +1,1 @@
        -Laudantium deleniti qui. Sunt ducimus magnam. Libero est dolores.
        \ No newline at end of file
        +Aut earum distinctio. Adipisci vero velit. Assumenda voluptates dolorum.
        \ No newline at end of file
        </diff>
            </file>
            <file state="changed">
              <old name="somefile.txt" md5="d1bf93299de1b68e6d382c893bf1215f" size="5"/>
              <new name="somefile.txt" md5="59c9428d4e21d63aefeb230c919dcfe3" size="5"/>
              <diff lines="5">@@ -1,1 +1,1 @@
        -Hallo
        \ No newline at end of file
        +Trick
        \ No newline at end of file
        </diff>
            </file>
            <file state="added">
              <new name="0wnyou.txt" md5="d06527d199ada03e3f3a4f31744476b2" size="12"/>
              <diff lines="3">@@ -0,0 +1,1 @@
        +Evil Content
        \ No newline at end of file
        </diff>
            </file>
          </files>
          <issues>
          </issues>
        </sourcediff>
  recorded_at: Wed, 08 Nov 2023 18:43:10 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:request_user/spackage
    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:
      - '575'
    body:
      encoding: UTF-8
      string: |
        <directory name="spackage" rev="20" vrev="20" srcmd5="a00706d5c00f7006df5610401b593e73">
          <linkinfo project="home:request_user" package="hpackage" srcmd5="260cce9ffcec70406f0f4a067f4b87ac" xsrcmd5="9cabedb5300d01d2e75ab746f8b736af" lsrcmd5="a00706d5c00f7006df5610401b593e73"/>
          <entry name="_config" md5="bdb8445d247ad0fba77f14e98f54ba40" size="72" mtime="1699468990"/>
          <entry name="_link" md5="3069c761c6f33c814305ac38344d5a00" size="26" mtime="1699468931"/>
          <entry name="somefile.txt" md5="59c9428d4e21d63aefeb230c919dcfe3" size="5" mtime="1699468822"/>
        </directory>
  recorded_at: Wed, 08 Nov 2023 18:43:10 GMT
- request:
    method: post
    uri: http://backend:5352/source/home:request_user/spackage?cmd=diff&nodiff=1&opackage=tpackage&oproject=home:request_user
    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:
      - '205'
    body:
      encoding: UTF-8
      string: |2

        new:
        ----
          0wnyou.txt

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

        ++++++ 0wnyou.txt (new)
        --- 0wnyou.txt
        +++ 0wnyou.txt

        ++++++ _config
        --- _config
        +++ _config

        ++++++ somefile.txt
        --- somefile.txt
        +++ somefile.txt
  recorded_at: Wed, 08 Nov 2023 18:43:10 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:request_user/spackage
    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:
      - '575'
    body:
      encoding: UTF-8
      string: |
        <directory name="spackage" rev="20" vrev="20" srcmd5="a00706d5c00f7006df5610401b593e73">
          <linkinfo project="home:request_user" package="hpackage" srcmd5="260cce9ffcec70406f0f4a067f4b87ac" xsrcmd5="9cabedb5300d01d2e75ab746f8b736af" lsrcmd5="a00706d5c00f7006df5610401b593e73"/>
          <entry name="_config" md5="bdb8445d247ad0fba77f14e98f54ba40" size="72" mtime="1699468990"/>
          <entry name="_link" md5="3069c761c6f33c814305ac38344d5a00" size="26" mtime="1699468931"/>
          <entry name="somefile.txt" md5="59c9428d4e21d63aefeb230c919dcfe3" size="5" mtime="1699468822"/>
        </directory>
  recorded_at: Wed, 08 Nov 2023 18:43:10 GMT
recorded_with: VCR 6.2.0
