Page MenuHomePhabricator

[keyserver] Clean up `backup-phabricator.sh` with style fixes
AbandonedPublic

Authored by abosh on Jun 27 2022, 10:25 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jun 21, 7:11 PM
Unknown Object (File)
Fri, Jun 21, 7:10 PM
Unknown Object (File)
Fri, Jun 21, 6:52 PM
Unknown Object (File)
Apr 8 2024, 3:08 AM
Unknown Object (File)
Apr 8 2024, 3:08 AM
Unknown Object (File)
Apr 8 2024, 3:07 AM
Unknown Object (File)
Feb 24 2024, 7:46 AM
Unknown Object (File)
Feb 24 2024, 7:40 AM

Details

Reviewers
atul
ashoat
Summary

Relevant Linear task with full context about keyserver script cleanup here. Added quotes for preventing globbing, removed grep command (and merged with awk). Talked about the fixes and their rationale in more detail in inline comments.

Test Plan

ShellCheck, close reading. Talked about the Test Plan in more detail in the Linear issue, since I did not actually re-run the script. However, since this mainly modifies style, it may not be necessary.

Also, we should plan on adding ShellCheck to the CI as @atul suggested.

Diff Detail

Repository
rCOMM Comm
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

abosh added a reviewer: ashoat. abosh removed 1 blocking reviewer(s): atul.Jun 28 2022, 7:40 AM

Abandoning this, per @ashoat on this Linear task:

We can just delete backup-phabricator.sh… we're using Amazon RDS for the Phabricator database now, which guarantees data integrity out-of-the-box. If we ever find a need for backup-phabricator.sh again we can always just bring it back