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
3
Merge Requests
3
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
nexedi
nxd-bom
Commits
c7a8c41b
Commit
c7a8c41b
authored
Jun 05, 2023
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add support for plone.recipe.command
Simply ignore it from the BOM point of view.
parent
fea4635a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
nxdbom/__init__.py
nxdbom/__init__.py
+4
-0
nxdbom/nxdbom_test.py
nxdbom/nxdbom_test.py
+6
-0
No files found.
nxdbom/__init__.py
View file @
c7a8c41b
...
...
@@ -201,6 +201,10 @@ def bom_software(installed_software_path): # -> {} (name,kind) -> PkgInfo
ver
=
'HEAD'
addbom
(
repo
,
'git'
,
ver
)
elif
recipe
in
(
'plone.recipe.command'
,):
# not downloading anything
pass
else
:
raise
NotImplementedError
(
'TODO: add support for recipe %s'
%
recipe
)
...
...
nxdbom/nxdbom_test.py
View file @
c7a8c41b
...
...
@@ -274,6 +274,12 @@ url = http://downloads.sourceforge.net/project/zabbix/ZABBIX%20Latest%20Stable/2
zabbix 2.0.10 http://downloads.sourceforge.net/project/zabbix/ZABBIX%20Latest%20Stable/2.0.10/zabbix-2.0.10.tar.gz
"""
)
# plone.recipe.command is ignored
case1
(
"""
\
[gowork.dir]
recipe = plone.recipe.command
"""
,
''
)
@
pytest
.
mark
.
parametrize
(
'build,bomok'
,
testv
)
def
test_bom_software
(
tmpdir
,
build
,
bomok
):
...
...
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