From: | Zac Medico <zmedico@g.o> | ||
---|---|---|---|
To: | gentoo-portage-dev@l.g.o | ||
Subject: | Re: [gentoo-portage-dev] Re: [RFC] Package description index file format for faster emerge search actions | ||
Date: | Tue, 14 Oct 2014 10:34:15 | ||
Message-Id: | 543CFC1F.1050608@gentoo.org | ||
In Reply to: | [gentoo-portage-dev] Re: [RFC] Package description index file format for faster emerge search actions by Duncan <1i5t5.duncan@cox.net> |
1 | On 10/14/2014 02:53 AM, Duncan wrote: |
2 | > What about homepage? An index for it too? |
3 | |
4 | If we really want to index the homepage, then a more extensible format |
5 | might be better. For example, each line of the index could be a JSON |
6 | object like this: |
7 | |
8 | {"description": "sandbox'd LD_PRELOAD hack", "homepage": |
9 | "http://www.gentoo.org/proj/en/portage/sandbox/", "package_versions": |
10 | "sys-apps/sandbox-1.6-r2,2.3-r1,2.4,2.5,2.6-r1"} |
11 | |
12 | The attached script generates this JSON lines format. |
13 | -- |
14 | Thanks, |
15 | Zac |
File name | MIME type |
---|---|
make_pkg_desc_index_json.py | text/x-python |
Subject | Author |
---|---|
[gentoo-portage-dev] Re: [RFC] Package description index file format for faster emerge search actions | Martin Vaeth <martin@×××××.de> |