R218 Delete a scratch file once its content is in the repository

Off by default

Once content of a scratch directory (rule 310) is in the repository, delete its copy in the scratch directory.

Reason

Content meant to last goes into the repository, and the copy in the scratch directory only carries it there; a copy left behind goes stale beside the one in the repository (Art. III §4).

Verification

The scratch directory is only a transit: content to be kept for more than a day goes into the repository through a pull request.

Violated when content already in the repository still has its copy in the scratch directory.

Provisions of the constitution it cites

Relations

Parent
R127 Machines and Working Directories
Requires
none
Conflicts with
none

Metadata

ID
218
Revision
3
Kind
rule
Status
trial
Slug
scratch-only-in-transit
Default level
user
Constitution revisions
>=1
Check
none
Default
off
Uses
Instructions instructions
Original language
English en
Translations
Chinese zh