CHANGELOG.rst 11.5 KB
Newer Older
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
1 2 3
=========
 Changes
=========
Łukasz Nowak's avatar
Łukasz Nowak committed
4

Julien Muchembled's avatar
Julien Muchembled committed
5 6 7 8 9 10
0.55 (2022-06-07)
-----------------

- downloadunpacked: fix extraction of symlinks when using an external
  decompressor

Julien Muchembled's avatar
Julien Muchembled committed
11 12 13 14 15 16
0.54 (2022-02-11)
-----------------

- default: allow 'install' to install no file/dir
- default: fix case where 'location' does not contain any directory separator

Julien Muchembled's avatar
Julien Muchembled committed
17 18 19 20 21 22 23 24 25 26
0.53 (2022-01-11)
-----------------

- default: execute 'init' after the 'location' option is automatically set.
- Drop multiarch support: see new 'multiarch' value in conditional configuration
  sections since SlapOS fork of zc.buildout version 2.7.1+slapos015.
- default: make 'self.download' use url&md5sum options if called without url.
- default: add support for xz/lz archives to 'self.extract'.
- download*: new 'offline' option to override ${buildout:offline}.

Julien Muchembled's avatar
Julien Muchembled committed
27 28 29 30 31 32 33
0.52 (2021-12-10)
-----------------

* default, download-unpacked: improve multiarch support
  (for the default recipe, multiarch() replaces guessPlatform()).
* shared: fix trailing whitespace in signature file on Python 2.

Julien Muchembled's avatar
Julien Muchembled committed
34 35 36 37 38 39 40
0.51 (2021-12-08)
-----------------

* download: only take basename of 'filename' when the latter is used to calculate destination path
* download: drop 'mode' option
* gitclone: new 'depth' option

Julien Muchembled's avatar
Julien Muchembled committed
41 42 43 44 45
0.50 (2021-11-29)
-----------------

* download-unpacked: drop unused `environment-section` option

Julien Muchembled's avatar
Julien Muchembled committed
46 47 48 49 50 51 52 53 54 55 56
0.49 (2021-10-04)
-----------------

* download-unpacked: fix `strip-top-level-dir` if unset
  and nothing should be stripped.
* Work around circular imports inside slapos.buildout.
* default: preserve symlinks in `copyTree()` & `extract()`.
* default: fix error handling in `pipeCommand()`.
* shared: change JSON serialization of signature to indent with 2 spaces
  (instead of 0) and to save non-ascii chars as utf-8 (rather than escaped).

Julien Muchembled's avatar
Julien Muchembled committed
57 58 59 60 61 62 63 64 65 66 67
0.48 (2021-09-25)
-----------------

* New API to share parts:

  - new `Shared` class that should be used by recipes to make a part shared;
  - the signature file is in JSON format and
    it is named `.buildout-shared.signature`.

* download*: fix `shared=true` using new `Shared` class.
* download*: new `alternate-url` option.
Julien Muchembled's avatar
Julien Muchembled committed
68
* download-unpacked: decompress directly within target folder to avoid copies
Julien Muchembled's avatar
Julien Muchembled committed
69 70
  accross different file systems.
* default: add support for shared parts.
Julien Muchembled's avatar
Julien Muchembled committed
71 72
* download-unpacked: `environment-section` option is deprecated.
* download-unpacked: `extract-directory` option is dropped.
Julien Muchembled's avatar
Julien Muchembled committed
73 74
* For some boolean options, the value must be either 'false' or 'true'.

Jérome Perrin's avatar
Jérome Perrin committed
75 76 77 78 79
0.47 (2021-07-26)
-----------------

* default: Include current line in the tracebacks on error

Jérome Perrin's avatar
Jérome Perrin committed
80 81 82 83 84
0.46 (2020-09-11)
-----------------

* gitclone: let errors on update propagate

Julien Muchembled's avatar
Julien Muchembled committed
85 86 87 88 89
0.45 (2020-04-20)
-----------------

* default: only set default 'location' option if there's an install script

Julien Muchembled's avatar
Julien Muchembled committed
90 91 92 93 94 95 96 97 98 99 100 101
0.44 (2020-03-20)
-----------------

This release contains several backward-incompatible changes.

* default: remove useless globals & 'self' methods
* default: 'script' renamed to 'install', new 'update', clean up globals/locals
* default: remove 'format' option
* default: check that 'install' script creates 'location'
* default: do not warn if slapos_promise is not set
* default: update doc

Julien Muchembled's avatar
Julien Muchembled committed
102 103 104 105 106 107 108 109 110 111 112 113
0.43 (2020-02-28)
-----------------

* default: new 'init' option.
* default: do not strip 'url', 'md5sum', 'path' automatically
  (these options are not used by the recipe).
* default: drop workaround for script starting with indentation.
* shared: don't touch symlink targets when making read-only recursively.
* vm: no empty floppy/cdrom drives.
* vm: always use GPT.
* vm: switch to XFS.

Julien Muchembled's avatar
Julien Muchembled committed
114 115 116 117 118 119 120
0.42 (2019-10-16)
-----------------

* vm: use virtio-rng with host's /dev/urandom to fix boot delays with recent OS
* vm.run: use -cpu host
* vm.run: new 'drives' option

Julien Muchembled's avatar
Julien Muchembled committed
121 122 123 124 125
0.41 (2019-06-19)
-----------------

* gitclone: add support for submodules, enabled by default.

Julien Muchembled's avatar
Julien Muchembled committed
126 127 128 129 130 131
0.40 (2018-10-29)
-----------------

* shared: fix signature test under Python 3.

0.39 (2018-10-26)
Julien Muchembled's avatar
Julien Muchembled committed
132 133 134 135
-----------------

* More Py3 fixes.

Julien Muchembled's avatar
Julien Muchembled committed
136 137 138 139 140
0.38 (2018-09-13)
-----------------

* download: fix regression in 0.37 breaking support for Python 3

Yusei Tahara's avatar
Yusei Tahara committed
141
0.37 (2018-08-27)
Jérome Perrin's avatar
Jérome Perrin committed
142 143 144
-----------------

* Drop slapos.recipe.build:cpan, use ``perl-CPAN-package`` macro instead.
Yusei Tahara's avatar
Yusei Tahara committed
145
* downloadunpacked, download: add shared feature.
Jérome Perrin's avatar
Jérome Perrin committed
146 147


Julien Muchembled's avatar
Julien Muchembled committed
148 149 150 151 152
0.36 (2017-06-29)
-----------------

* Do not depend on slapos.libnetworkcache, which is optional.

Julien Muchembled's avatar
Julien Muchembled committed
153 154 155 156 157 158
0.35 (2017-06-21)
-----------------

* download: fix default permission of installed files.
* download: do nothing on update if we're sure that the source hasn't changed.

Julien Muchembled's avatar
Julien Muchembled committed
159 160 161 162 163 164 165 166 167 168
0.34 (2017-06-05)
-----------------

* downloadunpacked: make compatible with Python 2.6, now that
  slapos.recipe.cmmi uses it, and we still want to bootstrap
  SlapOS on old OS.
* downloadunpacked: fix clean up of temporary files
* gitclone: assume unclean on uninstall when git-executable cannot be found.
* Add support for Python 3, at least to bootstrap SlapOS from Python 3.

Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
169 170 171 172 173
0.33 (2017-04-07)
-----------------

* download, downloadunpacked: remove downloaded files after unpacking.

Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
174 175 176 177 178
0.32 (2017-03-08)
-----------------

* downloadunpacked: fix an issue in extracting hard links.

Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
179 180 181 182 183 184
0.31 (2017-03-08)
-----------------

* downloadunpacked: support .xz and .lz archives.
* downloadunpacked: extract symlinks in a tar archive as symlinks.

Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
185
0.30 (2017-02-23)
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
186 187 188 189
-----------------

* script option: fix IndentationError with buildout 2, if some lines are indented.

Julien Muchembled's avatar
Julien Muchembled committed
190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205
0.28 (2016-11-08)
-----------------

* vm.run: workaround for old versions of mount

* vm.install-debian:

  - No more limit on the number of preseed parameters, by placing a preseed.cfg
    file inside the initrd, instead of passing them all via the command line.
    The kernel is usually limited to 32 parameters and it panics when there are
    too many.
  - Dist-specific options.
  - Recognize preseed aliases.
  - late-command is run with '/bin/sh -e' and it must exit with EX_OK (0),
    otherwise the installer stops.

Julien Muchembled's avatar
Julien Muchembled committed
206 207 208 209 210
0.27 (2016-10-30)
-----------------

* vm: change how commands can be easily run with a normal user account on the guest

Julien Muchembled's avatar
Julien Muchembled committed
211 212 213 214
0.26 (2016-10-29)
-----------------

* gitclone: new 'shared' option.
Julien Muchembled's avatar
Julien Muchembled committed
215
* vm.install-debian: workaround for spurious "No network interfaces detected"
Julien Muchembled's avatar
Julien Muchembled committed
216 217
* vm: use a normal user account by default

Julien Muchembled's avatar
Julien Muchembled committed
218 219 220 221 222 223
0.25 (2016-10-23)
-----------------

* gitclone: new 'sparse-checkout' option.
* New vm.* recipes to build VM images and execute commands inside them.

Julien Muchembled's avatar
Julien Muchembled committed
224 225 226 227 228 229 230 231 232 233 234
0.24 (2016-10-10)
-----------------

Improvements to default recipe:

* Remove `location` if `script` fails.
* If `location` already exists at install, warn instead of failing.
* `location` can be a file. Similarly, the use of `self.cleanup_dir_list` &
  `self.cleanup_file_list` in `script` is deprecated in favor of
  `self.cleanup_list`.

Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
235 236 237
0.23 (2015-10-22)
-----------------

238
* gitclone: We don't have to fetch, if revision is already present in local git repository
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
239

Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
240 241 242
0.22 (2015-10-19)
-----------------

243
* Support zc.buildout 2.
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
244

Jérome Perrin's avatar
Jérome Perrin committed
245 246
0.21 (2015-04-10)
-----------------
247 248

* Restore support for build scripts
Jérome Perrin's avatar
Jérome Perrin committed
249

250 251
0.20 (2015-03-06)
-----------------
252 253

* rerelease because "missing release" was cached in shacache
254

Jérome Perrin's avatar
Jérome Perrin committed
255 256
0.19 (2015-03-06)
-----------------
257 258 259

* gitclone: REVERT "when update(), if repository has local changes, don't do anything but warn user."
  With this commit, test nodes would not update the repository if it has local changes (eg. from pyc files)
Jérome Perrin's avatar
Jérome Perrin committed
260 261


Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
262 263 264
0.18 (2015-02-05)
-----------------

265 266 267 268
* gitclone: don't do anything at update() if develop=true.
* gitclone: develop is false by default.
* gitclone: don't raise when uninstall if location does not exist.
* gitclone: when update(), if repository has local changes, don't do anything but warn user.
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
269

Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
270 271
0.17 (2015-02-02)
-----------------
Jérome Perrin's avatar
Jérome Perrin committed
272

273
* gitclone: keep local changes when there is an error during update
Jérome Perrin's avatar
Jérome Perrin committed
274

Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
275 276
0.16 (2015-01-12)
-----------------
Jérome Perrin's avatar
Jérome Perrin committed
277

278
* gitclone: fix option name for git-executable
Jérome Perrin's avatar
Jérome Perrin committed
279

280 281 282
0.15 (2014-11-28)
-----------------

283
* build: Fixup! Remove downloaded files at the end.
284

285 286 287
0.14 (2014-10-23)
-----------------

288
* build: Remove downloaded files at the end.
289 290 291 292

0.13 (2014-10-08)
-----------------

293 294 295
* gitclone: do not delete the working copy if develop is set.
* gitclone: revision has priority over branch.
* gitclone: empty parameter equals no parameter.
296

Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
297
0.12 (2013-09-05)
298 299
-----------------

300 301 302 303 304
* gitclone: Do not upload to cache by default. 'use-cache' option replaces 'forbid-download-cache' and must be explicitely set in order to use cache.
* gitclone: Do not cache working copy, which just duplicate `.git` folder.
* gitclone: do not force to use 'master' branch when not specified.
* gitclone: add git 'ignore-ssl-certificate' option.
* gitclone: if directory is no longer present, install, never update.
305

Sebastien Robin's avatar
Sebastien Robin committed
306 307 308
0.11.6 (2013-02-25)
-------------------

309 310
* Cleanup pyc and pyo files when updating git repository
  [Sebastien Robin]
Sebastien Robin's avatar
Sebastien Robin committed
311

Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
312 313 314
0.11.5 (2012-10-01)
-------------------

315 316
* Use @{upstream} git magic value, allow to fix update bugs.
  [Cedric de Saint Martin]
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
317

318
0.11.4 (2012-09-11)
319 320
-------------------

321 322
* libnetworkcache is added back as a dependency. gitclone has no sense without
  it in SlapOS context. [Cedric de Saint Martin]
323 324 325 326

0.11.3 (2012-09-10)
-------------------

327 328
* Removed explicit dependency of slapos.libnetworkcache. If not present, it
  will gracefully degrade. [Cedric de Saint Martin]
329

330
0.11.2 (2012-09-05)
331 332
-------------------

333 334
* Add location to Buildout "options" dict, so that it is exposed to other
  Buildout parts. [Cedric de Saint Martin]
335

Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
336
0.11.1 (2012-09-05)
337 338
-------------------

339 340 341
* Add forbid-download-cache parameter, forbidding to fetch git from cache.
  [Cedric de Saint Martin]
* Sanitize instance attributes. [Cedric de Saint Martin]
342

343 344 345
0.11 (2012-09-04)
-----------------

346
* Add slapos.recipe.build:gitclone recipe. [Cedric de Saint Martin]
347

Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
348
0.10.2 (2012-08-02)
349
-------------------
350

351
* Update manifest to include readme.rst [Cedric de Saint Martin]
352

Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
353 354
0.10.1 (2012-08-02)
-------------------
355

356
* Minor fix in ReST documentation formatting. [Cedric de Saint Martin]
357

358
0.10 (2012-07-02)
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
359
-----------------
360

361
* Add ``format = yes|no`` option. [Antoine Catton]
362

Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
363
0.9 (2012-06-07)
364
----------------
365

366
* Revert accidental release about upcoming version of slapos.recipe.build
367

Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
368
0.8 (2012-06-07)
369 370
----------------

371 372 373
* Add support for "path" argument [Cedric de Saint Martin]
* Cleanup of download entry point [Vincent Pelletier]
* Add npm and cpan entry points [Cedric de Saint Martin]
374

375
0.7 (2011-11-8)
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
376
---------------
Łukasz Nowak's avatar
Łukasz Nowak committed
377

378 379 380
* Generic: Remove directory when needed, and only if it is wanted.
  [Cedric de Saint Martin]
* Add slapos.recipe.downloadunpacked script [Alain Takoudjou]
Łukasz Nowak's avatar
Łukasz Nowak committed
381

Łukasz Nowak's avatar
Łukasz Nowak committed
382
0.6 (2011-09-08)
Łukasz Nowak's avatar
Łukasz Nowak committed
383 384
----------------

385 386 387 388 389 390
* Cmmi: Support more compatibility with other recipes to build, especially
  hexagonit.recipe.cmmi. [Łukasz Nowak]
* Generic: A lot of small improvements (like supporting values with = in
  environment) [Łukasz Nowak]
* Generic: Use shlex to parse some options. [Antoine Catton]
* Generic: Fix patch, it was not working, as not using stdin. [Antoine Catton]
Łukasz Nowak's avatar
Łukasz Nowak committed
391

392 393 394
0.5 (2011-09-06)
----------------

395
* Download: Expose location too for compatiblity. [Łukasz Nowak]
396

Łukasz Nowak's avatar
Łukasz Nowak committed
397
0.4 (2011-09-06)
398 399
----------------

400
* Cmmi: Provide more features to control build process. [Łukasz Nowak]
401

Łukasz Nowak's avatar
Łukasz Nowak committed
402
0.3 (2011-09-05)
403 404
----------------

405
* Provide slapos.recipe.build:download utility. [Łukasz Nowak]
406

Łukasz Nowak's avatar
Łukasz Nowak committed
407
0.2 (2011-09-05)
408 409
----------------

410 411 412 413 414
* Bugfix: Support buildout's download cache during downlading. [Łukasz Nowak]
* Bugfix: Honour correctly passed md5sum to download method. [Łukasz Nowak]
* Feature: Utility methods pipeCommand and failIfPathExists. [Łukasz Nowak]
* Bugfix: Rename promisee to promise. [Łukasz Nowak]
* Feature: Just warn in case of lack of promise. [Łukasz Nowak]
415

416
0.1 (2011-08-26)
Łukasz Nowak's avatar
Łukasz Nowak committed
417
----------------
418

419 420 421
* Add copyTree method to recursively copy [Cedric de Saint Martin]
* add guessPlatform function to guess architecture in case of
  multi-architecture installation [Cedric de Saint Martin]