1. 10 Nov, 2022 3 commits
    • Jérome Perrin's avatar
      stack/slapos.cfg: version up slapos.recipe.build 0.56 · f2695691
      Jérome Perrin authored
      to support git 2.38.1
      f2695691
    • Jérome Perrin's avatar
      software/theia: don't set a python in $PATH · 9c20e17c
      Jérome Perrin authored
      This is a big changes for users, now typing "python" on the command line
      will use system python if it exists or fail with "command not found".
      
      `python3` is set to the SlapOS python from Theia software release.
      Recommended approach for python users is either to get used to type
      `python3` or to create a virtualenv and use it. With the virtualenv,
      they can also install pylint or other linters, so this might be the
      best thing to do.
      
      This solves two problems:
      
      First problem is that it makes the embedded SlapOS always have a python
      interpreter as `python` in $PATH, which is not always the case in other
      SlapOS usage and can hide problems that would cause a software to build
      successfully in Theia but not in "bare metal" SlapOS.
      
      Second problem problem is that on python was a interpreter from pygolang
      and it is not perfect regarding line edition at least on python 3.8, as
      we can observe in this session:
      
      run python and type "something":
      
      ```
      Python 3.8.13 (default, Sep  6 2022, 10:45:07)
      [GCC 8.5.0] on linux
      Type "help", "copyright", "credits" or "license" for more information.
      (InteractiveConsole)
      >>> something
                   ^ cursor is here, as expected
      ```
      
      type Ctrl+A to go to beginning of line:
      
      ```
      Python 3.8.13 (default, Sep  6 2022, 10:45:07)
      [GCC 8.5.0] on linux
      Type "help", "copyright", "credits" or "license" for more information.
      (InteractiveConsole)
      >>> something
          ^ expected cursor position
      ^ actual cursor position
      ```
      
      likewise, type Ctrl+E to go to end of line:
      
      ```
      Python 3.8.13 (default, Sep  6 2022, 10:45:07)
      [GCC 8.5.0] on linux
      Type "help", "copyright", "credits" or "license" for more information.
      (InteractiveConsole)
      >>> something
                   ^ expected cursor position
               ^ actual cursor position
      ```
      9c20e17c
    • Jérome Perrin's avatar
      software/theia: parameter to disable forwarded frontend requests · 2c2b5c3a
      Jérome Perrin authored
      In some cases, for example when the instance does not have internet
      access, or to speed up slapos node instance, it's better not to have
      frontend requests in the embedded slapos. In this case, the default
      slapos proxy behavior of returning a "fake frontend" [1] will apply
      and promises checking frontend status will pass anyway.
      
      [1]: see slapos.core commit 2a53efca2 (proxy: bypass simple fronten
      requests by returning URL, 2019-03-25)
      2c2b5c3a
  2. 07 Nov, 2022 9 commits
  3. 04 Nov, 2022 3 commits
  4. 03 Nov, 2022 1 commit
  5. 31 Oct, 2022 3 commits
  6. 25 Oct, 2022 1 commit
  7. 24 Oct, 2022 3 commits
  8. 19 Oct, 2022 3 commits
  9. 18 Oct, 2022 2 commits
  10. 17 Oct, 2022 12 commits