1. 13 Oct, 2020 1 commit
    • Jérome Perrin's avatar
      cli: fish shell completions · d141a32a
      Jérome Perrin authored
      cliff complete command only supports bash, but fish offers much more user friendly
      completions.
      
      cliff uses a pluggable system, but this where new shell completions can be registered,
      but the plugin (CompleteFish) can not access the command manager to get more
      details about options, since fish can also show help of suggestion, we want to
      access the help of each option to show this during suggestions.
      Also we want to make some more clever suggestions (for example slapos node start complete
      with services identifiers).
      For these reasons we need to register a command to replace the default complete command
      and can not achieve this with simply a cliff.formatter.completion entry point.
      
      This can be installed with:
      
          slapos complete > ~/.bash_completion.d/slapos
          slapos complete --shell fish > ~/.config/fish/completions/slapos.fish
      d141a32a
  2. 08 Oct, 2020 1 commit
  3. 07 Oct, 2020 4 commits
  4. 06 Oct, 2020 2 commits
  5. 02 Oct, 2020 2 commits
  6. 01 Oct, 2020 11 commits
  7. 30 Sep, 2020 2 commits
  8. 28 Sep, 2020 2 commits
    • Thomas Gambier's avatar
      8eb15b5b
    • Łukasz Nowak's avatar
      slapos_jio: Support list of elements expressed with oneOf · 11fa88e4
      Łukasz Nowak authored
      By following feature of JSON Schema Draft-06 render a structure like:
      
        "element": {
          "oneOf": [
            {
              "const": "value1",
              "title": "Description1"
            },
            {
              "const": "value2",
              "title": "Description2"
            }
          ]
        }
      
      To:
      
        <select size="1">
          <option value=""></option>
          <option value="value1">Description1</option>
          <option value="value2">Description2</option>
        </select>
      
      JSON Schema types array and object are stringified to be safely represented
      as option keys.
      11fa88e4
  9. 25 Sep, 2020 8 commits
  10. 24 Sep, 2020 1 commit
  11. 17 Sep, 2020 1 commit
  12. 16 Sep, 2020 2 commits
    • Jérome Perrin's avatar
      grid: cleanup the duplicate supervisord processes · 000abb02
      Jérome Perrin authored
      After 1.6.1 was deployed we have two processes, stop the redundant process.
      000abb02
    • Jérome Perrin's avatar
      grid: Keep using the previous socket path name if it still exists · ad156d36
      Jérome Perrin authored
      In 58fbaabf (svcbackend/standalone: use shorter names for supervisor sockets
      , 2020-07-17) we changed the socket path from supervisord.sock to a shorter
      sv.sock, but this caused issues when updating running slapos node instances,
      because this was trying to start a new supervisord process using the new
      socket path, while the old one was still running.
      
      To keep services running after upgrade, introduce a compatibility layer in
      this socket path - if we still have a supervisord running with a socket at
      this previous path, keep using this old socket name.
      ad156d36
  13. 10 Sep, 2020 1 commit
  14. 09 Sep, 2020 2 commits