That would be useful.

The current script we use is
https://github.com/sympy/sympy/blob/master/release/fabfile.py. It
doesn't handle changelog (except for the authors section), but it does
just about everything else. It runs everything in a Vagrant machine,
and it handles running the tests, (tagging is done manually, for
safety), creating the tarball, doing several tests against the tarball
(there is a whitelist and blacklist against git to make sure all
necessary files are present and no unnecessary files are), uploading
the pre-release to GitHub, uploading the final release to GitHub and
PyPI, updating the documentation on docs.sympy.org, updating the NEWS
entry on sympy.org, and generating the authors list for the changelog
(the authors stuff is also managed by
https://github.com/sympy/sympy/blob/master/bin/mailmap_update.py and
https://github.com/sympy/sympy/blob/master/bin/authors_update.py).

This system is going to need some maintenance. fabric does not support
Python 3, so we need to move to something else that does. The Vagrant
box we are using doesn't support Python 3.3, so we will need to get a
new one by the next release (or else change the scripts to use conda).
It may make more sense to be using Docker (which didn't exist when
this was written). Doing conda-forge updates and changelog updates
would be nice as well. The changelog is the biggest thing, as it's the
most time consuming and currently the least automated.

Aaron Meurer


On Tue, Jan 24, 2017 at 2:19 PM, Anthony Scopatz <scop...@gmail.com> wrote:
> Hello All,
>
> FWIW, we have a release script for xonsh that handles many elements of a
> release (tagging, changelog, building and deploying docs, pypi conda-forge,
> etc. ): https://github.com/xonsh/xonsh/blob/master/release.xsh It requires
> only minimal, metadata changes to use on other projects. I have ported it to
> xo, lazyasd, amalgamate, regolith, etc.
>
> This includes the changelog feature.  Basically, every branch get's its own
> file in the news/ dir. At release time, the script glues all of these
> together. You can read more here: http://xon.sh/devguide.html#changelog
>
> I'd be in favor or breaking this out into a "releaser" project too, if other
> folks are interested.
>
> Be Well
> Anthony
>
> On Tue, Jan 24, 2017 at 2:03 PM Ondřej Čertík <ondrej.cer...@gmail.com>
> wrote:
>>
>> Hi Robert,
>>
>> On Tue, Jan 24, 2017 at 8:43 AM,  <robert.pol...@posteo.net> wrote:
>> > FYI, I found more details on how GitLab currently proceeds (and reasons
>> > why)
>> > at
>> >
>> > https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/changelog.md
>> > .
>> >
>> > (You could have a Python equivalent of their bin/changelog tool.)
>>
>>
>> Thanks for this tip. I like what GitLab is doing. The changelog script
>> can then be run on Travis automatically to ensure things are properly
>> formatted, and so on.
>>
>> Ondrej
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "sympy" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to sympy+unsubscr...@googlegroups.com.
>> To post to this group, send email to sympy@googlegroups.com.
>> Visit this group at https://groups.google.com/group/sympy.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/sympy/CADDwiVAKrmo7-q%2BKK9BvMTQ_S78-E2v-OUAGHNHGRgbgaBP4sw%40mail.gmail.com.
>> For more options, visit https://groups.google.com/d/optout.
>
> --
>
> Asst. Prof. Anthony Scopatz
> Nuclear Engineering Program
> Mechanical Engineering Dept.
> University of South Carolina
> scop...@cec.sc.edu
> Office: (803) 777-9334
> Cell: (512) 827-8239
> Office: Horizon 1, #011 (ground floor, not first)
> Book a meeting with me at https://scopatz.youcanbook.me/
> Open up an issue: https://github.com/scopatz/me/issues
> Check my calendar
>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sympy+unsubscr...@googlegroups.com.
> To post to this group, send email to sympy@googlegroups.com.
> Visit this group at https://groups.google.com/group/sympy.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/CAPk-6T4fzKMAyfFh7-MO9zyv%3DkN645-ufuUELaosfib4wcNQOA%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 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAKgW%3D6LMXvs-ER6GwowENHRJGxxbGBhOK9by9K%2BZMUeqENyGOg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to