Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
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
1
Merge Requests
1
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-ce
Commits
4ae32050
Commit
4ae32050
authored
May 06, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
0f93610c
38d57a61
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
3 deletions
+12
-3
doc/user/project/labels.md
doc/user/project/labels.md
+2
-2
qa/qa/git/repository.rb
qa/qa/git/repository.rb
+1
-1
qa/spec/git/repository_spec.rb
qa/spec/git/repository_spec.rb
+9
-0
No files found.
doc/user/project/labels.md
View file @
4ae32050
...
...
@@ -53,7 +53,7 @@ be able to advance workflow states consistently in issues themselves.
## Creating labels
>**Note:**
A permission level of
`Developer`
or higher is required to create labels.
A permission level of
Reporter
or higher is required to create labels.
### New project label
...
...
@@ -91,7 +91,7 @@ From the sidebar of an issue or a merge request, you can create a new **project
## Editing labels
NOTE:
**Note:**
A permission level of
`Developer`
or higher is required to edit labels.
A permission level of
Reporter
or higher is required to edit labels.
You can update a label by navigating to
**Issues > Labels**
in the project or group and clicking the pencil icon.
...
...
qa/qa/git/repository.rb
View file @
4ae32050
...
...
@@ -251,7 +251,7 @@ module QA
end
def
netrc_already_contains_content?
read_netrc_content
.
grep
(
/^
#{
netrc_content
}
$/
).
any?
read_netrc_content
.
grep
(
/^
#{
Regexp
.
escape
(
netrc_content
)
}
$/
).
any?
end
end
end
...
...
qa/spec/git/repository_spec.rb
View file @
4ae32050
...
...
@@ -116,6 +116,15 @@ describe QA::Git::Repository do
expect
(
File
.
read
(
File
.
join
(
tmp_netrc_dir
,
'.netrc'
)))
.
to
eq
(
"machine foo login user password foo
\n
"
)
end
it
'adds credentials with special characters'
do
password
=
%q[!"#$%&')(*+,-./:;<=>?]
repository
.
username
=
'user'
repository
.
password
=
password
expect
(
File
.
read
(
File
.
join
(
tmp_netrc_dir
,
'.netrc'
)))
.
to
eq
(
"machine foo login user password
#{
password
}
\n
"
)
end
end
end
end
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