aboutcode-org / aboutcode-org/back2source-data
Store d2d results in this repo
- Lenguaje dominante
- Python
- Estrellas
- 0
- Forks
- 0
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
We should store d2d results in this repo for easier review, including the script that call the purlcli, and uses the list of input data from https://github.com/nexB/purldb/issues/421
I could envision a flow like this:

(Created with https://mermaid.live/edit#pako:eNp1kDFPAzEMhf-KlZUrQ8cMXahAIAESp25ZTOJrI3LJ4cRIVdX_jq8FQZHIZEffe8_2wfgSyFhT6V0oe1pH3DKOLoO-6jlObbFaXU3Cyado4UUyhGWAoTAgzN9n9AuY2bNKUWrCGR765ydgqpJa_Wv7iM3vbnSC61gs3JJ2MEhKimC-FP1GL1M8xQ_6T_aT9Yr-bVmLsKdFwIYW-laYLjQQM9zFpu1UOpAa8xbajk7bwWnjzeZ-DVi1CpHJq8PeZdOZkXjEGPSShznYGZWN5IzVMtCA6u6My0dFUVrp99kb21ioMzLpON-HN3bAVOn4Cd2hjGE )
The code to store the d2d results could me more or less like this, using the "From" side of a URL pair
```
>>> url="https://repo1.maven.org/maven2/org/apache/htrace/htrace-core4/4.2.0-incubating/htrace-core4-4.2.0-incubating-sources.jar#from"
>>> _,_, url=url.partition("://")
>>> url
'repo1.maven.org/maven2/org/apache/htrace/htrace-core4/4.2.0-incubating/htrace-core4-4.2.0-incubating-sources.jar#from'
>>> url,_, _ =url.rpartition("#")
>>> url
'repo1.maven.org/maven2/org/apache/htrace/htrace-core4/4.2.0-incubating/htrace-core4-4.2.0-incubating-sources.jar'
>>> from pathlib import Path
>>> p=Path(url)
>>> p.mkdir(parents=True)
```
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.