Could commit in branches with no appveyor.yml be not reported as failures?
On the process to converting a project to appveyor, old branches that are still being worked on might not have appveyor.yml yet as they might not have been rebased on master yet.
Would it be possible to just ignore those branches or at least report them with a special status different that "failed"?
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 15 Jul, 2014 09:07 AM
That's a good question. Maybe we could use ignored branches configured on UI?...
2 Posted by olivler.grisel on 15 Jul, 2014 01:00 PM
The problem is that you don't know the list of branches ahead of time. On our project we have 160+ open pull requests, some are several months old but can get reactivated by the original contributors at any point by pushing new commits.
We don't want such old branches with open pull requests to master to trigger build failures while they are not rebased on top of the current master that has the appveyor.yml config file.
Restricting to the branch "master" in the settings UI does not solve the problem as any branch involved in the PR to "master" is being tracked by appveyor.
Support Staff 3 Posted by Feodor Fitsner on 15 Jul, 2014 01:06 PM
Yeah, interesting problem. Sounds like another option Do not build if appveyor.yml is not found, right?
4 Posted by olivler.grisel on 15 Jul, 2014 03:23 PM
Yes.
Support Staff 5 Posted by Feodor Fitsner on 15 Jul, 2014 06:23 PM
Or better wroding Skip branches without appveyor.yml! :)
Support Staff 6 Posted by Feodor Fitsner on 17 Jul, 2014 08:44 AM
An update with this feature has been just deployed.
7 Posted by olivler.grisel on 17 Jul, 2014 04:03 PM
Thanks!
olivler.grisel closed this discussion on 17 Jul, 2014 04:03 PM.
olivler.grisel re-opened this discussion on 19 Jul, 2014 03:42 PM
8 Posted by olivler.grisel on 19 Jul, 2014 03:43 PM
Actually I just add the same problem on this build:
https://ci.appveyor.com/project/ogrisel/joblib/build/1.0.9
Support Staff 9 Posted by Feodor Fitsner on 19 Jul, 2014 04:02 PM
Set "Skip branches without appveyor.yml" option on General tab of that project settings.
10 Posted by olivler.grisel on 23 Jul, 2014 05:08 PM
Found it, thanks.
olivler.grisel closed this discussion on 25 Jul, 2014 01:28 PM.