To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorResolve dependencies of Vim plugins
In order to hide details of dependencies,
as a lazy Vim user,
I want to resolve and install dependencies of Vim plugins automatically.
- Scenarios
-
- Resolve 2-level dependencies
- Resolve 3-level dependencies
- Resolve dependencies of a plugin required by two or more plugins
- Resolve dependencies of a plugin required by plugins and user
- Resolve 2-level dependencies
-
- Given
- a repository "foo" with versions "1.0 1.1 2.0 2.1"
- And
- a repository "bar" with versions "1.0 1.1 2.0 2.1"
- And
-
a repository "qux" with versions "1.0 1.1 2.0 2.1" and a flavorfile:
flavor '$foo_uri', '~> 1.0' flavor '$bar_uri', '>= 1.0'
- And
-
a flavorfile with:
flavor '$qux_uri'
- When
-
I run
vim-flavor install
- Then
-
it should pass with template:
Checking versions... Use $qux_uri ... 2.1 Use $bar_uri ... 2.1 Use $foo_uri ... 1.1 Deploying plugins... $bar_uri 2.1 ... done $foo_uri 1.1 ... done $qux_uri 2.1 ... done Completed.
- And
-
a lockfile is created with:
$bar_uri (2.1) $foo_uri (1.1) $qux_uri (2.1)
- And
- a flavor "$foo_uri" version "1.1" is deployed to "$home/.vim"
- And
- a flavor "$bar_uri" version "2.1" is deployed to "$home/.vim"
- And
- a flavor "$qux_uri" version "2.1" is deployed to "$home/.vim"
- Resolve 3-level dependencies
-
- Given
- a repository "foo" with versions "1.0 1.1 2.0 2.1"
- And
-
a repository "bar" with versions "1.0 1.1 2.0 2.1" and a flavorfile:
flavor '$foo_uri', '~> 1.0'
- And
-
a repository "qux" with versions "1.0 1.1 2.0 2.1" and a flavorfile:
flavor '$bar_uri', '~> 2.0'
- And
-
a flavorfile with:
flavor '$qux_uri', '~> 1.0'
- When
-
I run
vim-flavor install
- Then
-
it should pass with template:
Checking versions... Use $qux_uri ... 1.1 Use $bar_uri ... 2.1 Use $foo_uri ... 1.1 Deploying plugins... $bar_uri 2.1 ... done $foo_uri 1.1 ... done $qux_uri 1.1 ... done Completed.
- And
-
a lockfile is created with:
$bar_uri (2.1) $foo_uri (1.1) $qux_uri (1.1)
- And
- a flavor "$foo_uri" version "1.1" is deployed to "$home/.vim"
- And
- a flavor "$bar_uri" version "2.1" is deployed to "$home/.vim"
- And
- a flavor "$qux_uri" version "1.1" is deployed to "$home/.vim"
- Resolve dependencies of a plugin required by two or more plugins
-
- Given
- a repository "foo" with versions "1.0 1.1 2.0 2.1"
- And
-
a repository "bar" with versions "1.0 1.1 2.0 2.1" and a flavorfile:
flavor '$foo_uri', '>= 1.0'
- And
-
a repository "qux" with versions "1.0 1.1 2.0 2.1" and a flavorfile:
flavor '$foo_uri', '~> 2.0'
- And
-
a flavorfile with:
flavor '$bar_uri' flavor '$qux_uri'
- When
-
I run
vim-flavor install
- Then
-
it should pass with template:
Checking versions... Use $bar_uri ... 2.1 Use $foo_uri ... 2.1 Use $qux_uri ... 2.1 Use $foo_uri ... 2.1 Deploying plugins... $bar_uri 2.1 ... done $foo_uri 2.1 ... done $qux_uri 2.1 ... done Completed.
- And
-
a lockfile is created with:
$bar_uri (2.1) $foo_uri (2.1) $qux_uri (2.1)
- And
- a flavor "$foo_uri" version "2.1" is deployed to "$home/.vim"
- And
- a flavor "$bar_uri" version "2.1" is deployed to "$home/.vim"
- And
- a flavor "$qux_uri" version "2.1" is deployed to "$home/.vim"
- Resolve dependencies of a plugin required by plugins and user
-
- Given
- a repository "foo" with versions "1.0 1.1 2.0 2.1"
- And
-
a repository "bar" with versions "1.0 1.1 2.0 2.1" and a flavorfile:
flavor '$foo_uri', '>= 1.0'
- And
-
a flavorfile with:
flavor '$foo_uri' flavor '$bar_uri'
- When
-
I run
vim-flavor install
- Then
-
it should pass with template:
Checking versions... Use $bar_uri ... 2.1 Use $foo_uri ... 2.1 Use $foo_uri ... 2.1 Deploying plugins... $bar_uri 2.1 ... done $foo_uri 2.1 ... done Completed.
- And
-
a lockfile is created with:
$bar_uri (2.1) $foo_uri (2.1)
- And
- a flavor "$foo_uri" version "2.1" is deployed to "$home/.vim"
- And
- a flavor "$bar_uri" version "2.1" is deployed to "$home/.vim"
Last published about 1 year ago by kana.