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
2c9a71d7
Commit
2c9a71d7
authored
3 years ago
by
Markus Scheidgen
Browse files
Options
Downloads
Patches
Plain Diff
Only lift embargo on edit for uploads that are published.
#606
parent
9e859ca5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!384
Merge for release
Pipeline
#109865
passed
3 years ago
Stage: build
Stage: test
Stage: release
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
nomad/app/flask/api/repo.py
+2
-1
2 additions, 1 deletion
nomad/app/flask/api/repo.py
with
2 additions
and
1 deletion
nomad/app/flask/api/repo.py
+
2
−
1
View file @
2c9a71d7
...
...
@@ -733,7 +733,8 @@ class EditRepoCalcsResource(Resource):
if
lift_embargo
:
for
upload_id
in
upload_ids
:
upload
=
proc
.
Upload
.
get
(
upload_id
)
upload
.
re_pack
()
if
upload
.
published
:
upload
.
re_pack
()
# remove potentially empty old datasets
if
removed_datasets
is
not
None
:
...
...
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