Tags: ferdnyc/log-detective-website
Tags
compile dataset script: explicitly call it I don't have the will to debug this: ``` $ podman run quay.io/log-detective/website:latest compile_extraction_dataset.py /bin/env: 'python': No such file or directory $ podman run quay.io/log-detective/website:latest python3 compile_extraction_dataset.py python3: can't open file '/src/backend/compile_extraction_dataset.py': [Errno 2] No such file or directory ``` hence calling the script explicitly, like in stone age Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
download specs for koji scratch builds from their SRPMs - this reintroduces the codebase originally written by @nikromen, hence the co-authorship If fetching of a spec file fails, return None instead of erroring out. We want to have the annotated snippets and can live if a few don't have spec files. Fixes fedora-copr#98 Co-authored-by: Jiri Kyjovsky <j1.kyjovsky@gmail.com> Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
correctly obtain failed koji build logs if a koji build fails, sadly this doesn't do anything: koji_logs = self.client.getBuildLogs(self.build_or_task_id) koji api docs: > This method will only return logs for builds that are complete. > If a build is in progress, failed, or canceled, you must look at the > build's task logs instead (see listTaskOutput). Instead, we need to manually traverse the task hierarchy and select the right buildArch task, which this commit implements. Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
PreviousNext