Giter Club home page Giter Club logo

Comments (6)

Steap avatar Steap commented on August 11, 2024

I took a quick look at this issue. The following patch should solve it:

https://www.gitorious.org/steap-opensuse/zypper/commit/e29722ebb1e72ba470512d2e1b8a4b584f51b8d4

When running "zypper in --ignore-unknown pkg1 pkg2..." or 'zypper in -i pkg1 pkg2", zypper will ignore packages it cannot find anywhere, and return 0.

I am new to openSUSE, but I hope this helps.

from zypper.

mlandres avatar mlandres commented on August 11, 2024

Thanks for doing the 1st step. This option should IMO be applicable to every command that takes such a list of packages (or patches).
Maybe it could even be a global option, so it can later be used with repository or lock commands as well.
And of course it needs to be mentioned in the manpage.

from zypper.

Steap avatar Steap commented on August 11, 2024

On 11/22/2012 10:47 AM, Michael Andres wrote:

Thanks for doing the 1st step. This option should IMO be applicable to every command that takes such a list of packages (or patches).
Maybe it could even be a global option, so it can later be used with repository or lock commands as well.

I'll add --ignore-unknown as a global option, then.

And of course it needs to be mentioned in the manpage.

OK, I'll update the manpage as well.

The "tests" directory has not been updated in a while. Should I add a
test for this option anyway ? I used a simple shell script to make sure
my first patch worked well.

WBR,
Cyril Roelandt.

from zypper.

mlandres avatar mlandres commented on August 11, 2024

I don't think it needs a dedicated testcase.

from zypper.

Steap avatar Steap commented on August 11, 2024

On 11/26/2012 10:56 AM, Michael Andres wrote:

I don't think it needs a dedicated testcase.

I made it a global option, that currently applies to
install/remove/source install/update and updated the man page. The code
can be found at :

https://gitorious.org/steap-opensuse/zypper/commit/e590d950839c0487b723dbc87c796121fea53ec0

WBR,
Cyril Roelandt.

from zypper.

mlandres avatar mlandres commented on August 11, 2024

Thanks for the patch. Commit cdf3877 fixes this issue.

from zypper.

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.