On Tue, Feb 25, 2014 at 12:01 PM, Ben Nemec <openst...@nemebean.com> wrote:

> So is there some git magic that also keeps the repos in sync, or do you
> have to commit/pull/restart service every time you make changes?  I ask
> because experience tells me I would inevitably forget one of those steps at
> some point and be stymied by old code still running in my devstack.  Heck,
> I occasionally forget just the "restart service" step. ;-)
>

This is why I set RECLONE=True and set the *_REPO and *_BRANCH as required
to point to my working repo so re-running stack.sh just does the Right
Thing.  And it still allows short dev cycles in /opt/stack with manual
restartes of the service(s) involved in screen.  But the real work happens
elsewhere, in my case on a different machine.

Remember, DevStack's opinion of your work area is that it is a disposable
VM.  Doing long-term work in a disposable VM is just asking for trouble in
a number of ways.  Sean's local mounts via VBox and my remote git repos are
only two ways to operate in that environment, I'm sure there are many
others.

dt

-- 

Dean Troyer
dtro...@gmail.com
_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to