[Numpy-discussion] Development workflow

Charles R Harris charlesr.harris at gmail.com
Mon Oct 11 20:39:18 EDT 2010


On Mon, Oct 11, 2010 at 5:56 PM, Joshua Holbrook <josh.holbrook at gmail.com>wrote:

> In projects I've worked on, most people have worked on their own
> repos, continually merging in changes from other repos to keep
> themselves current. I think this is generally a good approach for
> development, if a bit disorganized. In addition, obviously a group of
> people pushing to numpy/numpy is necessary. I would suggest core devs
> keeping numpy/numpy's development branch as "deployed" code, while
> starting new development on their own branches and merging them in as
> they see fit.  Non-core developers can contribute by sending pull
> requests.
>
> In my opinion, I've seen a lot of people coming from SVN try to apply
> SVN-style workflow to git (and presumably other dvcs's), but git and
> the like (and Github!) allow for much more fine-tuned workflows in my
> opinion, and I think it's a mistake to ignore that. I'm just some guy,
> though, so I'm not sure my opinion has much weight.
>
>
I find having the branch displayed on the command line helpful in avoiding
mishaps, so I have the following in my .bashrc

export PS1='\[\033[1;31m\]\$\[\033[0m\]\u@\h \W$(__git_ps1 " (%s)")\\$ '

The \W$(__git_ps1 " (%s)") bit is the important part.

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20101011/c6503504/attachment.html>


More information about the NumPy-Discussion mailing list