Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contribution workflow #5

Closed
StevenClontz opened this issue Feb 28, 2017 · 3 comments
Closed

Contribution workflow #5

StevenClontz opened this issue Feb 28, 2017 · 3 comments
Assignees
Milestone

Comments

@StevenClontz
Copy link
Member

Here's a proposed workflow for contributions. Once it's decided on, we should have this in CONTRIBUTING.md.

  1. New contributions are made via pull request.
  2. James's custom CI tool (is this on GitHub?) automatically makes the following guarantees:
    • no duplicated stubs
    • no contradictions
    • citations in every file
    • Others?
  3. If the PR passes the above checks, an Editor (right now just Steven) verifies that the contribution is supported by its citations
  4. Once approved by the editor (through what mechanism?), the CI tool makes the following enhancements:
    • builds appropriate UIDs
    • others?
  5. CI tool merges new contribution to master and delivers updated database to jamesdabbs/pi-base-viewer
@jamesdabbs
Copy link
Member

The validator is on Github @ pi-base/validator (incidentally, I was thinking about keeping any related tools under the pi-base org down the road).

There are two families of checks to run: internal consistency ones, and diff checks (e.g. did a theorem get deleted? Did a trait change value? Are we okay with that?) For now (and maybe for always), it's probably just a matter of commenting with a warning rather than literally disallowing those sorts of destructive updates.

We could wire up the "approval" to literally be clicking the merge button, but I sort of imagine that you'll want it to be something you can kick off manually from whatever tool you end up using to facilitate reviews. The validator is a Yesod app, and so could easily have an admin area for these sorts of things.

@StevenClontz
Copy link
Member Author

Moving all these projects to pi-base org makes sense to me. Feel free to add me as a collaborator; I'm dreaming of a future where I can contribute code as well as math. (Right now I'm working on a math ed Rails app that's hogging my time though: https://github.com/stevenclontz/sbg-rails )

I imagine that when I get a reviewable PR (it passes the first check for trivial issues), I'll want to edit it in the same tool I use to make my own contributions, then send it back off to a tool in the cloud that handles the final merging into the repo and updating the viewer. I've never worked with CI tools or Yesod myself, so I'm only vaguely aware of the standard way of doing things, if there is such a thing.

@StevenClontz StevenClontz self-assigned this Mar 8, 2019
@StevenClontz StevenClontz added this to the STDC2019 milestone Mar 8, 2019
@StevenClontz
Copy link
Member Author

Closing as stale

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants