[Numpy-discussion] Development workflow
Charles R Harris
Mon Oct 11 19:39:18 CDT 2010
On Mon, Oct 11, 2010 at 5:56 PM, Joshua Holbrook <firstname.lastname@example.org>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
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion