Skip to content

Commit ddeb4b4

Browse files
committed
Update undo + also update deleting package version
1 parent aa85e7a commit ddeb4b4

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

app/lib/admin/actions/package_delete.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ A package in this state will appear deleted from the public. But its archive fil
1717
1818
After 2 months it will be fully purged.
1919
20-
To undo a deletion <insert action here>
20+
To undo a deletion run the same command with `state: false`.
2121
''',
2222
options: {
2323
'package': 'The package name to be deleted',

app/lib/admin/actions/package_version_delete.dart

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,13 @@ final packageVersionDelete = AdminAction(
1212
summary:
1313
'Set the admin-deleted flag on a package version (making it not visible).',
1414
description: '''
15-
Set the admin-deleted flag on a package version (updating the flag and the timestamp). After 2 months it will be fully deleted.
15+
Set the admin-deleted flag on a package version (updating the flag and the timestamp).
16+
17+
A package version in this state will appear deleted from the public. But its archive file will still exist in the canonical bucket, and the metadata will still be present.
18+
19+
After 2 months it will be fully purged.
20+
21+
To undo a deletion run the same command with `state: false`.
1622
''',
1723
options: {
1824
'package': 'The package name to be deleted',

0 commit comments

Comments
 (0)