- 12 5月, 2021 3 次提交
- 11 5月, 2021 1 次提交
-
-
由 Tomas Vik 提交于
-
- 04 5月, 2021 2 次提交
-
-
由 Tomas Vik 提交于
Lets start with fully encapsulating the `Repository` in the wrapper. We should only consider making it a part of the public interface if we start exposing too many `Repository` methods. The bulk of this commit is changing tests so they can handle not having access to the rawRepository.
-
由 Tomas Vik 提交于
And add integration tests which use actual running extension to validate that we can select the repositories. The new methods have the same purpose as the now-deprecated `getCurrentWorkspaceFolder` and `getCurrentWorkspaceFolderOrSelectOne`.
-
- 30 4月, 2021 2 次提交
-
-
由 Tomas Vik 提交于
This will enable us to attach logic to repositories in the future. For example, we'll add GitLab API service to each repository to simplify how we call API.
-
由 Tomas Vik 提交于
When the git extension got disabled, we called dispose() on the wrapper. This dispose() method removed the listener that should have listened on when the git extension gets enabled again. The solution for this problem was to separate the enablement listener.
-
- 29 4月, 2021 3 次提交
- 26 3月, 2021 1 次提交
-
-
由 Tomas Vik 提交于
-
- 04 3月, 2021 1 次提交
-
-
由 Tomas Vik 提交于
-
- 23 2月, 2021 1 次提交
-
-
由 Felix Haase 提交于
A simple implementation of the git.clone command for the configured instances. It also includes a credential provider that can clone the repository without user input using the access token See merge request gitlab-org/gitlab-vscode-extension!172 Relates to #222
-
- 26 1月, 2021 1 次提交
-
-
由 Tomas Vik 提交于
-
- 05 11月, 2020 1 次提交
-
-
由 Tomas Vik 提交于
-
- 05 10月, 2020 1 次提交
-
-
由 Tomas Vik 提交于
-
- 23 9月, 2020 3 次提交
-
-
由 Tomas Vik 提交于
The `protocol` attribute was only ever used in tests, omitting it simplifies the interface and tests at no cost. The attribute can be easily introduced in the future if we need it.
-
由 Tomas Vik 提交于
The only client of the parseGitRemote function is gitService and it took the returned array and turned it into an object anyway. Returning object allows us to annotate the parameters instead of relying on the index. We will also be able to crate a return type once we migrate to TS
-
由 Tomas Vik 提交于
There has been only one usage without the instanceUrl. It was in GitService and it was much better relplaced with url.parse. That will allow us to have stronger type definition in TS.
-
- 10 9月, 2020 1 次提交
-
-
由 Murad Yusufov 提交于
find the intersection of git remotes hostnames and PATs hostnames, and if the intersection has exactly one hostname, use that as the instanceUrl, otherwise just do nothing.
-
- 01 9月, 2020 1 次提交
-
-
由 Tomas Vik 提交于
-
- 13 8月, 2020 1 次提交
-
-
由 Tomas Vik 提交于
This change introduces Jest test framework to run our unit tests.
-
- 12 8月, 2020 1 次提交
-
-
由 Tomas Vik 提交于
Implementing integration and unit tests using mocha and adding two documents that describe the testing strategy and guide how to write new tests.
-