Skip to content

Commit

Permalink
Adding templates for each explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
frankreyesgarcia committed Aug 26, 2024
1 parent 2325f92 commit c31e2ab
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Results/Templates/direct_dependency_explanation_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
CI detected that the dependency upgrade from version <**label indicating the previous version of the dependency**> to <**label indicating the new version of the dependency**> has failed. Here are details to help you understand and fix the problem:
1. Your client utilizes <**label indicate amount of instructions**> instructions which has been modified in the new version of the dependency.
* <summary> < Method | Class | Field | Import | Constructor> <b>< instruction name ></b> which has been < <b>Removed | Modified </b> > in the new version of the dependency</summary>

* <summary>The failure is identified from the logs generated in the build process. </summary>

* > Label to indicate the error message in the logs
* An error was detected in line < Label indicate line in client> which is making use of an outdated API.
``` java
< Line in client >
```

To resolve this issue, there are alternative options available in the new version of the dependency that can replace the incompatible method currently used in the client. You can consider substituting the existing method with one of the following options provided by the new version of the dependency
``` java
< New method signature>
```

20 changes: 20 additions & 0 deletions Results/Templates/indirect_dependency_explanation_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
CI detected that the dependency upgrade from version <**label indicating the previous version of the dependency**> to <**label indicating the new version of the dependency**> has failed. Here are
details to help you understand and fix the problem:

Your code depends on indirect dependency <**label indicating indirect dependency**> which has been removed in the new version of the updated dependency (<**label indicating the new version of the dependency**>).

<details>
<summary>Here you can find a list of failures identified from the logs generated in the build process</summary>

* > Label to indicate the error message in the logs
* An error was detected in line < Label indicate line in client> which is making use of an outdated API.
``` java
< Line in client >
```
* > Label to indicate the error message in the logs
* An error was detected in line < Label indicate line in client> which is making use of an outdated API.
``` java
< Line in client >
```
</details>

Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
CI detected that the dependency upgrade from version <**label indicating the previous version of the dependency**> to <**label indicating the new version of the dependency**> has failed.

The new version of the dependency require a different version of Java.

CI uses Java <**current Java version**>. The new version of the dependency requires Java <**required Java version**>.

To resolve this issue, you need to update the Java version in the following files to the version required by the new dependency:

- `maven.yml`
- `build.yml`

<details>
<summary>Here you can find a list of failures identified from the logs generated in the build process</summary>

* > Label to indicate the error message in the logs
* > Label to indicate the error message in the logs
</details>
11 changes: 11 additions & 0 deletions Results/Templates/werror_exlpanation_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
CI detected that the dependency upgrade from version <**label indicating the previous version of the dependency**> to <**label indicating the new version of the dependency**> has failed. Here are details to help you understand and fix the problem:

1. This occur because the option **failureOnWarning** is activated in the following files:
- pom.xml

<details>
<summary>Here you can find a list of warnings identified from the logs generated in the build process</summary>

* > Label to indicate the error message in the logs
* > Label to indicate the error message in the logs
</details>

0 comments on commit c31e2ab

Please sign in to comment.