---
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:08 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>A Darkling Plain</title>
          <description>Quia distinctio est voluptas.</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:
      - '158'
    body:
      encoding: UTF-8
      string: |
        <package name="tpackage" project="home:request_user">
          <title>A Darkling Plain</title>
          <description>Quia distinctio est voluptas.</description>
        </package>
  recorded_at: Wed, 08 Nov 2023 18:43:08 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:request_user/tpackage/_config
    body:
      encoding: UTF-8
      string: Error aspernatur voluptatem. Perferendis harum temporibus. Eos dolores
        omnis.
    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="13" vrev="13">
          <srcmd5>b1c1a8608748c06a0c23af76d6687312</srcmd5>
          <version>unknown</version>
          <time>1699468988</time>
          <user>unknown</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Wed, 08 Nov 2023 18:43:08 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="14" vrev="14">
          <srcmd5>b1c1a8608748c06a0c23af76d6687312</srcmd5>
          <version>unknown</version>
          <time>1699468988</time>
          <user>unknown</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Wed, 08 Nov 2023 18:43:08 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>The Way Through the Woods</title>
          <description>Cupiditate eaque blanditiis praesentium.</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:
      - '178'
    body:
      encoding: UTF-8
      string: |
        <package name="spackage" project="home:request_user">
          <title>The Way Through the Woods</title>
          <description>Cupiditate eaque blanditiis praesentium.</description>
        </package>
  recorded_at: Wed, 08 Nov 2023 18:43:08 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:request_user/spackage/_config
    body:
      encoding: UTF-8
      string: Quidem quasi et. Deserunt quibusdam quo. Nesciunt et saepe.
    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="13" vrev="13">
          <srcmd5>2f4cd889530b90bf4c935ff3d772c130</srcmd5>
          <version>unknown</version>
          <time>1699468988</time>
          <user>unknown</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Wed, 08 Nov 2023 18:43:08 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:request_user/spackage/somefile.txt
    body:
      encoding: UTF-8
      string: Trick
    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="14" vrev="14">
          <srcmd5>2f4cd889530b90bf4c935ff3d772c130</srcmd5>
          <version>unknown</version>
          <time>1699468988</time>
          <user>unknown</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Wed, 08 Nov 2023 18:43:08 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="14" vrev="14" srcmd5="2f4cd889530b90bf4c935ff3d772c130">
          <linkinfo project="home:request_user" package="hpackage" srcmd5="736995e9d41b3c9fa7309e44477e33c6" xsrcmd5="800b6b29559794b2da0020b42fadfbfa" lsrcmd5="2f4cd889530b90bf4c935ff3d772c130"/>
          <entry name="_config" md5="fd1a6c42a1e2145e4162fd6b5b6a498d" size="59" mtime="1699468988"/>
          <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:08 GMT
- request:
    method: post
    uri: http://backend:5352/source/home:request_user/spackage?cmd=diff&expand=1&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:
      - '1281'
    body:
      encoding: UTF-8
      string: |
        <sourcediff key="887f03f4b3367568aa114a9e238011cf">
          <old project="home:request_user" package="tpackage" rev="14" srcmd5="b1c1a8608748c06a0c23af76d6687312"/>
          <new project="home:request_user" package="spackage" rev="14" srcmd5="800b6b29559794b2da0020b42fadfbfa"/>
          <files>
            <file state="changed">
              <old name="_config" md5="a49b50d318a5bbde0497cc5dcc6208a8" size="77"/>
              <new name="_config" md5="fd1a6c42a1e2145e4162fd6b5b6a498d" size="59"/>
              <diff lines="5">@@ -1,1 +1,1 @@
        -Error aspernatur voluptatem. Perferendis harum temporibus. Eos dolores omnis.
        \ No newline at end of file
        +Quidem quasi et. Deserunt quibusdam quo. Nesciunt et saepe.
        \ 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:08 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="14" vrev="14" srcmd5="2f4cd889530b90bf4c935ff3d772c130">
          <linkinfo project="home:request_user" package="hpackage" srcmd5="736995e9d41b3c9fa7309e44477e33c6" xsrcmd5="800b6b29559794b2da0020b42fadfbfa" lsrcmd5="2f4cd889530b90bf4c935ff3d772c130"/>
          <entry name="_config" md5="fd1a6c42a1e2145e4162fd6b5b6a498d" size="59" mtime="1699468988"/>
          <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:08 GMT
- request:
    method: post
    uri: http://backend:5352/source/home:request_user/spackage?cmd=diff&expand=1&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:08 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:request_user/spackage?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:
      - '567'
    body:
      encoding: UTF-8
      string: |
        <directory name="spackage" rev="800b6b29559794b2da0020b42fadfbfa" vrev="18" srcmd5="800b6b29559794b2da0020b42fadfbfa">
          <linkinfo project="home:request_user" package="hpackage" srcmd5="736995e9d41b3c9fa7309e44477e33c6" lsrcmd5="2f4cd889530b90bf4c935ff3d772c130"/>
          <entry name="0wnyou.txt" md5="d06527d199ada03e3f3a4f31744476b2" size="12" mtime="1699468931"/>
          <entry name="_config" md5="fd1a6c42a1e2145e4162fd6b5b6a498d" size="59" mtime="1699468988"/>
          <entry name="somefile.txt" md5="59c9428d4e21d63aefeb230c919dcfe3" size="5" mtime="1699468822"/>
        </directory>
  recorded_at: Wed, 08 Nov 2023 18:43:08 GMT
recorded_with: VCR 6.2.0
