1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-09 14:21:02 +01:00
phorge-phorge/src/applications
epriestley 25cf955a89 Use the same logic in "bin/drydock lease" and LeaseUpdateWorker to identify candidate blueprints
Summary:
Ref T13676. Currently, "bin/drydock lease" just creates a lease that permits any blueprint.

To prepare for "use specific blueprint X", unify the logic between this workflow and LeaseUpdateWorker so we select only blueprints which at least have coarse compatibility (e.g., if we're leasing a host, only select enabled blueprints of classes that can allocate hosts).

Test Plan: Used `bin/drydock lease` to try to lease a nonsense type, got sensible error. Leased a host.

Subscribers: yelirekim, PHID-OPKG-gm6ozazyms6q6i22gyam

Maniphest Tasks: T13676

Differential Revision: https://secure.phabricator.com/D21801
2022-05-03 15:57:16 -07:00
..
almanac Remove product literal strings in "pht()", part 11 2022-04-25 16:46:24 -07:00
aphlict Reduce the verbosity of the "Aphlict" log 2020-04-14 13:24:44 -07:00
arcanist/conduit
audit Give audit statuses API constants that match their UI strings 2021-03-10 10:20:03 -08:00
auth Fix various "strlen(null)" PHP 8.1 issues on "bin/phd" and "bin/drydock" pathways 2022-05-03 15:57:15 -07:00
badges Convert simple query subclasses to use internal cursors 2019-03-19 13:00:27 -07:00
base Remove product literal strings in "pht()", part 13 2022-04-25 16:46:24 -07:00
cache Fix various "strlen(null)" PHP 8.1 issues on "bin/phd" and "bin/drydock" pathways 2022-05-03 15:57:15 -07:00
calendar Remove product literal strings in "pht()", part 2 2022-04-25 12:22:26 -07:00
celerity Give selected inline comments are more obvious selected state 2020-05-14 14:35:55 -07:00
chatlog Replace "getRequestURI()->setQueryParams(array())" with "getPath()" 2019-02-12 14:43:33 -08:00
conduit Remove product literal strings in "pht()", part 14 2022-04-25 16:46:24 -07:00
config Remove product literal strings in "pht()", part 16 2022-04-25 16:46:25 -07:00
conpherence Improve Conpherence behavior for logged out users. 2019-04-02 14:03:08 -07:00
console Remove product literal strings in "pht()", part 5 2022-04-25 12:22:27 -07:00
countdown Add a test to verify that all routing maps are plausibly valid, and remove some dead routes 2020-02-14 18:06:24 -08:00
daemon Fix various "strlen(null)" PHP 8.1 issues on "bin/phd" and "bin/drydock" pathways 2022-05-03 15:57:15 -07:00
dashboard Remove product literal strings in "pht()", part 17 2022-04-25 16:46:25 -07:00
differential Remove product literal strings in "pht()", part 17 2022-04-25 16:46:25 -07:00
diffusion Remove product literal strings in "pht()", part 18 2022-04-25 16:46:25 -07:00
diviner Remove product literal strings in "pht()", part 18 2022-04-25 16:46:25 -07:00
doorkeeper Remove product literal strings in "pht()", part 19 2022-04-25 16:46:25 -07:00
draft/storage Save drafts for inline comments currently being edited 2020-05-04 13:19:42 -07:00
drydock Use the same logic in "bin/drydock lease" and LeaseUpdateWorker to identify candidate blueprints 2022-05-03 15:57:16 -07:00
fact Fix additional "xprintf()"-class static parameter lint errors 2020-09-08 11:45:48 -07:00
favorites Make "Favorites" work more like other customizable menus 2019-04-09 13:59:35 -07:00
feed Remove product literal strings in "pht()", part 5 2022-04-25 12:22:27 -07:00
files Remove product literal strings in "pht()", part 19 2022-04-25 16:46:25 -07:00
flag Add a "Remove flag" action to Herald 2019-09-09 13:15:52 -07:00
fund Modernize "mailKey" on Fund initiatives 2021-03-16 15:51:50 -07:00
guides Remove product literal strings in "pht()", part 5 2022-04-25 12:22:27 -07:00
harbormaster Remove the "Phragment" application 2022-04-25 16:46:27 -07:00
help Tokenize external editor links so they can be safely materialized on the client 2020-04-19 09:02:49 -07:00
herald Remove product literal strings in "pht()", part 20 2022-04-25 16:46:25 -07:00
home Make "Favorites" work more like other customizable menus 2019-04-09 13:59:35 -07:00
legalpad Remove product literal strings in "pht()", part 20 2022-04-25 16:46:25 -07:00
lipsum Add "--force" and "--quickly" flags to bin/lipsum 2017-02-27 09:09:41 -08:00
macro Fix an issue where Herald may fail to extract content from an empty commit 2022-04-20 13:04:00 -07:00
maniphest Remove product literal strings in "pht()", part 20 2022-04-25 16:46:25 -07:00
meta Remove product literal strings in "pht()", part 20 2022-04-25 16:46:25 -07:00
metamta Remove product literal strings in "pht()", part 20 2022-04-25 16:46:25 -07:00
multimeter Fix a PhutilURI issue in Multimeter 2019-02-17 17:39:34 -08:00
notification Remove product literal strings in "pht()", part 21 2022-04-25 16:46:26 -07:00
nuance Remove product literal strings in "pht()", part 7 2022-04-25 12:22:28 -07:00
oauthserver Remove product literal strings in "pht()", part 21 2022-04-25 16:46:26 -07:00
owners Remove the "Releeph" application 2022-04-25 16:46:27 -07:00
packages Change baseURI for Packages to avoid 404 2020-11-19 21:48:33 +00:00
passphrase Remove product literal strings in "pht()", part 21 2022-04-25 16:46:26 -07:00
paste When creating a File storage object for a Paste, try to give it the same name as the Paste 2020-05-01 09:10:31 -07:00
people Remove product literal strings in "pht()", part 22 2022-04-25 16:46:26 -07:00
phame Remove product literal strings in "pht()", part 22 2022-04-25 16:46:26 -07:00
phid Fix a PHP 8.1 strlen() issue with "mysql.pass" configuration 2021-12-16 15:24:21 -08:00
phlux Convert simple query subclasses to use internal cursors 2019-03-19 13:00:27 -07:00
pholio Make "Quote" work properly in Pholio 2020-08-10 13:40:25 -07:00
phortune In Phortune accounts, prevent self-removal more narrowly 2020-05-26 07:09:42 -07:00
phpast Update phpast for new UI 2016-04-05 13:52:59 -07:00
phrequent Convert simple query subclasses to use internal cursors 2019-03-19 13:00:27 -07:00
phriction Pass a real context object to Phriction previews, fixing mentions 2021-08-02 08:36:15 -07:00
phurl Improve routing of "/robots.txt", "/favicon.ico", and "/status/" on Short and Blog sites 2021-03-11 14:05:39 -08:00
policy Fix various "strlen(null)" PHP 8.1 issues on "bin/phd" and "bin/drydock" pathways 2022-05-03 15:57:15 -07:00
ponder Fix a missing pht() in Ponder 2019-04-12 12:18:56 -07:00
project Fix a PHP 8.1 unit test failure in Projects 2022-04-01 12:52:57 -07:00
remarkup Remove product literal strings in "pht()", part 8 2022-04-25 12:22:29 -07:00
repository Fix various "strlen(null)" PHP 8.1 issues on "bin/phd" and "bin/drydock" pathways 2022-05-03 15:57:15 -07:00
search Add a side nav to Conduit API method console pages 2021-07-21 14:16:59 -07:00
settings Remove product literal strings in "pht()", part 24 2022-04-25 16:46:26 -07:00
slowvote Deprecate ancient "slowvote.info" API method 2019-07-31 11:28:08 -07:00
spaces Remove "Editable By" description fields in Passphrase, Phame, and Spaces 2019-09-12 09:36:50 -07:00
subscriptions Remove product literal strings in "pht()", part 24 2022-04-25 16:46:26 -07:00
support/application
system Remove product literal strings in "pht()", part 24 2022-04-25 16:46:26 -07:00
tokens Allow tokens to be awarded to MFA-required objects 2018-12-28 00:14:48 -08:00
transactions Fix various "strlen(null)" PHP 8.1 issues on "bin/phd" and "bin/drydock" pathways 2022-05-03 15:57:15 -07:00
typeahead Make Portals indexable with Ferret 2019-04-10 13:33:54 -07:00
uiexample Remove product literal strings in "pht()", part 9 2022-04-25 12:22:29 -07:00
xhprof Allow XHProf profiles to be drag-and-dropped to upload them 2017-02-23 11:16:19 -08:00