metadata: change pkg->{src} field to hold a reference
authorMatthias Schiffer <mschiffer@universe-factory.net>
Sat, 6 Jan 2018 17:01:25 +0000 (18:01 +0100)
committerMatthias Schiffer <mschiffer@universe-factory.net>
Sat, 13 Jan 2018 18:54:44 +0000 (19:54 +0100)
commit504cb913eb5e12ea5e737bdfac96df32240b3c37
treedf83abffbc34304c2b6c512a5bf48a67b93a17c5
parent47f292ff7823e9d844e946d221f5708bf51b15fd
metadata: change pkg->{src} field to hold a reference

We often want to access fields of a source packages through pkg->{src}.
Allow accessing them directly instead of resolving the source hash through
srcpackages.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
scripts/feeds
scripts/metadata.pm
scripts/package-metadata.pl