Debian Codegraph @

NEWS

raw
1 =================
2 buildstream 2.7.0
3 =================
4
5 o Support defining source provenance attributes in project.conf (#2099)
6
7 o Allow multi-source plugins to provide source provenance info per source (#2098)
8
9 o Don't require runtime deps when building projects with `--deps none` (#2102)
10
11 o Add `--artifact-remote` and `--ignore-project-artifact-remotes` options to
12 `bst artifact show` (#2088)
13
14 o Fix build of projects with multiple link elements with the same target (#2097)
15
16 o Fix filesystem write access in `bst shell` with a cached build tree (#2093)
17
18 o Artifact cache fixes to support buildgrid-asset as cache server (#2091)
19
20 o Fix pip plugins installed in editable mode (#2084)
21
22 o Drop support for Python 3.9 (#2085)
23
24 =================
25 buildstream 2.6.0
26 =================
27
28 o Add the `remote-apis-socket` sandbox configuration to offer build tools
29 in the sandbox (e.g., recc or bazel) access to the Remote Execution API
30 for caching or (nested) remote execution (#2014, #2031, #2038)
31
32 o Add the `digest-environment` dependency configuration for use by
33 Remote Execution API clients running in the sandbox (#2036)
34
35 o Additional source provenance in SourceInfo (#2009)
36
37 o Allow showing the element kind in `bst show` (#2058)
38
39 o Accept pre-releases for plugins loaded from the `pip` origin (#2019)
40
41 o BuildStream now requires BuildBox 1.2.6 or later
42
43 o Support Python 3.13.4+ and 3.14 (#2039, #2064, #2067)
44
45 o Support protobuf 6+ (#2043) and Click 8.2+ (#2065)
46
47 =================
48 buildstream 2.5.0
49 =================
50
51 o Fix directory mtime to support latest buildbox-casd (#2001)
52
53 o Fix test cases to work with latest buildbox (#1999)
54
55 o Support gRPC retry and timeout configuration for all remote services (#1987)
56
57 o Fix our setup.py for surprise update of setuptools (#2007)
58
59 o Add Source.collect_source_info() and SourceFetcher.get_source_info() methods,
60 support showing introspected source provenance information in `bst show`,
61 make it possible for absence of implementations of these new methods be fatal,
62 and export some related utilities to help plugins support such (#1997, #2008, #2016, #2018)
63
64 o Some minor fixes to documentation (#1992)
65
66 o Support showing artifact content digests in `bst show` (#1994)
67
68 o Better support for parsing boolean configuration that is exported from
69 project options (#2011, #2006)
70
71 o Better error handling in remote execution if services do not support
72 required sandbox options (#2013)
73
74 o Fix pushing artifacts with remote caches (#2015)
75
76 o Fix build warnings stemming from using outdated grpcio tools (#2017)
77
78 o Fix additional jobs being scheduled after the user has asked to quit (#2005, #1787)
79
80 =================
81 buildstream 2.4.1
82 =================
83
84 o Update default min-version for bst init to 2.4 (#1978)
85
86 o Use subprocess umask support (#1754)
87
88 o Don't use `preexec_fn` on Python 3.11+ (#1980)
89
90 o contrib/bst-graph: Escape names when using as node_id (#1979)
91
92 o _loader: Use the sort algorithm from Python 3.12 for dependencies (#1993)
93
94 =================
95 buildstream 2.4.0
96 =================
97
98 o Add new user configuration for the cache (#1950)
99
100 o docs: fix link to docker install instructions (#1952)
101
102 o Fix console warnings in newer python versions (#1958)
103
104 o Update github CI workflow actions (#1957)
105
106 o Fix `bst artifact show --long` for artifacts with symlinks (#1959)
107
108 o Fix race condition in public data handling (#1955)
109
110 o Cleanup deadcode (#1954)
111
112 o Make remote execution directory fetching more robust (#1962)
113
114 o Disable logging for frequent cache query jobs (#1963)
115
116 o Improve performance when using `storage-service` (#1966)
117
118 o Fixed issues with nested junctions (#1891, #1969, #1975)
119
120 o Drop support for Python 3.8 and add support for Python 3.13 (#1971)
121
122 o Load time optimization for commands which don't require cache queries (#1965)
123
124 o Address deprecation warnings from deprecated pkg_resources (#1948)
125
126 =================
127 buildstream 2.3.0
128 =================
129
130 o Proxy remote asset and remote execution requests via buildbox-casd (#1922, #1926)
131
132 o Optimize bst show when no cached state is needed (#1923)
133
134 o Support %{description} in bst show commands
135
136 o Support HTTP Bearer authentication for remote API servers (#1925)
137
138 o Drop support for Python 3.7 (#1933, #1934, #1936)
139
140 o downloadablefilesource: Add 10 minutes timeout (#1928)
141
142 o tar.py: Always check member paths (#1932)
143
144 o Ensure blobs are available locally when using storage-service (#1938)
145
146 o Support loading source mirror plugins from pip and junction origins (#1931)
147
148 o Restore terminal after exiting a bst shell (#1786)
149
150 o Fail early if buildbox-run is present but non-functional (#1746)
151
152 =================
153 buildstream 2.2.1
154 =================
155
156 o Fix parsing of keepalive time (#1916)
157
158 o Fix alias mapping when using source mirror plugins (#1918)
159
160 o Fix typing of SourceFetcher.fetch() and Source.translate_url():
161 the `alias_override` parameter should be considered opaque.
162
163 o Update documentation regarding the buildbox merge (#1919)
164
165 =================
166 buildstream 2.2.0
167 =================
168
169 o Support Python 3.12 (#1881, #1884)
170
171 o Add suffix parameter to `Source.translate_url()` (#1899)
172
173 o Error out if a YAML mapping has duplicate keys (#1877)
174
175 o New configuration option to set the grpc keepalive time (#1879)
176
177 o Add SourceMirror plugins to allow more flexibility when defining mirrors (#1903)
178
179 o Use system-installed buildbox components over bundled ones if available (#1902)
180
181 o Support bearer authentication in DownloadableFileSource (#1911)
182
183 o Support mapping aliases from subprojects to parent project to ease mirroring (#1910)
184
185 =================
186 buildstream 2.1.0
187 =================
188
189 o Support new architecture name "la64v100" (#1811)
190
191 o Fix race condition when downloading sources (#1831)
192
193 o Properly handle partial download errors (#1846)
194
195 o Fix regressed ETag handling to prevent redundant file downloads (#1834)
196
197 o Fix parsing remotes specified on the command line (#1850)
198
199 o Fix bug when tracking ref-less sources (like local sources) when using project.refs (#1858)
200
201 o Follow semantic versioning more strictly (#1854)
202
203 o New `bst build --retry-failed` feature (#1849)
204
205 o Fix parsing override-project-caches configuration (#1861)
206
207 o Fix crashes when instructed to only download from mirrors, and
208 some sources have no mirrors defined (#1862)
209
210 o Drop unnecessary dependency on dateutil (#1867)
211
212 o Fix severe hangs when can occur when running out of disk
213 space specifically when attempting to open and write to
214 a new log file (#1865)
215
216 =================
217 buildstream 2.0.1
218 =================
219
220 o Stop including generated C code in releases (#1777)
221
222 o Support completions for Zsh shells (#558)
223
224 o Support Python 3.11 (#1782, #1806, #1815, #1759)
225
226 o Fix git submodule tests to work with recent git (#1816)
227
228 o Enable coverage collection in tests (#1817)
229
230 o Optimize file copies where possible (#1793)
231
232 o Some fixes for downloadable file sources (#1826, #1814)
233
234 o Various cleanups of deprecated code and documentation
235
236 =================
237 buildstream 2.0.0
238 =================
239
240 No changes since 1.95.6, releasing voted upon 2.0.0
241
242 ==================
243 buildstream 1.95.6
244 ==================
245
246 o Adding missing license headers to some files in the _testing module
247
248 ==================
249 buildstream 1.95.5
250 ==================
251
252 o Fixed remaining license header issues (in sources and also docs)
253
254 o Documenting how to prepare BuildStream for new python versions
255
256 o Remove generated GPL files from autotools test tarballs
257
258 o Update package metadata urls and author
259
260 ==================
261 buildstream 1.95.4
262 ==================
263
264 o Fixed license headers in source files
265
266 o Attribute third party licenses etc properly in the LICENCE
267 and NOTICE files and ensure they are included in source distributions
268
269 o Removed obsolete update_committers.py script in contrib
270
271 o Require at least the first cython version which properly supported python 3.10
272
273 o Update copyright year and attribution in generated documentation
274
275 ==================
276 buildstream 1.95.3
277 ==================
278
279 o Some fixes to the CI (#1736, #1737)
280
281 o Fix errors passing certs/keys to casd (#1748)
282
283 o Update installation instructions for 2.0 (#1741)
284
285 o Fix issues using `storage-service` (#1750)
286
287 o Revert to previous mirror ordering behavior when tracking (#1765)
288
289
290 ==================
291 buildstream 1.95.2
292 ==================
293
294 o Fix stack traces in tab completion of `bst artifact` commands (#1718)
295
296 o Document new link to obtain latest static buildbox binaries (#1721)
297
298 o Allow `bst shell --build` directly on artifacts without needing a project (#1711)
299
300 o Refactor out some unused methods (#781)
301
302 o Continue pushing build results if builds fail when --on-error=quit (#534)
303
304 o Fix issue which sometimes caused messages to get lost in the master log (#1728)
305
306 o Fix remaining ruamel.yaml deprecation warnings (#1731)
307
308 o Only print the last failure for retried failed elements (#517)
309
310 o Enhance BuildElement documentation (#1734)
311
312 o Automatically publish binary wheels which contain static BuildBox binaries when releasing (#1712)
313
314
315 ==================
316 buildstream 1.95.1
317 ==================
318
319 o Fixed issue loading refs from project.refs files in subprojects (#1655)
320
321 o Fixed `bst artifact checkout` on machines which do not support the
322 artifact's build architecture (#1352)
323
324 o Rebuild protos to support newer grpc versions (#1665)
325
326 o Support the RISC-V machine architecture name (#1577)
327
328 o Record date and buildstream version in all build logs (#184)
329
330 o Updated internals to be compliant with REAPI v2.2 (#1676)
331
332 o Avoid adding unnecessary data to CAS (#1677, #1678)
333
334 o Disable unneeded gRPC fork support which sometimes causes crashes (#1679)
335
336 o Added runtime version checks against buildbox-casd (#1189)
337
338 o Resolve variables in include files in the context of their project (#1485)
339
340 o Retry failed builds in non-strict mode (#1460)
341
342 o Optimize staging of sources (#1680)
343
344 o Fixed `bst artifact delete` in non-strict mode (#1461)
345
346 o Allow conditional statements in toplevel of project.conf (#1683)
347
348 o Fix crashes related to cross-project includes / plugin loading (#1686)
349
350 o Fix addressing of subproject elements on command line (#1455)
351
352 o Ensure CAS does not get corrupted on systems without buildbox-fuse (#1700)
353
354 o Optimization when importing files to/from CAS (#1697, #1698)
355
356 o Print errors in advance of the interactive prompt (#1394)
357
358 o Fixed Source.set_ref() code to behave as documented (#1685)
359
360 o Updated installation instructions (#1705, #1710)
361
362 o Support interactive build shells with all elements (#1263)
363
364 o Reduce information encoded in cache keys for elements which do not use the sandbox (#1687)
365
366
367 ==================
368 buildstream 1.95.0
369 ==================
370
371 Core
372 ----
373 o BuildStream now requires Python >= 3.7 and also supports Python 3.10.
374
375
376 API
377 ---
378 o BREAKING CHANGE: Removed SandboxFlags from public API, replaced this
379 with a `root_read_only` boolean parameter to relevant Sandbox APIs.
380
381
382 Format
383 ------
384 o BREAKING CHANGE: Element names must now bare the `.bst` suffix and not
385 contain invalid characters, as was already documented. Now the warning
386 is replaced by an unconditional error.
387
388 o User configuration now has the ability to override source mirrors defined
389 by project configuration.
390
391 o User configuration now has fetch source and track source configurations to
392 control what mirrors/URIs can be accessed to obtain sources.
393
394 CLI
395 ---
396 o BREAKING CHANGE: Removed `--deps plan` from all commands
397
398 o The `--pull` option is removed from the `bst shell` and `bst artifact checkout`
399 commands, which will now unconditionally try to pull required artifacts.
400
401 o BREAKING CHANGE: Now the artifact commands only accept element names if specified
402 with a `.bst` suffix (including wildcard expressions), and otherwise assumes the
403 command means to specify an artifact name.
404
405
406 ==================
407 buildstream 1.93.6
408 ==================
409
410 Format
411 ------
412 o The `script` element no longer has a `layout` configuration directly, and now
413 exposes a new `location` dependency configuration instead.
414
415 o The BuildElement now has a new `location` dependency configuration, allowing
416 BuildElement plugins to also stage dependencies into custom locations in
417 the sandbox.
418
419 o BREAKING CHANGE: Stack element dependencies are now hard required to be
420 both build and runtime dependencies.
421
422 o BREAKING CHANGE: The old and deprecated "remote-execution" configuration style
423 is no longer supported, one must now specify the "execution-service" block
424 and cannot specify a "url" in the "remote-execution" dictionary anymore.
425
426 o BREAKING CHANGE: Full redesign of remote cache configurations, junction
427 configurations related to artifact pulling/pushing policies have been
428 removed, users will need to view the new documentation and update
429 cache configuration accordingly.
430
431 Core
432 ----
433
434 o BuildStream now also supports Python 3.9.
435
436 o BREAKING CHANGE: Changed API signatures to remove Scope type from the API
437 - Element.dependencies()
438 - Element.stage_dependency_artifacts()
439 - Element.search()
440 Elements now can only ever see dependencies in their build scope.
441
442 * BREAKING CHANGE: Changed ScriptElement.layout_add() API to take Element instances
443 in place of Element names
444
445 CLI
446 ---
447
448 o BREAKING CHANGE: `bst shell --use-buildtree` is now a boolean flag.
449 `--use-buildtree=ask` and `--use-buildtree=try` are no longer supported.
450
451 o BREAKING CHANGE: `--remote` options removed, replaced by `--artifact-remote` or `--source-remote`
452
453 o BREAKING CHANGE: All old obsolete/deprecated commands removed, including:
454 - bst fetch (now bst source fetch)
455 - bst track (now bst source track)
456 - bst checkout (now bst artifact checkout)
457 - bst pull (now bst artifact pull)
458 - bst push (now bst artifact push)
459
460
461 ==================
462 buildstream 1.93.5
463 ==================
464
465 Format
466 ------
467
468 o BREAKING CHANGE: Some project.conf keys are no longer allowed to be specified outside
469 of the project.conf file (they cannot be specified in an include file), these include:
470 - name
471 - element-path
472 - min-version
473 - plugins
474
475 CLI
476 ---
477
478 o Add `bst source push` subcommand. This command pushes element sources to a
479 remote source cache.
480 o `bst source track` now also accepts "build" and "run" as inputs.
481
482 Artifacts
483 ---------
484
485 o BREAKING CHANGE: Use Remote Asset API for remote artifact and source caches.
486 Existing artifact servers are not compatible and need to be updated to the
487 latest version which will then allow them to be repopulated with new
488 artifacts.
489
490 Plugins
491 -------
492
493 o tar: filter out 'dev' nodes from the tar archives when extracting them
494
495 o `buildstream.testing` module now requires pytest >= 6.0.1.
496
497
498 ==================
499 buildstream 1.93.4
500 ==================
501
502 Core
503 ----
504
505 o The bwrap sandboxing backend and the SafeHardlinks FUSE filesystem
506 have been dropped. buildbox-run is now the only sandboxing backend.
507
508
509 CLI
510 ---
511
512 o `bst shell --build` will now automatically fetch missing sources.
513 o `bst build --deps` now also accepts "build" as an input.
514 o `bst source fetch --deps` now also accepts "build" and "run" as inputs.
515 o `bst artifact pull --deps` now also accepts "build" and "run" as inputs.
516 o `bst artifact push --deps` now also accepts "build" and "run" as inputs.
517 o Full paths can now be used to address elements across multiple junction boundaries
518
519
520 Format
521 ------
522
523 o BREAKING CHANGE: Now deprecation warnings are suppressed using the `allow-deprecated`
524 configuration with the plugin origins in project.conf, instead of on the
525 source/element overrides section (See issue #1291)
526 o BREAKING CHANGE: The `target` option of junctions has been completely removed,
527 Use `link` elements instead.
528 o Variables from an element can now be used in source configurations
529 o Full paths can now be used to address elements across multiple junction boundaries
530 o A new "junction" plugin origin allows loading of plugins across junction boundaries
531 o Support buildstream2.conf as a user configuration, allowing parallel installation
532 of bst 1 & bst 2
533
534
535 Plugins
536 -------
537
538 o Cache keys will change for all elements that have defined the
539 `command-subdir` variable. This is the result of fixing a bug where this
540 variable was not included in the cache key correctly.
541 o The `pip` element has been removed. Please use the one from bst-plugins-experimental
542 o Introduced new `link` element which can be used as a symbolic link to other
543 elements or junctions, in the local project or in subprojects.
544 o The DownloadableFileSource is now public API
545
546 API
547 ---
548
549 o `Element.node_subst_vars` and `Element.node_subst_sequence_vars` are now deprecated
550 and will get removed in the next version. All config entries are now resolved so there
551 is no need to use them anymore.
552
553
554 ==================
555 buildstream 1.93.3
556 ==================
557
558 o BREAKING CHANGE: Removed BST_REQUIRED_VERSION_[MAJOR/MINOR] from plugin base class,
559 this is now replaced with BST_MIN_VERSION which is now a hard requirement.
560
561 o BREAKING CHANGE: Removed BST_FORMAT_VERSION from plugin base class, this is no
562 longer supported.
563
564 o buildbox-run is now the default sandbox backend on all platforms
565
566
567 ==================
568 buildstream 1.93.2
569 ==================
570
571 Core
572 ----
573
574 o BuildStream now requires Python >= 3.6.
575
576 o BREAKING CHANGE: Conditional directives `(?)` from files included
577 through junctions are evaluated with the options defined in the
578 sub project the file comes from.
579
580 o BREAKING CHANGE: "format-version" is removed and replaced with "min-version",
581 which is now required to be specified in project.conf.
582
583 o Incremental workspace builds are supported again.
584
585 CLI
586 ---
587
588 o BREAKING CHANGE: `bst shell --sysroot` has been removed. This is no longer
589 needed now that we support caching buildtrees in CAS.
590
591 API
592 ---
593
594 o The `Directory` API has been extended to cover the use cases of more
595 element plugins.
596
597
598 ==================
599 buildstream 1.93.1
600 ==================
601
602 API
603 ---
604
605 o `ErrorDomain` and `LoadErrorReason` are now available in the public
606 `buildstream.exceptions` module for use in test suites of external plugins.
607
608 Plugins
609 -------
610
611 o The 'git' source will now only fetch a single revision when its ref is set
612 to an exact tag in git-describe format (...-0-g...).
613
614 o When a 'git' source has a ref in git-describe format, only the commit
615 ID is used when calculating the element's cache key. This means you can
616 change between ref formats without having to rebuild the element.
617
618
619 ==================
620 buildstream 1.93.0
621 ==================
622
623 CLI
624 ---
625
626 o BREAKING CHANGE: `bst show` will now output `junction` instead
627 of `buildable` for the state of junction elements, as they can't
628 be built.
629
630 API
631 ---
632
633 o BREAKING CHANGE: The entry point groups used for element and source plugins
634 are now separate. Elements must be defined in `buildstream.plugins.elements`
635 group, and sources in `buildstream.plugins.sources`.
636
637 o External plugins can now register a `buildstream.tests.source_plugins` entrypoint.
638 The entry point can have an arbitrary name, but its value should point to a module
639 containing a `register_sources()` method.
640 This method should call `register_repo_kind` for all sources you want to have
641 tested in BuildStream.
642 Plugins authors that do this and believe BuildStream should be testing that
643 part of their plugins should open an issue on BuildStream.
644
645 o BREAKING CHANGE: `Consistency` has been removed and
646 `Source.get_consistency()` has been replaced by `Source.is_resolved()`
647 and `Source.is_cached()`.
648
649 `Source.is_resolved()` has a default of `self.get_ref() is not None`,
650 so if the only thing your plugin requires for being resolved is to
651 have a valid ref, you don't need to do anything there.
652
653 `Source.is_cached()` is there to replace a `Consistency.CACHED`
654 implementation and will need to be implemented by plugin authors.
655
656 Core
657 ----
658
659 o BREAKING CHANGE: Once a source has been put in the internal BuildStream
660 cache, its content will not get checked for validity unless a workspace
661 is opened on it. If you see a warning that was not fatal as you fetch
662 your source and want to re-test it to make sure it's gone without changing
663 its ref (most plugins would handle that correctly), you will need to delete
664 the internal source cache first.
665
666 Plugins
667 -------
668
669 o BREAKING CHANGE: deb plugin have been moved to the bst-plugins-experimental
670 repository.
671
672 Miscellaneous
673 -------------
674
675 o By default the update rate of builstream console output
676 (e.g. messages & status updates) when executing a scheduler driven task is
677 restricted to once per second, known as the tick, with messages being batched
678 in the intervening periods if necessary. This restriction can be lifted with
679 `throttle-ui-updates: False` in user configuration. Logging behaviour remains
680 unaffected by this configuration.
681
682
683 ==================
684 buildstream 1.91.3
685 ==================
686
687 CLI
688 ---
689
690 o BREAKING CHANGE: Commands no longer accept any options related to
691 tracking. Please use `bst source track` separately prior to
692 running commands, if you need similar functionality. The full list
693 of removed options is as follows:
694
695 * `bst build --track`
696 * `bst build --track-all`
697 * `bst build --track-except`
698 * `bst build --track-cross-junctions` / `bst build -J`
699 * `bst build --track-save`
700 * `bst source fetch --track`
701 * `bst source fetch --track-cross-junctions` / `bst source fetch -J`
702 * `bst workspace open --track`
703 * `bst workspace reset --track`
704
705 Plugins
706 -------
707
708 o The 'git' source will now fetch submodules recursively when
709 its 'checkout-submodules' option is enabled.
710
711 API
712 ---
713
714 o Sources may force early staging to cache by advertising
715 `BST_KEY_REQUIRES_STAGE`. Sources setting this are staged to the cache to
716 generate unique keys. `WorkspaceSource` and `LocalSource` set this.
717
718 Core
719 ----
720
721 o BuildStream now supports Python 3.8. Note that due to a bug in the 3.8.0
722 series, BuildStream requires Python >= 3.8.1 when running on Python 3.8.
723
724 o BuildStream now also supports the following machine architectures:
725
726 * powerpc
727 * powerpc64
728 * powerpc64le
729 * sun4v
730
731
732 ==================
733 buildstream 1.91.2
734 ==================
735
736 o Various bug fixes.
737
738
739 ==================
740 buildstream 1.91.1
741 ==================
742
743 API
744 ---
745
746 o BREAKING CHANGE: 'Element.node_subst_member' has been removed. Please use
747 'Element.node_subst_vars' instead.
748
749 o BREAKING CHANGE: 'Element.node_subst_list' has been removed. Please use
750 'Element.node_subst_sequence_vars' instead.
751
752 o BREAKING CHANGE: Workspace incremental builds have been temporarily disabled
753
754 o A new 'Node.strip_node_info()' is available and allows getting the
755 underlying data structure for the given node.
756
757 o BuildStream now requires Buildbox-casd 0.0.3 at minimum
758
759
760 ==================
761 buildstream 1.91.0
762 ==================
763 This release is a development snapshot, without any compatibility guarantees.
764 (The list of changes is non-exhaustive)
765
766 CLI
767 ---
768
769 o BREAKING CHANGE: `bst track` and `bst fetch` commands are now obsolete.
770 Their functionality is provided by `bst source track` and
771 `bst source fetch` respectively.
772
773 o BREAKING CHANGE: The top level commands `checkout`, `push` and `pull` have
774 been moved to the `bst artifact` subcommand group and are now obsolete.
775 For example, you must now use `bst artifact pull hello.bst`.
776
777 The behaviour of `checkout` has changed. The previously mandatory LOCATION
778 argument should now be specified with the `--directory` option. In addition
779 to this, `--tar` is no longer a flag, it is a mutually incompatible option
780 to `--directory`. For example, `bst artifact checkout foo.bst --tar foo.tar.gz`.
781
782 o BREAKING CHANGE: `bst workspace open` now supports the creation of multiple
783 elements and allows the user to set a default location for their creation.
784 This has meant that the new CLI is no longer backwards compatible with
785 BuildStream 1.2.
786
787 o BREAKING CHANGE: The `bst build` command no longer accepts the `--all`
788 option. It now accepts `--deps` with a choice of 'plan' (default) and
789 'all', for equivalent behaviour.
790
791 o BREAKING CHANGE: `bst init` no longer uses the `--directory` or `-C`
792 option. Instead, it (optionally) takes a directory as an argument.
793
794 o BREAKING CHANGE: The `bst source-bundle` command has been removed. The
795 functionality it provided has been replaced by the `--include-build-scripts`
796 option of the `bst source checkout` command. To produce a tarball containing
797 an element's sources and generated build scripts you can do the command
798 `bst source checkout --include-build-scripts --tar foo.tar foo.bst`.
799
800 A `--compression` option is also supported when using `--tar` which supports
801 xz, gz and bz2 compression.
802
803 o BREAKING CHANGE: The 'auto-init' functionality has been removed. This would
804 offer to create a project in the event that bst was run against a directory
805 without a project, to be friendly to new users. It has been replaced with
806 an error message and a hint instead, to avoid bothering folks that just
807 made a mistake.
808
809 o BREAKING CHANGE: The unconditional 'Are you sure?' prompts have been
810 removed. These would always ask you if you were sure when running
811 'bst workspace close --remove-dir' or 'bst workspace reset'. They got in
812 the way too often.
813
814 o Added `bst artifact show` subcommand which shows the cached status
815 of an artifact. If project/user remotes are available, they are checked
816 for the target elements (and their deps, if specified). Artifacts available
817 in remotes are displayed as "available".
818
819 o Added `bst artifact list-contents` subcommand which can display the names
820 of files in artifacts in your artifact cache, either by element name
821 or by direct artifact reference. --long option can be used to display more
822 information; file type and size.
823
824 o Added `bst artifact delete` subcommand. This command removes artifacts from
825 the local cache. Multiple element names and artifact refs can be specified
826 as arguments.
827
828 o Added `bst artifact log` subcommand for viewing build logs.
829
830 o Added new `bst source checkout` command to checkout sources of an element.
831
832 o Running commands without elements specified will now attempt to use
833 the default targets defined in the project configuration.
834 If no default target is defined, all elements in the project will be used.
835
836 o bst 'build' now has '--remote, -r' option, inline with bst 'push' & 'pull'.
837 Providing a remote will limit build's pull/push remote actions to the given
838 remote specifically, ignoring those defined via user or project configuration.
839
840 o `bst shell --sysroot` now takes any directory that contains a sysroot,
841 instead of just a specially-formatted build-root with a `root` and `scratch`
842 subdirectory.
843
844 o Creating a build shell through the interactive mode or `bst shell --build`
845 will now use the cached build tree if available locally. It is now easier to
846 debug local build failures.
847
848
849 Plugins
850 -------
851
852 o BREAKING CHANGE: cmake, make, makemaker, meson, modulebuild and qmake
853 plugins have been moved to the bst-plugins-experimental repository.
854
855 o BREAKING CHANGE: The 'manual' element lost its default 'MAKEFLAGS' and 'V'
856 environment variables. There is already a 'make' element with the same
857 variables. Note that this is a breaking change, it will require users to
858 make changes to their .bst files if they are expecting these environment
859 variables to be set.
860
861 o BREAKING CHANGE: The `git` plugin does not create a local `.git`
862 repository by default. If `git describe` is required to work, the
863 plugin has now a tag tracking feature instead. This can be enabled
864 by setting 'track-tags'.
865
866 o Added new `pip` source plugin for downloading python packages using pip,
867 based on requirements files from previous sources.
868
869
870 API
871 ---
872
873 o BREAKING CHANGE: The yaml API has been rewritten entirely. When accessing
874 configuration from YAML, please use the new `Node` classes exposed in the
875 `buildstream` package. See the documentation for how to use it.
876
877 This change has also removed the need of a YAML cache as it proved to no
878 longer be of benefit.
879
880 o There is a new sandbox API for command batching. It is used for build,
881 script, and compose elements.
882
883 o Source plugins may now request access access to previous during track and
884 fetch by setting `BST_REQUIRES_PREVIOUS_SOURCES_TRACK` and/or
885 `BST_REQUIRES_PREVIOUS_SOURCES_FETCH` attributes.
886
887
888 Configuration Format
889 --------------------
890
891 o Elements may now specify 'build-depends' and 'runtime-depends' fields
892 to avoid having to specify the dependency type for every entry in
893 'depends'.
894
895 o Junction elements may now specify another junction as their target, using
896 the `target` configuration option.
897
898 o Elements may now specify cross-junction dependencies as simple strings
899 using the format '{junction-name}:{element-name}'.
900
901
902 Core
903 ----
904
905 o BREAKING CHANGE: Reverted the default behaviour of junctions. Subproject
906 elements will no longer interact with the parent project's remote (by
907 default). To enable this behaviour, a new "cache-junction-elements" boolean
908 can be optionally declared as part of your junction element's configuration.
909 Additionally, a new "ignore-junction-remotes" option has also been
910 introduced. This allows you to completely ignore subproject remotes when
911 using the parent project.
912
913 o BREAKING CHANGE: Symlinks are no longer resolved during staging and absolute
914 symlinks are now preserved instead of being converted to relative symlinks.
915
916 o BREAKING CHANGE: Overlap whitelists now require absolute paths. This allows
917 use of variables such as %{prefix} and matches the documentation.
918
919 o BREAKING CHANGE: Default strip-commands have been removed as they are too
920 specific. Recommendation if you are building in Linux is to use the
921 ones being used in freedesktop-sdk project, for example
922
923 o All elements should now be suffixed with `.bst`.
924 Attempting to use an element that does not have the `.bst` extension,
925 will result in a warning.
926
927 o Failed builds are included in the cache as well.
928 `bst artifact checkout` will provide anything in `%{install-root}`.
929 A build including cached fails will cause any dependant elements
930 to not be scheduled and fail during artifact assembly,
931 and display the retry prompt during an interactive session.
932
933 o Added Basic support for the BuildBox sandbox. The sand box will only be
934 used if the environment variable BST_FORCE_SANDBOX is set to `buildbox`.
935 This is the first step in transitioning to only using BuildBox for local
936 sandboxing.
937
938
939 Artifacts
940 ---------
941
942 o BREAKING CHANGE: Artifact as a Proto. The caching of BuildStream artifacts
943 has changed from a reference based impelementation. Existing artifacts and
944 artifact servers are not compatible, as such remote artifact servers need to
945 be updated to the latest version which will then allow them to be repopulated
946 with new artifacts.
947
948 o BREAKING CHANGE: The project name of dependencies have been included when
949 calculating the cache key. This was required to keep inline with the
950 artifact proto. Additionally, for strict mode, the name of dependencies have
951 also been included in the calculation of the cache key. This is again to
952 keep inline with the proto, but also to maintain symmetry in the behaviour
953 between the strict and non-strict modes.
954
955 o Due to the element `build tree` being cached in the respective artifact their
956 size in some cases has significantly increased. In *most* cases the build trees
957 are not utilised when building targets, as such by default bst 'pull' & 'build'
958 will not fetch build trees from remotes. This behaviour can be overridden with
959 the cli main option '--pull-buildtrees', or the user configuration cache group
960 option 'pull-buildtrees = True'. The override will also add the build tree to
961 already cached artifacts. When attempting to populate an artifactcache server
962 with cached artifacts, only 'complete' elements can be pushed. If the element
963 is expected to have a populated build tree then it must be cached before pushing.
964
965 o Artifacts can now be cached explicitly with an empty `build tree` when built.
966 Element types without a build-root were already cached with an empty build tree
967 directory, this can now be extended to all or successful artifacts to save on cache
968 overheads. The cli main option '--cache-buildtrees' or the user configuration cache
969 group option 'cache-buildtrees' can be set as 'always', 'auto' or 'never', with
970 the default being 'auto'. Note, as the cache-key for the artifact is independent of
971 the cached build tree input it will remain unaltered, however the availbility of the
972 build tree content may differ.
973
974
975 Workspaces
976 ----------
977
978 o Due to enabling the use of relative workspaces, "Legacy" workspaces
979 may need to be closed and remade before the changes will affect them.
980 Downgrading after using this feature may result in workspaces
981 not functioning correctly
982
983 o Opening a workspace now creates a .bstproject.yaml file that allows BuildStream
984 commands to be run from a workspace that is not inside a project.
985
986 o Specifying an element is now optional for most commands when BuildStream is run
987 from inside a workspace. See CLI reference for more details.
988
989 o Added Documentation on how to create out of source builds. This includes the
990 new the `conf-root` variable to make the process easier. And there has been
991 a bug fix to workspaces so they can be build in workspaces too.
992
993
994 Miscellaneous
995 -------------
996
997 o Generate Docker images from built artifacts using
998 `contrib/bst-docker-import` script.
999
1000
1001 =================
1002 buildstream 1.1.5
1003 =================
1004
1005 o Added a `--tar` option to `bst checkout` which allows a tarball to be
1006 created from the artifact contents.
1007
1008 o Fetching and tracking will consult mirrors defined in project config,
1009 and the preferred mirror to fetch from can be defined in the command
1010 line or user config.
1011
1012 o Added new `remote` source plugin for downloading file blobs
1013
1014 o Added support for the new include '(@)' directive in project.conf and .bst files
1015
1016
1017 =================
1018 buildstream 1.1.4
1019 =================
1020
1021 o `bst workspace` commands and `bst track` will substitute their
1022 source elements when performing those operations, e.g. performing
1023 `bst track` on a filter element will track the sources on the
1024 element that it depends on (if it has sources).
1025
1026 o Added new simple `make` element
1027
1028 o Switch to Remote Execution CAS-based artifact cache on all platforms.
1029
1030 Artifact servers need to be migrated.
1031
1032 o BuildStream now requires python version >= 3.5
1033
1034 o BuildStream will now automatically clean up old artifacts when it
1035 runs out of space. The exact behavior is configurable in the user's
1036 buildstream.conf.
1037
1038
1039 =================
1040 buildstream 1.1.3
1041 =================
1042
1043 o Added new `bst init` command to initialize a new project.
1044
1045 o Cross junction tracking is now disabled by default for projects
1046 which can support this by using project.refs ref-storage
1047
1048 New options have been added to explicitly enable cross-junction
1049 tracking.
1050
1051 o Failed jobs are now summarised at the end of a build.
1052
1053 Use `--verbose` and `--no-verbose` to adjust the amount of detail given.
1054
1055 o BuildElements' `configure-commands` are only run once for
1056 workspaces now, which allows for incremental builds.
1057
1058 Appropriate API for plugins is also exposed through
1059 `Element.prepare`.
1060
1061 o The `cmake` plugin now supports building with ninja with the
1062 newly added `generator` configuration option.
1063
1064 o `bst workspace close` and `bst workspace reset` now support multiple
1065 elements. All elements can be specified using `--all`.
1066
1067 o The elements whose cache keys had to be determined during the build
1068 are summarised at the end of the build.
1069
1070 o Fixed versioning introspection to be dynamic, many users use
1071 a developer install mode so they can update with git, now the
1072 version information is always up to date in logs.
1073
1074 This causes a minor API break: The --version output now only
1075 outputs the version.
1076
1077
1078 =================
1079 buildstream 1.1.2
1080 =================
1081
1082 o New ref-storage option allows one to store source refs, such
1083 as git shas, in one central project.refs file instead of inline
1084 with the source declarations.
1085
1086 o Deprecated `--track-save` optionality in `bst build`, this
1087 does not make sense to support now that we have project.refs.
1088
1089 o Added the `sandbox` configuration option which can be used in
1090 `project.conf` and elements, to control the user ID and group ID
1091 used in build sandboxes.
1092
1093 o Added new `deb` source implementation, for staging of downloaded
1094 deb package files.
1095
1096
1097 =================
1098 buildstream 1.1.1
1099 =================
1100
1101 o New project configuration controlling how the sandbox behaves
1102 when `bst shell` is used; allowing projects to provide a more
1103 functional shell environment.
1104
1105 o The `bst shell` command now has a `--mount` option allowing
1106 users to mount files and directories into the sandbox for
1107 testing purposes.
1108
1109 o Log lines are now configurable with the new "message-format"
1110 user configuration, allowing one to express optional fields
1111 such as microsecond precision and wallclock time.
1112
1113 o Newly added filter element
1114
1115 o Git source plugin now allows disabling of submodule checkouts
1116
1117 o In the same way we allow overriding element configurations
1118 by their 'kind' in project.conf, we now support the same
1119 for source plugin configurations.
1120
1121 o Tar and zip sources now automatically recall an `etag`
1122 from the http headers, optimizing tracking of tarballs
1123 significantly (issue #62)
1124
1125
1126 =================
1127 buildstream 1.1.0
1128 =================
1129
1130 o Multiple artifact caches are now supported in project and
1131 user configuration with a priority order (issue #85)
1132 o Add junction support for subprojects
1133 o Changes towards incremental builds in workspaces
1134 o `bst shell --build` now creates true build sandbox
1135 o Many bug fixes
1136
1137
1138 =================
1139 buildstream 1.0.0
1140 =================
1141 First stable release of BuildStream
1142
1143 BuildStream 1.0.0 is all about API stability - for the past months we
1144 have been reviewing our various API surfaces, implementing strategies
1145 for revisioning of our interfaces and cleaning up. Long term stability
1146 is very important for build reproducibility over time, and this release
1147 is the first promise we are making on any API surfaces.
1148
1149 Stable API surfaces include:
1150 o The command line interface
1151 o The YAML user configuration file format
1152 o The YAML project `.bst` file format
1153 o The core Python module imported by external plugins