- 03 Nov, 2015 1 commit
-
-
Kirill Smelkov authored
This - better illustrates what components do (provide building recipes for programs) and what software do (gather components and provide recipes for instances). - illustrates how to build the software properly - usually we build eggs or scripts with zc.recipe.egg:* , not generate python programs via jinja2 templating. Because when installing via egg, it is possible to import other installed eggs relatively straghtforward, and for jinja2 way it is hard to do. The helloweb program itself is moved into newly introduced helloweb.git repository and, as almost all other software, becomes separate from slapos.git . /cc @jerome
-
- 30 Oct, 2015 1 commit
-
-
Kirill Smelkov authored
Since 7cd2f953 (helloworld: Turn it into real web-service) helloworld SR implements real web-service which talks to outside world with the help of shipped-with-it "hello web" program. Buildout sections which create helloweb service and promise were named based on helloworld prefix though, which is not very consistent. Thus the change for such sections to the same name as the "hello web" program uses. Also for style consistency the "hello web" program is renamed from hello-web to helloweb, as this naming style is usually used for helloworld.{c,py.rb,go,etc} So the final naming is: helloweb for both program and related sections.
-
- 29 Oct, 2015 1 commit
-
-
Kirill Smelkov authored
Slaprunner tries to leverage multicore, and spawns multiple jobs when compiling software, based on `cpu-usage-ratio` parameter. But this currently have effect only on Make-based projects (via setting `MAKEFLAGS=-j<n>`) and does not affect software with different build systems. Let's also provide support for parallel building for NumPy-based software and Ruby gems out of the box. /cc @cedric.leninivin, @kazuhiko, @alain.takoudjou /reviewed-by @jerome, @rafael (on !22)
-
- 27 Oct, 2015 8 commits
-
-
Alain Takoudjou authored
-
Alain Takoudjou authored
-
Alain Takoudjou authored
-
Alain Takoudjou authored
-
Kirill Smelkov authored
Most Ruby projects are built via Bundler[1], e.g. the upcoming GitLab, and Bundler supports building/fetching dependency gems in parallel: http://bundler.io/v1.10/bundle_install.html#jobs via using `--jobs <n>` command line option. All bundler options can be also passed in via environment variable, and this way we can use BUNDLE_JOBS=<n> for default `--jobs <n>`. Let's use it, and this way speedup Ruby-related builds (like we already do for Make- and NumPy- based software). [1] http://bundler.io/ /cc @jerome, @cedric.leninivin, @kazuhiko
-
Kirill Smelkov authored
Starting from NumPy 1.10 numpy's distutils support parallel building http://docs.scipy.org/doc/numpy/user/install.html#basic-installation https://github.com/numpy/numpy/commit/23d54617 and this way software which uses numpy's distutils (scipy, scikit-learn, etc) should support it too. Let's use it, like we currently already use MAKEFLAGS for speeding up make-based projects. /cc @jerome, @cedric.leninivin, @kazuhiko
-
Kirill Smelkov authored
Currently we use '%d' and string formatting on max(1, ncpu / cpu-usage-ratio), because `ncpu / cpu-usage-ratio` is float: In [1]: from __future__ import division In [2]: 8 / 4 Out[2]: 2.0 and jinja2 uses future division by default: {{ 8 / 4 }} -> 2.0 We can however make things more explicit, by explicitly using integer division (// operator) and this way avoid the need for '%d' and string formatting. /cc @jerome, @cedric.leninivin
-
Kirill Smelkov authored
The calculation is full line long, and we are going to reuse this number in a couple of new places, so this way it makes sense to first compute jobs number separately, and then reuse the variable. /cc @jerome, @cedric.leninivin
-
- 26 Oct, 2015 7 commits
-
-
Kirill Smelkov authored
/reviewed-by @kazuhiko (on !21)
-
Alain Takoudjou authored
-
Alain Takoudjou authored
-
Alain Takoudjou authored
-
Alain Takoudjou authored
-
Alain Takoudjou authored
-
Alain Takoudjou authored
-
- 23 Oct, 2015 3 commits
-
-
Alain Takoudjou authored
-
Alain Takoudjou authored
-
Alain Takoudjou authored
-
- 22 Oct, 2015 6 commits
-
-
Julien Muchembled authored
Commit 6f009a9f broke generation of zope-*.conf
-
Vincent Pelletier authored
Partition root should be used to control overall permissions, which is typically a safe-enough 0750 (depending on slapformat and sysadmin). umask is applied at libc mkdir level, so this typically results in 0755 actual permission. More restrictive permissions should only be used when really needed.
-
Kirill Smelkov authored
/reviewed-by @kazuhiko
-
Julien Muchembled authored
This is a follow-up of commit 6f009a9f
-
Alain Takoudjou authored
-
Kazuhiko Shiozaki authored
Conflicts: stack/slapos.cfg
-
- 21 Oct, 2015 6 commits
-
-
Julien Muchembled authored
NEO is still in heavy development and it must be easy to update code on existing deployment.
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
- 19 Oct, 2015 3 commits
-
-
Kirill Smelkov authored
Zope integrated Products.signalstack back in 2010: https://github.com/zopefoundation/Zope/commit/16796274 ( Integrated the Products.signalstack / z3c.deadlockdebugger packages. You can now send a SIGUSR1 signal to a Zope process and get a stack trace of all threads printed out on the console. This works even if all threads are stuck. ) In 404150b7 (wendelin: Teach -dev build to dump all threads traceback on SIGUSR1) it was my mistake to add Products.signalstack. /reviewed-by TrustMe /cc @Tyagov
-
Kazuhiko Shiozaki authored
-
Ivan Tyagov authored
-
- 18 Oct, 2015 1 commit
-
-
Julien Muchembled authored
-
- 16 Oct, 2015 1 commit
-
-
Kazuhiko Shiozaki authored
-
- 15 Oct, 2015 2 commits
-
-
Alain Takoudjou authored
-
Julien Muchembled authored
-