[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Goals for 0.4

From: Ludovic Courtès
Subject: Re: Goals for 0.4
Date: Sat, 31 Aug 2013 23:07:24 +0200
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux)

address@hidden (Jose E. Marchesi) skribis:

>     I just realized that we can do even better: have --list-generations
>     output recutils-formatted data (using ‘object->fields’).  Then, if we do
>     it right, the output can just be piped to ‘recsel’ to select entries of
>     a certain age, to display specific fields, etc.  Like:
>       generation-number: 1
>       date: 2013-05-07
>     However, I don’t know exactly how to represent both the generations and
>     the list of packages in each generation in a single recutils stream.
>     José, how can the relations between “generation” records and “package”
>     records be expressed?
> You can have two record sets: one for generations, one for packages.  A
> foreign key can relate them.  Something like this:

Perfect, thanks!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]