Get all mobile dependencies during dry run
The first build after a version bump is usually with networking allowed
to get all the Gradle dependencies extracted. That step is currently
failing for application-services
, android-components
, and fenix
for unknown reasons: the Gradle
--debug
output does not show artifact downloads for some dependencies
for later re-use in our mavenLocal setup.
- Show closed items
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Georg Koppen changed title from Get all application-services dependency during dry run to "Get all application-services dependencies during dry run"
changed title from Get all application-services dependency during dry run to "Get all application-services dependencies during dry run"
- Georg Koppen changed title from "Get all application-services dependencies during dry run" to Get all application-services dependencies during dry run
changed title from "Get all application-services dependencies during dry run" to Get all application-services dependencies during dry run
- Georg Koppen added 1 deleted label
added 1 deleted label
- Georg Koppen mentioned in issue tor-browser#33184 (closed)
mentioned in issue tor-browser#33184 (closed)
- Georg Koppen changed title from Get all application-services dependencies during dry run to Get all mobile dependencies during dry run
changed title from Get all application-services dependencies during dry run to Get all mobile dependencies during dry run
- Georg Koppen changed the description
changed the description
- Author Developer
It used to work for
android-components
andfenix
, so this is probably a good hint for digging deeper. - Georg Koppen assigned to @gk
assigned to @gk
- Georg Koppen added Maintenance Next labels
added Maintenance Next labels
- Georg Koppen changed time estimate to 5h
changed time estimate to 5h
- Georg Koppen changed milestone to %Tor Browser: 10.5
changed milestone to %Tor Browser: 10.5
- Georg Koppen added Doing label and removed Next label
- Georg Koppen added Next label and removed Doing label
- Gaba removed 1 deleted label
removed 1 deleted label
- Author Developer
For #40217 (closed) we now get
./android-components/gradle-dependencies-list.txt:4cd24a06b2a253110d8afd250e9eec6c6faafea6463d740824743d637e761f12 | https://repo.maven.apache.org/maven2/org/jetbrains/kotlinx/kotlinx-coroutines-core-jvm/1.4.2/kotlinx-coroutines-core-jvm-1.4.2.jar ./android-components/gradle-dependencies-list.txt:4cd24a06b2a253110d8afd250e9eec6c6faafea6463d740824743d637e761f12 | https://repo.maven.apache.org/maven2/org/jetbrains/kotlinx/kotlinx-coroutines-core/1.4.2/kotlinx-coroutines-core-1.4.2.jar
so I am wondering whether Gradle is smarter here realizing that it already got one dependency with hash
4cd24a06b2a253110d8afd250e9eec6c6faafea6463d740824743d637e761f12
and does not downloadkotlinx-coroutines-core-1.4.2.jar
additionally. That would essentially be a hash-based deps resolution instead of a file-/URL-based one we do.However, spot-checking that for previous artifacts we needed to download manually this does not seem to hold: there are no resources with the same hashes in the dependency list file.
- Georg Koppen unassigned @gk
unassigned @gk
- Gaba changed time estimate to 48h
changed time estimate to 48h
- Gaba changed milestone to %Tor Browser: 11.0 Issues with previous release
changed milestone to %Tor Browser: 11.0 Issues with previous release
Collapse replies - Maintainer
This could lead to build errors if the pom is expected not to have an associated jar/aar: #40582 (comment 2823598).
- boklm mentioned in merge request !387 (closed)
mentioned in merge request !387 (closed)
- boklm mentioned in merge request tor-browser!243 (merged)
mentioned in merge request tor-browser!243 (merged)
- Pier Angelo Vendrame mentioned in issue #40418 (closed)
mentioned in issue #40418 (closed)
- aguestuser marked this issue as related to #40454 (closed)
marked this issue as related to #40454 (closed)
- Gaba added Roadmap::Future label and removed Next label
added Roadmap::Future label and removed Next label
- Gaba added Next label and removed Roadmap::Future temp labels
added Next label and removed Roadmap::Future temp labels
- morgan removed milestone %Tor Browser: 11.0 Issues with previous release
removed milestone %Tor Browser: 11.0 Issues with previous release
- morgan added Roadmap::Future label
added Roadmap::Future label
- Maintainer
While I'd prefer a way to get dependencies directly without a dry run, I made some progress to use Gradle's cache from the dry-run build, instead of the logs while updating to 115: #40855 (comment 2906041).
In replies I've also attached a few scripts to scrape that cache and to try to create some URLs from that URL with some strategies.
We could try to automate these scripts more.
Collapse replies In replies I've also attached a few scripts to scrape that cache and to try to create some URLs from that URL with some strategies.
We could try to automate these scripts more.
Yes, I think the
match.py
script can be adapted to replaceprojects/common/gen_gradle_deps_file.sh
.- Maintainer
My scripts failed to gather these files:
-
https://maven.google.com/androidx/annotation/annotation/1.6.0/annotation-1.6.0.jar (it's transformed from
annotation-metadata-1.6.0.jar
, or something similar) - https://repo1.maven.org/maven2/org/jetbrains/kotlinx/atomicfu/0.17.3/atomicfu-0.17.3.jar (not sure why)
-
https://repo1.maven.org/maven2/org/jetbrains/kotlinx/atomicfu/0.17.3/atomicfu-0.17.3-all.jar (maybe because of the
-all
suffix?) -
https://repo1.maven.org/maven2/org/jetbrains/kotlinx/kotlinx-coroutines-core/1.6.4/kotlinx-coroutines-core-1.6.4-all.jar (I suppose because of the
-all
suffix again) - https://jcenter.bintray.com/net/freehaven/tor/control/jtorctl/0.2/jtorctl-0.2.jar, https://jcenter.bintray.com/net/freehaven/tor/control/jtorctl/0.2/jtorctl-0.2.pom (maybe I was missing part of the tor integration)
It's a miss of 6 files. Not great, but quick enough to fix (it can be done with an offline build only).
-
https://maven.google.com/androidx/annotation/annotation/1.6.0/annotation-1.6.0.jar (it's transformed from