bdcs-0.2.0: Tools for managing a content store of software packages

Copyright(c) 2016-2017 Red Hat Inc.
LicenseLGPL
Maintainerhttps://github.com/weldr
Stabilityalpha
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

BDCS.RPM.Groups

Description

Groups record support for RPM packages.

Synopsis

Documentation

createGroup :: MonadIO m => [Key Files] -> [Tag] -> SqlPersistT m (Key Groups) Source #

Given a list of Files and an RPM package, create a new Groups record and add it to the database. Note the difference between this function and all the others that operate on RPMs - those return a record, while this one creates a record, inserts it, and returns its key. Groups are more complicated.