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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T14:04:46+00:00 2026-05-27T14:04:46+00:00

Question: What is the best way to maintain a project based on another OSS

  • 0

Question: What is the best way to maintain a project based on another OSS project, through Xcode and version managed by SVN?

I’d like to start a fork (?) of a reasonably popular open source project (it’s allowed). Mostly, I want to build my own user interface written in Cocoa/ObjC for it and throw in a few custom features of my own as well.

Now, this OSS project isn’t exactly small. The project itself has over 3000 files, and the build process is pretty intense- consisting of multiple stages and steps, which need to compile build tools, run those, then compile the results.

All this is fine and dandy in Xcode, since it’s easy enough to setup build phases and rules to handle everything.

What I’m not clear on, is how best to manage patches from upstream. They are constantly working on the project and I’d like to be able to keep up to date with those patches as easily as possible, as many of the diff files effect sometimes up to a hundred (!) files at once.

So maintaining a pristine unmodified copy of that source tree so I can apply patches to it seems like a smart thing to do, because I really don’t want to be sorting through hundreds of files every few weeks merging patches by hand.

What I’m thinking of doing in this regard is:

1) Setup an “upstream” SVN repo to hold a copy of the upstream source, plus the bare minimum required to compile it in Xcode (so an xcproject, a few xcconfigs, some prefix header files and that’s it)

2) Setup my own “downstream” SVN repo where I do all my work and apply my own modifications.

Whenever upstream releases a patch, I can apply it to #1 then synchronize across to #2, and deal with any issues created by my own modifications.

What I’m not clear about, is if this is a sane way of handling things- or if there’s some better practice I should be following.

Is this the best way to handle things, or should I be looking at doing this some other way?

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

    In SVN-world it was named “Vendor Branches” long time ago and intensively used by many teams (you can additionally google this phrase)

    Technically it’s

    • one SVN repo
    • at least one special branch (special in terms of usage, nothing more), which, with svn:externals, linked to 3-rd party repo of upstream code
    • your place for changes (trunk or any other place, I prefer trunk), initially created as copy of vanilla code and there you perform all code-hacks

    If (or “when”) vendor branch got updates from upstream, you have just merge branch to /your place/, integrate changes and continue to work

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

Sidebar

Related Questions

Another newbie question: What's the best way to store data in a Cocoa application
I have a question on the best way of exposing an asynchronous remote interface.
Question: What is the best way to set focus to a web control in
(MFC Question) What's the best way to determine the current displayed client area in
This question will expand on: Best way to open a socket in Python When
Following on from the question asked by Mykroft Best way to handle input from
This is the best way I can think of phrasing this question, given this
A question that occasionally arises is what is the best way to determine the
My question is a slight variation on the question What is the best way
Following on from this question what would be the best way to write a

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.