#471 Rework build log display in web ui
Merged 4 years ago by mikem. Opened 4 years ago by mikem.
mikem/koji cg-logs  into  master

No commits found

The way build logs are displayed in the web ui is very limited, and does not work for builds imported by content generators.

This PR adds a new hub call to list the logs for a build. Logs are not tracked in the db, so the call simply scans the log directory for the build. The web ui has been modified to use the new call instead of the guesswork it previously performed.

Unit tests included for the new hub code.

The new web display shows the individual log files broken down by logfile directory. For koji's own rpm builds, this dir will be the arch of the build the log came from.

Hmm, doesn't look like I can attach a screenshot to a PR

Looks like Jenkins may be busted again. make test and make test3 work for me locally, and I don't think I've done anything too strange.

Works for me also. I'm not even able to log in to jenkins now. (Maybe still related to https://pagure.io/fedora-infrastructure/issue/6090)

Commit e83e741 fixes this pull-request

Pull-Request has been merged by mikem@redhat.com

4 years ago
Metadata