Commits (67)
-
Kazuhiko Shiozaki authored1c0fc10f
-
Łukasz Nowak authored
In order to have as canonical as possible paths, chomp ../ from filenames and recalculate base.
f1f5bca3 -
Kazuhiko Shiozaki authoredb537e0c3
-
Kazuhiko Shiozaki authored
- Support on the fly patches in zc.recipe.egg by ``EGGNAME-patches``, ``EGGNAME-patch-options``, ``EGGNAME-patch-binary`` (or ``patch-binary``) and ``EGGNAME-patch-revision`` options. - Support on the fly patches in zc.recipe.egg:custom by ``patches``, ``patch-options``, ``patch-binary`` and ``patch-revision`` options. (options ``EGGNAME-*`` are also supported as well).
fc162f31 -
Kirill Smelkov authored
Currently only zc.recipe.egg:custom supports setting environment variables, and zc.recipe.egg:develop does not. My motivation for allowing setting environment in :develop is wendelin.core https://lab.nexedi.cn/nexedi/slapos/blob/b5faab3b/component/wendelin.core/buildout.cfg There we have [wendelin.core] part which installs released egg from pypi, and [wendelin.core-dev] part which installs wendelin.core from its latest git version via zc.recipe.egg:develop . The problem is, wendelin.core for setup.py to work, needs git available, and with slapos we usually don't have git available on base system, so we build it by our own and do something like [wendelin.core-dev] recipe = zc.recipe.egg:develop environment = wendelin.core-dev-env [wendelin.core-dev-env] # wendelin.core-dev needs git to build PATH = ${git:location}/bin:%(PATH)s and the problem is environment does not currently work for zc.recipe.egg:develop, and thus git is not found -> build fails. ~~~~ In order to support environment in :develop, we just move environment setting/restoring bits from Custom to Base, and provide Base.install() which uses this bits. Custom & Develop .install() becomes ._install() which gets hooked into Base.install() . I've tested the patch only manually, because currently automated tests are broken in a lot of places for slapos.buildout and zc.recipe.egg . /cc @kazuhiko, @Tyagov
11c4874f -
Kazuhiko Shiozaki authoredaba00feb
-
Kazuhiko Shiozaki authored24e9aa9a
-
Kazuhiko Shiozaki authored38c25bc2
-
Kazuhiko Shiozaki authored
Even though such configuration is wrong...
33ba3db5 -
Kazuhiko Shiozaki authored835780f3
-
Kazuhiko Shiozaki authored9abac5f8
-
4f074498
-
Kazuhiko Shiozaki authored
--setuptools-version and --buildout-version options in bootstrap script still have the priority.
6843ab97 -
Kazuhiko Shiozaki authored8f81e97c
-
Kazuhiko Shiozaki authored
In SlapOS, bootstrap is called each time software release is invoked and we do not want to delete develop-eggs directory. This reverts commit 55d76b34.
b6c48f55 -
Kazuhiko Shiozaki authored
Add referred parts' hash strings in __buildout_signature__, that invokes rebuild of a part when one of its (recursive) dependencies are modified. Also remove duplicates and sort entries in __buildout_signature__.
4caf6ee9 -
Vincent Pelletier authored
Useful when recipes generate non-string values to be reused by other recipes.
80319d2b -
Julien Muchembled authored
Also, updating a part does not put it anymore at the end of the list of installed parts, that was making .installed.cfg too big.
09ecce3c -
Kazuhiko Shiozaki authored029a1540
-
Julien Muchembled authoredcfaff2c3
-
Kazuhiko Shiozaki authored0f5dbba5
-
Kazuhiko Shiozaki authoredfb39db8c
-
Kazuhiko Shiozaki authored78bd8a83
-
Kazuhiko Shiozaki authored46e380c9
-
Kazuhiko Shiozaki authored4f02f76b
-
Kazuhiko Shiozaki authored44e5bc96
-
Kazuhiko Shiozaki authored66023b81
-
Rafael Monnerat authored
This change fixes bug introduced in https://lab.nexedi.cn/nexedi/slapos.buildout/commit/aba00feb5cc694be6da433d936e29c94f9ae0416 for develop. As _install_setup_eggs is part of Base class, some code from Custom.__init__ had to be moved to Base.__init__ as those were required by _install_setup_eggs implementation as self.link, options['_e'], self.newest and so on. Without this change zc.recipe.egg:develop fail to process.
53997eda -
Rafael Monnerat authored
This commit is part of fixup the "Add setup-eggs option in zc.recipe.egg:develop."
056298e1 -
Rafael Monnerat authored
While invoke setup.py certain eggs (like scikit-learn) launch cetain custom builds (for cython) using subprocess and sys.executable. This commit aims to preserve the sys.path over the runs, even if an egg is using subprocess with the same python to build a component of the egg.
994826ac -
Rafael Monnerat authored248170dc
-
Julien Muchembled authored
Fixup to commit "Add referred parts' hash strings in __buildout_signature__, that invokes rebuild of a part when one of its (recursive) dependencies are modified."
0c8f821b -
Kazuhiko Shiozaki authored0616d200
-
Julien Muchembled authoreda853099d
-
Julien Muchembled authored164c65f0
-
Julien Muchembled authoredf5cbccff
-
Kazuhiko Shiozaki authored53fc6369
-
Kazuhiko Shiozaki authored
Now specified patches are automatically applied on required eggs as well.
ca6a2f94 -
Kazuhiko Shiozaki authored
so that it can be imported even when buildout instance is not initialised.
7b2558f1 -
Kazuhiko Shiozaki authored762a649d
-
Kazuhiko Shiozaki authored1ff46efc
-
Kazuhiko Shiozaki authoredd59ad5fd
-
Łukasz Nowak authored
get is used by __getitem__, but also by other callers as it is public method. So deserialize values if needed on each access by get, and remove now needless deserialization in __getitem__ As Options.get is used internally, add Options._get without deserialisation and use it in places, which expect clean result, and adapt Options.get to be simple wrapper with deserialization without using decoration with functools. /reviewed-on nexedi/slapos.buildout!10
43839169 -
Julien Muchembled authored
zc.buildout >= 2.5.3 is required to use newer versions. This change is required to setup a test environment for this branch.
632b6015 -
Julien Muchembled authored
This fixes a syntax error on Python 3.
f39231c3 -
Julien Muchembled authored06628c2d
-
Julien Muchembled authoredc8adddda
-
Julien Muchembled authored7a5dd160
-
Julien Muchembled authored
Another follow-up to fix MissingOption when the serialised value is None.
33b34339 -
Julien Muchembled authored8b81e256
-
David Beitey authored
Backporting an upstream changes, because recently pypi stops accept download using http ( https://mail.python.org/pipermail/distutils-sig/2017-October/031712.html ) For slapos case, apparently it means all software releases where eggs where not in shacache stop working. /reviewed-on nexedi/slapos.buildout!12
eb27c486 -
Julien Muchembled authored
Contrary to bash, dash filters out environment variables containing '-' characters.
52972b0c -
Maurits van Rees authored
setuptools used to say this: No local packages or download links found for zc.buildout==UNKNOWN Since setuptools 25.1.0 it says this: No local packages or working download links found for zc.buildout==UNKNOWN See also https://github.com/pypa/setuptools/pull/609/files (cherry picked from commit bcd3d9b5)
860da6f4 -
Julien Muchembled authored9788a31b
-
Julien Muchembled authored
To support versions 33.1.1 and 36.6.1 of setuptools.
6c184841 -
Julien Muchembled authored
This reverts commit 632b6015. Since version 36, setuptools bundles again instead of having dependencies.
11f54ea2 -
Yusei Tahara authored
buildout.py: Optimize _compute_part_signatures. Cache recipe signature and calculate once per recipe. Signature calculation is slow, so using cache saves a lot of time when the same recipe is used many times.
95fa0f3d -
Yusei Tahara authored
_install_and_load is slow, using cache saves time when there are many sections.
3d968dce -
Rafael Monnerat authored3f32153f
-
Jérome Perrin authored
When a recipe is developed in a git working copy, .git administrative database folder should be ignored, like we did with CVS and svn. /reviewed-on nexedi/slapos.buildout!14
c970f5cf -
Jérome Perrin authored
When buildout encounter an error, program exists with error code 1, this should also be the case when exiting from a debugger session when running with -D option. /reviewed-on nexedi/slapos.buildout!17
32165a5e -
Jérome Perrin authored46d2dab2
-
Łukasz Nowak authored
None is safe global to be unserialized. /reviewed-on nexedi/slapos.buildout!18
9ff48239 -
Łukasz Nowak authoredbd19e801
-
Yusei Tahara authored98e00a27
-
Yusei Tahara authoredda782167
-
Yusei Tahara authoredc0b64234
Showing
CHANGES.SlapOS.rst
0 → 100644
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.