#217 "stable check" for checking whether pkgs are stable-ready

open
nobody
None
5
2007-02-24
2007-02-24
Max Horn
No

It would be nice to have a way to test whether a package is ready for stable, at least in terms of dependencies.

I.e. right now, when I want to move a package to stable, there is no easy way to verify that all its deps are actually fulfilled in the stable tree. Of course I can temporarily disable the unstable tree, but that won't work if some of the deps of the package are installed.

So right now the only alternative seems to be to have a second Fink installation with only stable installed, and test the deps with this extra Fink installation. But that's rather a lot of work to do it, and not everybody can and will want to do that.

It should be possible (and not *that* hard, although also not trivial) to write a command Fink ("fink check-stable, ? Maybe an addon to the validator) which does that. In brief, it would only read the stable tree(s), ignore the list of installed packages and then, with only this restricted list of packages, would check whether the package is stable ready or not.

Discussion

  • Daniel Macks

    Daniel Macks - 2007-02-26

    Logged In: YES
    user_id=535292
    Originator: NO

    Sounds like you can accomplish what you want (controlling visibility of the unstable and/or installed package sets) using the --trees and --exclude-trees flags.

     
  • Max Horn

    Max Horn - 2007-02-26

    Logged In: YES
    user_id=12935
    Originator: YES

    Only if I have no unstable packages installed. Which makes it rather not so useful (to put it nicely *g*). As it is the normal case that you have unstable binaries installed when testing whether you can move one of your *unstable* packages to stable :-)

     
  • Daniel Macks

    Daniel Macks - 2007-02-26

    Logged In: YES
    user_id=535292
    Originator: NO

    You're forgetting about the "status" magic tree:)

    I've long used commands like

    fink --trees=stable,virtual rebuild foo

    to make sure that the foo in stable has all deps satisfiable within stable--see the " Tree Modularity" section of the Fink:Policy:Trees wiki page.

     
  • Max Horn

    Max Horn - 2007-02-26

    Logged In: YES
    user_id=12935
    Originator: YES

    I certainly didn't forget this "magic tree" -- I simply never new about it :-). And apparently none of the core people on #fink whom I asked yesterday knew either :-/.

    I'll give it a try now. Thanks for a the pointer!

     
  • Charles Lepple

    Charles Lepple - 2010-01-10

    Is this the same as the first example in the '-T' option of the fink man page? (as of fink 0.29.10)

    If so, this tracker item could probably be closed.

    "fink --trees=stable,virtual,status install foo
    Install foo as if fink was using the stable tree, even if unstable is enabled in fink.conf."

     
  • Hanspeter Niederstrasser

    One problem with "fink --trees=stable,virtual,status install foo" is that it only checks for your current Dist/Arch combination. If a different arch has a disabled package, then there's no way of checking this besides the PDB or manually grepping through infofiles (right?).

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks