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
c4d7a0da
Commit
c4d7a0da
authored
Jun 02, 2024
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
support zc.recipe.testrunner recipe
parent
d37a4d21
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
nxdbom/__init__.py
nxdbom/__init__.py
+1
-1
nxdbom/nxdbom_test.py
nxdbom/nxdbom_test.py
+7
-0
No files found.
nxdbom/__init__.py
View file @
c4d7a0da
...
@@ -264,7 +264,7 @@ def bom_software(installed_software_path): # -> {} (name,kind) -> PkgInfo
...
@@ -264,7 +264,7 @@ def bom_software(installed_software_path): # -> {} (name,kind) -> PkgInfo
for
gemspec
in
glob
(
'%s/lib/ruby/gems/specifications/*.gemspec'
%
location
):
for
gemspec
in
glob
(
'%s/lib/ruby/gems/specifications/*.gemspec'
%
location
):
addbom
(
gemspec
,
'gem'
)
addbom
(
gemspec
,
'gem'
)
elif
recipe
in
(
'plone.recipe.command'
,):
elif
recipe
in
(
'plone.recipe.command'
,
'zc.recipe.testrunner'
,
):
# not downloading anything
# not downloading anything
pass
pass
...
...
nxdbom/nxdbom_test.py
View file @
c4d7a0da
...
@@ -453,6 +453,13 @@ case1("""\
...
@@ -453,6 +453,13 @@ case1("""\
recipe = plone.recipe.command==1.1
recipe = plone.recipe.command==1.1
"""
,
''
)
"""
,
''
)
# zc.recipe.testrunner is ignored
case1
(
"""
\
[dream-testrunner]
recipe = zc.recipe.testrunner
eggs = dream
"""
,
''
)
# ruby gems
# ruby gems
case1
(
"""
\
case1
(
"""
\
[gems]
[gems]
...
...
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