-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ENH Prevent merge-up from linkfield v3 #32
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -405,6 +405,67 @@ public function provideBranches() | |
] | ||
EOT, | ||
], | ||
'silverstripe-linkfield beta' => [ | ||
'expected' => ['4.0', '4', '5'], | ||
'defaultBranch' => '4', | ||
'minimumCmsMajor' => '4', | ||
'githubRepository' => 'silverstripe/silverstripe-linkfield', | ||
'composerJson' => <<<EOT | ||
{ | ||
"require": { | ||
"silverstripe/framework": "^5" | ||
} | ||
} | ||
EOT, | ||
'branchesJson' => <<<EOT | ||
[ | ||
{"name": "1"}, | ||
{"name": "2"}, | ||
{"name": "3"}, | ||
{"name": "4"}, | ||
{"name": "4.0"}, | ||
{"name": "5"} | ||
] | ||
EOT, | ||
'tagsJson' => <<<EOT | ||
[ | ||
{"name": "3.0.0-beta1"}, | ||
{"name": "2.0.0"}, | ||
{"name": "1.0.0"} | ||
] | ||
EOT, | ||
], | ||
'silverstripe-linkfield stable' => [ | ||
'expected' => ['4.0', '4', '5'], | ||
'defaultBranch' => '4', | ||
'minimumCmsMajor' => '4', | ||
'githubRepository' => 'silverstripe/silverstripe-linkfield', | ||
'composerJson' => <<<EOT | ||
{ | ||
"require": { | ||
"silverstripe/framework": "^5" | ||
} | ||
} | ||
EOT, | ||
'branchesJson' => <<<EOT | ||
[ | ||
{"name": "1"}, | ||
{"name": "2"}, | ||
{"name": "3"}, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Actually that doesn't really matter so I won't ask for it. Just leaving the comment so people in the future know it was considered. |
||
{"name": "4"}, | ||
{"name": "4.0"}, | ||
{"name": "5"} | ||
] | ||
EOT, | ||
'tagsJson' => <<<EOT | ||
[ | ||
{"name": "4.0.0"}, | ||
{"name": "3.0.0"}, | ||
{"name": "2.0.0"}, | ||
{"name": "1.0.0"} | ||
] | ||
EOT, | ||
], | ||
]; | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should technically use a PHPdoc comment (i.e.
/** the comment */
) but since this is only an internal tool and this is the only change I'd request, I'll just leave it as is.