-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3654 from rebeccacremona/only_save_wacz
Save only WACZ, not WARC
- Loading branch information
Showing
11 changed files
with
155 additions
and
123 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Generated by Django 4.2.16 on 2024-11-14 17:03 | ||
|
||
from django.db import migrations | ||
|
||
FLAG_NAME = "wacz-playback" | ||
|
||
def delete_wacz_playback_feature_flag(apps, schema_editor): | ||
Flag = apps.get_model("waffle", "Flag") | ||
flags = Flag.objects.filter(name=FLAG_NAME) | ||
flags.delete() | ||
|
||
def create_wacz_playback_feature_flag(apps, schema_editor): | ||
Flag = apps.get_model("waffle", "Flag") | ||
flag = Flag( | ||
name=FLAG_NAME, | ||
testing=True | ||
) | ||
flag.save() | ||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('perma', '0054_capturejob_perma_captu_capture_daadd2_idx'), | ||
('waffle', '0004_update_everyone_nullbooleanfield'), | ||
] | ||
|
||
operations = [ | ||
migrations.RunPython( | ||
delete_wacz_playback_feature_flag, | ||
create_wacz_playback_feature_flag, | ||
), | ||
] |
Oops, something went wrong.