Skip to content

Commit dece288

Browse files
Added better logging
1 parent 1d9b30a commit dece288

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/main/java/io/micrometer/release/common/GradleParser.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ public Set<Dependency> fetchAllDependencies() {
6464
&& dependency.artifact().equalsIgnoreCase(parts[2]))
6565
.findFirst()
6666
.ifPresentOrElse(dependency -> {
67-
log.debug("Dependency {} is already present in compile scope", parts[1] + ":" + parts[2]);
67+
log.trace("Dependency {} is already present in compile scope", parts[1] + ":" + parts[2]);
6868
if (dependency.toIgnore() && !finalTestOrOptional) {
69-
log.debug(
69+
log.trace(
7070
"Dependency {} was previously set in test or compile scope and will be in favour of one in compile scope",
7171
dependency);
7272
dependencies.remove(dependency);

src/main/java/io/micrometer/release/train/DependencyVerifier.java

+1
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ class DependencyVerifier {
6565
void verifyDependencies(String branch, String orgRepository) {
6666
cloneRepo(branch, orgRepository);
6767
GradleParser gradleParser = getGradleParser(branch);
68+
log.info("Fetching all dependencies before dependabot...");
6869
Set<Dependency> dependenciesBeforeDependabot = gradleParser.fetchAllDependencies();
6970
Status status = dependabotUpdateStatus(orgRepository);
7071
pullTheLatestRepoChanges();

0 commit comments

Comments
 (0)