Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96181260
PhabricatorApplicationReleephConfigOptions.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Dec 23, 13:02
Size
2 KB
Mime Type
text/x-php
Expires
Wed, Dec 25, 13:02 (1 d, 19 h)
Engine
blob
Format
Raw Data
Handle
23134011
Attached To
rPH Phabricator
PhabricatorApplicationReleephConfigOptions.php
View Options
<?php
final
class
PhabricatorApplicationReleephConfigOptions
extends
PhabricatorApplicationConfigOptions
{
public
function
getName
()
{
return
pht
(
"Releeph"
);
}
public
function
getDescription
()
{
return
pht
(
"Options for configuring Releeph, the release branch tool."
);
}
public
function
getOptions
()
{
return
array
(
$this
->
newOption
(
'releeph.installed'
,
'bool'
,
false
)
->
setSummary
(
pht
(
'Enable the Releeph application.'
))
->
setDescription
(
pht
(
"Releeph, a tool for managing release branches, will eventually "
.
"fit in to the Phabricator suite as a general purpose tool. "
.
"However Releeph is currently unstable in multiple ways that may "
.
"not migrate properly for you: the code is still in alpha stage "
.
"of design, the storage format is likely to change in unexpected "
.
"ways, and the workflows presented are very specific to a core "
.
"set of alpha testers at Facebook. For the time being you are "
.
"strongly discouraged from relying on Releeph being at all "
.
"stable."
)),
$this
->
newOption
(
'releeph.field-selector'
,
'class'
,
'ReleephDefaultFieldSelector'
)
->
setBaseClass
(
'ReleephFieldSelector'
)
->
setSummary
(
pht
(
'Field selector class'
))
->
setDescription
(
pht
(
"Control which fields are available when making a new Releeph "
.
"request, and which are then shown in the Releeph UI."
)),
$this
->
newOption
(
'releeph.user-view'
,
'class'
,
'ReleephDefaultUserView'
)
->
setBaseClass
(
'ReleephUserView'
)
->
setSummary
(
pht
(
'Extra markup when rendering usernames'
))
->
setDescription
(
pht
(
"A wrapper to render Phabricator users in Releeph, with custom "
.
"markup. For example, Facebook extends this to render additional "
.
"information about requestors, to each Releeph project's "
.
"pushers."
)),
$this
->
newOption
(
'releeph.default-branch-template'
,
'string'
,
'releases/%P/%p-%Y%m%d-%v'
)
->
setDescription
(
pht
(
"The default branch template for new branches in unconfigured "
.
"Releeph projects. This is also configurable on a per-project "
.
"basis."
)),
);
}
}
Event Timeline
Log In to Comment