Commit graph

9 commits

Author SHA1 Message Date
Antoine R. Dumont (@ardumont)
e4b27a1e98
maven: log error message when not able to retrieve the index to read
Without this, the lister legitimately cannot list anything.
2022-04-13 17:41:44 +02:00
Antoine Lambert
d38e05cff7 python: Reformat code with black 22.3.0
Related to T3922
2022-04-08 15:15:09 +02:00
Antoine R. Dumont (@ardumont)
7ff1390378
maven: Fix last update datetime
We need to avoid using naive datetime as this fails during conversion.

Related to T3746
Related to P1280
2022-02-09 16:59:40 +01:00
Boris Baldassari
d4e1e8212a maven: Fix undef last_update in ListedOrigins. 2022-02-08 07:51:01 +01:00
Boris Baldassari
24eeabfade maven: dismiss origins if they are malformed - e.g. wrong pom scm format, add test. 2022-02-08 07:51:01 +01:00
Antoine R. Dumont (@ardumont)
a599493b48
maven: Let logging instruction do the formatting 2022-01-25 11:32:23 +01:00
Antoine R. Dumont (@ardumont)
8667b04abc
maven: Add more debug logging instruction
And log the metadata dictionary.
2022-01-25 11:32:23 +01:00
Valentin Lorentz
fa7ecc8fbd maven: Pass the base URL of the Maven instance to the loader
I would like to use it as the metadata authority URI in the loader,
instead of '{p_url.scheme}://{p_url.netloc}/', which I do not think
is accurate, as it is possible to have multiple Maven instances at
the same netloc.
2021-12-07 13:51:00 +01:00
Boris Baldassari
8991c625ea lister: Add new maven lister
The Maven lister retrieves the maven central indexes, exports them in a
convenient text format, and parse them to identify all src archives and
pom files in the maven repository. Then the pom files are downloaded and
analysed to find and yield any scm reference.

Note: This is a new version of the maven lister diff D6133 which takes
into account the initial round of reviews.

Related to T1724
2021-11-29 17:33:13 +01:00