Skip to content

Commit

Permalink
add a few more todo's
Browse files Browse the repository at this point in the history
  • Loading branch information
juhp committed Nov 20, 2023
1 parent 4e3194a commit dabd563
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Cmd/Local.hs
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ srpmSpecCmd diff srpms =
else error' "failed to extract spec file"
else error' $ "no such file:" +-+ srpm

-- FIXME calculate baserelease
autospecCmd :: Bool -> [String] -> IO ()
autospecCmd force pkgs =
withPackagesByBranches HeaderMay False cleanGitFetchActive ExactlyOne autospecPkg (Branches [Rawhide], pkgs)
Expand Down
1 change: 1 addition & 0 deletions src/Cmd/Parallel.hs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ type JobAsync = (String, Async JobDone)
-- FIXME time builds
-- FIXME copy bodhi notes from another branch update
-- FIXME support non-sidetag update for parallel packages
-- FIXME print layers if few packages?
-- FIXME push update
parallelBuildCmd :: Bool -> Maybe Bool -> Int -> Maybe SideTagTarget -> Double
-> (Maybe UpdateType, UpdateSeverity)
Expand Down
2 changes: 2 additions & 0 deletions src/Cmd/Scratch.hs
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@ showScratchSource pushed nvr Nothing = nvr ++ (if pushed then "" else ".src.rpm
showScratchSource _ _ (Just (ScratchRef ref)) = ref
showScratchSource _ _ (Just (ScratchSRPM srpm)) = srpm

-- FIXME --no-tail
-- FIXME --with --without ?
-- FIXME allow parallel targets
-- FIXME append timestamp after %release (to help identify scratch builds)
-- FIXME allow building from detached HEAD
scratchCmd :: Bool -> Bool -> Bool -> Bool -> Maybe Archs
-> [SideTagTarget] -> Maybe ScratchSource -> (BranchesReq, [String])
-> IO ()
Expand Down

0 comments on commit dabd563

Please sign in to comment.