Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
renovate
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
Renovate Bot
renovate
Commits
ec8b89b8
Commit
ec8b89b8
authored
5 years ago
by
Rhys Arkins
Browse files
Options
Downloads
Patches
Plain Diff
logs: lower branchConfig debugs to trace
parent
c890ac96
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/workers/repository/updates/generate.ts
+4
-5
4 additions, 5 deletions
lib/workers/repository/updates/generate.ts
with
4 additions
and
5 deletions
lib/workers/repository/updates/generate.ts
+
4
−
5
View file @
ec8b89b8
...
@@ -62,13 +62,12 @@ function getTableValues(
...
@@ -62,13 +62,12 @@ function getTableValues(
export
function
generateBranchConfig
(
export
function
generateBranchConfig
(
branchUpgrades
:
BranchUpgradeConfig
[]
branchUpgrades
:
BranchUpgradeConfig
[]
):
BranchConfig
{
):
BranchConfig
{
logger
.
debug
(
`generateBranchConfig(
${
branchUpgrades
.
length
}
)`
);
logger
.
trace
({
config
:
branchUpgrades
},
'
generateBranchConfig
'
);
logger
.
trace
({
config
:
branchUpgrades
});
let
config
:
BranchConfig
=
{
let
config
:
BranchConfig
=
{
upgrades
:
[],
upgrades
:
[],
}
as
any
;
}
as
any
;
const
hasGroupName
=
branchUpgrades
[
0
].
groupName
!==
null
;
const
hasGroupName
=
branchUpgrades
[
0
].
groupName
!==
null
;
logger
.
debug
(
`hasGroupName:
${
hasGroupName
}
`
);
logger
.
trace
(
`hasGroupName:
${
hasGroupName
}
`
);
// Use group settings only if multiple upgrades or lazy grouping is disabled
// Use group settings only if multiple upgrades or lazy grouping is disabled
const
depNames
=
[];
const
depNames
=
[];
const
newValue
=
[];
const
newValue
=
[];
...
@@ -96,9 +95,9 @@ export function generateBranchConfig(
...
@@ -96,9 +95,9 @@ export function generateBranchConfig(
// eslint-disable-next-line no-param-reassign
// eslint-disable-next-line no-param-reassign
branchUpgrades
[
0
].
commitMessageExtra
=
`to v
${
toVersions
[
0
]}
`
;
branchUpgrades
[
0
].
commitMessageExtra
=
`to v
${
toVersions
[
0
]}
`
;
}
}
logger
.
debug
(
`groupEligible:
${
groupEligible
}
`
);
logger
.
trace
(
`groupEligible:
${
groupEligible
}
`
);
const
useGroupSettings
=
hasGroupName
&&
groupEligible
;
const
useGroupSettings
=
hasGroupName
&&
groupEligible
;
logger
.
debug
(
`useGroupSettings:
${
useGroupSettings
}
`
);
logger
.
trace
(
`useGroupSettings:
${
useGroupSettings
}
`
);
let
releaseTimestamp
:
string
;
let
releaseTimestamp
:
string
;
for
(
const
branchUpgrade
of
branchUpgrades
)
{
for
(
const
branchUpgrade
of
branchUpgrades
)
{
let
upgrade
:
BranchUpgradeConfig
=
{
...
branchUpgrade
};
let
upgrade
:
BranchUpgradeConfig
=
{
...
branchUpgrade
};
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment