projects
/
web.mtrack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3fb2b39
)
php8 fixes
author
Alan
<alan@roojs.com>
Wed, 12 Jul 2023 07:58:08 +0000
(15:58 +0800)
committer
Alan
<alan@roojs.com>
Wed, 12 Jul 2023 07:58:08 +0000
(15:58 +0800)
MTrack/CommitChecker.php
patch
|
blob
|
history
MTrack/CommitHookChangeEvent.php
patch
|
blob
|
history
MTrack/SCM/Git/Event.php
patch
|
blob
|
history
MTrack/SCM/Git/Repo.php
patch
|
blob
|
history
MTrack/SCMFileEvent.php
patch
|
blob
|
history
MTrackWeb/Hook/git.php
patch
|
blob
|
history
diff --git
a/MTrack/CommitChecker.php
b/MTrack/CommitChecker.php
index
e1c2091
..
fc5f940
100644
(file)
--- a/
MTrack/CommitChecker.php
+++ b/
MTrack/CommitChecker.php
@@
-32,6
+32,10
@@
class MTrack_CommitChecker {
var $authUser;
var $checks = array();
var $authUser;
var $checks = array();
+ var $no_ticket;
+ var $deferred;
+ var $spent_by_tid_by_user;
+
function __construct($ar) {
foreach($ar as $k=>$v) {
function __construct($ar) {
foreach($ar as $k=>$v) {
diff --git
a/MTrack/CommitHookChangeEvent.php
b/MTrack/CommitHookChangeEvent.php
index
3319a96
..
112082e
100644
(file)
--- a/
MTrack/CommitHookChangeEvent.php
+++ b/
MTrack/CommitHookChangeEvent.php
@@
-19,5
+19,9
@@
class MTrackCommitHookChangeEvent {
* repos */
public $hash;
* repos */
public $hash;
- public $branch;
+ public $branch;
+
+ var $changeby_id;
+ var $fileActions;
+
}
}
diff --git
a/MTrack/SCM/Git/Event.php
b/MTrack/SCM/Git/Event.php
index
3cf011b
..
d724b0d
100644
(file)
--- a/
MTrack/SCM/Git/Event.php
+++ b/
MTrack/SCM/Git/Event.php
@@
-24,6
+24,8
@@
class MTrack_SCM_Git_Event extends MTrackSCMEvent
public $files;
public $commit;
public $files;
public $commit;
+ var $tags;
+ var $files_array;
/**
* this is based on the output from git --raw --numstat
*/
/**
* this is based on the output from git --raw --numstat
*/
diff --git
a/MTrack/SCM/Git/Repo.php
b/MTrack/SCM/Git/Repo.php
index
402e45a
..
07b0e61
100644
(file)
--- a/
MTrack/SCM/Git/Repo.php
+++ b/
MTrack/SCM/Git/Repo.php
@@
-9,6
+9,8
@@
class MTrack_SCM_Git_Repo extends MTrack_Repo
public $gitdir = null;
public $debug = false;
public $gitdir = null;
public $debug = false;
+
+ var $project_id;
public function getSCMMetaData() {
return array(
public function getSCMMetaData() {
return array(
diff --git
a/MTrack/SCMFileEvent.php
b/MTrack/SCMFileEvent.php
index
4fd4410
..
f066223
100644
(file)
--- a/
MTrack/SCMFileEvent.php
+++ b/
MTrack/SCMFileEvent.php
@@
-13,6
+13,7
@@
class MTrackSCMFileEvent
public $oldver;
public $added;
public $removed;
public $oldver;
public $added;
public $removed;
+ var $newver;
/** when used in a string context, just return the filename.
* This simplifies explicit object vs. string interpretation
/** when used in a string context, just return the filename.
* This simplifies explicit object vs. string interpretation
diff --git
a/MTrackWeb/Hook/git.php
b/MTrackWeb/Hook/git.php
index
8ffbb00
..
bd52722
100755
(executable)
--- a/
MTrackWeb/Hook/git.php
+++ b/
MTrackWeb/Hook/git.php
@@
-39,6
+39,7
@@
class MTrackWeb_Hook_git extends MTrackWeb
{
static $cli_desc = "Commit hook for git - see source for usage";
{
static $cli_desc = "Commit hook for git - see source for usage";
+ var $authUser;
function getAuth()
{
function getAuth()
{