1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-04 04:32:43 +01:00
phorge-phorge/src/applications/harbormaster/storage/build
epriestley 7f9a9bc800 Make Harbormaster objects destructible
Summary:
Ref T13114. See PHI511. Ref T13072. This makes Buildables, Builds, Targets and Artifacts destructible with `bin/remove destroy`.

This might not be totally exhaustive. In particular:

  - File artifacts won't destroy the file. This is sort of okay because file artifacts are currently just a file reference, but probably shouldn't be how things work in the long term.
  - `BuildCommand` doesn't get cleaned up, but `BuildMessage` does on `Build`. See T13072 for more.

Test Plan: Used `bin/remove destroy` to nuke a bunch of builds, buildables, etc. Loaded stuff in the web UI and it all looked like it got nuked properly.

Subscribers: PHID-OPKG-gm6ozazyms6q6i22gyam

Maniphest Tasks: T13114, T13072

Differential Revision: https://secure.phabricator.com/D19269
2018-03-29 13:01:14 -07:00
..
HarbormasterBuild.php Make Harbormaster objects destructible 2018-03-29 13:01:14 -07:00
HarbormasterBuildArtifact.php Make Harbormaster objects destructible 2018-03-29 13:01:14 -07:00
HarbormasterBuildLintMessage.php Allow lint codes to be up to 128 bytes long 2015-09-25 10:42:57 -07:00
HarbormasterBuildLog.php Support rendering arbitrary sections in the middle of a Harbormaster build log so links to line 3500 work 2018-03-01 11:18:21 -08:00
HarbormasterBuildLogChunk.php When showing a small piece of a Harbormaster build log, load a small piece of data instead of the entire log 2018-02-28 12:32:26 -08:00
HarbormasterBuildLogChunkIterator.php Add a "filePHID" to HarbormasterBuildLog and copy logs into Files during finalization 2018-02-26 17:52:39 -08:00
HarbormasterBuildTarget.php Make Harbormaster objects destructible 2018-03-29 13:01:14 -07:00
HarbormasterBuildUnitMessage.php Show additional details for failed builds in Harbormaster 2016-02-29 14:26:45 -08:00