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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T14:14:07+00:00 2026-05-14T14:14:07+00:00

In the project that I’m working on, we are using SVN with ‘Stable Trunk’

  • 0

In the project that I’m working on, we are using SVN with ‘Stable Trunk’ strategy. What that means is that for each bug that is found, QA opens a bug ticket and assigns it to a developer. Then, a developer fixes that bug and checks it in a branch (off trunk, let’s call this the bug branch) and that branch will only contain fixes for that particular bug ticket

When we decided to do a release, for each bug fixes that we want to release to the customer, a developer will merge all the fixes from several bug branch to trunk and proceed with the normal QA cycle.

The problem is that we use trunk as the codebase for our CI job (Hudson, specifically), and therefore, for all commits to the bug branch, it will miss the daily build until it gets merged to trunk when we decided to release the new version of the software. Obviously, that defeats the purpose of having CI.

What is the proper way to fix this issue?

  • 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-14T14:14:07+00:00Added an answer on May 14, 2026 at 2:14 pm

    As you note, one purpose of using a branch is to segregate specific code fluctuations from ticket-fixing and feature development away from the trunk. But once the feature or ticket is complete, you should merge it back. In Subversion, branches are better used to track sets of related features (like those for a release), not individual features. Otherwise you will quickly wind up with unmanageable numbers of branches.

    Furthermore, why delay the integration at all? The longer you wait between releases, the higher the likelihood that your isolated change will conflict with another change made since then and/or produce further instability in your system once merged back.

    My preferred strategy is to do something like this:

        [begin work on 0.4 branch]
           |
           |
           v              
    (*)---(*)-------(a)--(b)---(c)-- <-- Trunk is "unstable".
             \       |          |        Contains all commits.
        ver   \   [merge from trunk]     Developers commit to trunk.
    <-- 0.3    \     v          v
                +---(a)--------(c)-- <-- Branch is "stable".
                                         Contains selected commits from trunk.
                                         Know beforehand what's going onto branch.
    

    Now, once you’re ready for release:

    [trunk]
    (*)---(*)---(*)----------------------------[development continues]--->
    
    
    [0.4 branch]                        No further development on branch unless
    (*)---(*)---(*)---[0.4-release]     spot fixes are needed. Then re-tag (0.4.1)
                              ^         and re-release.
                              |         
                              |
                           [make tag on branch; release from stable branch,
                            not unstable trunk]
    

    I know you asked about the best way to coerce your continuous integration system to do this. But I would respectfully suggest that given that Hudson is recognized as a relatively capable CI system, the fact that you’re having a lot of trouble shoehorning your development model into it is a possible sign that it’s not a process that lends itself well to CI in the first place.

    Our typical practice is to have two base builds per project: one against trunk and one against the current release branch. This way you know that:

    • Whatever is being updated is being integrated correctly (trunk)
    • Whatever your release target is, if you stopped working now you would still have a correct and working (just not fully featured) build.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a project that I'm currently working on but it currently only supports
Working on a project that parses a log of events, and then updates a
I have a project that I'm working on and I need to be able
My project that I am working on is almost finished. I am loading a
The project that I'm working on uses a commercially available package to route audio
The project that I'm working on at the moment uses an IDisposable object in
I've got a project that I need to get working with 3 compilers (Borland,
I have a project that I would like to start beta testing soon, it
We have a PHP project that we would like to version control. Right now
In a project that I'm about to wrap up, I've written and implemented an

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.