Implemented a Maven Central lister which recursively lists the file system of the maven central website ( http://central.maven.org/maven2/) and then extracts the package names and URL from the file system.
Closes T1724
Differential D1497
Maven Lister ardumont on May 21 2019, 1:21 PM. Authored by
Details
Implemented a Maven Central lister which recursively lists the file system of the maven central website ( http://central.maven.org/maven2/) and then extracts the package names and URL from the file system. Closes T1724
Diff Detail
Event TimelineComment Actions Build is green Comment Actions Build is green Comment Actions Build is green Comment Actions Also, please use the imperative form also for your commit messages.
Comment Actions Thanks for this first pass at a Maven lister. I'm afraid I hadn't had the time to think about the implementation until this morning, but here's a few things that jumped at me:
It looks like these indexes are available at least for the following maven repositories :
The index also provides an incremental version (referenced in a properties file) which would allow for incremental updates without having to re-download the full index. The Google repo also has an index https://developer.android.com/studio/build/dependencies.html#google-maven but it looks very different from the other maven repos I've found. However, it's fairly small compared to the others, so it shouldn't be too hard to sort it out as well. Please investigate the format of these repository indexes, and the data they provide, and see whether that would be suitable for use as the data source for the lister. As a final note your tests are testing the PyPI lister, which is probably not what you wanted to do! :) In further tasks, please outline the implementation plan _in the task_, and leave @ardumont or myself some time to acknowledge the plan, before jumping right into the code. It's going to feel a bit slower, but it will avoid you wasting time on less-than-optimal approaches!
Comment Actions
Thanks for a heads up, I didn't knew about this. I will go through the repository indexes and their provided data and inform you about it by latest.
Oh sorry, I forgot to change it
I will surely remember this. And I will add your message in the task of MAVEN Lister (T1724) if you don't mind. Comment Actions New work D6395 is superseding this work. @borisbaldassari I asked you to do this as I thought you were the author, my bad. I'm doing it now. |