Forum OpenACS Development: Xowiki templates

Collapse
Posted by Iuri Sampaio on
What is reason to detect a continued amends within Xowiki template and extjs-ux files.

In Xowiki, I've noticed there's a reference to an automatic generator:
!-- Generated by ::xowiki::ADP_Generator on Mon Sep 04 03:05:07 UTC 2017 --

Thus, how would I stop the mechanism ?
This question even made me wonder about a rhetoric one: Should I stop it?

Evidences happen to appear within my GIT repository.
Best wishes,

Auto-merging packages/xowiki/resources/templates/view-plain.adp
CONFLICT (content): Merge conflict in packages/xowiki/resources/templates/view-plain.adp
Auto-merging packages/xowiki/resources/templates/view-links.adp
CONFLICT (content): Merge conflict in packages/xowiki/resources/templates/view-links.adp
Auto-merging packages/xowiki/resources/templates/view-default.adp
CONFLICT (content): Merge conflict in packages/xowiki/resources/templates/view-default.adp
Auto-merging packages/xowiki/resources/templates/view-book.adp
CONFLICT (content): Merge conflict in packages/xowiki/resources/templates/view-book.adp
Auto-merging packages/xowiki/resources/templates/view-book-no-ajax.adp
CONFLICT (content): Merge conflict in packages/xowiki/resources/templates/view-book-no-ajax.adp
Auto-merging packages/xowiki/resources/templates/oacs-view3.adp
CONFLICT (content): Merge conflict in packages/xowiki/resources/templates/oacs-view3.adp
Auto-merging packages/xowiki/resources/templates/oacs-view2.adp
CONFLICT (content): Merge conflict in packages/xowiki/resources/templates/oacs-view2.adp
Auto-merging packages/xowiki/resources/templates/oacs-view.adp
CONFLICT (content): Merge conflict in packages/xowiki/resources/templates/oacs-view.adp
Automatic merge failed; fix conflicts and then commit the result.

Collapse
2: Re: Xowiki templates (response to 1)
Posted by Antonio Pisano on
Short answer is to gitignore such files: those templates get automatically generated at boot time by instances of ::xowiki::ADP_Generator class [1].
Such class is implemented in packages/xowiki/tcl/adp-generator-procs.tcl

If you don't have precious customizations in merging template files this is as far as it goes.

[1] https://openacs.org/xotcl/show-object?show_methods=1&show_source=0&object=::xowiki::ADP_Generator