Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nxd-bom
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
nxd-bom
Commits
40c4ed81
Commit
40c4ed81
authored
Jul 21, 2022
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
94c89bb6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
nxd-bom
nxd-bom
+5
-5
No files found.
bom
→
nxd-
bom
View file @
40c4ed81
...
...
@@ -18,10 +18,10 @@
#
# See COPYING file for full licensing terms.
# See https://www.nexedi.com/licensing for rationale and options.
"""Program bom generates bill of material for a software-release or slapos node
"""Program
nxd-
bom generates bill of material for a software-release or slapos node
Usage: bom software <.installed.cfg>
bom node <slapos deploy-script>
Usage:
nxd-
bom software <.installed.cfg>
nxd-
bom node <slapos deploy-script>
"""
from
__future__
import
print_function
...
...
@@ -43,7 +43,7 @@ def bom_software(installed_cfg): # -> set of 'name-version' XXX
if
s
==
'buildout'
:
continue
# [buildout] is used internally
print
(
s
)
#
print(s)
part
=
inst
[
s
]
recipe
=
part
[
'recipe'
]
...
...
@@ -107,7 +107,7 @@ def bom_software(installed_cfg): # -> set of 'name-version' XXX
# XXX patches
print
(
'
(%s)
\
t
%s-%s'
%
(
s
,
name
,
ver
))
print
(
'
%s
\
t
%s'
%
(
name
,
ver
))
bom
[
name
]
=
ver
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment