Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nomad-FAIR
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nomad-lab
nomad-FAIR
Commits
b415c781
Commit
b415c781
authored
9 months ago
by
Lauri Himanen
Browse files
Options
Downloads
Patches
Plain Diff
Disabled storage of package aliases in artifacts.js.
parent
264b6d83
No related branches found
No related tags found
1 merge request
!2087
Disabled storage of package aliases in artifacts.js.
Checking pipeline status
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
nomad/datamodel/__init__.py
+9
-1
9 additions, 1 deletion
nomad/datamodel/__init__.py
with
9 additions
and
1 deletion
nomad/datamodel/__init__.py
+
9
−
1
View file @
b415c781
...
@@ -95,7 +95,15 @@ def all_metainfo_packages():
...
@@ -95,7 +95,15 @@ def all_metainfo_packages():
global
_all_metainfo_environment
global
_all_metainfo_environment
if
not
_all_metainfo_environment
:
if
not
_all_metainfo_environment
:
_all_metainfo_environment
=
Environment
()
_all_metainfo_environment
=
Environment
()
# The registry dictionary will also contain all aliases. To not repeat
# all of the aliases, we check that only unique values are added.
unique_packages
=
set
()
for
package
in
Package
.
registry
.
values
():
for
package
in
Package
.
registry
.
values
():
_all_metainfo_environment
.
m_add_sub_section
(
Environment
.
packages
,
package
)
if
package
not
in
unique_packages
:
_all_metainfo_environment
.
m_add_sub_section
(
Environment
.
packages
,
package
)
unique_packages
.
add
(
package
)
return
_all_metainfo_environment
return
_all_metainfo_environment
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment