Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93141042
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
Tue, Nov 26, 12:40
Size
605 B
Mime Type
text/x-php
Expires
Thu, Nov 28, 12:40 (2 d)
Engine
blob
Format
Raw Data
Handle
22580788
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