in CouchApp 0.5.2 the behavoir of the vendor install command has
apparently changed.
I get an error:
$ couchapp vendor install git://github.com/jri/dm3-time.git
[CRITICAL] Invalid vendor, medata not found.
This error didn't occur in CouchApp 0.4
What I tried already: adding a file "metadata.json" to /vendor/dm3-
time of the git repository (next to _attachments and views). Didn't
help, same error.
Can you help?
Cheers,
Jörg
PS: apparently GoogleGroups has some problems. Sorry for possible
double posting.
{"scm": "git", "update_url": "git://github.com/jri/dm3-time.git"}
Sorry I should have documented that in changelog. Fs layout has
changed a little. Now you put a vendor folder whatever is its name on
top of your git project and in metdata you tell what is its name. You
also don't have to tell what is the uri now. It is saved when you
install the vendor the first time. See the couchapp example :
http://github.com/couchapp/couchapp/tree/master/vendor/
and the metadata file :
http://github.com/couchapp/couchapp/blob/master/vendor/metadata.json
- benoît
To sum up (if I got it right) the current CouchApp 0.4 README could
replace ...
> Within your repository, your vendor app should be in a vendor folder:
> vendor/appname
... with ...
> Within the repository of your vendor project create a "vendor" folder containing
> 1) your vendor project's files & folders (_attachments etc.)
> 2) a file "metadata.json" which tells CouchApp the name of your vendor project.
> Later on, the "couchapp vendor install" command will install your vendor project under that name.
> That is, CouchApp creates a folder of that name (within CouchDBs vendor folder) and puts the vendor project's files & folders into it.
> If no name is specified "vendor" is used.
in short: the former "appname" is not a folder anymore but appears in
the metadata file, reducing the file hierarchy by one level.
Right?
- Jörg
Correction: this should be
>> ... (within the "vendor" folder of your CouchDB application) ...
in CouchApp 0.5.2 the behavoir of the vendor install command has
apparently changed.
I get an error:
> $ couchapp vendor install git://github.com/jri/dm3-time.git
> [CRITICAL] Invalid vendor, medata not found.
This error didn't occur in CouchApp 0.4
Can you help?
Cheers,
Jörg