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".
Created attachment 286521 [details] hook file
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.
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)
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.
(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?
ok, i assume this can be closed then.