Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mpsd-software-manager
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
MPSD Computational Science
mpsd-software-manager
Commits
3b64b307
Commit
3b64b307
authored
1 year ago
by
Ashwin Kumar Karnad
Browse files
Options
Downloads
Patches
Plain Diff
isort
parent
43bc54ca
No related branches found
No related tags found
1 merge request
!130
Resolve "single function to generate all the folders relative to root_dir"
Pipeline
#421807
passed
1 year ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/mpsd_software_manager/utils/filesystem_utils.py
+3
-1
3 additions, 1 deletion
src/mpsd_software_manager/utils/filesystem_utils.py
with
3 additions
and
1 deletion
src/mpsd_software_manager/utils/filesystem_utils.py
+
3
−
1
View file @
3b64b307
...
@@ -2,11 +2,12 @@
...
@@ -2,11 +2,12 @@
import
logging
import
logging
import
os
import
os
import
sys
import
sys
from
functools
import
cache
from
pathlib
import
Path
from
pathlib
import
Path
from
mpsd_software_manager
import
config_vars
from
mpsd_software_manager
import
config_vars
from
mpsd_software_manager.utils.microarch
import
get_native_microarchitecture
from
mpsd_software_manager.utils.microarch
import
get_native_microarchitecture
from
functools
import
cache
from
.run
import
run
from
.run
import
run
...
@@ -131,6 +132,7 @@ def clone_repo(
...
@@ -131,6 +132,7 @@ def clone_repo(
else
:
else
:
run
([
"
git
"
,
"
pull
"
],
check
=
True
,
capture_output
=
capture_output
)
run
([
"
git
"
,
"
pull
"
],
check
=
True
,
capture_output
=
capture_output
)
@cache
@cache
def
get_important_folders
(
def
get_important_folders
(
mpsd_release
:
str
,
mpsd_release
:
str
,
...
...
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