Commit graph

7671 commits

Author SHA1 Message Date
Yu Ming Zhu
6997097392 fix tests 2024-01-05 10:00:58 +00:00
Yu Ming Zhu
4ba5ba0e5e add a comment in import_rpm 2024-01-05 10:00:58 +00:00
Mike McLean
09fee79b3d block draft builds that can't be promoted 2024-01-05 10:00:57 +00:00
Mike McLean
fdbfb8a882 use default volume for draft symlink when promoting 2024-01-05 10:00:57 +00:00
Mike McLean
cbd9a10dfc delete all build symlinks when deleting a build 2024-01-05 10:00:56 +00:00
Mike McLean
cf387e5c73 import_build without a build_id should never happen 2024-01-05 10:00:56 +00:00
Mike McLean
8c32aa37cb drop draft options from importRPM 2024-01-05 10:00:55 +00:00
Yu Ming Zhu
4cc4233145 make promoteBuild as staticmethod(_promote_build) 2024-01-05 10:00:55 +00:00
Yu Ming Zhu
8a64c93d05 promoteBuild: reformat error messages 2024-01-05 10:00:54 +00:00
Yu Ming Zhu
3dbe136187 promoteBuild: remove strict option 2024-01-05 10:00:53 +00:00
Yu Ming Zhu
1fa665f240 reject_draft: remove strict option 2024-01-05 10:00:53 +00:00
Yu Ming Zhu
23f8a4f009 promoteBuild: readable error msg 2024-01-05 10:00:52 +00:00
Yu Ming Zhu
e32c71c100 remove draft opts in import_build and completeBuild 2024-01-05 10:00:52 +00:00
Yu Ming Zhu
deaa6a01e8 gen_draft_release: clearer argument naming not to mask builtin id function 2024-01-05 10:00:51 +00:00
Yu Ming Zhu
a945523a1b fix get_rpm call 2024-01-05 10:00:51 +00:00
Mike McLean
af36318ead refactor get_rpm 2024-01-05 10:00:50 +00:00
Mike McLean
62e010d44e reduce code duplication in mapInternalRPMs 2024-01-05 10:00:49 +00:00
Yu Ming Zhu
a6a47c1d39 new_typed_build: do not reject draft 2024-01-05 10:00:49 +00:00
Yu Ming Zhu
444f4394c1 remove unnecessary reject_draft refs in HostExports
As we should be able to guarantee that builder won't do that.
2024-01-05 10:00:49 +00:00
Yu Ming Zhu
93c52c3eae revert denying rpminfo.extra in import_rpm for draft 2024-01-05 10:00:48 +00:00
Yu Ming Zhu
34c6712fde simpler gen_draft_release and parse_target_release 2024-01-05 10:00:47 +00:00
Yu Ming Zhu
cc8ccbf45e update draft_release_sane CONSTRAINT for draft suffix change 2024-01-05 10:00:46 +00:00
Yu Ming Zhu
5571627667 rework _init_repo_data to get_repo_dir 2024-01-05 10:00:46 +00:00
Yu Ming Zhu
e3b43ba15c flake8 fixes 2024-01-05 10:00:45 +00:00
Yu Ming Zhu
b4623d52ca extra changes by draft suffix change 2024-01-05 10:00:45 +00:00
Yu Ming Zhu
025b0a136f error if payloadhash mismatch 2024-01-05 10:00:44 +00:00
Yu Ming Zhu
931bdb9292 explicitly check 404 status_code 2024-01-05 10:00:44 +00:00
Mike McLean
134360df2e mark draft rpms in web ui lists 2024-01-05 10:00:44 +00:00
Mike McLean
69d6f4139e parse rpmlist.jsonl on builder 2024-01-05 10:00:43 +00:00
Mike McLean
fc08fc0f74 use nl-delimited json to dump rpm data 2024-01-05 10:00:43 +00:00
Mike McLean
71898e43f4 show basic draft info in web ui 2024-01-05 10:00:43 +00:00
Mike McLean
ea86bd90b7 change draft suffix format to be url friendly 2024-01-05 10:00:42 +00:00
Mike McLean
8b9a44954c temporary fallback code for missing content.json 2024-01-05 10:00:42 +00:00
Mike McLean
ecdeba8c72 raise http errors in downloadFile 2024-01-05 10:00:42 +00:00
Yuming Zhu
009de1e688 fix typo 2024-01-05 10:00:42 +00:00
Yu Ming Zhu
3b1df037be distRepo: denying draft builds 2024-01-05 10:00:41 +00:00
Yu Ming Zhu
c06e7f9ba0 reject draft rpms as rpm components of an image build 2024-01-05 10:00:41 +00:00
Yu Ming Zhu
72fa1b8c58 reject draft build in buildroot of winbuild 2024-01-05 10:00:40 +00:00
Yu Ming Zhu
44209718d9 reject draft build in buildroot of CG 2024-01-05 10:00:40 +00:00
Yu Ming Zhu
a79c8ef468 kojid.BuildRoot: mapping id for each internal rpm by content.json 2024-01-05 10:00:40 +00:00
Yu Ming Zhu
a3b6b8c43a repoInit: reject duplicate nvras and write content.json in repodir 2024-01-05 10:00:39 +00:00
Yu Ming Zhu
08a2d6c389 revert tests/test_cli/test_import.py 2024-01-05 10:00:39 +00:00
Yu Ming Zhu
753f691148 cli: clean changes in handle_import 2024-01-05 10:00:39 +00:00
Yu Ming Zhu
f29e5e143e parse target_release from draft release instead of extra.draft.target_release 2024-01-05 10:00:38 +00:00
Yu Ming Zhu
d3ac45ca60 move clauses.append out of append_draft_clause 2024-01-05 10:00:37 +00:00
Yu Ming Zhu
2195be9f8d a comment for CONSTRAINT draft_for_rpminfo 2024-01-05 10:00:37 +00:00
Yu Ming Zhu
74ba6c947f cli rpminfo: handle no srpm case 2024-01-05 10:00:36 +00:00
Yuming Zhu
0859f1ba89 promoteBuild: update volume based on volume policy 2024-01-05 10:00:36 +00:00
Yu Ming Zhu
44d59ecbc7 can only promote COMPLETE draft build 2024-01-05 10:00:35 +00:00
Yuming Zhu
6fe42b6212 cil wrapper-rpm: input check and more reasonable opt --create-draft 2024-01-05 10:00:35 +00:00