Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4008292
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T08:44:12+00:00 2026-05-20T08:44:12+00:00

at our company we have some drupal projects that share some custom developed modules,

  • 0

at our company we have some drupal projects that share some custom developed modules, so in svn, we have a dir structure like this:

project 1
-- sites
-- -- all
-- -- -- modules
-- -- -- -- custom
-- -- -- -- -- my_mod1

project 2
-- sites
-- -- all
-- -- -- modules
-- -- -- -- custom
-- -- -- -- -- my_mod2

Now, we want to share my_mod1 in other projects, like project 2, but if we simply copy/added it to svn, it will be difficult to maintain (dupe code, each one on one repo, so if we modify one, we will need to modify the other).

Probably, the ideal will be to have a central repo of custom modules, but I don’t know if this is possible, or how to do it, so, please, we need your help with this ;).

Thanks in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T08:44:13+00:00Added an answer on May 20, 2026 at 8:44 am

    I’d suggest using SVN externals.

    This way, every working copy can be made up of files from different repositories.

    So, if for example you created a central repository of custom modules, then in each of your projects you could do something like this:

    $ svn propset svn:externals "sites/all/modules/custom  
         http://hostname/modulesrepos" .
    

    This will then checkout the directories in /modulesrepos to sites/all/modules/custom. If you do this for all of your projects, and treat the ‘live’ website as a working copy, then it will always pull the modules from your ‘external’ repos.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some questions regarding MVC that I would like to clarify. At our
We'll soon have some high school kids here in our company for some training
Our company would like to put some marketing/training content onto USB thumb drives to
I have a Django project to track our company's restructuring projects. Here's the very
I have just upgraded our company's domain controller from NT 4.0 to Windows 2008
I have a legacy application in our company built on... ahem; Classic VB (VB
We have a bunch of VB6 apps at our company. We are trying to
At my company we have a group of 8 web developers for our business
I'm working at a company that uses Drupal 6 to host documentation for it's
We have some HTTP handlers specified in our web.config. When we were running this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.