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

  • SEARCH
  • Home
  • 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
  • 1 View
  • 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

Our company have a need to set up some solution, that would allow us
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
For our company I'd like to have a Python based IRC bot which checks
I have an old project at our company that uses shell scripting a lot.
I have a server on our company intranet that runs JBoss. I want to
I have built a suite of internal websites for our company to manage some
My application will have some customisation for each company that uses it. Up until
Our .NET team works on projects for our company that fall into distinct categories.
I'm starting some automated acceptance testing for our company, and have decided to use

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.