Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • S slapos.core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 28
    • Merge requests 28
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • slapos.core
  • Repository

Switch branch/tag
  • slapos.core
  • slapos
  • slap
  • slap.py
Find file BlameHistoryPermalink
  • Łukasz Nowak's avatar
    slapos/slap: Stabilise connection_dict · 665d3896
    Łukasz Nowak authored Sep 17, 2019 and Thomas Gambier's avatar Thomas Gambier committed Oct 01, 2019
    connection_dict generated by client can be different in details from the
    server side, so pass it thorugh a way how it is treat on the server.
    
    Also, as we are going to be compatible with py3, calculate hash from
    sorted items of a dict, instead of relying on side effect of py2 "ordered dict"
    
    https://portingguide.readthedocs.io/en/latest/dicts.html#changed-key-order
    
    Test are focused on client side, and the tricky cases are covered, they
    somehow contain the protocol of client <--> server comparision.
    665d3896

Replace slap.py

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7