1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-21 17:58:47 +02:00
phorge-phorge/src/applications/drydock
epriestley d4a0b1c870 Remove names from Drydock resources
Summary:
Ref T9252. Long ago you sometimes manually created resources, so they had human-enterable names. However, users never make resources manually any more, so this field isn't really useful any more.

In particular, it means we write a lot of untranslatable strings like "Working Copy" to the database in the default locale. Instead, do the call at runtime so resource names are translatable.

Also clean up a few minor things I hit while kicking the tires here.

It's possible we might eventually want to introduce a human-choosable label so you can rename your favorite resources and this would just be a default name. I don't really have much of a use case for that yet, though, and I'm not sure there will ever be one.

Test Plan:
  - Restarted a Harbormaster build, got a clean build.
  - Released all leases/resources, restarted build, got a clean build with proper resource names.

Reviewers: hach-que, chad

Reviewed By: hach-que, chad

Maniphest Tasks: T9252

Differential Revision: https://secure.phabricator.com/D14213
2015-10-01 08:13:43 -07:00
..
application Move Drydock logs to PHIDs and increased structure 2015-10-01 08:06:23 -07:00
blueprint Remove names from Drydock resources 2015-10-01 08:13:43 -07:00
capability Give Drydock resources a proper expiry mechanism 2015-09-28 09:35:14 -07:00
constants Modernize Drydock SearchEngine implementations 2015-09-24 09:56:49 -07:00
controller Remove names from Drydock resources 2015-10-01 08:13:43 -07:00
customfield Modernize Drydock SearchEngine implementations 2015-09-24 09:56:49 -07:00
editor Allow Drydock blueprints to be disabled 2015-09-24 10:18:17 -07:00
exception Add more Drydock log types and some additional logging 2015-10-01 08:11:42 -07:00
garbagecollector Garbage collect Drydock logs after 30 days 2015-10-01 08:09:27 -07:00
interface Allow AlmanacHost blueprints to build a meaningful CommandInterface 2015-09-21 04:46:02 -07:00
logtype Add more Drydock log types and some additional logging 2015-10-01 08:11:42 -07:00
management Allow Drydock leases to expire after a time limit 2015-09-23 13:54:27 -07:00
phid Remove names from Drydock resources 2015-10-01 08:13:43 -07:00
query Move Drydock logs to PHIDs and increased structure 2015-10-01 08:06:23 -07:00
storage Remove names from Drydock resources 2015-10-01 08:13:43 -07:00
typeahead Improve Drydock log search engine 2015-08-24 21:13:20 +10:00
view Remove names from Drydock resources 2015-10-01 08:13:43 -07:00
worker Remove names from Drydock resources 2015-10-01 08:13:43 -07:00