<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Sounds like this falls into the "not 'rules'... More like 'guidelines'..." category.<br><br><span style="font-size: 13pt; background-color: rgba(255, 255, 255, 0);">John ZuHone</span><br><div><span style="background-color: rgba(255, 255, 255, 0);">Kavli Center for Astrophysics and Space Research<br>Massachusetts Institute of Technology<br><a href="x-apple-data-detectors://0" x-apple-data-detectors="true" x-apple-data-detectors-type="address" x-apple-data-detectors-result="0">77 Massachusetts Ave.</a>, 37-582G<br><a href="x-apple-data-detectors://1/0" x-apple-data-detectors="true" x-apple-data-detectors-type="address" x-apple-data-detectors-result="1/0">Cambridge, MA 02139</a><br>(w) <a href="tel:617-253-2354" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="1/1">617-253-2354</a><br>(m) <a href="tel:781-708-5004" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="1/2">781-708-5004</a><br><a href="mailto:jzuhone@space.mit.edu" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="1/3">jzuhone@space.mit.edu</a><br><a href="mailto:jzuhone@gmail.com" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="2">jzuhone@gmail.com</a><br><a href="http://www.jzuhone.com/" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="3">http://www.jzuhone.com</a></span><br style="font-family: UICTFontTextStyleBody; -webkit-text-size-adjust: auto;"></div></div><div><br>On Nov 3, 2014, at 7:15 PM, Chris Malone <<a href="mailto:chris.m.malone@gmail.com">chris.m.malone@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">I'm +1 on the manifesto, but share the concerns about disentangling PRs that need to put in the right places - could be challenging, but I'm not sure there is a straightforward fix.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 3, 2014 at 5:05 PM, Douglas Harvey Rudd <span dir="ltr"><<a href="mailto:drudd@uchicago.edu" target="_blank">drudd@uchicago.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word">
Hi Nathan,
<div><br>
</div>
<div>I’ll echo Cameron’s concerns that it’s not always obvious how to disentangle API changes from pure bugfixes. I’ve just submitted a PR that fixes a bug *by* changing the API. In this case it’s backwards compatible (the API has only grown), but
 I’m not sure yt has a sufficiently stable API to protect.</div>
<div><br>
</div>
<div>If we allow the policy to be broken from time to time, and simply reflect recommended practice, I think it’s a good idea.</div>
<div><br>
</div>
<div>
<div>
<div>
<div style="color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div>Douglas Rudd</div>
<div>Scientific Computing Consultant<br>
Research Computing Center<br>
</div>
<div><a href="mailto:drudd@uchicago.edu" target="_blank">drudd@uchicago.edu</a></div>
</div>
<br>
<br>
</div><div><div class="h5">
<br>
<div>
<blockquote type="cite">
<div>On Nov 3, 2014, at 5:56 PM, Cameron Hummels <<a href="mailto:chummels@gmail.com" target="_blank">chummels@gmail.com</a>> wrote:</div>
<br>
<div>
<div dir="ltr">Hey Nathan,
<div><br>
</div>
<div>I think in general this is a great idea.  The only concern I have is that it may not always be easy to separate bugfixes for the stable branch vs bugfixes which may only work on code in the dev branch (where the API may be different or there may
 be new functionality).  I'm not saying this is impossible, but it may be challenging to do right.  I suppose if we have less time between releases, this will be minimized, since dev and stable will be more in sync with each other.</div>
<div><br>
</div>
<div>An example of this that comes to mind is the ProjectionPlot's 'method' attribute.  In yt 3.0, this attribute was 'style', but I submitted a PR which changed it to 'method' recently.  Since this is an API change, it shouldn't be incorporated into
 patch releases, but it would only go into yt 3.1, right?  But John Zuhone has a PR right now with lots of bugfixes, including one that enables the 'method' attribute to work with 'sum's in the OffAxisProjection.  Under the proposed infrastructure, how would
 he submit this bugfix?  Would he submit it as a bugfix to the 'style' attribute in the old stable branch (prior to the acceptance of my PR?), which would later change to the 'method' attribute in the next point release?  Or would he hold off on it until the
 next point release?  It seems unclear to me, but maybe I'm just being daft.</div>
<div><br>
</div>
<div>I do really like the idea of shutting off substantive PRs 2 weeks before release, though, and asking everyone to do their work on the tip.  I'm very much in favor of that.</div>
<div><br>
</div>
<div>Cameron</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Nov 3, 2014 at 4:43 PM, Nathan Goldbaum <span dir="ltr">
<<a href="mailto:nathan12343@gmail.com" target="_blank">nathan12343@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi all,
<div><br>
</div>
<div>Before making a PR to the YTEP repository, I wanted to propose a modification to our development workflow to the mailing list.</div>
<div><br>
</div>
<div>In particular, I think we need to be more careful about what changes go to the yt branch and the stable branch.</div>
<div><br>
</div>
<div>Right now we suggest all new changes, including bug fixes, API changes, and new features, go to the "yt" branch.  Periodically, we merge from the "yt" branch into the "stable" branch, tag the merge with a release number, and upload to pypi.</div>
<div><br>
</div>
<div>This means that we are restricted in making bugfix releases that include no breaking changes.  As soon as a new feature gets merged into the "yt" branch, by all rights the next merge-to-stable and release should be a minor version change instead
 of a patch version change (i.e. we should be releasing yt 3.1 instead of yt 3.0.1 after merging in a new feature or API change, see
<a href="http://semver.org/" target="_blank">http://semver.org/</a> for more details on this nomenclature).  Generally, people expect patch version bumps to only include bugfixes.</div>
<div><br>
</div>
<div>I'd like to propose a modification to our development workflow that should make it easier to make sure bugfixes can be released without breaking unrelated things, while still allowing us to temporarily break stuff on the dev branch.</div>
<div><br>
</div>
<div>I think rather than merging from the "yt" branch into "stable" *every* time we do a release, we should instead issue patch releases from the current state of the stable branch.  Instead of merging from "yt" into "stable" with every release, we
 should only do so before a minor or major version release, not patch releases.</div>
<div><br>
</div>
<div>This means that bugfixes will need to go to the "stable" branch instead of the "yt" branch.  It also means that the "stable" branch will need to be merged into the "yt" branch with some regularity to make sure bugfixes make their way to the dev
 version of the code.  It will also take some degree of manual care to ensure that the "@" bookmark always points at the tip of the stable branch so fresh clones get bugfixes.  Additionally, bugfixes may need to be backported or cherrypicked from the "yt" branch
 to the "stable" branch if a bugfix comes in as part of some bigger change or if a contributor isn't aware that bugfixes should go to the stable branch.</div>
<div><br>
</div>
<div>This workflow sort of matches what's done in the mercurial community.</div>
<div><br>
</div>
<div>I think it would be a good idea to follow the mercurial community in another way, we should institute a "code freeze" for the two weeks prior to a non-bugfix release. This means that all developers switch to the tip of the "yt" branch, and only
 PRs that fix bugs, documentation issues, or improve error messages can be merged. Just before release, the "yt" branch is merged into "stable".</div>
<div><br>
</div>
<div>See <a href="http://mercurial.selenic.com/wiki/TimeBasedReleasePlan" target="_blank">http://mercurial.selenic.com/wiki/TimeBasedReleasePlan</a> for more details. <br>
</div>
<div><br>
</div>
<div>Instituting such a testing period should help us understand the scope of a release a few weeks out, keep pre-release documentation updates bounded, and hopefully help suss out bugs since most developers will be testing a sync'd up-to-date version
 of the code that people will actually be using.</div>
<div><br>
</div>
<div>What do you all think about these proposals?  If there's broad agreement that this is a good idea, I'll put this proposal together as a patch for YTEP-1776.  If not I'll hold off for a while until we can come to a consensus.</div>
<div><br>
</div>
<div>Best,</div>
<div><br>
</div>
<div>Nathan</div>
</div>
<br>
_______________________________________________<br>
yt-dev mailing list<br>
<a href="mailto:yt-dev@lists.spacepope.org" target="_blank">yt-dev@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div>Cameron Hummels
<div>Postdoctoral Researcher</div>
<div>Steward Observatory</div>
<div>University of Arizona</div>
<div><a href="http://chummels.org/" target="_blank">http://chummels.org</a></div>
</div>
</div>
_______________________________________________<br>
yt-dev mailing list<br>
<a href="mailto:yt-dev@lists.spacepope.org" target="_blank">yt-dev@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>
</div>
</blockquote>
</div>
<br>
</div></div></div>
</div>
</div>

<br>_______________________________________________<br>
yt-dev mailing list<br>
<a href="mailto:yt-dev@lists.spacepope.org">yt-dev@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>
<br></blockquote></div><br></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>yt-dev mailing list</span><br><span><a href="mailto:yt-dev@lists.spacepope.org">yt-dev@lists.spacepope.org</a></span><br><span><a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a></span><br></div></blockquote></body></html>