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
d7fe24cb
Commit
d7fe24cb
authored
May 03, 2021
by
jerasmus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update master to main
Updated the default branch name
parent
3f464f16
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
19 additions
and
21 deletions
+19
-21
spec/frontend/add_context_commits_modal/components/add_context_commits_modal_spec.js
...ommits_modal/components/add_context_commits_modal_spec.js
+1
-1
spec/frontend/api_spec.js
spec/frontend/api_spec.js
+2
-2
spec/frontend/code_navigation/components/app_spec.js
spec/frontend/code_navigation/components/app_spec.js
+1
-1
spec/frontend/code_navigation/store/mutations_spec.js
spec/frontend/code_navigation/store/mutations_spec.js
+2
-2
spec/frontend/commits_spec.js
spec/frontend/commits_spec.js
+2
-2
spec/frontend/contributors/component/__snapshots__/contributors_spec.js.snap
...ibutors/component/__snapshots__/contributors_spec.js.snap
+1
-1
spec/frontend/contributors/component/contributors_spec.js
spec/frontend/contributors/component/contributors_spec.js
+1
-1
spec/frontend/diffs/mock_data/diff_metadata.js
spec/frontend/diffs/mock_data/diff_metadata.js
+1
-1
spec/frontend/notes/old_notes_spec.js
spec/frontend/notes/old_notes_spec.js
+1
-1
spec/frontend/ref/stores/mutations_spec.js
spec/frontend/ref/stores/mutations_spec.js
+2
-2
spec/frontend/reports/grouped_test_report/grouped_test_reports_app_spec.js
...orts/grouped_test_report/grouped_test_reports_app_spec.js
+1
-3
spec/frontend/reports/grouped_test_report/store/mutations_spec.js
...ntend/reports/grouped_test_report/store/mutations_spec.js
+1
-1
spec/frontend/reports/mock_data/mock_data.js
spec/frontend/reports/mock_data/mock_data.js
+1
-1
spec/frontend/reports/mock_data/recent_failures_report.json
spec/frontend/reports/mock_data/recent_failures_report.json
+2
-2
No files found.
spec/frontend/add_context_commits_modal/components/add_context_commits_modal_spec.js
View file @
d7fe24cb
...
...
@@ -40,7 +40,7 @@ describe('AddContextCommitsModal', () => {
store
,
propsData
:
{
contextCommitsPath
:
''
,
targetBranch
:
'
ma
ster
'
,
targetBranch
:
'
ma
in
'
,
mergeRequestIid
:
1
,
projectId
:
1
,
...
props
,
...
...
spec/frontend/api_spec.js
View file @
d7fe24cb
...
...
@@ -930,7 +930,7 @@ describe('Api', () => {
describe
(
'
createBranch
'
,
()
=>
{
it
(
'
creates new branch
'
,
(
done
)
=>
{
const
ref
=
'
ma
ster
'
;
const
ref
=
'
ma
in
'
;
const
branch
=
'
new-branch-name
'
;
const
dummyProjectPath
=
'
gitlab-org/gitlab-ce
'
;
const
expectedUrl
=
`
${
dummyUrlRoot
}
/api/
${
dummyApiVersion
}
/projects/
${
encodeURIComponent
(
...
...
@@ -1262,7 +1262,7 @@ describe('Api', () => {
)}
/merge_requests`
;
const
options
=
{
source_branch
:
'
feature
'
,
target_branch
:
'
ma
ster
'
,
target_branch
:
'
ma
in
'
,
title
:
'
Add feature
'
,
};
...
...
spec/frontend/code_navigation/components/app_spec.js
View file @
d7fe24cb
...
...
@@ -16,7 +16,7 @@ function factory(initialState = {}) {
state
:
{
...
createState
(),
...
initialState
,
definitionPathPrefix
:
'
https://test.com/blob/ma
ster
'
,
definitionPathPrefix
:
'
https://test.com/blob/ma
in
'
,
},
actions
:
{
fetchData
,
...
...
spec/frontend/code_navigation/store/mutations_spec.js
View file @
d7fe24cb
...
...
@@ -12,11 +12,11 @@ describe('Code navigation mutations', () => {
it
(
'
sets initial data
'
,
()
=>
{
mutations
.
SET_INITIAL_DATA
(
state
,
{
blobs
:
[
'
test
'
],
definitionPathPrefix
:
'
https://test.com/blob/ma
ster
'
,
definitionPathPrefix
:
'
https://test.com/blob/ma
in
'
,
});
expect
(
state
.
blobs
).
toEqual
([
'
test
'
]);
expect
(
state
.
definitionPathPrefix
).
toBe
(
'
https://test.com/blob/ma
ster
'
);
expect
(
state
.
definitionPathPrefix
).
toBe
(
'
https://test.com/blob/ma
in
'
);
});
});
...
...
spec/frontend/commits_spec.js
View file @
d7fe24cb
...
...
@@ -10,7 +10,7 @@ describe('Commits List', () => {
beforeEach
(()
=>
{
setFixtures
(
`
<form class="commits-search-form" action="/h5bp/html5-boilerplate/commits/ma
ster
">
<form class="commits-search-form" action="/h5bp/html5-boilerplate/commits/ma
in
">
<input id="commits-search">
</form>
<ol id="commits-list"></ol>
...
...
@@ -59,7 +59,7 @@ describe('Commits List', () => {
jest
.
spyOn
(
window
.
history
,
'
replaceState
'
).
mockImplementation
(()
=>
{});
mock
=
new
MockAdapter
(
axios
);
mock
.
onGet
(
'
/h5bp/html5-boilerplate/commits/ma
ster
'
).
reply
(
200
,
{
mock
.
onGet
(
'
/h5bp/html5-boilerplate/commits/ma
in
'
).
reply
(
200
,
{
html
:
'
<li>Result</li>
'
,
});
...
...
spec/frontend/contributors/component/__snapshots__/contributors_spec.js.snap
View file @
d7fe24cb
...
...
@@ -8,7 +8,7 @@ exports[`Contributors charts should render charts when loading completed and the
<h4
class="gl-mb-2 gl-mt-5"
>
Commits to ma
ster
Commits to ma
in
</h4>
<span>
...
...
spec/frontend/contributors/component/contributors_spec.js
View file @
d7fe24cb
...
...
@@ -10,7 +10,7 @@ let mock;
let
store
;
const
Component
=
Vue
.
extend
(
ContributorsCharts
);
const
endpoint
=
'
contributors
'
;
const
branch
=
'
ma
ster
'
;
const
branch
=
'
ma
in
'
;
const
chartData
=
[
{
author_name
:
'
John
'
,
author_email
:
'
jawnnypoo@gmail.com
'
,
date
:
'
2019-05-05
'
},
{
author_name
:
'
John
'
,
author_email
:
'
jawnnypoo@gmail.com
'
,
date
:
'
2019-03-03
'
},
...
...
spec/frontend/diffs/mock_data/diff_metadata.js
View file @
d7fe24cb
...
...
@@ -3,7 +3,7 @@ export const diffMetadata = {
size
:
1
,
branch_name
:
'
update-changelog
'
,
source_branch_exists
:
true
,
target_branch_name
:
'
ma
ster
'
,
target_branch_name
:
'
ma
in
'
,
commit
:
null
,
context_commits
:
null
,
merge_request_diff
:
{
...
...
spec/frontend/notes/old_notes_spec.js
View file @
d7fe24cb
...
...
@@ -28,7 +28,7 @@ window.gl = window.gl || {};
gl
.
utils
=
gl
.
utils
||
{};
gl
.
utils
.
disableButtonIfEmptyField
=
()
=>
{};
// the following test is unreliable and failing in ma
ster
2-3 times a day
// the following test is unreliable and failing in ma
in
2-3 times a day
// see https://gitlab.com/gitlab-org/gitlab/issues/206906#note_290602581
// eslint-disable-next-line jest/no-disabled-tests
describe
.
skip
(
'
Old Notes (~/notes.js)
'
,
()
=>
{
...
...
spec/frontend/ref/stores/mutations_spec.js
View file @
d7fe24cb
...
...
@@ -108,7 +108,7 @@ describe('Ref selector Vuex store mutations', () => {
const
response
=
{
data
:
[
{
name
:
'
ma
ster
'
,
name
:
'
ma
in
'
,
default
:
true
,
// everything except "name" and "default" should be stripped
...
...
@@ -130,7 +130,7 @@ describe('Ref selector Vuex store mutations', () => {
expect
(
state
.
matches
.
branches
).
toEqual
({
list
:
[
{
name
:
'
ma
ster
'
,
name
:
'
ma
in
'
,
default
:
true
,
},
{
...
...
spec/frontend/reports/grouped_test_report/grouped_test_reports_app_spec.js
View file @
d7fe24cb
...
...
@@ -279,9 +279,7 @@ describe('Grouped test reports app', () => {
});
it
(
'
renders the recent failures count on the test case
'
,
()
=>
{
expect
(
findIssueRecentFailures
().
text
()).
toBe
(
'
Failed 8 times in master in the last 14 days
'
,
);
expect
(
findIssueRecentFailures
().
text
()).
toBe
(
'
Failed 8 times in main in the last 14 days
'
);
});
});
...
...
spec/frontend/reports/grouped_test_report/store/mutations_spec.js
View file @
d7fe24cb
...
...
@@ -52,7 +52,7 @@ describe('Reports Store Mutations', () => {
system_output
:
"
Failure/Error: is_expected.to eq('gitlab')
"
,
recent_failures
:
{
count
:
4
,
base_branch
:
'
ma
ster
'
,
base_branch
:
'
ma
in
'
,
},
},
],
...
...
spec/frontend/reports/mock_data/mock_data.js
View file @
d7fe24cb
...
...
@@ -7,7 +7,7 @@ export const failedIssue = {
"
Failure/Error: is_expected.to eq(3)
\n\n
expected: 3
\n
got: -1
\n\n
(compared using ==)
\n
./spec/test_spec.rb:12:in `block (4 levels) in
\
u003ctop (required)
\
u003e'
"
,
recent_failures
:
{
count
:
3
,
base_branch
:
'
ma
ster
'
,
base_branch
:
'
ma
in
'
,
},
};
...
...
spec/frontend/reports/mock_data/recent_failures_report.json
View file @
d7fe24cb
...
...
@@ -12,7 +12,7 @@
"system_output"
:
"Failure/Error: is_expected.to eq(3)
\n\n
expected: 3
\n
got: -1
\n\n
(compared using ==)
\n
./spec/test_spec.rb:12:in `block (4 levels) in <top (required)>'"
,
"recent_failures"
:
{
"count"
:
8
,
"base_branch"
:
"ma
ster
"
"base_branch"
:
"ma
in
"
}
},
{
...
...
@@ -38,7 +38,7 @@
"execution_time"
:
0.000562
,
"recent_failures"
:
{
"count"
:
3
,
"base_branch"
:
"ma
ster
"
"base_branch"
:
"ma
in
"
}
}
],
...
...
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