GithubHelp home page GithubHelp logo

Comments (2)

bvssvni avatar bvssvni commented on July 17, 2024

One idea is to extract information from crates.io to detect "holes" in the extract list.

  • If there are any holes, it will only cause problems if it is affected by updates.
  • If a hole can be detected, then it might be desirable to recommend adding the missing piece to the extract list.
  • If it can be verified that there are no holes, then this knowledge can be used for some operations.

from eco.

bvssvni avatar bvssvni commented on July 17, 2024

The dependency info could be used for comparing the ecosystem against crates.io. This information is used to detect updates, so errors caused by holes is because the dependency information has holes. The recommended action to add to extract list makes only sense if the extract list is used to generate the dependency info.

When the dependency info does not list a library at top level, it could be a hole, but it usually is not.

!listed_at_top_level, ?!hole.

A library listed at top level can not be a hole.

listed_at_top_level, !hole.

If a library does not have any dependencies, then it is not a hole.

no_dependencies, !hole.

Adding a package to the dependency information might introduce holes, but usually it does not:

add_package, ?!introduce_holes.

Removing a package from the dependency information does not introduce holes.

remove_package, !introduce_holes.

A package can only introduce holes with less depth than itself. If there is no other library with less depth then it can not introduce holes.

no_library_with_less_depth_order, !introduce_holes.

A package where all dependencies are listed does not introduce holes.

all_dependencies_listed, !introduce_holes.

from eco.

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.