-
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
Replace the weekly summary report #6
Comments
My pydev answer: I prefer the single batch list because I can move it to a separate Thunderbird tab*, work in a new Firefox window, and dedicate a weekly period of time. I believe it is now latin-1 encoded and would prefer it to be uft-8.
I can imagine that others prefer the ongoing emails. |
As a casual peruser of python-dev but not someone who regularly checks the issue tracker, these weekly emails give me a reason to look at some interesting bugs that I wouldn't otherwise know about. |
After some feedback and a brief discussion with the Steering Council, It seems to me that:
|
I will be working on this issue as discussed in #9 |
Is this still being worked on? I'd like to help contribute to this effort if there's still things to do. |
I'm not sure if @trallard is still working on this, but a replacement for the weekly summary should still be implemented. |
Where would a PR be created, I see that the existing script is in the I think getting all of the issue information should be available through the Github API, but I'll have a more thorough look tomorrow. |
I think this could/should be implemented as a standalone GitHub Action that we can run weekly.
|
Hey @ezio-melotti and @Harry-Lees - I started working on this and then things got super busy at work so this fell a bit through the cracks. I can try and finish and send a PR by the end of the week/early next week. I was planning to send the PR against this repo and have it moved to where it needs to in the end. Thoughts? |
I've begun writing a script for this at https://github.com/Harry-Lees/RoundupSummary. I've been testing off the issues in this repository https://github.com/python/issues-test-demo-20220218/issues. There were a couple of questions I had about this that I was wondering if you might be able to shine some light on @ezio-melotti.
I don't want to pollute this thread too much, so I'll just keep the repository README updated with progress. |
Labels are discussed in #5, which I'm planning to update soon.
I guess one way is exporting all the issues, and then filter the raw JSONs. If you find a way to do it in a GitHub action through the GitHub API it would be better. |
We are going to migrate to GitHub this weekend. |
Congratulations on the successful migration! I apologise for the slow progress, it's been a bit hectic with the end of University term :). Currently the script is functional, but incomplete. it will generate an HTML file which looks like this: <h1>ACTIVITY SUMMARY</h1>
<p>(2022-04-04 - 2022-04-11)</p>
<p>Python tracker at <a href="https://github.com/python/cpython/issues">https://github.com/python/cpython/issues</a></p>
<p>To view or respond to any of the issues listed below, click on the issue.
Do NOT respond to this message.</p>
<p>Issues stats:</p>
<table border="1">
<tr>
<th>open</th>
<td>7145 (+30)</td>
</tr>
<tr>
<th>closed</th>
<td>51857 (+68)</td>
</tr>
<tr>
<th>total</th>
<td>59002 (-38)</td>
</tr>
</table>
<p>Open issues with patches: 0</p>
<p>Issues Opened (30)</p>
=======================================
<p>#91431: Docs for `re` inaccurately indicate support for non-capturing inline modifiers<br><a href="https://github.com/python/cpython/issues/91431">https://github.com/python/cpython/issues/91431</a> opened by ofek</p>
<p>#91428: Add opname array to `opcode.h` of debug builds.<br><a href="https://github.com/python/cpython/issues/91428">https://github.com/python/cpython/issues/91428</a> opened by sweeneyde</p>
<p>#91427: Out-of-date links to Python 3 docs from docs.python.org/2<br><a href="https://github.com/python/cpython/issues/91427">https://github.com/python/cpython/issues/91427</a> opened by Zac-HD</p>
<p>Issues Closed (68)</p>
=======================================
<p>#91424: reference to the previous issue tracker in the main readme<br><a href="https://github.com/python/cpython/issues/91424">https://github.com/python/cpython/issues/91424</a> opened by royreznik</p>
<p>#91416: os.closerange() can be no-op in a seccomp sandbox<br><a href="https://github.com/python/cpython/issues/91416">https://github.com/python/cpython/issues/91416</a> opened by Mannequin</p>
<p>#91413: add methods to get first and last elements of a range<br><a href="https://github.com/python/cpython/issues/91413">https://github.com/python/cpython/issues/91413</a> opened by Mannequin</p> (I've removed most of the actual issues for brevity). Currently the things that need fixing are:
I've added a rudimentary workflow script to my test repository with the aim of making the entire script run as a Github action as you suggested, I haven't thoroughly tested it yet though. The issue I raised earlier with the API calls was resolved nicely by using a combination of the Github GraphQL, and REST APIs allowing us to make significantly less API calls (only 3 calls are made assuming there are less than 100 issues created in a week). Overall, assuming the email sending isn't a hard fix, I think it could be finished by the end of this week. |
Thanks for looking into this!
We are currently testing an action that sends emails. You can find the source here https://github.com/python/cpython/blob/main/.github/workflows/new-bugs-announce-notifier.yml . This is based on #7 (comment) @ewdurbin do you have any suggestion about this?
If you look at the issue list, the author of the issue is visible even if it's a mannequin, and |
Thanks, I'll take a look at that!
I did see this, but weirdly the Github API doesn't seem to include that in their API (At least not the REST API). For example this issue python/cpython#91413 will return this data:
Where regularly the "login" field would just be the username. There are a couple of potential fixes but it depends on how much of an issue you think it is.
|
I managed to implement this functionality last night. I think the only thing left to do is send the emails. What would be the nicest way to do this from your end? I noticed in the If this isn't an option, the script does currently generate an HTML file anyway which I think can still be sent over the Mailgun API. Finally, would there be some way of testing this? Just sending an email to myself, or someone else could test the final part as you have access to all the necessary accounts? |
If we use GitHub actions, there is a way to triggered them manually. It's also possible to pass arguments using something like:
Once the action is in place we could use this to test it and if it works we can schedule it to run every week. If instead we decide to host/run it somewhere else, then we don't need this, but I'm not sure what would be the best approach. |
Since I am a consumer of the summary reports, you can send test emails to me also, preferably with a link back to this or other issue for comment. |
As discussed on python-dev, the weekly bpo roundup email is still being sent, despite "0 new issues". Can we shut that down? |
Thanks for the ping, I now replied to the thread. |
The roundup-summary script script has been used to send weekly reports to the python-dev ML. The script is executed once a week by a cron job.
Adding a dashboard similar to the Django dashboard has been proposed on the TrackerDevelopmentPlanning wiki page and discussed. Custom views provided by GitHub issues could be a simpler alternative to the dashboard.
The text was updated successfully, but these errors were encountered: