This commit is contained in:
Dmitry Zuikov 2024-09-28 07:05:06 +03:00
parent 2370681a42
commit 32e8c669c8
3 changed files with 15 additions and 2 deletions

View File

@ -589,6 +589,12 @@ theDict = do
for_ rs $ \(r,f) -> do
liftIO $ print $ pretty r <+> pretty (AsBase58 f)
entry $ bindMatch "debug:check-fixme-allowed" $ nil_ $ \case
[SignPubKeyLike s] -> do
what <- lift $ checkFixmeAllowed (RepoLww (LWWRefKey s))
liftIO $ print $ pretty what
_ -> throwIO $ BadFormException @C nil
main :: IO ()
main = do

View File

@ -2,10 +2,16 @@ module HBS2.Git.DashBoard.Fixme where
import HBS2.Git.DashBoard.Prelude
import HBS2.Git.DashBoard.Types
import HBS2.Git.DashBoard.State
-- import Fixme.State
import Fixme.State
import Fixme.Types
withFixme :: (DashBoardPerks m, MonadReader DashBoardEnv m) => RepoLww -> FixmeM m a -> m ()
withFixme repo m = do
p <- fixmeDataPath (coerce repo)
debug $ pretty p
-- runFixme ::

View File

@ -76,6 +76,7 @@ library hbs2-git-dashboard-core
, hbs2-keyman-direct-lib
, db-pipe
, suckless-conf
, fixme-new
, aeson
, atomic-write