-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: prefix doi workflows with doi_ for consistency
- bump deps for datacite schema 4.5 and django cve
- Loading branch information
Showing
8 changed files
with
127 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
92 changes: 92 additions & 0 deletions
92
django/library/migrations/0031_dataciteregistrationlog_contributor_affiliation.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
# Generated by Django 4.2.15 on 2024-10-25 23:47 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("library", "0030_peerreviewinvitation"), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name="DataCiteRegistrationLog", | ||
fields=[ | ||
( | ||
"id", | ||
models.AutoField( | ||
auto_created=True, | ||
primary_key=True, | ||
serialize=False, | ||
verbose_name="ID", | ||
), | ||
), | ||
( | ||
"action", | ||
models.CharField( | ||
choices=[ | ||
("CREATE_RELEASE_DOI", "create release DOI"), | ||
("CREATE_CODEBASE_DOI", "create codebase DOI"), | ||
("UPDATE_RELEASE_METADATA", "update release metadata"), | ||
("UPDATE_CODEBASE_METADATA", "update codebase metadata"), | ||
], | ||
max_length=50, | ||
), | ||
), | ||
("timestamp", models.DateTimeField(auto_now_add=True)), | ||
("http_status", models.IntegerField(default=None, null=True)), | ||
("message", models.TextField(default=None, null=True)), | ||
("metadata_hash", models.CharField(max_length=255)), | ||
("doi", models.CharField(blank=True, max_length=255, null=True)), | ||
], | ||
), | ||
migrations.RemoveField( | ||
model_name="contributor", | ||
name="affiliations", | ||
), | ||
migrations.AlterField( | ||
model_name="codebase", | ||
name="date_created", | ||
field=models.DateTimeField(auto_now_add=True), | ||
), | ||
migrations.AlterField( | ||
model_name="codebaserelease", | ||
name="date_created", | ||
field=models.DateTimeField(auto_now_add=True), | ||
), | ||
migrations.AlterField( | ||
model_name="codebasereleasedownload", | ||
name="date_created", | ||
field=models.DateTimeField(auto_now_add=True), | ||
), | ||
migrations.AlterField( | ||
model_name="peerreviewinvitation", | ||
name="date_sent", | ||
field=models.DateTimeField(auto_now=True), | ||
), | ||
migrations.DeleteModel( | ||
name="ContributorAffiliation", | ||
), | ||
migrations.AddField( | ||
model_name="dataciteregistrationlog", | ||
name="codebase", | ||
field=models.ForeignKey( | ||
null=True, | ||
on_delete=django.db.models.deletion.CASCADE, | ||
related_name="datacite_logs", | ||
to="library.codebase", | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="dataciteregistrationlog", | ||
name="release", | ||
field=models.ForeignKey( | ||
null=True, | ||
on_delete=django.db.models.deletion.CASCADE, | ||
related_name="datacite_logs", | ||
to="library.codebaserelease", | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters