Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-shell
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-shell
Commits
41908439
Commit
41908439
authored
Oct 03, 2019
by
Małgorzata Ksionek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up
parent
93859205
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
9 additions
and
10 deletions
+9
-10
go/internal/gitlabnet/client.go
go/internal/gitlabnet/client.go
+0
-1
spec/vcr_cassettes/allowed-pull.yml
spec/vcr_cassettes/allowed-pull.yml
+1
-1
spec/vcr_cassettes/allowed-push.yml
spec/vcr_cassettes/allowed-push.yml
+1
-1
spec/vcr_cassettes/http-pull-disabled.yml
spec/vcr_cassettes/http-pull-disabled.yml
+1
-1
spec/vcr_cassettes/http-push-disabled.yml
spec/vcr_cassettes/http-push-disabled.yml
+1
-1
spec/vcr_cassettes/ssh-pull-disabled.yml
spec/vcr_cassettes/ssh-pull-disabled.yml
+1
-1
spec/vcr_cassettes/ssh-pull-project-denied-with-user.yml
spec/vcr_cassettes/ssh-pull-project-denied-with-user.yml
+1
-1
spec/vcr_cassettes/ssh-pull-project-denied.yml
spec/vcr_cassettes/ssh-pull-project-denied.yml
+1
-1
spec/vcr_cassettes/ssh-push-disabled.yml
spec/vcr_cassettes/ssh-push-disabled.yml
+1
-1
spec/vcr_cassettes/ssh-push-project-denied.yml
spec/vcr_cassettes/ssh-push-project-denied.yml
+1
-1
No files found.
go/internal/gitlabnet/client.go
View file @
41908439
...
...
@@ -109,7 +109,6 @@ func (c *GitlabClient) DoRequest(method, path string, data interface{}) (*http.R
request
.
Header
.
Set
(
secretHeaderName
,
encodedSecret
)
request
.
Header
.
Add
(
"Content-Type"
,
"application/json"
)
request
.
Close
=
true
response
,
err
:=
c
.
httpClient
.
Do
(
request
)
...
...
spec/vcr_cassettes/allowed-pull.yml
View file @
41908439
...
...
@@ -41,6 +41,6 @@ http_interactions:
body
:
encoding
:
UTF-8
string
:
'
{"status":true,"gl_repository":"project-3","gl_project_path":"gitlab-org/gitlab.test","repository_path":"/Users/dzaporozhets/Projects/gitlab-development-kit/repositories/gitlab-org/gitlab-test.git"}'
http_version
:
http_version
:
recorded_at
:
Wed, 21 Jun 2017 10:44:52 GMT
recorded_with
:
VCR 2.4.0
spec/vcr_cassettes/allowed-push.yml
View file @
41908439
...
...
@@ -41,6 +41,6 @@ http_interactions:
body
:
encoding
:
UTF-8
string
:
'
{"status":true,"gl_repository":"project-3","gl_project_path":"gitlab-org/gitlab.test","repository_path":"/Users/dzaporozhets/Projects/gitlab-development-kit/repositories/gitlab-org/gitlab-test.git"}'
http_version
:
http_version
:
recorded_at
:
Wed, 21 Jun 2017 10:44:52 GMT
recorded_with
:
VCR 2.4.0
spec/vcr_cassettes/http-pull-disabled.yml
View file @
41908439
...
...
@@ -41,6 +41,6 @@ http_interactions:
body
:
encoding
:
UTF-8
string
:
'
{"status":false,"message":"Pulling
over
HTTP
is
not
allowed."}'
http_version
:
http_version
:
recorded_at
:
Wed, 21 Jun 2017 10:32:01 GMT
recorded_with
:
VCR 2.4.0
spec/vcr_cassettes/http-push-disabled.yml
View file @
41908439
...
...
@@ -41,6 +41,6 @@ http_interactions:
body
:
encoding
:
UTF-8
string
:
'
{"status":false,"message":"Pushing
over
HTTP
is
not
allowed."}'
http_version
:
http_version
:
recorded_at
:
Wed, 21 Jun 2017 10:32:01 GMT
recorded_with
:
VCR 2.4.0
spec/vcr_cassettes/ssh-pull-disabled.yml
View file @
41908439
...
...
@@ -41,6 +41,6 @@ http_interactions:
body
:
encoding
:
UTF-8
string
:
'
{"status":false,"message":"Git
access
over
SSH
is
not
allowed"}'
http_version
:
http_version
:
recorded_at
:
Wed, 21 Jun 2017 12:23:57 GMT
recorded_with
:
VCR 2.4.0
spec/vcr_cassettes/ssh-pull-project-denied-with-user.yml
View file @
41908439
...
...
@@ -41,6 +41,6 @@ http_interactions:
body
:
encoding
:
UTF-8
string
:
'
{"status":false,"message":"Git
access
over
SSH
is
not
allowed"}'
http_version
:
http_version
:
recorded_at
:
Wed, 21 Jun 2017 12:24:05 GMT
recorded_with
:
VCR 2.4.0
spec/vcr_cassettes/ssh-pull-project-denied.yml
View file @
41908439
...
...
@@ -41,6 +41,6 @@ http_interactions:
body
:
encoding
:
UTF-8
string
:
'
{"status":false,"message":"Git
access
over
SSH
is
not
allowed"}'
http_version
:
http_version
:
recorded_at
:
Wed, 21 Jun 2017 12:24:04 GMT
recorded_with
:
VCR 2.4.0
spec/vcr_cassettes/ssh-push-disabled.yml
View file @
41908439
...
...
@@ -41,6 +41,6 @@ http_interactions:
body
:
encoding
:
UTF-8
string
:
'
{"status":false,"message":"Git
access
over
SSH
is
not
allowed"}'
http_version
:
http_version
:
recorded_at
:
Wed, 21 Jun 2017 12:23:57 GMT
recorded_with
:
VCR 2.4.0
spec/vcr_cassettes/ssh-push-project-denied.yml
View file @
41908439
...
...
@@ -41,6 +41,6 @@ http_interactions:
body
:
encoding
:
UTF-8
string
:
'
{"status":false,"message":"Git
access
over
SSH
is
not
allowed"}'
http_version
:
http_version
:
recorded_at
:
Wed, 21 Jun 2017 12:24:04 GMT
recorded_with
:
VCR 2.4.0
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment