Differential D25011 Diff 42 src/applications/harbormaster/interface/HarbormasterExternalBuildableInterface.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/harbormaster/interface/HarbormasterExternalBuildableInterface.php
- This file was added.
<?php | |||||
interface HarbormasterExternalBuildableInterface | |||||
extends HarbormasterBuildableInterface { | |||||
const COMMIT = 0; | |||||
const TAG = 1; | |||||
/** | |||||
* Returns a tuple indicating the type of reference | |||||
* that needs to be built (self::COMMIT or self::TAG), | |||||
speck: Could we add some comments that will help implementations in the future? | |||||
Done Inline ActionsI'll update that. deadalnix: I'll update that. | |||||
* and either a commit hash or a tag name. | |||||
*/ | |||||
public function getExternalBuildableRef(); | |||||
/** | |||||
* Returns the instance of PhabricatorRepository | |||||
* indicating the repository in which the code | |||||
* to be built resides. | |||||
*/ | |||||
public function getRepository(); | |||||
} |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0
Could we add some comments that will help implementations in the future?