[petsc-dev] Tiny pull requests via Bitbucket web interface

Matthew Knepley knepley at gmail.com
Tue Jun 5 17:20:14 CDT 2018


On Tue, Jun 5, 2018 at 1:02 PM, Patrick Sanan <patrick.sanan at gmail.com>
wrote:

> After Karl's nice talk on contributing to PETSc, I was reminded of a
> similar talk that I saw at the Julia conference. The title was also
> something like "Contributing is easy!" but used an even more extreme
> example of making your first contribution. It was (as Barry encouraged) a
> small documentation change, and they demonstrated how to do this via the
> GitHub web interface.
>
>
> This could be a great way to lower the "activation energy" for these kinds
> of tiny, trivially-reviewable changes.
>
>
> The practical steps with Bitbucket are approximately :
>
>    - go to the PETSc Bitbucket site
>    - navigate to the source file you want to change
>    - "edit"
>    - make sure you are at "master" (I had to select this from the
>    pull-down, otherwise "edit" was greyed out and and gives a hint on
>    mouseover)
>    - make your small, innocuous edit
>    - "commit"
>    - select "create a pull request" if needbe, and fill out comments /
>    reviewers as usual.
>
> I believe that if you don't have write access, you can still do this and
> it will create a fork for you automatically.
>
>
> Here's a test:
>
> https://bitbucket.org/petsc/petsc/pull-requests/975/docs-
> manual-makefile-fix-typo-in-error/diff
>
>
> Thoughts? Should this be actively encouraged?
>

This is pretty great.

  Matt

-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

https://www.cse.buffalo.edu/~knepley/ <http://www.caam.rice.edu/~mk51/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20180605/f65252db/attachment.html>


More information about the petsc-dev mailing list