---
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:27 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>Lilies of the Field</title>
          <description>Quae facere consequatur doloribus.</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:
      - '159'
    body:
      encoding: UTF-8
      string: |
        <package name="my_package" project="home:tom">
          <title>Lilies of the Field</title>
          <description>Quae facere consequatur doloribus.</description>
        </package>
  recorded_at: Tue, 14 Feb 2023 14:07:27 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:
      - '202'
    body:
      encoding: ASCII-8BIT
      string: !binary |-
        PGRpcmVjdG9yeSBuYW1lPSJteV9wYWNrYWdlIiByZXY9IjEiIHZyZXY9IjEiIHNyY21kNT0iZjQyNzMzY2Q3OWU1ZGVlZGQyOGQwOTg5MTYxMTVmMmUiPgogIDxlbnRyeSBuYW1lPSLlrabkuaDmgLvnu5MiIG1kNT0iNmJhMTY3ZDcyZTljYzYwMTA4YTc1NjdjZGFlYzcyMGYiIHNpemU9Ijk3NyIgbXRpbWU9IjE2NzQ4MjkxNTciLz4KPC9kaXJlY3Rvcnk+Cg==
  recorded_at: Tue, 14 Feb 2023 14:07:27 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:
      - '202'
    body:
      encoding: ASCII-8BIT
      string: !binary |-
        PGRpcmVjdG9yeSBuYW1lPSJteV9wYWNrYWdlIiByZXY9IjEiIHZyZXY9IjEiIHNyY21kNT0iZjQyNzMzY2Q3OWU1ZGVlZGQyOGQwOTg5MTYxMTVmMmUiPgogIDxlbnRyeSBuYW1lPSLlrabkuaDmgLvnu5MiIG1kNT0iNmJhMTY3ZDcyZTljYzYwMTA4YTc1NjdjZGFlYzcyMGYiIHNpemU9Ijk3NyIgbXRpbWU9IjE2NzQ4MjkxNTciLz4KPC9kaXJlY3Rvcnk+Cg==
  recorded_at: Tue, 14 Feb 2023 14:07:27 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:tom/my_package/%E5%AD%A6%E4%B9%A0%E6%80%BB%E7%BB%93?rev=repository&user=tom
    body:
      encoding: UTF-8
      string: |+
        ubuntu12.04 root登录
        1先设定一个root的密码，sudo passwd root

        2 root 登陆，su root

        3 备份一下lightgdm
        cp -p /etc/lightdm/lightdm.conf /etc/lightdm/lightdm.conf.bak

        4 vi /etc/lightdm/lightdm.conf

        5 增加：greeter-show-manual-login=true
          修改后为：
          [SeatDefaults]
          greeter-session=unity-greeter
          user-session=ubuntu
          greeter-show-manual-login=true

          重启登陆即可。已经可以输入root了


        root登陆后还没声音，又查了查，如下方法:
        Ubuntu root登录没有声音这个问题的根本原因是使用root登录后pulseaudio没有启动。
        将root加到pulse-access组：
        sudo usermod -a -G pulse-access root
        然后修改配置文件/etc/default/pulseaudio，将PULSEAUDIO_SYSTEM_START设为1，

        =======================================================================
        安装linux版本的beyond compare
        beyond compare的注册码：
        HmB5oANygQOhaStTHNa+zOKgOeWHOkeAp6d1+QwIebz6z9kwYCm9-O0jF9F79zvzed9v5UVC4VrDkDMmTM8nB+



    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:27 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="学习总结" md5="6ba167d72e9cc60108a7567cdaec720f"
        hash="sha256:5aeea1a06e7879f716d297b293049e45d5cac56cbd19202e3d88036a35679c6a"/></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:
      - '202'
    body:
      encoding: ASCII-8BIT
      string: !binary |-
        PGRpcmVjdG9yeSBuYW1lPSJteV9wYWNrYWdlIiByZXY9IjIiIHZyZXY9IjIiIHNyY21kNT0iZjQyNzMzY2Q3OWU1ZGVlZGQyOGQwOTg5MTYxMTVmMmUiPgogIDxlbnRyeSBuYW1lPSLlrabkuaDmgLvnu5MiIG1kNT0iNmJhMTY3ZDcyZTljYzYwMTA4YTc1NjdjZGFlYzcyMGYiIHNpemU9Ijk3NyIgbXRpbWU9IjE2NzQ4MjkxNTciLz4KPC9kaXJlY3Rvcnk+Cg==
  recorded_at: Tue, 14 Feb 2023 14:07:27 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>Lilies of the Field</title>
          <description>Quae facere consequatur doloribus.</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:
      - '159'
    body:
      encoding: UTF-8
      string: |
        <package name="my_package" project="home:tom">
          <title>Lilies of the Field</title>
          <description>Quae facere consequatur doloribus.</description>
        </package>
  recorded_at: Tue, 14 Feb 2023 14:07:27 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:
      - '202'
    body:
      encoding: ASCII-8BIT
      string: !binary |-
        PGRpcmVjdG9yeSBuYW1lPSJteV9wYWNrYWdlIiByZXY9IjIiIHZyZXY9IjIiIHNyY21kNT0iZjQyNzMzY2Q3OWU1ZGVlZGQyOGQwOTg5MTYxMTVmMmUiPgogIDxlbnRyeSBuYW1lPSLlrabkuaDmgLvnu5MiIG1kNT0iNmJhMTY3ZDcyZTljYzYwMTA4YTc1NjdjZGFlYzcyMGYiIHNpemU9Ijk3NyIgbXRpbWU9IjE2NzQ4MjkxNTciLz4KPC9kaXJlY3Rvcnk+Cg==
  recorded_at: Tue, 14 Feb 2023 14:07:27 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="2" vrev="2" srcmd5="f42733cd79e5deedd28d098916115f2e" verifymd5="f42733cd79e5deedd28d098916115f2e">
          <error>bad build configuration, no build type defined or detected</error>
        </sourceinfo>
  recorded_at: Tue, 14 Feb 2023 14:07:27 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:
      - '202'
    body:
      encoding: ASCII-8BIT
      string: !binary |-
        PGRpcmVjdG9yeSBuYW1lPSJteV9wYWNrYWdlIiByZXY9IjIiIHZyZXY9IjIiIHNyY21kNT0iZjQyNzMzY2Q3OWU1ZGVlZGQyOGQwOTg5MTYxMTVmMmUiPgogIDxlbnRyeSBuYW1lPSLlrabkuaDmgLvnu5MiIG1kNT0iNmJhMTY3ZDcyZTljYzYwMTA4YTc1NjdjZGFlYzcyMGYiIHNpemU9Ijk3NyIgbXRpbWU9IjE2NzQ4MjkxNTciLz4KPC9kaXJlY3Rvcnk+Cg==
  recorded_at: Tue, 14 Feb 2023 14:07:27 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="54995eaf1348cc8142ec097652eda5c1">
          <old project="home:tom" package="my_package" rev="0" srcmd5="d41d8cd98f00b204e9800998ecf8427e"/>
          <new project="home:tom" package="my_package" rev="2" srcmd5="f42733cd79e5deedd28d098916115f2e"/>
          <files/>
          <issues>
          </issues>
        </sourcediff>
  recorded_at: Tue, 14 Feb 2023 14:07:27 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:tom/my_package/%E5%AD%A6%E4%B9%A0%E6%80%BB%E7%BB%93
    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:
      - application/octet-stream
      Content-Length:
      - '977'
      Cache-Control:
      - no-cache
      Connection:
      - close
    body:
      encoding: ASCII-8BIT
      string: !binary |-
        dWJ1bnR1MTIuMDQgcm9vdOeZu+W9lQox5YWI6K6+5a6a5LiA5Liqcm9vdOeahOWvhuegge+8jHN1ZG8gcGFzc3dkIHJvb3QKCjIgcm9vdCDnmbvpmYbvvIxzdSByb290CgozIOWkh+S7veS4gOS4i2xpZ2h0Z2RtCmNwIC1wIC9ldGMvbGlnaHRkbS9saWdodGRtLmNvbmYgL2V0Yy9saWdodG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:07:27 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:tom/my_package/%E5%AD%A6%E4%B9%A0%E6%80%BB%E7%BB%93
    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:
      - application/octet-stream
      Content-Length:
      - '977'
      Cache-Control:
      - no-cache
      Connection:
      - close
    body:
      encoding: ASCII-8BIT
      string: !binary |-
        dWJ1bnR1MTIuMDQgcm9vdOeZu+W9lQox5YWI6K6+5a6a5LiA5Liqcm9vdOeahOWvhuegge+8jHN1ZG8gcGFzc3dkIHJvb3QKCjIgcm9vdCDnmbvpmYbvvIxzdSByb290CgozIOWkh+S7veS4gOS4i2xpZ2h0Z2RtCmNwIC1wIC9ldGMvbGlnaHRkbS9saWdodGRtLmNvbmYgL2V0Yy9saWdodGRtL2xpZ2h0ZG0uY29uZi5iYWsKCjQgdmkgL2V0Yy9saWdodGRtL2xpZ2h0ZG0uY29uZgoKNSDlop7liqDvvJpncmVldGVyLXNob3ctbWFudWFsLWxvZ2luPXRydWUKICDkv67mlLnlkI7kuLrvvJoKICBbU2VhdERlZmF1bHRzXQogIGdyZWV0ZXItc2Vzc2lvbj11bml0eS1ncmVldGVyCiAgdXNlci1zZXNzaW9uPXVidW50dQogIGdyZWV0ZXItc2hvdy1tYW51YWwtbG9naW49dHJ1ZQoKICDph43lkK/nmbvpmYbljbPlj6/jgILlt7Lnu4/lj6/ku6XovpPlhaVyb2905LqGCgoKcm9vdOeZu+mZhuWQjui/mOayoeWjsOmfs++8jOWPiOafpeS6huafpe+8jOWmguS4i+aWueazlToKVWJ1bnR1IHJvb3TnmbvlvZXmsqHmnInlo7Dpn7Pov5nkuKrpl67popjnmoTmoLnmnKzljp/lm6DmmK/kvb/nlKhyb29055m75b2V5ZCOcHVsc2VhdWRpb+ayoeacieWQr+WKqOOAggrlsIZyb2905Yqg5YiwcHVsc2UtYWNjZXNz57uE77yaCnN1ZG8gdXNlcm1vZCAtYSAtRyBwdWxzZS1hY2Nlc3Mgcm9vdArnhLblkI7kv67mlLnphY3nva7mlofku7YvZXRjL2RlZmF1bHQvcHVsc2VhdWRpb++8jOWwhlBVTFNFQVVESU9fU1lTVEVNX1NUQVJU6K6+5Li6Me+8jAoKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0K5a6J6KOFbGludXjniYjmnKznmoRiZXlvbmQgY29tcGFyZQpiZXlvbmQgY29tcGFyZeeahOazqOWGjOegge+8mgpIbUI1b0FOeWdRT2hhU3RUSE5hK3pPS2dPZVdIT2tlQXA2ZDErUXdJZWJ6Nno5a3dZQ205LU8wakY5Rjc5enZ6ZWQ5djVVVkM0VnJEa0RNbVRNOG5CKwoKCgo=
  recorded_at: Tue, 14 Feb 2023 14:07:27 GMT
recorded_with: VCR 6.1.0
