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 3428140
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T06:55:23+00:00 2026-05-18T06:55:23+00:00

We are currently using SVN to develop an internal application that has most of

  • 0

We are currently using SVN to develop an internal application that has most of its functionality in plugins. In our approach to switch git, this app is causing some headaches as to what the best practice is regarding handling this kind of project in git.

I.e. should we put every plugin into its own git repository? This would seem a logical choice as the plugins are mostly not depending on each other and rather stand-alone (just using the core app for framework functionality and management of common functions), often developed by different persons and occasionally deprecated. However there are now well over a dozen plugins with more to come and building the whole project would usually require checking out all (or most) of the plugins one by one. And there does not seem to be an easy way to check out ALL of them at once, i.e. there probably needs to be some kind of “list” out there so people know what to get and what not.

On the other hand, putting everything in one git repository seems to be not in the spirit of git, esp. as we would carry around old dead code and working on just one plugin would require checking out a lot of code (though then most developers working on it would check out everything anyway). Also branching would always branch everything (which makes for example cross-testing of branched features difficult if the plugins can’t branch individually)

One idea is to use submodules, but I don’t know whether the overhead (mental overhead, I mean) is bigger than the gain (or, whether we gain less than we lose with using the one-for-all approach).

How would/do you handle this kind of project in git?

  • 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-18T06:55:24+00:00Added an answer on May 18, 2026 at 6:55 am

    This kind of system (as in “collection of writable components”) would be best managed with:

    • each plugin in its own repository
    • one parent project which would declare all the relevant plugins as submodules.

    As detailed in “true nature of submodules“, you can then modify any plugin directly from that one parent project.
    (See also Duplicate submodules with Git if you have duplicate dependencies)
    And recent Git releases comes with commands able to recursively checkout all the submodules of a parent project.


    So when I check the parent project out and remember to call “git submodule init” for each plugin, I would have all projects on my desktop.

    But you shouldn’t have to remember to do anything beside git submodule update --init --recursive (just one command). As I said, it will recursively initialize all your submodules.

    However submodules are pinned to versions, wouldn’t this cause some more complicated workflow?

    The principle of dependency management is to always reference a specific version (as opposed to reference “the latest code out there” for one component).
    But that doesn’t prevent you to:

    • work in that component (working from that specific version *as a starting point”)
    • commit
    • push that one component to its remote repo
    • go up one level, back in the parent project
    • commit the parent project (in order to reference the new version of the submodule you just modified)

    Again, true nature of submodules details that process.

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

Sidebar

Related Questions

We currently work on multiple branches of our web application. The VCS of choice
I'm currently using some configuration files from several project modules inside batch script(scriptx.sh) which
I'm currently using Python 2.7 + wxPython 2.8.11 on my windows machine. While trying
I currently have a requirement where I need to validate that all the files
Currently we are using TortoiseSVN for version control. What I was looking for is
I'm quite new to programming. I have an ASP.NET 4.0 application and I would
I develope on Windows at home and send my changes to the customer. Customer
I recently launched a service, meaning I can no longer work directly on the
Can anyone recommend the best way to use version control system in Visual Studio

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.