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
Jérome Perrin
nxd-bom
Commits
ba8f96b6
Commit
ba8f96b6
authored
Jun 01, 2024
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
support recipes with a version
parent
77e7b824
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
nxdbom/__init__.py
nxdbom/__init__.py
+1
-1
nxdbom/nxdbom_test.py
nxdbom/nxdbom_test.py
+5
-0
No files found.
nxdbom/__init__.py
View file @
ba8f96b6
...
@@ -111,7 +111,7 @@ def bom_software(installed_software_path): # -> {} (name,kind) -> PkgInfo
...
@@ -111,7 +111,7 @@ def bom_software(installed_software_path): # -> {} (name,kind) -> PkgInfo
continue
# [buildout] is used internally
continue
# [buildout] is used internally
part
=
idb
[
s
]
part
=
idb
[
s
]
recipe
=
part
[
'recipe'
]
recipe
=
part
[
'recipe'
]
.
rsplit
(
'=='
,
1
)[
0
]
if
recipe
==
'slapos.recipe.cmmi'
:
if
recipe
==
'slapos.recipe.cmmi'
:
addbom
(
geturl
(
part
),
''
)
# XXX detect kind?
addbom
(
geturl
(
part
),
''
)
# XXX detect kind?
...
...
nxdbom/nxdbom_test.py
View file @
ba8f96b6
...
@@ -331,6 +331,11 @@ case1("""\
...
@@ -331,6 +331,11 @@ case1("""\
[gowork.dir]
[gowork.dir]
recipe = plone.recipe.command
recipe = plone.recipe.command
"""
,
''
)
"""
,
''
)
# also this variation from some test profiles
case1
(
"""
\
[gowork.dir]
recipe = plone.recipe.command==1.1
"""
,
''
)
# readline 8 and 5 used simultaneously -> older one is presented as readline5
# readline 8 and 5 used simultaneously -> older one is presented as readline5
# libpng 12 and 16 used simultaneously -> ----//---- libpng12
# libpng 12 and 16 used simultaneously -> ----//---- libpng12
...
...
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