This is good. We will be able to be much more agile with changes to
Live and Gamma with this.
On Tue, Mar 11, 2014 at 3:26 PM, David Li <
li.da...@gmail.com> wrote:
> Hello all,
>
> Based on Paul Kinlan's blog post I have forked and updated the
> "Github-Auto-Deploy" server to deploy SymPy Live/SymPy Gamma. My fork is at
>
https://github.com/lidavidm/Github-Auto-Deploy; it uses Python 3 and has
> some other changes detailed below.
>
> How it works:
>
> The server is configured with the location of the local repository, the
> deploy scripts, etc. (see the configuration file)
> On the repository a webhook is set up to point to the server.
> Any commit will be sent as a POST request to the server.
> The server (this is different from the original) filters for a commit
> message matching "Bump version to [0-9]+" (specified in the configuration
> file), at which point it pulls changes from remote.
> The deploy script uses the App Engine SDK to deploy.
>
> This uses OAuth so we only have to sign in once.
> The deploy script has access to environment variables set by the
> server/configuration so we don't have to hardcode the SDK location in the
> script.
>
> Some work is still needed: the server doesn't verify that the request is
> from Github. Also, the project has no license, so it's unclear if we can use
> it or not.
That shouldn't be an issue, even if it has an incompatible license, as
we are not incorporating the code with Live.
Aaron Meurer
>
> The server can be tested locally with instructions from Github: run the
> server, then use ngrok to expose the local server to the Internet. On
> Github's webhook page (in the repository settings), add the ngrok URL as a
> webhook and set the payload version to JSON (this also differs from the
> original server)
>
> David
>
> --
> 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+un...@googlegroups.com.
> To post to this group, send email to
sy...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/sympy.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/sympy/ee8ae420-56ce-4c61-b3a8-588afb4fe6e9%40googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.