Skip to content

Start combining various development documentation into one place. #9754

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

Merged
merged 1 commit into from
Apr 3, 2015

Conversation

rockg
Copy link
Contributor

@rockg rockg commented Mar 31, 2015

Closes #6232

In working with the various "Contributing" documents recently it was clear that we needed to combine them. This is a stab at doing so. I took the various components from pydata.org, CONTRIBUTING.md, various wiki pages, and the already included Documentation documents and created this file. I think it's a good start.


Now that the bug is fixed or the enhancement is in place, you need to write tests.
Any code you contribute must have adequate test coverage to be considered. Adding tests
is one of the most comment requests after code is pushed to *pandas*. Most often these
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

common requests

@jreback
Copy link
Contributor

jreback commented Mar 31, 2015

@rockg this is pretty awesome!

I would like to emphasize test driven development (TDD)
eg write a test to reproduce where test fails , fix code, then test passes
so maybe move testing a bit higher

@rockg
Copy link
Contributor Author

rockg commented Mar 31, 2015

I tried to keep things in order of how they are done. I think it makes sense where it is in the document--after building the code and before committing. I can put some mention of it at the top in the "working with code" section and make it more explicit in the testing section. Would that work?

@rockg rockg force-pushed the development-docs branch from e3a0a28 to 8940f09 Compare March 31, 2015 11:52
@rockg rockg force-pushed the development-docs branch from 8940f09 to 5251b5f Compare March 31, 2015 13:29
@jreback jreback added the Docs label Apr 2, 2015
@jreback jreback added this to the 0.16.1 milestone Apr 2, 2015
@jreback
Copy link
Contributor

jreback commented Apr 2, 2015

lgtm. @jorisvandenbossche @shoyer

@shoyer
Copy link
Member

shoyer commented Apr 2, 2015

Indeed, thanks @rockg !

@rockg
Copy link
Contributor Author

rockg commented Apr 2, 2015

With this I would like to redirect http://pandas.pydata.org/developers.html and https://github.com/pydata/pandas/blob/master/CONTRIBUTING.md to this page. Does that sound good? I think CONTRIBUTING.md is what is linked when making a new pull request (something like "Please read the following guidelines..."). Is it possible to have something else show up in that message, e.g., a list of things, or can it only point to this file?

@shoyer
Copy link
Member

shoyer commented Apr 2, 2015

I'm pretty sure the GitHub link can only point to the file with that name.

On Thu, Apr 2, 2015 at 4:40 PM, rockg [email protected] wrote:

With this I would like to redirect
http://pandas.pydata.org/developers.html and
https://github.com/pydata/pandas/blob/master/CONTRIBUTING.md to this
page. Does that sound good? I think CONTRIBUTING.md is what is linked when
making a new pull request (something like "Please read the following
guidelines..."). Is it possible to have something else show up in that
message, e.g., a list of things, or can it only point to this file?


Reply to this email directly or view it on GitHub
#9754 (comment).

@jreback
Copy link
Contributor

jreback commented Apr 3, 2015

I can change the developers links to just about anything

ok let's merge and I'll fix the link tonight

then we can review everything and fix if needed

jreback added a commit that referenced this pull request Apr 3, 2015
Start combining various development documentation into one place.
@jreback jreback merged commit ea1c501 into pandas-dev:master Apr 3, 2015
@jreback
Copy link
Contributor

jreback commented Apr 3, 2015

I think we might need to link CONTRIBUTING.md to the dev page for this to work

@rockg
Copy link
Contributor Author

rockg commented Apr 3, 2015

"dev page" is the page added for this PR, right? If so, yes, I think this is what we want. And then we llink the developers from pydata to the docs page as well.

@jreback
Copy link
Contributor

jreback commented Apr 3, 2015

yep

@rockg
Copy link
Contributor Author

rockg commented Apr 3, 2015

Better yet, probably link to "Contributing to the code base"

@jankatins
Copy link
Contributor

@rockg Wow, this is great!

@jreback
Copy link
Contributor

jreback commented Apr 3, 2015

http://pandas.pydata.org/index.html

is updated (the About Pandas / Contributing Guidelines link), currently goes to the dev docs.

------------------------------------

Once your feature branch is accepted into upstream, you'll probably want to get rid of
the branch. First, merge upstream master into your branch so git knows it is safe to delete your branch ::
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe merging is an unnecessary step. use '-D'.

use cases and writing corresponding tests.

Adding tests is one of the most common requests after code is pushed to *pandas*. It is worth getting
in the habit of writing tests ahead of time so this is never an issue.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is worth getting in the habit of writing tests ahead of time so this is never an issue.

... but that's good advice.

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

Successfully merging this pull request may close these issues.

DOC: consolidate developer docs in main docs
7 participants