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
870c2ac1
Commit
870c2ac1
authored
Jun 03, 2024
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
support hexagonit.recipe.download recipe
parent
0680119c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
nxdbom/__init__.py
nxdbom/__init__.py
+1
-1
nxdbom/nxdbom_test.py
nxdbom/nxdbom_test.py
+10
-0
No files found.
nxdbom/__init__.py
View file @
870c2ac1
...
...
@@ -139,7 +139,7 @@ def bom_software(installed_software_path): # -> {} (name,kind) -> PkgInfo
else
:
addbom
(
url
,
''
)
# XXX detect kind?
elif
recipe
in
(
'slapos.recipe.build:download'
,
'slapos.recipe.build:download-unpacked'
):
elif
recipe
in
(
'slapos.recipe.build:download'
,
'slapos.recipe.build:download-unpacked'
,
'hexagonit.recipe.download'
,
):
url
=
geturl
(
part
)
# strip off hash from the url
...
...
nxdbom/nxdbom_test.py
View file @
870c2ac1
...
...
@@ -152,6 +152,16 @@ url = https://raw.githubusercontent.com/zuphilip/ocropy-models/master/en-default
ocropy-models master https://raw.githubusercontent.com/zuphilip/ocropy-models/master/en-default.pyrnn.gz
"""
)
# legacy hexagonit.recipe.download recipe
case1
(
"""
\
[ocropy-eng-traineddata]
download-only = true
recipe = hexagonit.recipe.download
url = https://raw.githubusercontent.com/zuphilip/ocropy-models/master/en-default.pyrnn.gz
"""
,
"""
\
ocropy-models master https://raw.githubusercontent.com/zuphilip/ocropy-models/master/en-default.pyrnn.gz
"""
)
case1
(
"""
\
[scons]
recipe = slapos.recipe.build:download-unpacked
...
...
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