1. 09 Oct, 2019 3 commits
    • Jérome Perrin's avatar
      slaprunner: ~/bin/slapos: don't override SLAPOS_CONFIGURATION · 7ee6c9bd
      Jérome Perrin authored
      Because this slapos often is executed when just running `slapos` at is
      in the $PATH, we should also consider special cases where users want to
      call this script with another $SLAPOS_CONFIGURATION.
      
      When $SLAPOS_CONFIGURATION is already set, ~/bin/slapos will not change
      it, it will only set it when not set.
      7ee6c9bd
    • Jérome Perrin's avatar
      slaprunner: set $HOME · a075ac0f
      Jérome Perrin authored
      Because slaprunner might be instanciated in a different directory than
      the shell user $HOME (like in recursive SlapOS), it's necessary to set
      HOME to the base directory. For "bare metal" SlapOS, this would not make
      any difference.
      a075ac0f
    • Jérome Perrin's avatar
      slaprunner: set $TERMINFO in bash profile · 27c2a71b
      Jérome Perrin authored
      so that terminal uses terminfo from the same curses library.
      27c2a71b
  2. 08 Oct, 2019 2 commits
  3. 07 Oct, 2019 22 commits
  4. 04 Oct, 2019 1 commit
    • Thomas Gambier's avatar
      do not create two wrappers for the same executable if hash change · ed707d3b
      Thomas Gambier authored
      Prevent creating 2 wrapper for the same service if hash changed. Here, one service is exited because port is used by the firt to service to start:
      
          slappart6:runner-sshd-4248650e36a9a26a6481df1baffd9f58-on-watch                RUNNING   pid 27835, uptime 0:03:45
          slappart6:runner-sshd-b3b68f4278ceb84691ec27521ea229eb-on-watch                EXITED    Mar 06 04:52 PM
      
      To achieve that, update slapos.cookbook and use hash-existing-files option of wrapper recipe
      
      hash-existing-files list all the files used for hash that are not
      handled by buildout. For those files, the hash is calculated as soon as
      the __init__ function so that if there is a change in those files,
      buildout will remove the existing wrapper (it will uninstall the
      section) and replace it with the new wrapper.
      
      /reviewed-on nexedi/slapos!525
      ed707d3b
  5. 03 Oct, 2019 7 commits
    • Julien Muchembled's avatar
      version up: qemu 4.1.0 · 26883fea
      Julien Muchembled authored
      26883fea
    • Thomas Gambier's avatar
      Release slapos.cookbook (1.0.123) · 9d38218c
      Thomas Gambier authored
      9d38218c
    • Thomas Gambier's avatar
    • Łukasz Nowak's avatar
      Fix connection-parameter-hash · 0e0e8d19
      Łukasz Nowak authored
      Fixed slapos.core stabilises connection_dict during publish, so it is able
      to calculate connection-parameter-hash the same way on client and on server, this
      having same results when it is expected to have them.
      
      Tasks:
      
       - [x] release `slapos.core` with nexedi/slapos.core!131 and use the version here
      
      /reviewed-on nexedi/slapos!625
      0e0e8d19
    • Nicolas Wavrant's avatar
      version up: tmux, libevent · 6743fbd1
      Nicolas Wavrant authored
      6743fbd1
    • Ivan Tyagov's avatar
      version up: erp5.util · 50b80c86
      Ivan Tyagov authored
      50b80c86
    • Jérome Perrin's avatar
      Components updates for shared and rpath · 09f3342e
      Jérome Perrin authored
      These are changes to profiles to satisfy the requirements from "checkSoftware" function from `slapos.testing`, ie:
       1. rpath is properly set on all executables.
       2. shared parts are not referencing non shared parts.
      
      Eventhough current shared was working, we had several component with the problem 2. This was a problem in the following conditions:
       - because their hash was computed with a signature including the software installation path ( eg `/opt/slapgrid/e96b88e28dac4de1ba005bb48c6daac9/parts/something/`), shared parts were in practice never shared with other softwares. It was effective when re-installing the same software from scratch a second time, but not when using other softwares.
       - when the software was uninstalled, the shared parts stopped working because of missing paths.
      
      As a result of these changes, some parts which used to be shared are no longer shared, but this MR also tries to share a few more parts, the goal was that all parts needed until rebootstrap were shared and also gcc and golang that are significantly large.
      
      /reviewed-on nexedi/slapos!628
      09f3342e
  6. 02 Oct, 2019 1 commit
    • Jérome Perrin's avatar
      erp5: set mariadb timezone to UTC · 0b377eb4
      Jérome Perrin authored
      ERP5Catalog assumes that dates in catalog are UTC, this works
      fine with DATETIME columns that does not carry any timezone
      information, but TIMESTAMP columns are converted to mariadb timezone,
      which is by default system timezone.
      
      If we want ERP5Catalog to query on TIMESTAMP columns with the existing
      logic of converting dates to UTC (because "dates are in UTC in
      catalog"), we need to have TIMESTAMP columns in UTC.
      
      This also generally seem a better default than falling back to system
      timezone.
      
      /reviewed-on nexedi/slapos!623
      0b377eb4
  7. 01 Oct, 2019 4 commits