1. 11 Jul, 2018 2 commits
  2. 10 Jul, 2018 1 commit
  3. 06 Jul, 2018 2 commits
  4. 25 May, 2018 2 commits
  5. 17 May, 2018 1 commit
    • Eteri's avatar
      squash! · 56d0240e
      Eteri authored
      remove unused parts, fix CameCase format
      
      add buildout.hash.cfg for update-hash
      
      remove unused my_server.py
      
      remove global variables, change calling way of env varibale
      
      use subprocess instead of os.system
      
      rename tests, add comments
      
      fix setUp and tearDown for tests
      
      diable debug
      
      get url from comp partition
      56d0240e
  6. 14 May, 2018 3 commits
  7. 07 May, 2018 3 commits
  8. 02 May, 2018 2 commits
    • Roque's avatar
      haproxy: http-send-name-header no longer needed · 4ef92ceb
      Roque authored
      - destination server gets its own server id
      - this removes complexity at the cost of respecting consistency in names
      - http-send-name-header is not well supported by haproxy and that it may leads to random errors with not well formated request
      
      /reviewed-on nexedi/slapos!324
      4ef92ceb
    • Jérome Perrin's avatar
      Cloudooo: remove ffmpeg · d46900ba
      Jérome Perrin authored
      Currently cloudooo does not compile with gcc 6.3 ( default gcc from current debian stable ) because of ffmpeg component:
      
      ```
          [CC] nestegg/halloc/src/halloc.c.o
      In file included from nestegg/halloc/src/halloc.c:19:0:
      nestegg/halloc/src/align.h:33:25: error: conflicting types for 'max_align_t'
       typedef union max_align max_align_t;
                               ^~~~~~~~~~~
      In file included from nestegg/halloc/src/../halloc.h:18:0,
                       from nestegg/halloc/src/halloc.c:18:
      /usr/lib/gcc/x86_64-linux-gnu/6/include/stddef.h:429:3: note: previous declaration of 'max_align_t' was here
       } max_align_t;
         ^~~~~~~~~~~
      Makefile:104: recipe for target 'nestegg/halloc/src/halloc.c.o' failed
      ```
      
      Because we don't use ffmpeg in cloudooo, I'm just temporarily removing it .
      
      /cc @rafael @kazuhiko @gabriel @vpelletier
      
      /reviewed-on nexedi/slapos!264
      d46900ba
  9. 27 Apr, 2018 4 commits
    • Alain Takoudjou's avatar
    • Alain Takoudjou's avatar
    • Alain Takoudjou's avatar
    • Jérome Perrin's avatar
      userinfo: expose values as string · f06e61a6
      Jérome Perrin authored
      To be compatible with buildout (and not only `slapos.recipe.template:jinja2`)
      
      See [#20180416-1138FFA](https://nexedi.erp5.net/bug_module/20180416-1138FFA/)
      
      ---
      
      Running this buildout:
      
      ```
      [buildout]
      parts=x
      
      [userinfo]
      recipe = slapos.cookbook:userinfo
      
      [x]
      recipe = plone.recipe.command
      command = echo "Hello user id ${userinfo:pw-uid}"
      ```
      
      
      In a slapos patched buildout it outputs: `"Hello user id !py!991"` (which means it's not usable for references directly in other buildout parts)
      
      In a "non patched" buildout fail with error:
      
      ```
      While:
        Installing.
        Getting section x.
        Initializing section x.
        Getting option x:command.
        Getting section userinfo.
        Initializing section userinfo.
      
      An internal error occurred due to a bug in either zc.buildout or in a
      recipe being used:
      Traceback (most recent call last):
        File "/tmp/x/env/lib/python2.7/site-packages/zc/buildout/buildout.py", line 2127, in main
          getattr(buildout, command)(args)
        File "/tmp/x/env/lib/python2.7/site-packages/zc/buildout/buildout.py", line 681, in install
          [self[part]['recipe'] for part in install_parts]
        File "/tmp/x/env/lib/python2.7/site-packages/zc/buildout/buildout.py", line 1278, in __getitem__
          options._initialize()
        File "/tmp/x/env/lib/python2.7/site-packages/zc/buildout/buildout.py", line 1376, in _initialize
          self._dosub(k, v)
        File "/tmp/x/env/lib/python2.7/site-packages/zc/buildout/buildout.py", line 1431, in _dosub
          v = '$$'.join([self._sub(s, seen) for s in v.split('$$')])
        File "/tmp/x/env/lib/python2.7/site-packages/zc/buildout/buildout.py", line 1495, in _sub
          v = self.buildout[section].get(option, None, seen)
        File "/tmp/x/env/lib/python2.7/site-packages/zc/buildout/buildout.py", line 1278, in __getitem__
          options._initialize()
        File "/tmp/x/env/lib/python2.7/site-packages/zc/buildout/buildout.py", line 1386, in _initialize
          self.initialize()
        File "/tmp/x/env/lib/python2.7/site-packages/zc/buildout/buildout.py", line 1395, in initialize
          self.recipe = recipe_class(buildout, name, self)
        File "/tmp/x/eggs/slapos.cookbook-1.0.62-py2.7.egg/slapos/recipe/userinfo.py", line 13, in __init__
          options['pw-uid'] = pinfo.pw_uid
        File "/tmp/x/env/lib/python2.7/site-packages/zc/buildout/buildout.py", line 1520, in __setitem__
          raise TypeError('Option values must be strings', value)
      TypeError: ('Option values must be strings', 991)
      ```
      
      /cc @Nicolas @alain.takoudjou  @vpelletier 
      
      /reviewed-on nexedi/slapos!321
      f06e61a6
  10. 25 Apr, 2018 1 commit
  11. 24 Apr, 2018 3 commits
  12. 23 Apr, 2018 1 commit
  13. 17 Apr, 2018 3 commits
  14. 16 Apr, 2018 6 commits
  15. 15 Apr, 2018 2 commits
  16. 13 Apr, 2018 2 commits
  17. 12 Apr, 2018 2 commits