Summary: | kde overlay should contain metadata/md5-cache | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | anonymous <gentoobugs> |
Component: | Overlays | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | jstein, mgorny |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
anonymous
2017-05-18 17:47:46 UTC
While I agree metadata would be nice, there are two main problems I see: 1. It's generated data which doesn't need version control, so would unnecessarily bloat the repo 2. Because it is a child of gentoo.git, any eclass changes there (where there are instances of that eclass being inherited) would invalidate relevant parts of the overlay cache To resolve #1, instead of including metadata in the main/source repo we could offer a separate "sync" repo (such as we already have for gentoo.git - https://gitweb.gentoo.org/repo/sync/gentoo.git/). I'll ask mgorny about the feasibility of this. (In reply to Michael Palimaka (kensington) from comment #1) > To resolve #1, instead of including metadata in the main/source repo we > could offer a separate "sync" repo (such as we already have for gentoo.git - > https://gitweb.gentoo.org/repo/sync/gentoo.git/). I'll ask mgorny about the > feasibility of this. I've been informed that this already exists! https://github.com/gentoo-mirror/kde (In reply to Michael Palimaka (kensington) from comment #2) > I've been informed that this already exists! > https://github.com/gentoo-mirror/kde Good! Can this be default repo when I'm adding overlay through layman? I'm not sure if we could replace the existing repo - will it cause conflicts for users who already have it added using the old repo? We could add a new entry "kde-sync" or something. I added kde-sync: https://gitweb.gentoo.org/data/api.git/commit/?id=c18e40daec14bc41c8c9fe4db31e49fb7f626a63 Now I get warning when use kde-sync overlay: !!! Invalid PORTDIR_OVERLAY (not a dir): '/var/lib/layman/kde' !!! Section 'kde-sync' in repos.conf has name different from repository name 'kde' set inside repository OK, that's a shame. I've backed it out now: https://gitweb.gentoo.org/data/api.git/commit/?id=b6a795886a91f14e7cdebbff5d42a4e9b26feac4 I was pointed to this doc about how it's recommended to use the sync repos instead: https://wiki.gentoo.org/wiki/Project:Repository_mirror_and_CI (In reply to Michael Palimaka (kensington) from comment #7) > OK, that's a shame. I've backed it out now: > https://gitweb.gentoo.org/data/api.git/commit/ > ?id=b6a795886a91f14e7cdebbff5d42a4e9b26feac4 > > I was pointed to this doc about how it's recommended to use the sync repos > instead: > https://wiki.gentoo.org/wiki/Project:Repository_mirror_and_CI This doc doesn't work for me, can you look that thread, please? https://forums.gentoo.org/viewtopic-t-1064500.html (In reply to Pravorskii Andrii from comment #8) > (In reply to Michael Palimaka (kensington) from comment #7) > > OK, that's a shame. I've backed it out now: > > https://gitweb.gentoo.org/data/api.git/commit/ > > ?id=b6a795886a91f14e7cdebbff5d42a4e9b26feac4 > > > > I was pointed to this doc about how it's recommended to use the sync repos > > instead: > > https://wiki.gentoo.org/wiki/Project:Repository_mirror_and_CI > > This doc doesn't work for me, can you look that thread, please? > > https://forums.gentoo.org/viewtopic-t-1064500.html The example config and the text contradict each other. Could you try reversing the order of the repositories.xml entries? (In reply to Pravorskii Andrii from comment #8) > (In reply to Michael Palimaka (kensington) from comment #7) > > OK, that's a shame. I've backed it out now: > > https://gitweb.gentoo.org/data/api.git/commit/ > > ?id=b6a795886a91f14e7cdebbff5d42a4e9b26feac4 > > > > I was pointed to this doc about how it's recommended to use the sync repos > > instead: > > https://wiki.gentoo.org/wiki/Project:Repository_mirror_and_CI > > This doc doesn't work for me, can you look that thread, please? > > https://forums.gentoo.org/viewtopic-t-1064500.html Can you take a look at this mgorny? Apparently it's not working. Well, I couldn't reproduce the issue but I've updated the wiki article nevertheless. There is really no reason to keep using the original api.g.o .xml if mirrors are used, so just removed it and put the mirror list alone. |