generated from Open-ISP/template-repository
-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Milestone
Description
I think one of the main ISP versioning architecture questions is do you:
- completely duplicate the templater, just call a different version of the templater for each ISP version
- duplicate templater sub modules as need, and call different sub module versions depending on the ISP version
- or do you allow line by line switching for functionality
- another more flexibly approch might be that switching must always be of ispypsa function calls. To allow for changes to happen at any level but also keep the code relatively clean. For example,
if version == 1.0:
df = vserion_1_function(df)
elif version == 2.0:
df = vserion_2_function(df)
- You could also mix approach (1) with other approaches, so you have a unique create_template function for each version but then much of the code of the sub function might be shared between different version of create_template
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels