1. 19 Sep, 2016 1 commit
  2. 16 Sep, 2016 2 commits
  3. 31 Aug, 2016 1 commit
  4. 10 Aug, 2016 1 commit
  5. 13 Jul, 2016 1 commit
  6. 11 Jul, 2016 1 commit
  7. 06 Jul, 2016 1 commit
    • Vincent Pelletier's avatar
      erp5: Make ZODB pool-size default to thread_amount. · 423341c8
      Vincent Pelletier authored
      Avoids being spammed with
        WARNING ZODB.DB DB.open() has X open connections with a pool_size of 7
      on zopes with more than 7 worker threads.
      Also, allows better hit-rate on volatile attributes in such case, as
      otherwise connections (and their cache) would be discarded when many
      threads would be made busy, decreasing performance.
      423341c8
  8. 04 Jul, 2016 3 commits
    • Kazuhiko Shiozaki's avatar
      version up eggs · b4255368
      Kazuhiko Shiozaki authored
      b4255368
    • Jérome Perrin's avatar
      b41f2565
    • Jérome Perrin's avatar
      erp5: stop including -----\n in zope logfiles · 287a6201
      Jérome Perrin authored
      This patch change the log format from:
      
      ```
      2016-03-25 04:26:37,609 WARNING access 172.17.0.2 - Anonymous [25/Mar/2016:04:26:37 +0200] "GET / HTTP/1.0" 200 0 "" ""
      ------
      2016-03-25 04:26:37,613 WARNING access 172.17.0.2 - Anonymous [25/Mar/2016:04:26:37 +0200] "GET / HTTP/1.0" 200 1971 "" ""
      ------
      2016-03-25 04:26:37,619 WARNING access 172.17.0.2 - Anonymous [25/Mar/2016:04:26:37 +0200] "GET / HTTP/1.1" 200 1952 "" ""
      ------
      2016-03-25 04:26:40,619 WARNING access 172.17.0.2 - Anonymous [25/Mar/2016:04:26:40 +0200] "GET / HTTP/1.0" 200 1971 "" ""
      ------
      2016-03-25 04:26:43,622 WARNING access 172.17.0.2 - Anonymous [25/Mar/2016:04:26:43 +0200] "GET / HTTP/1.0" 200 1971 "" ""
      ```
      
      to something more concise for the eye:
      
      
      ```
      2016-04-06 10:13:41,854 WARNING access 172.17.0.2 - Anonymous [06/Apr/2016:10:13:41 +0200] "GET / HTTP/1.0" 200 1971 "" ""
      2016-04-06 10:13:44,861 WARNING access 172.17.0.2 - Anonymous [06/Apr/2016:10:13:44 +0200] "GET / HTTP/1.0" 200 1971 "" ""
      2016-04-06 10:13:47,868 WARNING access 172.17.0.2 - Anonymous [06/Apr/2016:10:13:47 +0200] "GET / HTTP/1.0" 200 1971 "" ""
      2016-04-06 10:13:50,875 WARNING access 172.17.0.2 - Anonymous [06/Apr/2016:10:13:50 +0200] "GET / HTTP/1.0" 200 1971 "" ""
      2016-04-06 10:13:53,882 WARNING access 172.17.0.2 - Anonymous [06/Apr/2016:10:13:53 +0200] "GET / HTTP/1.0" 200 1971 "" ""
      2016-04-06 10:13:56,890 WARNING access 172.17.0.2 - Anonymous [06/Apr/2016:10:13:56 +0200] "GET / HTTP/1.0" 200 1971 "" ""
      ```
      
      by changing the log format from the default `------\n%(asctime)s %(levelname)s %(name)s %(message)s` ( defined [here](https://github.com/zopefoundation/ZConfig/blob/0d6a8a1/ZConfig/components/logger/handlers.xml#L38
      )) to simply `%(asctime)s %(levelname)s %(name)s %(message)s`
      
      It is enabled for both event.log and Z2.log
      
      
      /cc @kazuhiko @vpelletier @tc 
      
      
      /reviewed-on !67
      287a6201
  9. 03 Jun, 2016 1 commit
  10. 24 May, 2016 1 commit
  11. 20 May, 2016 1 commit
  12. 13 May, 2016 1 commit
  13. 12 May, 2016 2 commits
  14. 10 May, 2016 3 commits
  15. 06 May, 2016 2 commits
  16. 13 Apr, 2016 3 commits
  17. 08 Apr, 2016 1 commit
  18. 04 Apr, 2016 1 commit
  19. 15 Mar, 2016 1 commit
  20. 07 Mar, 2016 2 commits
  21. 01 Mar, 2016 1 commit
  22. 29 Feb, 2016 1 commit
  23. 24 Feb, 2016 2 commits
  24. 19 Feb, 2016 1 commit
  25. 17 Feb, 2016 1 commit
  26. 15 Feb, 2016 1 commit
  27. 01 Feb, 2016 2 commits
    • Kirill Smelkov's avatar
      erp5: Provide pandas, scikit-learn & matplotlib out of the box · 5cd3fc51
      Kirill Smelkov authored
      Pandas and scikit-learn are handy to have for data processing which we
      are going to do more and more in ERP5 context. Matplotlib is very handy
      to have when one works with Jupyter, but also can be used by just
      backend code to generate graphs.
      
      From this point of view it makes sense to have this eggs always
      available out of the box. To do so move them from Wendelin to ERP5.
      
      /suggested-by @tiwariayush
      /reviewed-by @Tyagov (on !43)
      5cd3fc51
    • Kirill Smelkov's avatar
      ERP5 and Jupyter integrated together · 0a446263
      Kirill Smelkov authored
      This patch teaches ERP5 software release to automatically instantiate Jupyter
      notebook web UI and tune it to connect to ERP5 by default. When Jupyter is
      enabled, it also installs on-server erp5_data_notebook bt5 (erp5!29)
      which handles code execution requested for Jupyter.
      
      For ERP5 - for security and backward compatibility reasons - Jupyter
      instantiation and erp5_data_notebook bt5 install happen only if jupyter is
      explicitly enabled in instance parameters. The default is not to have Jupyter
      out of the box.
      
      On the other hand for Wendelin SR, which inherits from ERP5 SR, the
      default is to have Jupyter out of the box, because Wendelin SR is fresh
      enough without lots of backward compatibility needs, and Jupyter is
      usually very handy for people who use Wendelin.
      
      ~~~~
      
      For integration, we reuse already established in ERP5 infrastructure, to
      request various slave instances, and request Jupyter in a way so it
      automatically tunes and connects to balancer of one of Zope family.
      
      Jupyter code itself is compiled by reusing
      software/ipython_notebook/software.cfg, and Jupyter instance code is
      reused by hooking software/ipython_notebook/instance.cfg.in into ERP5 SR
      properly (the idea to override instance-jupyter not to render into
      default template.cfg is taken from previous work by @tiwariayush).
      
      ~~~~
      
      I tested this patch inside webrunner with create-erp5-site software type and
      various configurations (whether to have or not have jupyter, to which zope
      family to connect it, etc).
      
      I have not tested frontend instantiation fully - because tests were done only
      in webrunner, but I've tried to make sure generated buildout code is valid for
      cases with frontend.
      
      NOTE the code in this patch depends erp5_data_notebook bt5 (erp5!29) which just got merged to erp5.git recently (see erp5@f662b5a2)
      
      NOTE even when erp5_data_notebook bt5 is installed, on a freshly installed ERP5, it
      is required to "check site consistency" first, so that initial bt5(s) are
      actually installed and erp5 is ready to function.
      
      /cc @vpelletier, @Tyagov, @klaus, @Camata, @tiwariayush, @Kreisel, @jerome, @nexedi
      /proposed-for-review-on !43
      0a446263
  28. 31 Jan, 2016 1 commit