Skip to content

Commit

Permalink
more todo's (fixme's)
Browse files Browse the repository at this point in the history
  • Loading branch information
juhp committed Oct 20, 2023
1 parent e210796 commit 7a5ce97
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Install.hs
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,8 @@ setNoBuffering = do

data InstallType = ReInstall | Install

-- FIXME support options per build: install ibus imsettings -i plasma
-- (or don't error if multiple packages)
installRPMs :: Bool -> Bool -> Maybe PkgMgr -> Yes
-> [(FilePath,[(Existence,NVRA)])] -> IO ()
installRPMs _ _ _ _ [] = return ()
Expand Down
4 changes: 4 additions & 0 deletions src/Progress.hs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ import Utils
-- FIXME if failure and no more, then stop
-- FIXME catch HTTP exception for connection timeout
-- FIXME pick up new user builds (if none specified)
-- FIXME noarch tasks shown with build arch
progressCmd :: Bool -> QueryOpts -> TaskReq -> IO ()
progressCmd modules queryopts@QueryOpts{..} taskreq = do
tasks <- do
Expand Down Expand Up @@ -125,6 +126,9 @@ initialBuildTask taskinfo = do
case lookupStruct "parent" taskinfo of
Nothing -> error' $ "no parent found for " ++ displayID tid
Just par -> TaskId par
-- FIXME support newrepo
-- https://koji.fedoraproject.org/koji/taskinfo?taskID=104446426
-- https://kojipkgs.fedoraproject.org//work/tasks/6426/104446426/
_ -> error' $ "unsupported method: " ++ method
children <- sortOn (\t -> lookupStruct "arch" t :: Maybe String) <$>
kojiGetTaskChildren fedoraKojiHub parent True
Expand Down

0 comments on commit 7a5ce97

Please sign in to comment.