Age | Commit message (Collapse) | Author | Files | Lines |
|
It's easier to define the single toplevel src directory with the sources
inside it.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
|
|
We may want to be able to reuse searches across multiple component
definitions, so abstract them into their own config hierarchy.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
|
|
We will do more than just bugzilla, so don't tie ourselves to "bz" and
rename the project as "bugspray".
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
|
|
Not sure if this is what it's looking for, but attempt to fix the "PEP
508" error.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
|
|
Somehow didn't trip up pycharm's validator.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
|
|
Go with the new recommended way of doing it by using pyproject.toml and
not setup.py.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
|
|
Use the new public-inbox feature to retrieve only the newest messages in
tracked threads.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
|
|
Give a simple report how long it took to run full cron.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
|
|
To make it easier to run from cron, add a unifying "cron" command that
just runs all actions defined in the config file.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
|
|
When we convert a bug with pre-existing comments into a mail thread, we
send all messages with the same Date: header, which may cause things to
render out of order. Increment the Date: header by a second for each
comment count, to help sort them correctly.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
|
|
Need to make it simple to run it as a cron/systemd timer command.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
|
|
We should now be able to track commits for mentions of our bugs. This is
a rough initial implementation and will probably be enhanced.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
|
|
We can leave '@' unquoted in the URLs, which makes msgid links more
readable.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
|
|
We're still stuck with non-url-friendly chars in the msgid, so remember
to quote-escape the msgid before adding it to the lookup url.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
|
|
Include the comment info when reporting a new attachment, which may
carry important accompanying info.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
|
|
When we recognize that the message is a patch submission, we should
create it as an attachment instead of a regular comment.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
|
|
This should fix other instances where we're working with bugs that have
a product/component that isn't known to us from the config file.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
|
|
There was a couple of bugs discovered when a bug was moved to a
component for which we don't have a section in the config file. We
should be able to handle this situation.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
|
|
When querying public-inbox, use a small overlap for dt: ranges, so we
have a lower chance of missing messages.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
|
|
We use pi_query when looking for interesting threads, but we can have
false-positives (e.g. someone talking about bugbot trigger words, not
someone actually issuing bot commands).
This implements pi_trigger_regexes so we can separate commands (on a
separate line) from false-positives.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
|
|
Don't just split on any '-- ' string, it actually has to be on a
newline by itself.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
|
|
In privacy mode, any addresses not viewable to an anonymous user will
not be included into outgoing mail.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
|
|
Sorting tuples of (datetime, message) requires using a lambda so Python
doesn't try to compare messages.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
|
|
More documentation forthcoming.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
|
|
This is the initial commit of "minimal viable product" as startups like
to say. Documentation is going to be forthcoming -- for now we're
running initial burn-in tests and finding the largest bugs.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
|