Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F81102999
HeraldPreCommitRefAdapter.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
Wed, Sep 4, 05:29
Size
605 B
Mime Type
text/x-php
Expires
Fri, Sep 6, 05:29 (2 d)
Engine
blob
Format
Raw Data
Handle
20515062
Attached To
rPH Phabricator
HeraldPreCommitRefAdapter.php
View Options
<?php
final
class
HeraldPreCommitRefAdapter
extends
HeraldPreCommitAdapter
{
public
function
getAdapterContentName
()
{
return
pht
(
'Commit Hook: Branches/Tags/Bookmarks'
);
}
public
function
getAdapterSortOrder
()
{
return
2000
;
}
public
function
getAdapterContentDescription
()
{
return
pht
(
"React to branches and tags being pushed to hosted repositories.
\n
"
.
"Hook rules can block changes and send push summary mail."
);
}
public
function
isPreCommitRefAdapter
()
{
return
true
;
}
public
function
getHeraldName
()
{
return
pht
(
'Push Log (Ref)'
);
}
}
Event Timeline
Log In to Comment