mirror of
https://we.phorge.it/source/phorge.git
synced 2025-02-02 01:48:23 +01:00
No description
03b6bdde19
Summary: Ref T12845. Config options are "modular", but the modularity is very old, half-implemented, and doesn't use modern patterns. Half the types are hard-coded, while half the types are semi-modular but in a weird hacky way where you prefix the type with `custom:...`. The actual API is also weird and requires types to return a lot of `array($stuff, $thing, $other_thing, $more_stuff)` sorts of tuples. Instead: - Add a new replacement layer which uses modern modularity patterns and overrides the older stuff if available, so we can migrate things one at a time. - New layer uses a more modern API -- no `return array($thing, $other_thing, ...)`, and more modern building blocks (like AphrontHTTPParameterType). - New layer allows custom types to be deleted, which will ultimately let us deal with T12845. Then, convert the `'int'` type to use the new layer. Test Plan: - Set, edited, tried-to-change-in-an-invalid-way, and deleted an `'int'` option from the web UI. - Same from the CLI. - Edited `config.json` to have an invalid value, verified that the error was detected and config was repaired. Reviewers: chad, amckinley Reviewed By: amckinley Maniphest Tasks: T12845 Differential Revision: https://secure.phabricator.com/D18155 |
||
---|---|---|
bin | ||
conf | ||
externals | ||
resources | ||
scripts | ||
src | ||
support | ||
webroot | ||
.arcconfig | ||
.arclint | ||
.arcunit | ||
.editorconfig | ||
.gitignore | ||
LICENSE | ||
NOTICE | ||
README.md |
Phabricator is a collection of web applications which help software companies build better software.
Phabricator includes applications for:
- reviewing and auditing source code;
- hosting and browsing repositories;
- tracking bugs;
- managing projects;
- conversing with team members;
- assembling a party to venture forth;
- writing stuff down and reading it later;
- hiding stuff from coworkers; and
- also some other things.
You can learn more about the project (and find links to documentation and resources) at Phabricator.org
Phabricator is developed and maintained by Phacility.
SUPPORT RESOURCES
For resources on filing bugs, requesting features, reporting security issues, and getting other kinds of support, see Support Resources.
NO PULL REQUESTS!
We do not accept pull requests through GitHub. If you would like to contribute code, please read our Contributor's Guide.
LICENSE
Phabricator is released under the Apache 2.0 license except as otherwise noted.