Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 383029 - [eix, paludis] app-portage/eix and paludis integration hook
Summary: [eix, paludis] app-portage/eix and paludis integration hook
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Martin Väth
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-15 06:44 UTC by Marcin Kowalski
Modified: 2011-11-08 09:23 UTC (History)
1 user (show)

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


Attachments
hook file (update-eix.bash,773 bytes, text/plain)
2011-09-15 06:45 UTC, Marcin Kowalski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Kowalski 2011-09-15 06:44:40 UTC
This hook activates after syncing all repositories and makes eix index all active paludis repositories that contain ebuilds.

Please consider adding it to eix via paludis-hook flag or to paludis package via extra use flag.

Reproducible: Always

Steps to Reproduce:
1. install eix and set up paludis
2. install hook file as /etc/paludis/hooks/sync_all_post/update_eix.bash
3. sync repositories with paludis ( cave sync ) 
Actual Results:  
eix indexes all repositories from /etc/paludis/repositories/ that are of type "ebuild" or "e".
Comment 1 Marcin Kowalski 2011-09-15 06:45:19 UTC
Created attachment 286521 [details]
hook file
Comment 2 Martin Väth 2011-09-15 17:34:25 UTC
This file does essentially what
eix-sync -c paludis-sync-command [-C option -C option ...]
is supposed to do. Note that default options for eix-sync can be configured
either by environment or by /etc/eixrc (or ~/.eixrc).

(I have never worked with paludis, therefore I have written only
abstractly "paludis-sync-command" and "option", hoping that you can
fill in details; you can also add a hook to initialize e.g. PORTDIR_OVERLAY
or other variables).

So I suggest that if one cannot get eix-sync to work with paludis
with an appropriate configuration that we try to fix/extend eix-sync
instead.
Comment 3 Marcin Kowalski 2011-09-16 04:48:23 UTC
i think that is not the case.

AFAIK eix goes through repositories defined in /etc/make.conf 

this hook goes through repositories that paludis has configured in /etc/paludis/repositories (or elsewhere if specpath is different)
Comment 4 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2011-09-16 15:29:05 UTC
My 2 cents,

Adding a paludis hook command/file is equiv to adding a file to /etc/portage/postsync.d/ - I see no need for either because every user has different requirements and upstream will never be able to cover all cases, thus more bug reports and more unhappy users than just leaving it alone.
Comment 5 Martin Väth 2011-09-16 19:03:39 UTC
(In reply to comment #3)
> AFAIK eix goes through repositories defined in /etc/make.conf 

Only indirectly by using PORTDIR_OVERLAY.
As I mentioned, you can define PORTDIR_OVERLAY (using shell commands)
in a "!" or "!!" hook for eix-sync (see the description of /etc/eix-sync.conf
in the eix manpage).

If you know a nice hook for eix-sync.conf, I can add it to the manpage
(or even provide an additional shell function in eix-sync if more
cumbersome code is required).
If it is not possible to deal with paludis in that manner (why not?)
maybe you can suggest a patch for eix-sync?
Comment 6 Marcin Kowalski 2011-11-08 09:23:12 UTC
ok, i assume this can be closed then.