Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 347922 - haskell-updater should use cave instead of paludis
Summary: haskell-updater should use cave instead of paludis
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-06 16:53 UTC by Łukasz Michalik
Modified: 2011-04-10 13:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Łukasz Michalik 2010-12-06 16:53:58 UTC
haskell-updater currently calls the 'paludis' for Paludis-related
actions. The 'paludis' client will soon be deprecated in favour of
'cave'. Please change the commands to the newer client.

As far as I can see, the options needed are:

    pmCommand Paludis        = "cave"
    defaultPMFlags Paludis   = [ "resolve", "--execute", "--preserve-world", "--continue-on-failure if-independent"]

    paludisPMFlag PretendBuild   = Just "--no-execute"
    paludisPMFlag UpdateDeep     = Just "--complete"
    paludisPMFlag UpdateAsNeeded = Just "--lazy"

As you can see above, pretending is the default for 'cave
resolve'. You have to explicitly specify --execute to get it to carry
something out. It's probably easiest to include the '--execute' in the
main 'cave resolve' command string, and then append '--no-execute' if
pretending.
Comment 1 Lennart Kolmodin (RETIRED) gentoo-dev 2010-12-06 20:36:22 UTC
Which version of haskell-updater did you use?
The latest version in portage, 1.1.3.0, should support cave just fine.
Comment 2 Ivan 2010-12-06 22:10:54 UTC
(In reply to comment #1)
> Which version of haskell-updater did you use?
> The latest version in portage, 1.1.3.0, should support cave just fine.
> 

I think Lukasz means that the paludis option for haskell-updater should use cave rather than having a separate cave option (since the paludis program is being deprecated in favour of cave).

This will need to be backported to the previous versions of haskell-updater as well.
Comment 3 Łukasz Michalik 2010-12-07 10:15:43 UTC
(In reply to comment #1)
> The latest version in portage, 1.1.3.0, should support cave just fine.

Right, sorry, I was looking at stable for that, never thought you
might've taken action yourself.  And as Ivan said, 'paludis' client is
being deprecated, but the mangler is still Paludis, so other
updater/cleaner scripts still use '-P paludis' and eselect
package-manager setting is 'paludis' for cave.
Comment 4 Sergei Trofimovich (RETIRED) gentoo-dev 2011-04-10 13:07:16 UTC
> *haskell-updater-1.2.0.0 (10 Apr 2011)
> 
>   10 Apr 2011; Sergei Trofimovich <slyfox@gentoo.org>
>   +haskell-updater-1.2.0.0.ebuild:
>   Version bump: added 'cave' package manager and EPREFIX support.

1.2.0.0 pushed to the three. Sorry for the delay.