On Tue, 23 Feb 2010, Marc Weber wrote: > Excerpts from Kana Natsuno's message of Tue Feb 23 12:59:38 +0100 2010: > > On Tue, 23 Feb 2010 07:12:15 +0900, Marc Weber <[email protected]> wrote: > > > for vim-addon-manager I added missing metadata myself. Eg for the > > > perl browser plugin I added meta data in > > > vim-addon-known-repsoitories this way: > > > > > > " this is mainly used to add missing dependencies > > > let s:missing_addon_infos["browser_4025"] = '{ "dependencies" : > > > {"synmark":{}}, "runtimepath": "vim" }' > > > > How about using Vim Wiki to put such data? > By suggesting this you've missed the whole point about > vim-addon-manager and vimana. > > Those tools assist you installing plugins. This means they do this > automatically. Using a wiki is a bad format to store this kind of > meta data.
I think the suggestion to use a wiki was to work around (at least) two problems: 1. It allows the community to fill in missing data (So, e.g. you as a package-manager writer aren't responsible for correcting the metadata of every single plugin) 2. It isn't limited by whatever the official vim scripts repo limitations are. (e.g. you could put that 'let s:missing_addon_infos' on a page verbatim.) You're right that it's a bad format, though. Which, again, is where the (elided) wedata.net suggestion comes in. It's like a database wiki. The example provided gives a good hint as to why it'd be useful: http://wedata.net/databases/AutoPagerize/items (web accessible) http://wedata.net/databases/AutoPagerize/items.json (machine readable) http://wedata.net/databases/AutoPagerize (schema) The idea would be to add a vim plugins database, with keys (just an example, not well thought-out): Required: scriptNumber runtimepath Optional: dependencies > > various websites. If such metadata can be updated via Vim Wiki, > > users can contribute missing metadata easily, without asking you to > > add it. > They can contribute a patch equally well. And if there is an error I > can fix it within 30secs. I can't do so using a Wiki. I don't follow not being able to fix errors... It's a wiki...? -- Best, Ben -- You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php
