1. 21 Mar, 2019 1 commit
    • Angelos Evripiotis's avatar
      tests: str(datafiles) instead of a longer thing · f2b15d86
      Angelos Evripiotis authored
      Replace some popular copypasta.
      This important-looking invocation:
          os.path.join(datafiles.dirname, datafiles.basename)
      is equivalent to this shorter invocation:
          project = str(datafiles)
      It seems like it's very popular copypasta, replace it with the shorter
      one thus:
          # Use 'gsed' or 'sed' etc. as appropriate for your system.
          git config --global alias.sub '!f() { git grep --name-only --null "$1" | gxargs --null gsed --in-place --expression "s/$1/$2/g" ; }; f'
          git sub 'os.path.join(datafiles.dirname, datafiles.basename)' 'str(datafiles)'
  2. 20 Mar, 2019 2 commits
  3. 01 Mar, 2019 1 commit
  4. 08 Feb, 2019 1 commit
    • Phil Dawson's avatar
      Expose basic api for testing external plugins. · b4d4c4f5
      Phil Dawson authored
      We want external plugins to be able to make use of the core testing utils.
      This commit exposes the basic utilities which are currently in use in
      bst-external plugins. If necessary, more utilities could be exposed in the
      Moves the following files from tests/testutils/ to
      o runcli.py
      o integration.py
      As part of this, this commit makes the following changes to runcli.py
      and integration.py:
      o runcli.py: Fix linting errors
      o runcli.py: Add user facing documentation
      o Integration.py: Add user facing documentation
  5. 02 Nov, 2018 1 commit
  6. 15 Aug, 2018 1 commit
    • 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.