--
* You received this message because you are subscribed to the Google Groups "Capistrano" group.
* To post to this group, send email to capis...@googlegroups.com
* To unsubscribe from this group, send email to capistrano+...@googlegroups.com For more options, visit this group at http://groups.google.com/group/capistrano?hl=en
One of the things I would like is to be able to give git (and git
submodule) a --references option. That would basically cache everything
in some place. Any old checkout would do, but best if it got blessed in
some way.
I will remind that I also wrote a deploy via dpkg awhile ago.
I found it very useful to make deployments to customers who ran the
system behind ugly firewalls that could do HTTP-only, and I had to
access via putty from an RDP session... (so no ssh-agent, and certainly
no outgoing port-22).
--
] He who is tired of Weird Al is tired of life! | firewalls [
] Michael Richardson, Sandelman Software Works, Ottawa, ON |net architect[
] m...@sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device driver[
Kyoto Plus: watch the video <http://www.youtube.com/watch?v=kzx1ycLXQSE>
then sign the petition.
One of the things I would like is to be able to give git (and git submodule) a --references option.
I will remind that I also wrote a deploy via dpkg awhile ago.
Lee> That fits with this, which is pending to be pulled;
Lee> https://github.com/capistrano/capistrano/pull/80 - Where can I
Lee> read about �--references�, there's nothing obvious in the man
Lee> pages?
Yes, I think #80 would mostly solve it, but I'd like to automate it a
bit more, because creating the directory the first time
man git-clone
--reference <repository>
If the reference repository is on the local machine, automatically
setup .git/objects/info/alternates to obtain objects from the
reference repository. Using an already existing repository as an
alternate will require fewer objects to be copied from the
repository being cloned, reducing network and local storage costs.
NOTE: see the NOTE for the --shared option.
>> I will remind that I also wrote a deploy via dpkg awhile ago.
Lee> Where does that live?
It was done awhile ago, likely needs to be updated:
https://github.com/mcr/capistrano
StuartM> I like the idea of creating a .deb package and letting apt
StuartM> manage the packages, then using Capistrano to orchestrate
StuartM> the "apt-get update" and stop/start of services.
For me, the major plus, if one can get all of one's gem's repackaged as
dpkg, is that upgrades to appliances (where the customer pulls...) make
more sense.
(Also, any gem's that have native code require a compiler on the target
system, which is annoying from a minimal security profile point of view)
StuartM> We did look into remote caches of GitHub and nearly started
StuartM> work on it, but it didn't solve the issue that quite an
StuartM> intensive processes is happening every deployment for N
StuartM> servers - The deb package seems a cleaner, more manageable
StuartM> solution.
So you mean, you had a server, not github.com, which was the master for
your repository. You are still pulling a lot of data from it.
--references would be a much bigger win network and disk-wise.
Deploy-via-dpkg means that you don't ship any history at all.
You might also want to try the copy methods, but I don't know if they
have been integrated with git-submodules before.