-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API to either upload log file or instruct to download from copr #80
Comments
hello, we have API for this - frontend uses it for fetching and submitting logs. Every endpoint is documented at log-detective.com/docs but because it's API for internal usage it's only automatically documented and not ideal. Would properly documenting the API with examples and mentioning somewhere that docs page exists solve your issue? |
also if users would use the log-detective's API, I would suggest renaming the |
That API is good enough for me. I think What do you mean by "internal"? Proposal: Draft modeMaybe this goes to far but when submitting a build to log-detective, is there the possibility to add it as a draft for people to confirm in a final stage? This would help in writing and improving automated producers of logs. A producer can submit it to log-detective and make sure a human approves it before it is added for good. |
Sounds good to me, |
Hi,
thank you for working on this interesting project. I'd love to see an API that I can use which lets me:
[20-34, 100, 242-310])
, and the rest of the fields that one needs to enter on the website.Background
We're running nightly snapshots of LLVM on Copr against the moving upstream 1. Sometimes we miss to list a new file in the %files section, or experience issues with the tests being temporarily broken. We've also seen network issues, copr timeouts, RPM dependency issues etc. If a long living upstream PR finally gets merged over night we will notice it the next day. Sometimes a patch needs to be applied only when targeting a special OS (e.g. RHEL vs. Fedora) or architecture. What I'm trying to say is that we have lots of clearly categorizable issues and sometimes we just hit a broken upstream version when our RPM spec files are actually working correctly.
For each build we list the affected OS, arch, project and we also have recently introduced a mechanism to identify an error cause. Here's an example of such an issue for a recent nightly build 2. Expand some of the messages in the main issue comment to see the persisted build log excerpt with the annotation of the type of error cause the automation thinks it is:
Or:
The error cause is identified with regular expressions done over the build log 3. We're going to extend the regular expressions over time and improve it to have lesser "unknown" errors. Also the dependency issue above is yet missing an important piece "No matching package to install: 'moreutils'". Instead the regex is currently focussed on the "Not all dependencies satisfy" part.
Suggestion:
In a semi automated fashion we could provide the log detective with our findings once a human (the assigned snapshot maintainer for the period) has confirmed that the error is what the automation claims to be. Directly from within a github issue we could transfer it over to the log detective. Is there an API one could use?
The text was updated successfully, but these errors were encountered: