Git Product home page Git Product logo

Comments (6)

liquidz avatar liquidz commented on September 15, 2024

@lread Thanks for your suggestion!

Not sure what form this exclusion config would take, thought I'd first check if the idea might be of interest.

Indeed.
Sometimes I'd like to ignore specific version.
The feature will help me too :)

We have already --exclude option to ignore specific dependency, so for example, we can extend this option to be able to specify version like --excude=d@v.
(I believe the dep@version format is common because it is used by npm, brew, etc)

from antq.

lread avatar lread commented on September 15, 2024

Yeah, I think that'd work well @liquidz. I currently only see need to blacklist one version, I think(?).

Here's a nuance: Let's say I am at version 1.1.0 of lib x and the current release version is 1.1.2. I know I don't want 1.1.2, so I exclude [email protected]. If there is a v1.1.1 also available, would antq recommend v1.1.1? Or I am I really excluding v1.1.2 and all version before it?

from antq.

liquidz avatar liquidz commented on September 15, 2024

@lread

Here's a nuance: Let's say I am at version 1.1.0 of lib x and the current release version is 1.1.2. I know I don't want 1.1.2, so I exclude [email protected]. If there is a v1.1.1 also available, would antq recommend v1.1.1? Or I am I really excluding v1.1.2 and all version before it?

It seems intuitive that [email protected] excludes only v1.1.2.
So v1.1.1 should be reported as available. (because v1.1.0 is outdated)

antq has a version list internally, and it shouldn't be too hard.

from antq.

lread avatar lread commented on September 15, 2024

Sounds good! So if we were wanting to exclude multiple versions of lib x, I would simply specify both [email protected] and [email protected]

from antq.

liquidz avatar liquidz commented on September 15, 2024

@lread I've not tested enough yet, but I've tried to add the feature in dev branch.

from antq.

liquidz avatar liquidz commented on September 15, 2024

Just released v0.14.0 #76
Feel free to reopen it you have any problems :)

from antq.

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.