Enable Travis PR auto-cancellation on most repos ?

57 views
Skip to first unread message

Matthias Bussonnier

unread,
Mar 24, 2017, 3:04:09 PM3/24/17
to jup...@googlegroups.com
Hi all,

Travis recently introduced auto-cancellation as a beta feature[1]. It
can be activated both on branches and/or PR.

As they explain on the blog post:

> You know those moments where you push some changes to GitHub, only to realize that you spelt something wrong? If you're like me you probably fix the mistake and push the changes within a minute.

Well with auto cancellation, if you push a commit, the previous ones
will be cancelled.

This should allow test on PRs to finish faster, and also likely
decrease the global load on travis-ci, which is already providing all
this infrastructure for free for open source projects.

So I believe it is something we should do on most of our repos. I'm
thus proposing that we enable this for PR on most of IPython/Jupyter
repos and make it the default behavior, unless it does not make sens,
which we could decide on a case-by-case basis.

Is anyone opposed to enabling such option ? does anyone also agrees
that it's the right thing to enable ? What are your thoughts ?

Thanks,
--
Matthias


[1]:https://blog.travis-ci.com/2017-03-22-introducing-auto-cancellation

Damián Avila

unread,
Mar 25, 2017, 6:57:10 AM3/25/17
to jup...@googlegroups.com
I think the feature is well fitted for our repos.
I would say +1 to make it the default option.

Cheers.

--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscribe@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/CANJQusUqHMuNoh_pnVVLePJ-NDWi8efXCQ0jPtg_g4Bc7g51Og%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.



--
Damián Avila

Thomas Kluyver

unread,
Mar 25, 2017, 8:01:14 AM3/25/17
to Project Jupyter
I think it makes sense in almost all cases, and I'd be happy to have it turned on on our repos, both for PRs and branches.

I hope that conda-forge is also going to enable this!

Jason Grout

unread,
Mar 25, 2017, 8:29:34 AM3/25/17
to Project Jupyter

+1 to enabling by default.


To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.

To post to this group, send email to jup...@googlegroups.com.

Steven Silvester

unread,
Mar 26, 2017, 10:47:17 AM3/26/17
to Project Jupyter, ja...@jasongrout.org
+1, we started using it in JupyterLab as soon as we saw the announcement; we had already been auto-canceling Appveyor builds.

MinRK

unread,
Mar 27, 2017, 7:54:00 AM3/27/17
to Project Jupyter
I think it's the right thing ~all of the time. Let's use it everywhere.

--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscribe@googlegroups.com.

Jessica B. Hamrick

unread,
Mar 27, 2017, 3:03:21 PM3/27/17
to Project Jupyter
+1 as well, I think this is almost always what we want.

Matthias Bussonnier

unread,
Apr 3, 2017, 2:15:12 PM4/3/17
to jup...@googlegroups.com
I've now enabled auto cancellation of PRs on most of the repositories.
--
MN
>>> email to jupyter+u...@googlegroups.com.
>>> To post to this group, send email to jup...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jupyter/CANJQusUqHMuNoh_pnVVLePJ-NDWi8efXCQ0jPtg_g4Bc7g51Og%40mail.gmail.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Project Jupyter" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to jupyter+u...@googlegroups.com.
>> To post to this group, send email to jup...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jupyter/CAHNn8BX1yyh2ohJCRKTT%3DXQLUgnY1FJnysWQXg92jeLu4Yj6GA%40mail.gmail.com.
>>
>> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jupyter+u...@googlegroups.com.
> To post to this group, send email to jup...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/CALUXcBzQhDfg1NWNq2VmNXkTJhoQxPMO5%3DahNwuvUSPYj49h8A%40mail.gmail.com.

Carol Willing

unread,
Apr 3, 2017, 3:05:38 PM4/3/17
to jup...@googlegroups.com
Thanks Matthias. Welcome back!
Reply all
Reply to author
Forward
0 new messages