scancode.io icon indicating copy to clipboard operation
scancode.io copied to clipboard

Create the project workspace directory using a slug-like name (at least without spaces)

Open pombredanne opened this issue 1 year ago • 1 comments

We should consider to create the project workspace directory using a slug-like name (at least without spaces). This helps when iterating over the directories

pombredanne avatar Nov 05 '23 09:11 pombredanne

@pombredanne It appears that this is already the case https://github.com/nexB/scancode.io/blob/main/scanpipe/models.py#L464

The project workspace directory is generated from a slug of the project name plus a unique ID https://github.com/nexB/scancode.io/blob/main/scanpipe/models.py#L453

This may not work properly on your side though, could you provide an example of a directory that is not correct and what it should be instead?

tdruez avatar Nov 20 '23 09:11 tdruez