mirror of
https://github.com/Start9Labs/registry.git
synced 2026-03-26 02:11:53 +00:00
log
This commit is contained in:
@@ -78,7 +78,8 @@ import Startlude (
|
|||||||
(<$>),
|
(<$>),
|
||||||
(<&>),
|
(<&>),
|
||||||
(=<<),
|
(=<<),
|
||||||
(>)
|
(>),
|
||||||
|
show,
|
||||||
)
|
)
|
||||||
import UnliftIO (Concurrently (..), mapConcurrently)
|
import UnliftIO (Concurrently (..), mapConcurrently)
|
||||||
import Yesod (
|
import Yesod (
|
||||||
@@ -97,6 +98,7 @@ import Yesod (getRequest)
|
|||||||
import Data.List (last)
|
import Data.List (last)
|
||||||
import Data.Text (isPrefixOf)
|
import Data.Text (isPrefixOf)
|
||||||
import Startlude (length)
|
import Startlude (length)
|
||||||
|
import Control.Monad.Logger (logWarn)
|
||||||
|
|
||||||
data PackageReq = PackageReq
|
data PackageReq = PackageReq
|
||||||
{ packageReqId :: !PkgId
|
{ packageReqId :: !PkgId
|
||||||
@@ -129,6 +131,8 @@ getPackageIndexR = do
|
|||||||
ram <- getRamQuery
|
ram <- getRamQuery
|
||||||
hardwareDevices <- getHardwareDevicesQuery
|
hardwareDevices <- getHardwareDevicesQuery
|
||||||
communityVersion <- getsYesod $ communityVersion . appSettings
|
communityVersion <- getsYesod $ communityVersion . appSettings
|
||||||
|
$logWarn $ "***COMMUNITY"
|
||||||
|
$logWarn $ show $ osPredicate communityVersion
|
||||||
pkgIds <- getPkgIdsQuery
|
pkgIds <- getPkgIdsQuery
|
||||||
category <- getCategoryQuery
|
category <- getCategoryQuery
|
||||||
page <- fromMaybe 1 <$> getPageQuery
|
page <- fromMaybe 1 <$> getPageQuery
|
||||||
|
|||||||
Reference in New Issue
Block a user