1. 15 Feb, 2019 3 commits
    • Chandan Singh's avatar
      contrib/bst-here: Allow users to specify image variant · 2699c77c
      Chandan Singh authored
      Now that the `buildstream/buildstream` image has 9 variants, let's make
      it easier to choose the desired tag, using a command-line option.
      
      This is otherwise possible by specifying the full image name `image:tag`
      using the `-i` option. But, this will make it easier to specify just the
      tag using `-j`.
      
      The following two invocations of `bst-here` are now equivalent:
      
          bst-here -i buildstream/buildstream:dev
          bst-here -j dev
      2699c77c
    • Chandan Singh's avatar
      contrib/bst-here: Change default image to buildstream/buildstream · b8561fb1
      Chandan Singh authored
      See buildstream-docker-images#26
      for detailed discussion around this.
      
      `buildstream/buildstream-fedora` is now considered deprecated. Switch to
      `buildstream/buildstream` image. This image also offers more tags that
      will provide users more flexibility.
      b8561fb1
    • Chandan Singh's avatar
      contrib/bst-graph: Add script to print graph in DOT format · 69520011
      Chandan Singh authored
      This script leverages the recently added format strings
      (`%{build-deps}`, `%{runtime-deps}`) to `bst show` to print a graph in
      DOT format. This requires users to have the `graphviz` python package
      installed.
      
      Additionally, users can also render the graph using the `--format`
      option if they have the `graphviz` command line tool installed.
      69520011
  2. 22 Jan, 2019 1 commit
    • James Ennis's avatar
      Mark 'old' checkout command as obsolete · fbd15939
      James Ennis authored
      This commit marks 'bst checkout' as a 'hidden' command. If used,
      the user will be prompted to use the new 'bst artifact checkout'
      command.
      
      All tests which used 'bst checkout' have been modified to use
      the new artifact sub-command.
      
      This partially solves #822.
      fbd15939
  3. 16 Jan, 2019 1 commit
  4. 08 Oct, 2018 1 commit
  5. 05 Oct, 2018 1 commit
    • Chandan Singh's avatar
      Add contrib script to generate Docker images from bst checkout · 42ea143d
      Chandan Singh authored
      This script can be useful to generate a Docker image from `bst checkout`
      of an element as a single command. While this script does not eliminate
      the need for a proper Docker/OCI element plugin that would probably also
      support layering, it provides a cheap way to export the element into a
      Docker image.
      42ea143d
  6. 13 Jun, 2018 2 commits
  7. 07 May, 2018 3 commits
    • Chandan Singh's avatar
      bst-here: Allow users to specify additional volumes to mount · 49176039
      Chandan Singh authored
      One may want to mount additional volumes to preserve certain directories
      or to share some data between the host and the container. Allow users to
      do so by providing a `-v` option that passes its arguments to
      corresponding `-v`/`--volume` option for `docker run` command.
      
      Part of #378.
      49176039
    • Chandan Singh's avatar
      bst-here: Allow users to specify Docker image · 6ffca067
      Chandan Singh authored
      Currently, the name of the Docker image is hardcoded in bst-here script.
      This makes it harder for users to override it, which may be needed for
      various reasons (custom plugins, private Docker registries etc.)
      
      Add `-i` option to allow users to specify the base image. When `-i` is
      not provided, default to `BST_HERE_IMAGE` environment variable if it's
      set and otherwise to the current image -
      `buildstream/buildstream-fedora`.
      
      Also, re-order the command-line options in help text and source code in
      alphabetical order to maintain sanity as the number of options is slowly
      growing.
      
      Part of #378.
      6ffca067
    • Chandan Singh's avatar
      bst-here: Fix typo in help text · 2e252e9d
      Chandan Singh authored
      2e252e9d
  8. 23 Apr, 2018 1 commit
  9. 17 Feb, 2018 2 commits
  10. 29 Nov, 2017 1 commit
  11. 18 Oct, 2017 3 commits
    • Sam Thursfield's avatar
      contrib/bst-here: Change how invocation works · c1c20402
      Sam Thursfield authored
      If run with no arguments, `bst-here` now opens an interactive Bash
      shell. This has several advantages to running each `bst` command
      in a new container:
      
        * it's faster
        * bash completions will work
        * man pages could work (if the user runs `dnf install man`)
      
      If run with arguments, those are now assumed to be arguments for `bst`
      such that instead of running `bst-here bst build foo` you now just run
      `bst-here build foo`.
      c1c20402
    • Sam Thursfield's avatar
      contrib/bst-here: Set a fixed shell prompt · 0d3ce052
      Sam Thursfield authored
      This allows users to distinguish bst-here shell sessions from their
      regular shell.
      
      The prompt is blue and gives you just the path name, e.g.:
      
          /src>
      
      The prompt can be customised or removed by editing the bst-here script
      directly.
      0d3ce052
    • Sam Thursfield's avatar
      Add `bst-here` script and document it · aeda7a62
      Sam Thursfield authored
      aeda7a62