diff --git a/CHANGELOG.md b/CHANGELOG.md index d4e9a514..e3cfa337 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -# 3.0 (beta) +# 3.0 (2021-06-02) - Removed `link` feature in favor of `links`. diff --git a/docs/use-cases/multiple-links.md b/docs/use-cases/multiple-links.md index 48ef3fa2..c9446f55 100644 --- a/docs/use-cases/multiple-links.md +++ b/docs/use-cases/multiple-links.md @@ -1,8 +1,8 @@ -# Using multiple links +# Using Multiple Links This feature can be used to create as many symbolic links as you need from one repository. -## The syntax +## The Syntax Let's say we have a simple project structure: @@ -32,7 +32,7 @@ This will result in the following symbolic links: - `/vendor/partial_repo` -> `/.gitman/my_dependency/include` - `/vendor/full_repo` -> `/.gitman/my_dependency` -## Alternative syntax +## Alternative Syntax ```yaml location: vendor diff --git a/docs/use-cases/sparse-checkouts.md b/docs/use-cases/sparse-checkouts.md index 48df0b9a..d05b89ce 100644 --- a/docs/use-cases/sparse-checkouts.md +++ b/docs/use-cases/sparse-checkouts.md @@ -1,4 +1,4 @@ -# Using sparse checkouts +# Using Sparse Checkouts For some use-cases, especially when dealing with monorepos, it can be useful to limit the paths that are checked out from the reference repository. It is important to note, that this influences only the shape of the project local diff --git a/gitman/tests/files/gdm-custom.yml b/gitman/tests/files/gdm-custom.yml index f5ca22bb..20faecf2 100644 --- a/gitman/tests/files/gdm-custom.yml +++ b/gitman/tests/files/gdm-custom.yml @@ -4,9 +4,11 @@ sources: type: git name: gitman_1 rev: fb693447579235391a45ca170959b5583c5042d8 - link: src/gitman_a + links: + - target: src/gitman_a - repo: https://github.com/jacebrowning/gitman type: git name: gitman_2 rev: master - link: src/gitman_b + links: + - target: src/gitman_b diff --git a/gitman/tests/files/gitman.yml b/gitman/tests/files/gitman.yml index b328db02..73825dbb 100644 --- a/gitman/tests/files/gitman.yml +++ b/gitman/tests/files/gitman.yml @@ -2,32 +2,26 @@ location: ../../../tmp sources: - name: gitman_1 type: git - link: '' repo: https://github.com/jacebrowning/gitman-demo rev: example-branch - name: gitman_2 type: git - link: '' repo: https://github.com/jacebrowning/gitman-demo rev: example-tag - name: gitman_3 type: git - link: '' repo: https://github.com/jacebrowning/gitman-demo rev: master@{2015-06-18 11:11:11} sources_locked: - name: gitman_1 type: git - link: '' repo: https://github.com/jacebrowning/gitman-demo rev: eb37743011a398b208dd9f9ef79a408c0fc10d48 - name: gitman_2 type: git - link: '' repo: https://github.com/jacebrowning/gitman-demo rev: 7bd138fe7359561a8c2ff9d195dff238794ccc04 - name: gitman_3 type: git - link: '' repo: https://github.com/jacebrowning/gitman-demo rev: 2da24fca34af3748e3cab61db81a2ae8b35aec94 diff --git a/pyproject.toml b/pyproject.toml index d09abacb..440c9266 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [tool.poetry] name = "gitman" -version = "3.0b1" +version = "3.0" description = "A language-agnostic dependency manager using Git." license = "MIT"