[support] Git and multisite: mutually exclusive?

Chris McAndrew chris at csmcreative.com
Tue Dec 3 10:37:31 UTC 2013


in regard to: *sorry, I didn't specify the multisite use. So, 4 domains
sharing one codebase. Each of those domains will be pulling files that
should only have the core files and their site files, but not the other
site files.*

If you have virtual hosts going on, you can point all of your domains to
you main source folder. It's a mix of that and .htaccess mod-rewrite but
the first step is making sure your hosting situation is right. For myself I
have a handful of sites, different tld's all sharing one source. But DNS is
a whole other issue. You need to make sure that is all correct too. Bottom
line, set up virtual hosts and look up the Drupal documentation which walks
you through exactly what you are asking.




*[image: http://csmcreative.com] <http://csmcreative.com> Chr**is McAndrew*

*Interactive Designer & Developer Mobile*: 1.603.498.3864
*  Email*: <chris at csmcreative.com>chris at csmcreative.com<chris at csmcreative.com?subject=Question+via+email+contact+link>

* Web*: http://csmcreative.com
*Twitter*: @chris_mcandrew <https://twitter.com/chris_mcandrew>
*LinkedIn*: chrismcandrew <http://linkedin.com/in/chrismcandrew>


On Wed, Nov 27, 2013 at 12:39 PM, <support-request at drupal.org> wrote:

> Send support mailing list submissions to
>         support at drupal.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.drupal.org/mailman/listinfo/support
> or, via email, send a message with subject or body 'help' to
>         support-request at drupal.org
>
> You can reach the person managing the list at
>         support-owner at drupal.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of support digest..."
>
>
> Today's Topics:
>
>    1. Git and multisite: mutually exclusive? (Jeff Greenberg)
>    2. Re: Git and multisite: mutually exclusive? (Metzler, David)
>    3. Re: Git and multisite: mutually exclusive? (Jeff Greenberg)
>    4. Re: Git and multisite: mutually exclusive? (Nancy Wichmann)
>    5. Re: Git and multisite: mutually exclusive? (Metzler, David)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 27 Nov 2013 09:59:39 -0500
> From: Jeff Greenberg <listmail.ayendesigns at gmail.com>
> Subject: [support] Git and multisite: mutually exclusive?
> To: "support at drupal.org" <support at drupal.org>
> Message-ID:
>         <
> CAPpCgRaK_GfF6RWud4ZjyKh766KohwaJfwYoeq0Fzn2K0JxkcA at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> I've been racking my brain trying to come up with an elegant git workflow
> for multisite.
>
> If I just want the site portions under git control, then it's not an issue.
> But if I want core as part of each, then it becomes so. I considered using
> git submodule, but then the workflow gets more complex on the local level.
>
> Has anyone found a nice way to handle this?
>
> ---
> drupal.org/user/367108
> linkedin.com/in/jeffrgreenberg
> accidentalcoder.com / ayendesigns.com
> @accidentalcoder
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.drupal.org/pipermail/support/attachments/20131127/2b0c2fc2/attachment-0001.html
>
> ------------------------------
>
> Message: 2
> Date: Wed, 27 Nov 2013 16:35:33 +0000
> From: "Metzler, David" <metzlerd at evergreen.edu>
> Subject: Re: [support] Git and multisite: mutually exclusive?
> To: "support at drupal.org" <support at drupal.org>
> Message-ID:
>         <CB99AEDD84838B4D919DE8C443FC5C55376CAB89 at palm.evergreen.edu>
> Content-Type: text/plain; charset="us-ascii"
>
> Can't really understand form this message what you are hung up on?  Asside
> from needed cutsomizations to .gitignore there's nothing really different
> about multisite vs. non-multisite in code base.   What specifically are you
> having trouble with?
>
> Dave
>
> From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On
> Behalf Of Jeff Greenberg
> Sent: Wednesday, November 27, 2013 7:00 AM
> To: support at drupal.org
> Subject: [support] Git and multisite: mutually exclusive?
>
> I've been racking my brain trying to come up with an elegant git workflow
> for multisite.
>
> If I just want the site portions under git control, then it's not an
> issue. But if I want core as part of each, then it becomes so. I considered
> using git submodule, but then the workflow gets more complex on the local
> level.
>
> Has anyone found a nice way to handle this?
>
> ---
> drupal.org/user/367108<http://drupal.org/user/367108>
> linkedin.com/in/jeffrgreenberg<http://linkedin.com/in/jeffrgreenberg>
> accidentalcoder.com<http://accidentalcoder.com> / ayendesigns.com<
> http://ayendesigns.com>
> @accidentalcoder
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.drupal.org/pipermail/support/attachments/20131127/f1c9e399/attachment-0001.html
>
> ------------------------------
>
> Message: 3
> Date: Wed, 27 Nov 2013 11:42:25 -0500
> From: Jeff Greenberg <listmail.ayendesigns at gmail.com>
> Subject: Re: [support] Git and multisite: mutually exclusive?
> To: "support at drupal.org" <support at drupal.org>
> Message-ID: <46F79145-AA38-450E-AD19-23C1EE6969DE at gmail.com>
> Content-Type: text/plain; charset="windows-1251"
>
> sorry, I didn't specify the multisite use. So, 4 domains sharing one
> codebase. Each of those domains will be pulling files that should only have
> the core files and their site files, but not the other site files.
>
> > On Nov 27, 2013, at 11:35 AM, "Metzler, David" <metzlerd at evergreen.edu>
> wrote:
> >
> > Can?t really understand form this message what you are hung up on?
>  Asside from needed cutsomizations to .gitignore there?s nothing really
> different about multisite vs. non-multisite in code base.   What
> specifically are you having trouble with?
> >
> > Dave
> >
> > From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On
> Behalf Of Jeff Greenberg
> > Sent: Wednesday, November 27, 2013 7:00 AM
> > To: support at drupal.org
> > Subject: [support] Git and multisite: mutually exclusive?
> >
> > I've been racking my brain trying to come up with an elegant git
> workflow for multisite.
> >
> > If I just want the site portions under git control, then it's not an
> issue. But if I want core as part of each, then it becomes so. I considered
> using git submodule, but then the workflow gets more complex on the local
> level.
> >
> > Has anyone found a nice way to handle this?
> >
> > ---
> > drupal.org/user/367108
> > linkedin.com/in/jeffrgreenberg
> > accidentalcoder.com / ayendesigns.com
> > @accidentalcoder
> > --
> > [ Drupal support list | http://lists.drupal.org/ ]
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.drupal.org/pipermail/support/attachments/20131127/991cf34f/attachment-0001.html
>
> ------------------------------
>
> Message: 4
> Date: Wed, 27 Nov 2013 09:22:38 -0800 (PST)
> From: Nancy Wichmann <nan_wich at bellsouth.net>
> Subject: Re: [support] Git and multisite: mutually exclusive?
> To: "support at drupal.org" <support at drupal.org>
> Message-ID:
>         <1385572958.21706.YahooMailNeo at web184705.mail.ne1.yahoo.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Jeff, I build another repo for the multisite core. Of course, it excludes
> the sites. As far as I am concerned, the core part is an entity that is
> managed separately from the individual sites.
>
>
> ?
> Nancy
>
>
>
>
>
> >________________________________
> > From: Jeff Greenberg <listmail.ayendesigns at gmail.com>
> >To: "support at drupal.org" <support at drupal.org>
> >Sent: Wednesday, November 27, 2013 9:59 AM
> >Subject: [support] Git and multisite: mutually exclusive?
> >
> >
> >
> >I've been racking my brain trying to come up with an elegant git workflow
> for multisite.?
> >
> >
> >If I just want the site portions under git control, then it's not an
> issue. But if I want core as part of each, then it becomes so. I considered
> using git submodule, but then the workflow gets more complex on the local
> level.
> >
> >
> >Has anyone found a nice way to handle this?
> >
> >
> >---
> >drupal.org/user/367108
> >linkedin.com/in/jeffrgreenberg
> >accidentalcoder.com / ayendesigns.com
> >@accidentalcoder
> >--
> >[ Drupal support list | http://lists.drupal.org/ ]
> >
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.drupal.org/pipermail/support/attachments/20131127/a62cd14c/attachment-0001.html
>
> ------------------------------
>
> Message: 5
> Date: Wed, 27 Nov 2013 17:28:57 +0000
> From: "Metzler, David" <metzlerd at evergreen.edu>
> Subject: Re: [support] Git and multisite: mutually exclusive?
> To: "support at drupal.org" <support at drupal.org>, 'Nancy Wichmann'
>         <nan_wich at bellsouth.net>
> Message-ID:
>         <CB99AEDD84838B4D919DE8C443FC5C55376CADC1 at palm.evergreen.edu>
> Content-Type: text/plain; charset="us-ascii"
>
> Nancy, do you have nested checkouts then or did you need to build a script
> to manage the combining of the sites checkout with the core checkout?
>
> Does this work then? :
>
> .gitignore of the core site includes sites but then you create a checkout
> of the separate repo in the sites folder with its own .gitignore file?
>
> Curious as well.
>
>
> From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On
> Behalf Of Nancy Wichmann
> Sent: Wednesday, November 27, 2013 9:23 AM
> To: support at drupal.org
> Subject: Re: [support] Git and multisite: mutually exclusive?
>
> Jeff, I build another repo for the multisite core. Of course, it excludes
> the sites. As far as I am concerned, the core part is an entity that is
> managed separately from the individual sites.
>
>
> Nancy
>
>
> ________________________________
> From: Jeff Greenberg <listmail.ayendesigns at gmail.com<mailto:
> listmail.ayendesigns at gmail.com>>
> To: "support at drupal.org<mailto:support at drupal.org>" <support at drupal.org
> <mailto:support at drupal.org>>
> Sent: Wednesday, November 27, 2013 9:59 AM
> Subject: [support] Git and multisite: mutually exclusive?
>
> I've been racking my brain trying to come up with an elegant git workflow
> for multisite.
>
> If I just want the site portions under git control, then it's not an
> issue. But if I want core as part of each, then it becomes so. I considered
> using git submodule, but then the workflow gets more complex on the local
> level.
>
> Has anyone found a nice way to handle this?
>
> ---
> drupal.org/user/367108<http://drupal.org/user/367108>
> linkedin.com/in/jeffrgreenberg<http://linkedin.com/in/jeffrgreenberg>
> accidentalcoder.com<http://accidentalcoder.com/> / ayendesigns.com<
> http://ayendesigns.com/>
> @accidentalcoder
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.drupal.org/pipermail/support/attachments/20131127/5683ba8a/attachment.html
>
> ------------------------------
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
> End of support Digest, Vol 131, Issue 25
> ****************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20131203/7b29aa8b/attachment-0001.html 


More information about the support mailing list