rblib/modles: add from_row() methods to Build and Package
to be able to instantiate those objects providing some rows coming from
the db.
Useful for those cases where the database has to be queried anyway to
gather the list of packages, at that point one might as well gather all
the required data already.
Signed-off-by:
Mattia Rizzolo <mattia@debian.org>
Please register or sign in to comment