Optional "search_path" setting for couchapp push #6

Closed
jasondavies opened this Issue Aug 5, 2009 · 2 comments

2 participants

@jasondavies

See: http://groups.google.com/group/couchapp/browse_thread/thread/7b596ec755830905 for original idea.

The main point is that it allows couchapps to be "inherited", something which can be quite powerful e.g. for creating variations of a couchapp without having to copy/paste.

Probably the best approach would be to have a directory _plugins/ or similar which acts as a search path by default when finding files to push. It would also be nice to have a "search_path" option for each "env" in .couchapprc.

@benoitc
Couchapp member

To summarize discussion of this morning I think a folder named _app_templates could be created on the root of the application. In this folder everyone could place a symlinkk or a complete folder. Rules applied on this folder will be : If something has the same name on root, the file on root will be used, if not it will be the file in app_templates.

@benoitc
Couchapp member

applications and functions templates are now in latest head. more details on this thread :
http://groups.google.fr/group/couchapp/browse_thread/thread/4ffcfec85d8bbe65

@benoitc benoitc added a commit that referenced this issue Nov 7, 2011
@benoitc benoitc close issue #6 0d931e9
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment