Giter Site home page Giter Site logo

Comments (6)

tdruez avatar tdruez commented on June 15, 2024

I don't see any value keeping that empty entry, we should not create it in the first place.

@JonoYang what you be the benefits of prefixing everything with codebase/?

from scancode.io.

pombredanne avatar pombredanne commented on June 15, 2024

@tdruez re:

what you be the benefits of prefixing everything with codebase/?

this is a matter of model, not benefits at this stage: scancode (and every tool that can read scancode format) expects the paths in a scan to share a common root. We could relax this, but atm this is a hard requirement

from scancode.io.

tdruez avatar tdruez commented on June 15, 2024

Displaying codebase/ every time we present a Resource in a UI (web, results, command line) take precious space without apparent purpose.
Paths can get pretty long already and I don't see the need in the ScanCode.io context to prefix everything with the same arbitrary string.
That been said, we should probably bring back the root prefix to keep compatibility with the toolkit for now.

from scancode.io.

mjherzog avatar mjherzog commented on June 15, 2024

As we go forward to merging Scans in SCIO it probably makes sense to support multiple top-level roots. Historically you had to combine directories under a common root for the Scan and I doubt that we want/need to support multiple target directories for one Scan, but we do want to be able to combine multiple Scans under one Project.

from scancode.io.

tdruez avatar tdruez commented on June 15, 2024

@JonoYang the codebase/ root is not trimmed anymore. Could you try the latest code and confirm the fix?

from scancode.io.

JonoYang avatar JonoYang commented on June 15, 2024

@tdruez The changes made at 07e21fe fixes my issues. Thanks!

from scancode.io.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.