Skip to content

Commit d574f2d

Browse files
Workspace and Git Hooks update
1 parent cd9264c commit d574f2d

File tree

2 files changed

+8
-23
lines changed

2 files changed

+8
-23
lines changed

gitkraken-client/githooks.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -238,10 +238,11 @@ fi
238238

239239
### Environment Variables & Git Hooks
240240

241-
GitKraken uses a non-interactive shell to run its git hooks so you may need to edit your rc profile (e.g. .bashrc or .zshenv) to allow your extensions and/or environment variables to run in non-interactive shells.
242-
243-
Bash shell sources env variables for both interactive and non-interactive definitions from your <i>.bashrc</i> file. But for ZSH, <i>.zshrc</i> is only sourced for interactive shells. Non-interactive definitions for ZSH should go in <i>.zshenv</i>.
241+
On macOS, GUI applications do not have access to the environment variables set in your shell profile. This means that if you have environment variables set in your shell profile that you want to use in your Git hooks, you need to use the following command:
244242

243+
```
244+
launchctl setenv YOURVAR variable
245+
```
245246

246247
### Bypass git hooks
247248

gitkraken-client/workspaces.md

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Cloud Workspaces will be available for you to work with on any machine and the s
3232

3333
### Create a Cloud Workspace
3434

35-
To create a Cloud Workspace, select <button class="button button--success button--ui button--nolink">+ New Workspace</button> (or <button class="button button--success button--ui button--nolink">+ Create a Worspace</button>). Then, select "Cloud Workspace”, name your Workspace, selecting the hosting service, and then select repositories to add. Optionally, you can also provide an icon, description and select teams or individual users to share with.
35+
To create a Cloud Workspace, select <button class="button button--success button--ui button--nolink">+ New Workspace</button>. Then, select "Cloud Workspace”, name your Workspace, selecting the hosting service, and then select repositories to add. Optionally, you can also provide an icon, description and select teams or individual users to share with.
3636

3737
<img src="/wp-content/uploads/create-cloud-workspace.gif" class="img-bordered img-responsive center">
3838

@@ -59,26 +59,14 @@ The following multi-repository actions can be performed:
5959

6060
### Pull requests
6161

62-
The Pull Request section will show all open pull requests for all repositories within the selected Workspace. Information shown here includes the pull request title, pull request number, CI status, complexity, the name of the branch being merged, and number of comments.
62+
You can see all open pull requests for all repositories in [Launchpad](https://help.gitkraken.com/gitkraken-client/gitkraken-launchpad/) within the selected Workspace. Information shown here includes the pull request title, pull request number, CI status, complexity, the name of the branch being merged, and number of comments.
6363

6464
Complexity is a scale of 1 to 4 that scores a pull request’s complexity based on:
6565
- Number of lines changed
6666
- Number of files change
6767
- Number of commits made
6868

69-
To view a Workspaces pull requests, select a Workspace and then select `Pull Requests`.
7069

71-
<img src="/wp-content/uploads/pull-requests-2.png" srcset="/wp-content/uploads/[email protected]" class="img-bordered img-responsive center">
72-
73-
Select `Filter pull requests` to filter for pull requests with the following options:
74-
75-
* "Opened by Me", to show pull requests that were opened by the user. This filter is available for GitHub, GitHub Enterprise Server, GitLab, and GitLab Self-Managed repositories.
76-
* "At Risk", to show any pull requests that are not drafts and have been open for longer than 7 days. This filter is currently only available for GitHub, GitHub Enterprise Server, GitLab, and GitLab Self-Managed repositories.
77-
* "By repository", to limit the view to a single repository within the Workspace. This filter is currently available for Azure DevOps, GitHub, GitHub Enterprise Server, Gitlab, and Gitlab Self-Managed repositories.
78-
79-
The search allows searching by pull request titles for all services. For GitHub.com Workspaces, <a href="https://docs.github.com/en/search-github/searching-on-github/searching-issues-and-pull-requests">GitHub's search syntax</a> can also be used.
80-
81-
<img src="/wp-content/uploads/filter-and-search-2.png" srcset="/wp-content/uploads/[email protected]" class="img-bordered img-responsive center">
8270

8371
At risk pull requests are pull requests that have not been updated in more than 7 days. This is indicated by the <i class="fa-solid fa-triangle-exclamation"></i> icon.
8472

@@ -153,6 +141,8 @@ To create a Local Workspace, select <button class="button button--success button
153141

154142
<img src="/wp-content/uploads/create-local-workspace-1.gif" class="img-bordered img-responsive center">
155143

144+
The option "Sync with local directory" will allow you to sync the Workspace with a local directory. This will automatically add any repositories in the selected directory to the Workspace.
145+
156146
### Local multi-repository actions
157147

158148
Actions can be performed on multiple repositories within the Workspace at once. To perform an action on multiple repositories, select the check box next to the repository name and then select the desired action from the options at the top.
@@ -208,12 +198,6 @@ Workspaces expose the state of all repositories so you can see the last checked-
208198

209199
***
210200

211-
## Workspace breadcrumb in toolbar
212-
213-
The option to remove the Workspace breadcrumb in the toolbar can be toggled under <kbd> Preferences > UI Customization > _Show Workspace breadcrumb in toolbar_</kbd>.
214-
215-
<img src="/wp-content/uploads/breadcrumb-setting.png" srcset="/wp-content/uploads/[email protected]" class="img-bordered img-responsive center">
216-
217201
## Requirement for Azure Workspaces and Insights
218202

219203
In order to work with Workspaces and [Insights](/gitkraken-client/insights/) for Azure, `Third-party application access via OAuth` will need to be enabled in Azure from `Organization Settings > Policies`. You can find more information on this setting [here](https://learn.microsoft.com/en-us/azure/devops/organizations/accounts/change-application-access-policies?view=azure-devops).

0 commit comments

Comments
 (0)