I am looking for some ideas as to how to branch my application so as to have a feature limited version of it.
Let me give a hypothetical. Lets say my desktop app interacts with all web browsers. I get into a partnership with the guys at Google Chrome who want to release a version of my app that works ONLY with their browser, and will exclude IE, Firefox, etc.
How would I go about doing this? I could create a separate branch in git, and then run my build script twice, while switching branches in between. I could also just copy the full code directory, and build from each dir.
A problem I forsee, is that I want bugfixes in my full program to automatically be updated in limited version as well. There are probably other problems that I don’t realize yet as well. So I’m looking for guidance.
Thanks
If you fix something in your full program then you’ll obviously run your build script to check for regression bugs right? So maybe a targeted build script could be an option. I’d say that or look into adapting the use of flags (the guys at Asana are big fans).