From bd0d4d5ecd514e1e63fff21472d7cefe0bb660ff Mon Sep 17 00:00:00 2001 From: Benoit Verhaeghe Date: Mon, 13 Nov 2023 13:33:49 +0100 Subject: [PATCH 1/2] add other remote git project --- General/Baselines.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/General/Baselines.md b/General/Baselines.md index c07f734..5e61b79 100644 --- a/General/Baselines.md +++ b/General/Baselines.md @@ -153,7 +153,7 @@ To depend on a git project, you can use the method `#baseline:with:`. ```Smalltalk spec baseline: '{BaselineName}' - with: [ spec repository: '{prefix}://{owner}/{projectName}:{version}/{subfolder}' ] + with: [ spec repository: '{prefix}://{url}:{owner}/{projectName}:{version}/{subfolder}' ] ``` This snippet should be configured with: @@ -163,6 +163,8 @@ This snippet should be configured with: - `github` for github - `bitbucket` for bitbucket - `gitlab` for gitlab + - `git` for others (and {url} is thus mandatory) +- `{url}`: base url to the git host. Mandatory when prefix `git` is used. - `{owner}`: Name of the user or organization hosting the project - `{projectName}`: Name of the project - `{version}`: This parameter is optional (defaults to master). It can be the name of a branch, a tag like `'v1.2.0'` or `'v1.x.x'`, or a the SHA of a commit From e80819ebc35104f9c627dd574f26da24001d9ef6 Mon Sep 17 00:00:00 2001 From: CyrilFerlicot Date: Mon, 13 Nov 2023 13:40:18 +0100 Subject: [PATCH 2/2] Tiny improvement --- General/Baselines.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/General/Baselines.md b/General/Baselines.md index 5e61b79..0b0af01 100644 --- a/General/Baselines.md +++ b/General/Baselines.md @@ -164,11 +164,11 @@ This snippet should be configured with: - `bitbucket` for bitbucket - `gitlab` for gitlab - `git` for others (and {url} is thus mandatory) -- `{url}`: base url to the git host. Mandatory when prefix `git` is used. +- `{url}`: Base url to the git host. Mandatory when prefix `git` is used, not needed for other prefixes - `{owner}`: Name of the user or organization hosting the project - `{projectName}`: Name of the project - `{version}`: This parameter is optional (defaults to master). It can be the name of a branch, a tag like `'v1.2.0'` or `'v1.x.x'`, or a the SHA of a commit -- `{subfolder}`: This parameter is optional in case the code is not at the root of the project. It should point to the sub-folder containing the code. +- `{subfolder}`: This parameter is optional in case the code is not at the root of the project. It should point to the sub-folder containing the code Example: