Imported Upstream version 3.2.1
SVN-Git Migration
6 years ago
|
0 |
# 3.2.1
|
|
1 |
|
|
2 |
2018-01-08
|
|
3 |
|
|
4 |
* fixed metadata key filter for `bw metadata --blame`
|
|
5 |
* fixed pkg_openbsd reported incorrectly as having having wrong flavor installed
|
|
6 |
* fixed crash when declining actions interactively
|
|
7 |
|
|
8 |
|
0 | 9 |
# 3.2.0
|
1 | 10 |
|
2 | 11 |
2018-01-01
|
0 | 0 |
# -*- coding: utf-8 -*-
|
1 | 1 |
from __future__ import unicode_literals
|
2 | 2 |
|
3 | |
VERSION = (3, 2, 0)
|
|
3 |
VERSION = (3, 2, 1)
|
4 | 4 |
VERSION_STRING = ".".join([str(v) for v in VERSION])
|
40 | 40 |
else:
|
41 | 41 |
node = get_node(repo, args['target'], adhoc_nodes=args['adhoc_nodes'])
|
42 | 42 |
if args['blame']:
|
|
43 |
key_paths = [path.strip() for path in " ".join(args['keys']).split(",")]
|
43 | 44 |
table = [[bold(_("path")), bold(_("source"))], ROW_SEPARATOR]
|
44 | 45 |
for path, blamed in sorted(node.metadata_blame.items()):
|
45 | |
table.append([" ".join(path), ", ".join(blamed)])
|
|
46 |
joined_path = " ".join(path)
|
|
47 |
for key_path in key_paths:
|
|
48 |
if joined_path.startswith(key_path):
|
|
49 |
table.append([joined_path, ", ".join(blamed)])
|
|
50 |
break
|
46 | 51 |
page_lines(render_table(table))
|
47 | 52 |
else:
|
48 | 53 |
for line in dumps(
|
125 | 125 |
),
|
126 | 126 |
)
|
127 | 127 |
):
|
128 | |
return (self.STATUS_SKIPPED, [_("interactive")])
|
|
128 |
return (self.STATUS_SKIPPED, self.SKIP_REASON_INTERACTIVE)
|
129 | 129 |
try:
|
130 | 130 |
self.run()
|
131 | 131 |
return (self.STATUS_ACTION_SUCCEEDED, None)
|
98 | 98 |
version, flavor = pkg_installed(self.node, self.name)
|
99 | 99 |
return {
|
100 | 100 |
'installed': bool(version),
|
101 | |
'flavor': flavor if flavor else _("none"),
|
|
101 |
'flavor': flavor if flavor is not None else _("none"),
|
102 | 102 |
'version': version if version else _("none"),
|
103 | 103 |
}
|
104 | 104 |
|
15 | 15 |
|
16 | 16 |
setup(
|
17 | 17 |
name="bundlewrap",
|
18 | |
version="3.2.0",
|
|
18 |
version="3.2.1",
|
19 | 19 |
description="Config management with Python",
|
20 | 20 |
long_description=(
|
21 | 21 |
"By allowing for easy and low-overhead config management, BundleWrap fills the gap between complex deployments using Chef or Puppet and old school system administration over SSH.\n"
|