Skip to content

Commit 268d1fb

Browse files
committed
chore: fixed a api doc and added some comments
1 parent 54cb91e commit 268d1fb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

charon/pkgs/maven.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -996,8 +996,8 @@ def _generate_metadatas(
996996
what we should do here is:
997997
* Scan and get the GA for the poms
998998
* Search all poms in s3 based on the GA
999-
* Use searched poms and scanned poms to generate
1000-
maven-metadata to refresh
999+
* Use searched pomsto generate maven-metadata
1000+
to refresh
10011001
"""
10021002
ga_dict: Dict[str, bool] = {}
10031003
logger.debug("Valid poms: %s", poms)
@@ -1007,6 +1007,8 @@ def _generate_metadatas(
10071007
logger.debug("G: %s, A: %s", g, a)
10081008
g_path = "/".join(g.split("."))
10091009
ga_dict[os.path.join(g_path, a)] = True
1010+
# Note: here we don't need to add original poms, because
1011+
# they have already been uploaded to s3.
10101012
all_poms = []
10111013
meta_files = {}
10121014
for path, _ in ga_dict.items():

0 commit comments

Comments
 (0)