[Newby] - Local and Staging Environments

Asked by Clay Hess

I am attempting to setup and use Bazaar within the following environment...

We have a local environment on each developer's laptop where they perform their work. We then push our changes to a staging environment. We would like to setup our version control so that we can keep our local and staging environments in sync. I cannot seem to figure out how best to achieve this. I can setup Bazaar no problem in the local environment or the staging environment, but not both. Is there some documentation somewhere?

Question information

Language:
English Edit question
Status:
Answered
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Martin Pool (mbp) said :
#1

On 17 February 2011 02:13, Clay Hess
<email address hidden> wrote:
> New question #145617 on Bazaar:
> https://answers.launchpad.net/bzr/+question/145617
>
> I am attempting to setup and use Bazaar within the following environment...
>
> We have a local environment on each developer's laptop where they perform their work. We then push our changes to a staging environment. We would like to setup our version control so that we can keep our local and staging environments in sync. I cannot seem to figure out  how best to achieve this. I can setup Bazaar no problem in the local environment or the staging environment, but not both. Is there some documentation somewhere?

Hi Clay,

Have a look at the models in the user guide in
<http://doc.bazaar.canonical.com/bzr.dev/en/user-guide/index.html>.

What's right depends a bit on how your team is set up, and in
particular whether you want any mandatory sign off before changes go
to the staging environment.

If you're happy to have any developer able to deploy things to staging
then I would recommend:

 * make a repository directory on each developer's laptop
 * within that, they can make as many feature branches as they like
 * they also have a checkout of the staging branch, and they can merge
from their own branches in to that, then committing that merge will
cause the changes to be pushed to the main staging branch
 * they might also need to go to the server and restart it/update it
for their changes, depending on your environment; or perhaps you can
script this

hth, Martin

Can you help with this problem?

Provide an answer of your own, or ask Clay Hess for more information if necessary.

To post a message you must log in.