How to manage projects for added code by feature

Asked 1 years ago, Updated 1 years ago, 114 views

First of all, thank you for reading my question.

As in a typical (git version management I've experienced), the version goes up according to the source code modification and feature addition, so I don't use a specific version I want to use the project by putting or removing what the user wants from each of the added functions.

For example, when there is a source modification such as UI modification (a, b, c) and adding a new function (A, B, C), A + b + C or a + b + c + A + B + C or whatever you like. The modification source code may be the same file or different files, but they are independent of each other because they are written separately.

It's too complicated to manage each case separately (abc ABC alone with 26 combinations right now). I want to make an installer that marks it as a check box and spits it out as you choose, but I don't know where to start.

6 things

The source code for the project is Python (2.7.4) based, and the primary running environment is Windows or Linux.

Help me!

python-2.7 git version version-control

2022-09-22 21:53

1 Answers

I think it would be better to use the method of enabling/disabling the function or developing each function in a plug-in manner by looking at the contents set in the settings file, etc.

If you want to increase the degree of freedom, I think the plug-in method is right.

Since Git is not designed for the above purposes, the probability of collisions between sources is almost 100%.


2022-09-22 21:53

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.