1. 13 Jun, 2018 1 commit
    • Tristan Van Berkom's avatar
      doc: Overhaul of page names and titles · 9d7296eb
      Tristan Van Berkom authored
       o Giving main pages simple word titles
      
         This makes the main page:
      
         * About
         * Installing
         * Using
         * Reference
         * Contributing
      
       o Now named all rst files with their parent page name as a prefix.
      
       o Also changed some titles to make overall consistent titles.
      9d7296eb
  2. 11 Jun, 2018 1 commit
  3. 09 Jun, 2018 2 commits
  4. 08 Jun, 2018 5 commits
  5. 07 Jun, 2018 11 commits
  6. 06 Jun, 2018 8 commits
  7. 05 Jun, 2018 4 commits
    • Chandan Singh's avatar
      _artifactcache/pushreceive.py: Add Click type for CLI argument 'repo' · 1d694b28
      Chandan Singh authored
      The CLI for `bst-artifact-receive` expects a `repo` argument, which is
      supposed to be a directory, but Click currently expects it to be just
      any string. This results in stack traces like the one below when the
      argument provided is not a directory:
      
              $ ~/.local/bin/bst-artifact-receive --pull-url http://foo foobaz
              Traceback (most recent call last):
                File "/root/.local/bin/bst-artifact-receive", line 8, in <module>
                  sys.exit(receive_main())
                ...
                File "/src/buildstream/buildstream/_artifactcache/pushreceive.py", line 581, in __init__
                  self.repo.open(None)
              GLib.Error: g-io-error-quark: /src/buildstream/43fref: opendir(/src/buildstream/foobaz): No such file or directory (1)
      
      Add types for this argument such that it throws better error messages
      when it receives bad arguments. With the Click types added, it will
      instead fail with messages like these:
      
              $ ~/.local/bin/bst-artifact-receive --pull-url http://foo foobaz
              Usage: bst-artifact-receive [OPTIONS] REPO
      
              Error: Invalid value for "repo": Directory "foobaz" does not exist.
      
              $ ~/.local/bin/bst-artifact-receive --pull-url http://foo setup.py
              Usage: bst-artifact-receive [OPTIONS] REPO
      
              Error: Invalid value for "repo": Directory "setup.py" is a file.
      
      Fixes #409.
      1d694b28
    • Phillip Smyth's avatar
      8d88b52a
    • Gökçen Nurlu's avatar
      _sandboxbwrap.py: Fix post-bwrap cleanup behaviour · 75fe8037
      Gökçen Nurlu authored
      The cleanup was supposed not to remove folders (`/dev`, `/tmp`, `/proc`) if
      they already existed before bwrap but it did the opposite: it tried to remove
      them if they existed before, and didn't remove them if they were created during
      bwrap. This was caused by a `not` clause, and this removes it.
      
      Fixes #379
      75fe8037
    • Tristan Maat's avatar
      _context.py: Normalize user-defined paths · 065f5ac7
      Tristan Maat authored
      065f5ac7
  8. 31 May, 2018 1 commit
  9. 23 May, 2018 1 commit
  10. 17 May, 2018 6 commits