-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
eix-update with git produces empty database #18
Comments
If you use a git repository which does not contain metadata, you must create them locally, using egencache. |
Thanks for the pointer to |
Let's leave the ticket open. It is about the 5th time already I gave a similar answer... |
thanks for the tip. I just moved to git repo and got this issue For the eix-update EMPTY issue, the command which fixed my issue is
|
So does the egencache command now need to be run every time the git repo is synced? |
I hit the same issue. |
Here's my script /etc/portage/postsync.d/eix-update:
But the first |
hi guys. for someones that hit this issue... this repo -> https://github.com/gentoo-mirror/gentoo.git this is a git repo that actually have metadata. i will fix the problem with this repos.conf [DEFAULT] [gentoo] Cheers! |
One does not really want to keep the history of metadata in a git repository: It's an enormous waste of disk space. I have now created a set of /etc/portage/repo.postsync.d/* files which take care about downloading the cache and/or calling egencache to generate the metadata (and also download some other data like news and GLSAs which are not provided in the gentoo repository). Details are highly configurable, and some emphasis is put on security. You can install it as the package app-portage/portage-postsyncd-mv from the mv overlay (available over layman). |
Hello from 2021, just upgraded to using git for main gentoo overlay & faced the same problem. Maybe there should be at least some warning message somewhere at eix when moving to a git repo? |
Nobody should be using |
Unless you are developing against |
Those using https://github.com/gentoo/gentoo can configure Here's an example eixrc configuration that uses https://github.com/gentoo-mirror/gentoo's md5-cache:
Or simply:
One can create a
Note: I don't generally recommend using Also if it isn't obvious enough, no, you don't create a |
Hi!
I turned
/usr/portage/
from rsync to Git like this:Now I would expect eix-update to re-build a healthy index but it reports to not find any e-builds (which there are plenty) as I read the output:
Is my setup not supported? Could it be? Are there workarounds that I could try?
Many thanks in advance,
Sebastian
The text was updated successfully, but these errors were encountered: