Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 13, 2025

Bumps com.android.tools.build:manifest-merger from 31.7.3 to 31.8.0.

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps com.android.tools.build:manifest-merger from 31.7.3 to 31.8.0.

---
updated-dependencies:
- dependency-name: com.android.tools.build:manifest-merger
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from jonpryor as a code owner January 13, 2025 02:59
@dependabot dependabot bot added dependencies Pull requests that update a dependency file. java Pull requests that update Java code labels Jan 13, 2025
Copy link
Member

@jonathanpeppers jonathanpeppers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is broken due to the branch name and Windows MAX_PATH. Will need to close/reopen with a shorter branch name.

@jonathanpeppers
Copy link
Member

@pjcollins to workaround the problem here:

AndroidPackVersionLong = 35.99.0-ci.dependabot-gradle-src-manifestmerger-com-android-tools-build-manifest-merger-31-8-0.100

Could we substring the branch name during our build?

Something like: 35.99.0-ci.dependabot.100

Where it just trims for now?

@pjcollins
Copy link
Member

pjcollins commented Jan 13, 2025

@pjcollins to workaround the problem here:

AndroidPackVersionLong = 35.99.0-ci.dependabot-gradle-src-manifestmerger-com-android-tools-build-manifest-merger-31-8-0.100

Could we substring the branch name during our build?

Something like: 35.99.0-ci.dependabot.100

Where it just trims for now?

Yeah that is probably best, as we previously couldn't find a way to trim the generated branch name at creation time. I can try to push an update here shortly.

Comment on lines +51 to +55
// Trim generated dependabot branch names that are too long to produce useful package names
var lastSlashIndex = Branch.LastIndexOf ('/');
if (Branch.StartsWith ("dependabot") && lastSlashIndex != -1 && Branch.Length > 60) {
Branch = Branch.Substring (lastSlashIndex + 1);
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good. 👍

We can probably just merge this together, but need to check the CI results if the new manifestmerger is OK.

@jonathanpeppers jonathanpeppers merged commit 6d9b295 into main Jan 13, 2025
58 of 60 checks passed
@jonathanpeppers jonathanpeppers deleted the dependabot/gradle/src/manifestmerger/com.android.tools.build-manifest-merger-31.8.0 branch January 13, 2025 20:40
grendello added a commit that referenced this pull request Jan 14, 2025
* main:
  [ci] Add template for setting JAVA_HOME vars (#9671)
  Bump com.android.tools.build:manifest-merger from 31.7.3 to 31.8.0 (#9678)
  Bump to dotnet/sdk@2dd591056f 10.0.100-alpha.1.25062.16 (#9679)
  Bump com.android.tools:r8 from 8.5.35 to 8.7.18 (#9677)
  Bump to dotnet/java-interop@4f06201 (#9676)
  Bump to dotnet/android-api-docs@492e524d (#9668)
  [build] Support JDK-21 (#9672)
@github-actions github-actions bot locked and limited conversation to collaborators Feb 13, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file. java Pull requests that update Java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants