mirror of https://github.com/voidlizard/hbs2
wip
This commit is contained in:
parent
2370681a42
commit
32e8c669c8
|
@ -589,6 +589,12 @@ theDict = do
|
||||||
for_ rs $ \(r,f) -> do
|
for_ rs $ \(r,f) -> do
|
||||||
liftIO $ print $ pretty r <+> pretty (AsBase58 f)
|
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 :: IO ()
|
||||||
main = do
|
main = do
|
||||||
|
|
|
@ -2,10 +2,16 @@ module HBS2.Git.DashBoard.Fixme where
|
||||||
|
|
||||||
import HBS2.Git.DashBoard.Prelude
|
import HBS2.Git.DashBoard.Prelude
|
||||||
import HBS2.Git.DashBoard.Types
|
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 ::
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -76,6 +76,7 @@ library hbs2-git-dashboard-core
|
||||||
, hbs2-keyman-direct-lib
|
, hbs2-keyman-direct-lib
|
||||||
, db-pipe
|
, db-pipe
|
||||||
, suckless-conf
|
, suckless-conf
|
||||||
|
, fixme-new
|
||||||
|
|
||||||
, aeson
|
, aeson
|
||||||
, atomic-write
|
, atomic-write
|
||||||
|
|
Loading…
Reference in New Issue