Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CADET-RDM
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IBG-1
ModSim
CADET
CADET-RDM
Commits
d3b133d6
Commit
d3b133d6
authored
1 year ago
by
Ronald Jäpel
Browse files
Options
Downloads
Patches
Plain Diff
v0.0.18 and hotfix
parent
374f1c54
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cadetrdm/repositories.py
+1
-12
1 addition, 12 deletions
cadetrdm/repositories.py
cadetrdm/version.py
+1
-1
1 addition, 1 deletion
cadetrdm/version.py
with
2 additions
and
13 deletions
cadetrdm/repositories.py
+
1
−
12
View file @
d3b133d6
...
...
@@ -11,7 +11,6 @@ import glob
from
stat
import
S_IREAD
,
S_IWRITE
from
urllib.request
import
urlretrieve
from
ipylab
import
JupyterFrontEnd
from
tabulate
import
tabulate
from
cadetrdm.io_utils
import
recursive_chmod
,
write_lines_to_file
,
wait_for_user
,
init_lfs
...
...
@@ -425,17 +424,7 @@ class BaseRepo:
:param add_all:
Option to add all changed and new files to git automatically.
"""
try
:
app
=
JupyterFrontEnd
()
print
(
"
Saving
"
,
end
=
""
)
# note: docmanager:save doesn't lock the python thread until saving is completed.
# Sometimes, new changes aren't completely saved before checks are performed.
# Waiting for 0.1 seconds seems to prevent that.
app
.
commands
.
execute
(
'
docmanager:save
'
)
time
.
sleep
(
0.1
)
print
(
""
)
except
:
pass
if
not
self
.
exist_uncomitted_changes
:
print
(
f
"
No changes to commit in repo
{
self
.
working_dir
}
"
)
return
...
...
This diff is collapsed.
Click to expand it.
cadetrdm/version.py
+
1
−
1
View file @
d3b133d6
version
=
"
0.0.1
7
"
version
=
"
0.0.1
8
"
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