LibScout icon indicating copy to clipboard operation
LibScout copied to clipboard

Outputting the profiles of library-profile-generator.sh

Open kaopiu opened this issue 3 years ago • 1 comments

Hi! Iv'e ran the crawler of the android repo json file, and downloaded the libs. Since there are new versions of the libraries, i want to create new profiles for each, and then run the match command on an apk. I ran the library-profile-generator.sh, and it works fine, but there is not output of the new profiles to anywhere. Would love some help, Thank you.

$python3 ./scripts/library-scraper.py ./scripts/library-specs/google-libraries.json


== maven/jcenter scraper ==
- Load library info from ./scripts/library-specs/google-libraries.json
- Store libs to my-lib-repo/
- Update libraries (skip alpha/beta versions):
  # check library com.google.android.play::core [Android]   (g:"com.google.android.play" AND a:"core")
    - retrieved meta data for 31 versions:
       - update version: 1.6.5   type: aar  date: n/a  target-dir: my-lib-repo/Android/com.google.android.play::core/1.6.5
       - update version: 1.7.0   type: aar  date: n/a  target-dir: my-lib-repo/Android/com.google.android.play::core/1.7.0
       - update version: 1.7.1   type: aar  date: n/a  target-dir: my-lib-repo/Android/com.google.android.play::core/1.7.1
       - update version: 1.7.2   type: aar  date: n/a  target-dir: my-lib-repo/Android/com.google.android.play::core/1.7.2
       - update version: 1.7.3   type: aar  date: n/a  target-dir: my-lib-repo/Android/com.google.android.play::core/1.7.3
       - update version: 1.8.0   type: aar  date: n/a  target-dir: my-lib-repo/Android/com.google.android.play::core/1.8.0
       - update version: 1.8.2   type: aar  date: n/a  target-dir: my-lib-repo/Android/com.google.android.play::core/1.8.2
       - update version: 1.8.3   type: aar  date: n/a  target-dir: my-lib-repo/Android/com.google.android.play::core/1.8.3
       - update version: 1.9.0   type: aar  date: n/a  target-dir: my-lib-repo/Android/com.google.android.play::core/1.9.0
       - update version: 1.9.1   type: aar  date: n/a  target-dir: my-lib-repo/Android/com.google.android.play::core/1.9.1
       - update version: 1.10.0   type: aar  date: n/a  target-dir: my-lib-repo/Android/com.google.android.play::core/1.10.0
       - update version: 1.10.1   type: aar  date: n/a  target-dir: my-lib-repo/Android/com.google.android.play::core/1.10.1
       - update version: 1.10.2   type: aar  date: n/a  target-dir: my-lib-repo/Android/com.google.android.play::core/1.10.2
       - update version: 1.10.3   type: aar  date: n/a  target-dir: my-lib-repo/Android/com.google.android.play::core/1.10.3
  # check library com.android.support.constraint::constraint-layout-solver [Android]   (g:"com.android.support.constraint" AND a:"constraint-layout-solver")
    - retrieved meta data for 10 versions:
       - update version: 1.0.2   type: jar  date: n/a  target-dir: my-lib-repo/Android/com.android.support.constraint::constraint-layout-solver/1.0.2

kaopiu avatar Feb 10 '22 12:02 kaopiu

library-profile-generator.sh is just a convenience script that runs the library profiling mode on every library it finds. The default output directory for the profiles is "./profiles".

Can you manually run the profiling mode on a single library and confirm that this works?

reddr avatar Feb 27 '22 17:02 reddr