diff --git a/General/Baselines.md b/General/Baselines.md index 4666e0fd..b243bec7 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,10 +163,12 @@ 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, optional for other prefixes (can be useful for self hosted gitlab for example) - `{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: diff --git a/PharoProjects/DynamicVariables.md b/PharoProjects/DynamicVariables.md index aab38f90..977208bc 100644 --- a/PharoProjects/DynamicVariables.md +++ b/PharoProjects/DynamicVariables.md @@ -40,7 +40,7 @@ If you need to change the value of the variable for the execution of a specific ```Smalltalk MyVariable value: MyNewObject during: [ - self doAnActionS=UsingTheVariable. + self doAnActionUsingTheVariable. ] ```