aboutcode-org / aboutcode-org/back2source-data
Store d2d results in this repo
- Lingua principale
- Python
- Stelle
- 0
- Fork
- 0
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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)
```
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.