fedora-copr / copr

RPM build system - upstream for https://copr.fedorainfracloud.org/
115 stars 59 forks source link

Pulp and build-logs #3448

Open FrostyX opened 4 days ago

FrostyX commented 4 days ago

build-logs (likely stay on BE) but UI should make them accessible via url

FrostyX commented 4 days ago

Logs are staying on backend and the frontend still correctly points to them even for pulp projects. Opening a chroot directory also works. The only regression as @nikromen pointed out is not being able to directly download the built RPM packages from the resultdir

chroot_scan/              2024-Oct-03 10:09:31  --  Directory
backend.log.gz            2024-Oct-03 10:10:33  2.42K   GZ Compressed Archive
build-02919588.rsync.log  2024-Oct-03 10:09:55  730.00B     LOG File
build.info            2024-Oct-03 10:07:43  59.00B  INFO File
build.log.gz              2024-Oct-03 10:09:31  956.00B     GZ Compressed Archive
builder-live.log.gz       2024-Oct-03 10:09:54  25.41K  GZ Compressed Archive
configs.tar.gz            2024-Oct-03 10:09:54  37.71K  GZ Compressed Archive
copr-cli.spec             2024-Oct-03 10:07:45  39.20K  SPEC File
hw_info.log.gz            2024-Oct-03 10:09:34  1.35K   GZ Compressed Archive
pulp.json             2024-Oct-03 10:10:24  373.00B     JSON File
results.json              2024-Oct-03 10:09:54  367.00B     JSON File
root.log.gz           2024-Oct-03 10:09:31  17.20K  GZ Compressed Archive
state.log.gz              2024-Oct-03 10:09:31  335.00B     GZ Compressed Archive
success                   2024-Oct-03 10:09:54  4.00B   Text File

Maybe we can put direct links to RPMs into the pulp.json file or improve the "Built Packages" field on frontend and make it clickable.