---
http_interactions:
- request:
    method: put
    uri: http://backend:5352/source/home:tom/_meta?user=tom
    body:
      encoding: UTF-8
      string: |
        <project name="home:tom">
          <title/>
          <description/>
          <person userid="tom" 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:
      - '128'
    body:
      encoding: UTF-8
      string: |
        <project name="home:tom">
          <title></title>
          <description></description>
          <person userid="tom" role="maintainer"/>
        </project>
  recorded_at: Tue, 14 Feb 2023 14:07:29 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:tom/my_package/_meta?user=tom
    body:
      encoding: UTF-8
      string: |
        <package name="my_package" project="home:tom">
          <title>Recalled to Life</title>
          <description>Odio consectetur deleniti magni.</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:
      - '154'
    body:
      encoding: UTF-8
      string: |
        <package name="my_package" project="home:tom">
          <title>Recalled to Life</title>
          <description>Odio consectetur deleniti magni.</description>
        </package>
  recorded_at: Tue, 14 Feb 2023 14:07:29 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:tom/my_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:
      - '307'
    body:
      encoding: ASCII-8BIT
      string: !binary |-
        PGRpcmVjdG9yeSBuYW1lPSJteV9wYWNrYWdlIiByZXY9IjQiIHZyZXY9IjQiIHNyY21kNT0iNTkyODlkYjI3OTIyZDdhOWY5MmVjM2ZjNjE0MDA1YTkiPgogIDxlbnRyeSBuYW1lPSJuZXdseV9jcmVhdGVkX2ZpbGUiIG1kNT0iZDhiZTMzYzNjZmViYmNhYjM4MDJlYjVhZTM4MTFhYjUiIHNpemU9IjEzIiBtdGltZT0iMTY3NjM4Mjg1MSIvPgogIDxlbnRyeSBuYW1lPSLlrabkuaDmgLvnu5MiIG1kNT0iNmJhMTY3ZDcyZTljYzYwMTA4YTc1NjdjZGFlYzcyMGYiIHNpemU9Ijk3NyIgbXRpbWU9IjE2NzQ4MjkxNTciLz4KPC9kaXJlY3Rvcnk+Cg==
  recorded_at: Tue, 14 Feb 2023 14:07:29 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:tom/my_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:
      - '307'
    body:
      encoding: ASCII-8BIT
      string: !binary |-
        PGRpcmVjdG9yeSBuYW1lPSJteV9wYWNrYWdlIiByZXY9IjQiIHZyZXY9IjQiIHNyY21kNT0iNTkyODlkYjI3OTIyZDdhOWY5MmVjM2ZjNjE0MDA1YTkiPgogIDxlbnRyeSBuYW1lPSJuZXdseV9jcmVhdGVkX2ZpbGUiIG1kNT0iZDhiZTMzYzNjZmViYmNhYjM4MDJlYjVhZTM4MTFhYjUiIHNpemU9IjEzIiBtdGltZT0iMTY3NjM4Mjg1MSIvPgogIDxlbnRyeSBuYW1lPSLlrabkuaDmgLvnu5MiIG1kNT0iNmJhMTY3ZDcyZTljYzYwMTA4YTc1NjdjZGFlYzcyMGYiIHNpemU9Ijk3NyIgbXRpbWU9IjE2NzQ4MjkxNTciLz4KPC9kaXJlY3Rvcnk+Cg==
  recorded_at: Tue, 14 Feb 2023 14:07:29 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:tom/my_package/newly_created_file?rev=repository&user=tom
    body:
      encoding: UTF-8
      string: 'some_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:
      - '92'
    body:
      encoding: UTF-8
      string: |
        <revision rev="repository">
          <srcmd5>d41d8cd98f00b204e9800998ecf8427e</srcmd5>
        </revision>
  recorded_at: Tue, 14 Feb 2023 14:07:29 GMT
- request:
    method: post
    uri: http://backend:5352/source/home:tom/my_package?cmd=commitfilelist&comment=&user=tom
    body:
      encoding: UTF-8
      string: <directory><entry name="newly_created_file" md5="d8be33c3cfebbcab3802eb5ae3811ab5"
        hash="sha256:c0b06a0697398b44fee1fd1b8a739f41a054fae684a8dee92e9a65a3ad2d103e"/><entry
        name="学习总结" md5="6ba167d72e9cc60108a7567cdaec720f" hash=""/></directory>
    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:
      - '307'
    body:
      encoding: ASCII-8BIT
      string: !binary |-
        PGRpcmVjdG9yeSBuYW1lPSJteV9wYWNrYWdlIiByZXY9IjUiIHZyZXY9IjUiIHNyY21kNT0iNTkyODlkYjI3OTIyZDdhOWY5MmVjM2ZjNjE0MDA1YTkiPgogIDxlbnRyeSBuYW1lPSJuZXdseV9jcmVhdGVkX2ZpbGUiIG1kNT0iZDhiZTMzYzNjZmViYmNhYjM4MDJlYjVhZTM4MTFhYjUiIHNpemU9IjEzIiBtdGltZT0iMTY3NjM4Mjg1MSIvPgogIDxlbnRyeSBuYW1lPSLlrabkuaDmgLvnu5MiIG1kNT0iNmJhMTY3ZDcyZTljYzYwMTA4YTc1NjdjZGFlYzcyMGYiIHNpemU9Ijk3NyIgbXRpbWU9IjE2NzQ4MjkxNTciLz4KPC9kaXJlY3Rvcnk+Cg==
  recorded_at: Tue, 14 Feb 2023 14:07:29 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:tom/my_package/_meta?user=tom
    body:
      encoding: UTF-8
      string: |
        <package name="my_package" project="home:tom">
          <title>Recalled to Life</title>
          <description>Odio consectetur deleniti magni.</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:
      - '154'
    body:
      encoding: UTF-8
      string: |
        <package name="my_package" project="home:tom">
          <title>Recalled to Life</title>
          <description>Odio consectetur deleniti magni.</description>
        </package>
  recorded_at: Tue, 14 Feb 2023 14:07:29 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:tom/my_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:
      - '307'
    body:
      encoding: ASCII-8BIT
      string: !binary |-
        PGRpcmVjdG9yeSBuYW1lPSJteV9wYWNrYWdlIiByZXY9IjUiIHZyZXY9IjUiIHNyY21kNT0iNTkyODlkYjI3OTIyZDdhOWY5MmVjM2ZjNjE0MDA1YTkiPgogIDxlbnRyeSBuYW1lPSJuZXdseV9jcmVhdGVkX2ZpbGUiIG1kNT0iZDhiZTMzYzNjZmViYmNhYjM4MDJlYjVhZTM4MTFhYjUiIHNpemU9IjEzIiBtdGltZT0iMTY3NjM4Mjg1MSIvPgogIDxlbnRyeSBuYW1lPSLlrabkuaDmgLvnu5MiIG1kNT0iNmJhMTY3ZDcyZTljYzYwMTA4YTc1NjdjZGFlYzcyMGYiIHNpemU9Ijk3NyIgbXRpbWU9IjE2NzQ4MjkxNTciLz4KPC9kaXJlY3Rvcnk+Cg==
  recorded_at: Tue, 14 Feb 2023 14:07:29 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:tom/my_package?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:
      - '228'
    body:
      encoding: UTF-8
      string: |
        <sourceinfo package="my_package" rev="5" vrev="5" srcmd5="59289db27922d7a9f92ec3fc614005a9" verifymd5="59289db27922d7a9f92ec3fc614005a9">
          <error>bad build configuration, no build type defined or detected</error>
        </sourceinfo>
  recorded_at: Tue, 14 Feb 2023 14:07:29 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:tom/my_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:
      - '307'
    body:
      encoding: ASCII-8BIT
      string: !binary |-
        PGRpcmVjdG9yeSBuYW1lPSJteV9wYWNrYWdlIiByZXY9IjUiIHZyZXY9IjUiIHNyY21kNT0iNTkyODlkYjI3OTIyZDdhOWY5MmVjM2ZjNjE0MDA1YTkiPgogIDxlbnRyeSBuYW1lPSJuZXdseV9jcmVhdGVkX2ZpbGUiIG1kNT0iZDhiZTMzYzNjZmViYmNhYjM4MDJlYjVhZTM4MTFhYjUiIHNpemU9IjEzIiBtdGltZT0iMTY3NjM4Mjg1MSIvPgogIDxlbnRyeSBuYW1lPSLlrabkuaDmgLvnu5MiIG1kNT0iNmJhMTY3ZDcyZTljYzYwMTA4YTc1NjdjZGFlYzcyMGYiIHNpemU9Ijk3NyIgbXRpbWU9IjE2NzQ4MjkxNTciLz4KPC9kaXJlY3Rvcnk+Cg==
  recorded_at: Tue, 14 Feb 2023 14:07:29 GMT
- request:
    method: post
    uri: http://backend:5352/source/home:tom/my_package?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
      Content-Length:
      - '298'
      Cache-Control:
      - no-cache
      Connection:
      - close
    body:
      encoding: UTF-8
      string: |
        <sourcediff key="c92ca45e655bb25ca0cf3bb5aa7cbea2">
          <old project="home:tom" package="my_package" rev="0" srcmd5="d41d8cd98f00b204e9800998ecf8427e"/>
          <new project="home:tom" package="my_package" rev="5" srcmd5="59289db27922d7a9f92ec3fc614005a9"/>
          <files/>
          <issues>
          </issues>
        </sourcediff>
  recorded_at: Tue, 14 Feb 2023 14:07:29 GMT
recorded_with: VCR 6.1.0
