Google Groups Home
Help | Sign in
taking advantage of scm for deployment
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  10 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Anthony Ettinger  
View profile
 More options Jun 15, 2:43 pm
From: "Anthony Ettinger" <ettin...@gmail.com>
Date: Sun, 15 Jun 2008 11:43:44 -0700
Local: Sun, Jun 15 2008 2:43 pm
Subject: taking advantage of scm for deployment
Using :export takes quite a long time, even for editing one file.

Is there a way to only push the difference, and not the entire trunk?

--
Anthony Ettinger
408-656-2473
http://anthony.ettinger.name


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Aníbal Rojas  
View profile
 More options Jun 16, 7:19 am
From: Aníbal Rojas <anibalro...@gmail.com>
Date: Mon, 16 Jun 2008 04:19:19 -0700 (PDT)
Local: Mon, Jun 16 2008 7:19 am
Subject: Re: taking advantage of scm for deployment
As far as I know there is no support for a "diferential" or "delta"
deploymet.

Its an interesting idea, but seems complex.

--
Aníbal Rojas
http://hasmanydevelopers.com
http://rubycorner.com
http://anibal.rojas.com.ve

On Jun 16, 1:43 pm, "Anthony Ettinger" <ettin...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Anthony Ettinger  
View profile
 More options Jun 16, 1:41 pm
From: "Anthony Ettinger" <ettin...@gmail.com>
Date: Mon, 16 Jun 2008 10:41:12 -0700
Local: Mon, Jun 16 2008 1:41 pm
Subject: Re: [Rails-deploy] Re: taking advantage of scm for deployment
I disagree, why else would you have an scm option to begin with?
The whole advantage of using it for a pull scenario is that you can
just "svn up" the diff.

--
Anthony Ettinger
408-656-2473
http://anthony.ettinger.name

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Adrian Madrid  
View profile
 More options Jun 16, 1:46 pm
From: "Adrian Madrid" <aemad...@gmail.com>
Date: Mon, 16 Jun 2008 11:46:37 -0600
Local: Mon, Jun 16 2008 1:46 pm
Subject: Re: [Rails-deploy] taking advantage of scm for deployment

A crude way of doing it would be to keep a svn/git copy in your prod server,
run a update/pull and from the log/output figure out what files changed and
copy only those files to the right places. Hope it helps,

AEM

On Sun, Jun 15, 2008 at 12:43 PM, Anthony Ettinger <ettin...@gmail.com>
wrote:

> Using :export takes quite a long time, even for editing one file.

> Is there a way to only push the difference, and not the entire trunk?

> --
> Anthony Ettinger
> 408-656-2473
> http://anthony.ettinger.name

--
Adrian Esteban Madrid
Lead Developer, Prefab Markets
http://www.prefabmarkets.com

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jesse Proudman  
View profile
 More options Jun 16, 1:49 pm
From: Jesse Proudman <jesse.proudman-li...@blueboxgrp.com>
Date: Mon, 16 Jun 2008 10:49:31 -0700
Local: Mon, Jun 16 2008 1:49 pm
Subject: Re: [Rails-deploy] Re: taking advantage of scm for deployment

> Using :export takes quite a long time, even for editing one file.

> Is there a way to only push the difference, and not the entire trunk?

Using Capistrano 2, you can use the set :deploy_via, :remote_cache  
variable to have it keep a cached copy and just do an update and copy  
from that.

--

Jesse Proudman,  Blue Box Group, LLC
http://www.blueboxgrp.com


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Adrian Madrid  
View profile
 More options Jun 16, 1:56 pm
From: "Adrian Madrid" <aemad...@gmail.com>
Date: Mon, 16 Jun 2008 11:56:59 -0600
Local: Mon, Jun 16 2008 1:56 pm
Subject: Re: [Rails-deploy] Re: taking advantage of scm for deployment

I knew there had to be a better way already made. Gotta check out that
option in Capistrano. haven't read their docs in years seems like.

AEM

On Mon, Jun 16, 2008 at 11:49 AM, Jesse Proudman <

--
Adrian Esteban Madrid
Lead Developer, Prefab Markets
http://www.prefabmarkets.com

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Aníbal Rojas  
View profile
 More options Jun 17, 6:57 am
From: Aníbal Rojas <anibalro...@gmail.com>
Date: Tue, 17 Jun 2008 03:57:58 -0700 (PDT)
Local: Tues, Jun 17 2008 6:57 am
Subject: Re: taking advantage of scm for deployment
Anthony,

    The problem is that there is not a one to one match with the
deployed application and the content of the SCM. Common deployment
recipes involve symlinking, generating a version file, etc. Also,
letting the .svn (in the Subversion case) files in releases/
<timestamp> is a security risk, most people sets capistrano to do a
checkout losing the version metadata.

    I understand your point, actually Bazaar has this concept:

    $ bzr checkout --lightweight http://whatever

    If this were going to be implemented the first thing to solve is
how to manage the releases/<timestamp> folders, maybe copying the the
previous release and generating the delta against the new version. I
need to keep the ability to do rollbacks.

--
Anibal

On Jun 17, 12:41 pm, "Anthony Ettinger" <ettin...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Aníbal Rojas  
View profile
 More options Jun 17, 6:58 am
From: Aníbal Rojas <anibalro...@gmail.com>
Date: Tue, 17 Jun 2008 03:58:49 -0700 (PDT)
Local: Tues, Jun 17 2008 6:58 am
Subject: Re: taking advantage of scm for deployment
That's it, thanks.

--
Aníbal

On Jun 17, 12:49 pm, Jesse Proudman <jesse.proudman-


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Anthony Ettinger  
View profile
 More options Jun 17, 2:15 pm
From: "Anthony Ettinger" <ettin...@gmail.com>
Date: Tue, 17 Jun 2008 11:15:21 -0700
Local: Tues, Jun 17 2008 2:15 pm
Subject: Re: [Rails-deploy] Re: taking advantage of scm for deployment
There's a program called rsnapshot used for creating hourly backups,
similar pattern may be applicable to deployments.

I'm currently using the :export option, which makes a duplicate of the
entire tree (even if only 1 file has changed).

The rsnapshot perl script I'm referring to uses rsync to provide the
delta and only copies files that have been changed, added, or removed.

It makes a hardlink of all existing files that have not been modified
(saving on disk space) to create the rest of the un-modified tree.

The advantage is that a deploy could take a few seconds vs. several
minutes, and save on disk space.

--
Anthony Ettinger
408-656-2473
http://anthony.ettinger.name

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jamis Buck  
View profile
 More options Jun 21, 10:16 pm
From: Jamis Buck <ja...@37signals.com>
Date: Sat, 21 Jun 2008 20:16:14 -0600
Local: Sat, Jun 21 2008 10:16 pm
Subject: Re: [Rails-deploy] Re: taking advantage of scm for deployment
Please do investigate that. Sounds like it would make a great plugin  
for capistrano.

- Jamis

On Jun 17, 2008, at 12:15 PM, Anthony Ettinger wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google