Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing auto backport feature #15

Closed
tttp opened this issue Jun 25, 2013 · 1 comment
Closed

Missing auto backport feature #15

tttp opened this issue Jun 25, 2013 · 1 comment

Comments

@tttp
Copy link
Contributor

tttp commented Jun 25, 2013

Hi,

Follow up on the sprint discussion an extension compatible with several versions.

Imagine there is a new generic tpl/code that is added into 4.4. You can use it in your extension directly on 4.4, but won't work on 4.3 (and you need to support it)

So the alternative is either to code for 4.3 and miss the feature (sucks) or add in the extension CRM/templates the 4.4 files to backport it (sucks slightly less). The later being an issue as it won't be automatically replaced if a better version is upgraded in the core.

What about adding a backport feature?

new folders backport/neededversion/CRM|templates|api/....

on install, civix compare civicrm version with backport/neededversion, if >= does nothing, otherwise, copy the files to CRM or templates

X+

@totten
Copy link
Owner

totten commented Oct 19, 2016

I think this less important in a LExIM world -- since there's one mainline branch, and new APIs can added to it fairly quickly.

@totten totten closed this as completed Oct 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants