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
ba993f49
Commit
ba993f49
authored
Oct 23, 2018
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve qa/qa/git/repository.rb
parent
6f372150
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
17 deletions
+0
-17
qa/qa/git/repository.rb
qa/qa/git/repository.rb
+0
-17
No files found.
qa/qa/git/repository.rb
View file @
ba993f49
...
...
@@ -61,11 +61,8 @@ module QA
def
configure_identity
(
name
,
email
)
run
(
%Q{git config user.name
#{
name
}
}
)
run
(
%Q{git config user.email
#{
email
}
}
)
<<<<<<<
HEAD
=======
add_credentials_to_netrc
>>>>>>>
upstream
/
master
end
def
commit_file
(
name
,
contents
,
message
)
...
...
@@ -116,19 +113,6 @@ module QA
attr_reader
:uri
,
:username
,
:password
,
:known_hosts_file
,
:private_key_file
<<<<<<<
HEAD
def
ssh_key_set?
!
private_key_file
.
nil?
end
def
run
(
command_str
)
command
=
[
env_vars
,
command_str
,
'2>&1'
].
compact
.
join
(
' '
)
warn
"DEBUG: command=[
#{
command
}
]"
if
Runtime
::
Env
.
debug?
output
,
_
=
Open3
.
capture2
(
command
)
output
=
output
.
chomp
.
gsub
(
/\s+$/
,
''
)
warn
"DEBUG: output=[
#{
output
}
]"
if
Runtime
::
Env
.
debug?
=======
def
debug?
Runtime
::
Env
.
respond_to?
(
:verbose?
)
&&
Runtime
::
Env
.
verbose?
end
...
...
@@ -144,7 +128,6 @@ module QA
output
,
_
=
Open3
.
capture2
(
command
)
output
=
output
.
chomp
.
gsub
(
/\s+$/
,
''
)
warn
"DEBUG: output=[
#{
output
}
]"
if
debug?
>>>>>>>
upstream
/
master
output
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