1. 25 Feb, 2019 1 commit
    • Chandan Singh's avatar
      loader: Allow dependencies to use ":" to refer to junctioned elements · 88ace418
      Chandan Singh authored
      This will allow cross-junction dependencies to be listed as strings on a
      single line.
      
      As part of this, some logic around initializing `Dependency()` objects
      have been moved out of `_extract_depends_from_node()` method into the
      constructor of `Dependency()` class, to keep all related code in one
      place.
      
      * _loader/types.py: While initializing `Dependency` objects, attempt to
                          split filenames, only if no `junction` was specified
                          explicitly. If a `junction` was specified, then
                          filenames with `:` in their names will result in an
                          error.
      
      * _loader/loadelement.py: Refactor logic to initialize `Dependency()`
                                objects to move it to the `Dependency()`
                                constructor.
      
      * tests/frontend/buildcheckout.py: Add tests to ensure the above.
      
      * _versions.py: Bump BST_FORMAT_VERSION.
      
      Fixes #809.
      88ace418
  2. 20 Feb, 2019 1 commit
  3. 14 Feb, 2019 2 commits
  4. 24 Jan, 2019 1 commit
  5. 06 Dec, 2018 1 commit
    • Tristan Van Berkom's avatar
      git source plugin: Implementing submodule warnings · ee7fc47f
      Tristan Van Berkom authored
       o Unlisted submodule warning
      
         Now the git plugin will issue a configurable warning if a submodule
         exists and is used (checking out the submodule is not disabled),
         but is not specified in the source configuration.
      
       o Invalid submodule warning
      
         Now the git source plugin will issue a warning if the configuration
         specified a submodule which does not exist in the underlying git repository.
      
      As a side effect, this patch also changes the flow control of the git
      plugin such that submodules which are explicitly set to not be
      checked out, are also not fetched but instead ignored completely.
      ee7fc47f
  6. 05 Dec, 2018 1 commit
    • Valentin David's avatar
      git source plugin: Track git tags and save them to reproduce a minimum shallow repository · 82513109
      Valentin David authored
      Instead of tag information being fetched which can change with time,
      they are tracked and saved in the projects.refs/.bst. Then we re-tag
      automatically the closest tag so that `git describe` works and is
      reproducible.
      
      This new feature is opt-in with the new `track-tags` configuration,
      and must be used to fix modules which are broken by our new policy
      of omitting the `.git/` repository when staging git sources.
      
      This fixes issue #487
      82513109
  7. 01 Nov, 2018 1 commit
    • Angelos Evripiotis's avatar
      BREAK: manual.yaml: don't set any default env vars · 4cfabce8
      Angelos Evripiotis authored
      Remove the 'MAKEFLAGS' and 'V' defaults.
      
      Now that there is a specialised 'make' element, these make-specific
      defaults don't make sense here. This element is meant to be a blank
      slate for folks to build on.
      
      Note that this is a breaking change, that will require some users to
      make changes to their .bst files if they are expecting these environment
      variable to be set.
      
      _versions.py: BST_FORMAT_VERSION bumped to 18.
      
      This fixes issue #718
      4cfabce8
  8. 16 Oct, 2018 1 commit
  9. 16 Sep, 2018 1 commit
    • richardmaw-codethink's avatar
      Bump Artifact Version · c8fab440
      richardmaw-codethink authored
      Since we now set PWD in the environment of builds
      existing builds may behave differently so must cache differently now.
      c8fab440
  10. 15 Aug, 2018 2 commits
    • Chandan Singh's avatar
      Add pip source plugin · a7a82650
      Chandan Singh authored
      `pip` source plugin can stage python packages that are either specified
      directly in the element definition or picked up from `requirements.txt`
      from previous sources. In order to support the latter use-case
      (which is also the primary motivation for this plugin), this plugin
      requires access to previous sources and hence is an example of a
      Source Transform source.
      
      Also, bump `BST_FORMAT_VERSION` as this patch adds a new core plugin.
      a7a82650
    • Qinusty's avatar
      _project.py: Add fatal-warnings configuration item · f3d58233
      Qinusty authored
      This allows for users to configure fatal-warnings to be either a list of
      warnings.
      
      This commit deprecates the use of fail-on-overlap within project.conf,
      this will now use the fatal-warnings configuration item.
      
      element.py: Cache key calculation now takes into account all of the
      fatal-warnings
      
      tests: This modifys the tests/frontend/overlaps.py tests to support the
      new fatal-warnings configuration. Backwards compatibility is also
      tested for `fail-on-overlap`
      
      _versions.py: BST_FORMAT_VERSION bumped to 15 for fatal-warnings
      	      BST_CORE_ARTIFACT_VERSION bumpted to 5 for fatal-warnings
      
      Fixes: #526
      f3d58233
  11. 14 Aug, 2018 1 commit
  12. 12 Aug, 2018 1 commit
  13. 07 Aug, 2018 1 commit
    • Ed Baunton's avatar
      remote.py: Add support for marking downloaded files executable · 3d26ff6e
      Ed Baunton authored
      Add an optional flag to make files executable after having downloaded them.
      
      Instead of leaving the permissioning of downloaded file in remote.py up
      to the user's umask; expressly set permissions to 0644 or 0755 if
      executable.
      
      Bump format version to 13.
      3d26ff6e
  14. 02 Aug, 2018 1 commit
  15. 27 Jul, 2018 1 commit
  16. 25 Jul, 2018 1 commit
    • Ed Baunton's avatar
      Add remote source plugin · c049d021
      Ed Baunton authored
      Add a plugin that supports downloading files verbatim from a source with
      an optional overridable filename and destination directory. Bumps bst
      format version to 10.
      
      Fixes #163
      c049d021
  17. 23 Jul, 2018 1 commit
    • Phillip Smyth's avatar
      Adding caching build trees · e70237a5
      Phillip Smyth authored
      buildstream/element.py: Adding build tree to cache
      buildstream/_versions.py: Bumping BST_CORE_ARTIFACT_VERSION
      e70237a5
  18. 19 Jun, 2018 1 commit
  19. 06 Jun, 2018 1 commit
  20. 26 Apr, 2018 1 commit
  21. 15 Apr, 2018 1 commit
  22. 11 Apr, 2018 1 commit
  23. 08 Apr, 2018 2 commits
  24. 10 Aug, 2017 1 commit
  25. 07 Jan, 2017 1 commit
  26. 31 Dec, 2016 3 commits
  27. 10 Dec, 2016 1 commit
  28. 08 Nov, 2016 3 commits