jema...@gnu.org (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! Ludo’.