16 points · by kmfrk · 10y ago · 7 comments
Probably the most important open issue is that simple names aren’t a sufficient identifier with a decentralized registry: you need a URL. So once Crom learns how to save package metadata, it should probably map any specified short name (e.g., `d3-format`) into a full URL (https://github.com/d3/d3-format) to ensure stability.
Mutable releases are also a concern, but Crom could save the hash of installed packages so you’d know if anything changed. And of course, since it’s decentralized, you could still have third-party registries that make immutable copies, if that’s your thing.
npm2nix for example only uses npm to gather the the packages from the registry, but uses Nix for all the other stuff. [0]
[0]: http://sandervanderburg.blogspot.de/2014/10/deploying-npm-pa...
https://github.com/VundleVim/Vundle.vim
" The following are examples of different formats supported.
" Keep Plugin commands between vundle#begin/end.
" plugin on GitHub repo
Plugin 'tpope/vim-fugitive'
" plugin from http://vim-scripts.org/vim/scripts.html
Plugin 'L9'
" Git plugin not hosted on GitHub
Plugin 'git://git.wincent.com/command-t.git'
" git repos on your local machine (i.e. when working on your own plugin)
Plugin 'file:///home/gmarik/path/to/plugin'
" The sparkup vim script is in a subdirectory of this repo called vim.
" Pass the path to set the runtimepath properly.
Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
" Avoid a name conflict with L9
Plugin 'user/L9', {'name': 'newL9'}
It's one of those things that works so well you can just kind of forget about it once you get used to it, but you're not really locked in either.Hopefully it will encourage developers beyond js to create usable, composable modules. (LaTeX comes to mind...)