Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
J
Jupyter Docker Stacks
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
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
nanahira
Jupyter Docker Stacks
Commits
bf91753d
Commit
bf91753d
authored
Feb 13, 2020
by
romainx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor changes on outdated package helper
parent
b6ca2929
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Makefile
Makefile
+1
-1
test/test_outdated.py
test/test_outdated.py
+1
-1
No files found.
Makefile
View file @
bf91753d
...
@@ -49,7 +49,7 @@ build/%: ## build the latest image for a stack
...
@@ -49,7 +49,7 @@ build/%: ## build the latest image for a stack
build-all
:
$(foreach I
,
$(ALL_IMAGES)
,
arch_patch/$(I) build/$(I) )
##
build all stacks
build-all
:
$(foreach I
,
$(ALL_IMAGES)
,
arch_patch/$(I) build/$(I) )
##
build all stacks
build-test-all
:
$(foreach I
,
$(ALL_IMAGES)
,
arch_patch/$(I) build/$(I) test/$(I) )
##
build and test all stacks
build-test-all
:
$(foreach I
,
$(ALL_IMAGES)
,
arch_patch/$(I) build/$(I) test/$(I) )
##
build and test all stacks
check
_outdated/%
:
##
C
heck the outdated conda packages in a stack and produce a report (experimental)
check
-outdated/%
:
##
c
heck the outdated conda packages in a stack and produce a report (experimental)
@
TEST_IMAGE
=
"
$(OWNER)
/
$(
notdir
$@
)
"
pytest
test
/test_outdated.py
@
TEST_IMAGE
=
"
$(OWNER)
/
$(
notdir
$@
)
"
pytest
test
/test_outdated.py
dev/%
:
ARGS?=
dev/%
:
ARGS?=
...
...
test/test_outdated.py
View file @
bf91753d
...
@@ -73,7 +73,7 @@ def print_result(installed, result):
...
@@ -73,7 +73,7 @@ def print_result(installed, result):
nb_updatable
=
len
(
result
)
nb_updatable
=
len
(
result
)
updatable_ratio
=
nb_updatable
/
nb_packages
updatable_ratio
=
nb_updatable
/
nb_packages
LOGGER
.
info
(
LOGGER
.
info
(
f
"{nb_updatable}
packages can be updated over {nb_packages} -> {updatable_ratio:.0
%
}
"
f
"{nb_updatable}
/{nb_packages} ({updatable_ratio:.0
%
}) packages could be updated
"
)
)
LOGGER
.
info
(
f
"
\n
{tabulate(result, headers='keys')}
\n
"
)
LOGGER
.
info
(
f
"
\n
{tabulate(result, headers='keys')}
\n
"
)
...
...
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