| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
It's inconvenient to have to create a Linux platform to parse the bwrap version
and we want to get the version in a consistent manner.
|
|
|
|
|
|
|
|
| |
Remove the bwraps checks from _site.py and put them in platform.linux
which is the only place where they are run.
This allows the removal of a double level of caching, making
reasoning about tests easier
|
|
|
|
|
|
|
|
| |
Instead of an if/else ladder which is quite complex, this patch
uses the fact that Python supports by-component tuple comparison
to simply compare two (major, minor, patch) tuples
Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
|
|
|
|
|
|
|
|
| |
On some potentially broken systems, running `bwrap --version` might
fail with an error code. This patch corrects the oversight ensuring
that we cleanly return False for version checking in such cases.
Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
|
|
|
|
| |
Fixes #424
|
|
|
|
|
|
|
| |
Lazily parse the version of bwrap the first time the function is called.
On subsequent calls, used cached version info.
See: #373
|
|
|
|
| |
Including changes in _site.py and setup.py
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
An internal file, but better named since we'll be adding
projectconfig.yaml beside it.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Now modules import as:
from . import _site
And refer to things as _site.root, _site.default_config etc.
Also now follow principal of least underscores
|
|
|
|
|
| |
This is a more descriptive name, it's the defaults for
user configurations.
|
|
This file is for site installation relative path names
for convenience, it's not where configuration stuff is stored and
it's an entirely private detail.
|