[Tracker-discuss] [issue621] Pull request reopened but the PR still shows closed in bug tracker

2017-03-23 Thread Anish Shah
Anish Shah added the comment: I can work on this! :) -- nosy: +anish.shah, maciej.szulik status: unread -> chatting ___ PSF Meta Tracker <metatrac...@psf.upfronthosting.co.za> <http://psf.upfronthosting.co.za/roundup/m

[Tracker-discuss] [issue614] Duplicate commit message on branch merge

2017-02-17 Thread Anish Shah
Anish Shah added the comment: Hi Ezio, can you tell me which webhook was triggered? Was it pull request event? ___ PSF Meta Tracker <metatrac...@psf.upfronthosting.co.za> <http://psf.upfronthosting.co.za/roundup/meta

[Tracker-discuss] [issue589] Add GitHub PR to b.p.o issues using GitHub webhooks (depends on issue586)

2016-12-19 Thread Anish Shah
Anish Shah added the comment: I tested the latest patch on the my repository and it is working properly. :) ___ PSF Meta Tracker <metatrac...@psf.upfronthosting.co.za> <http://psf.upfronthosting.co.za/roundup/meta

[Tracker-discuss] [issue586] Add GitHub Pull Request URL on issue page

2016-12-01 Thread Anish Shah
Anish Shah added the comment: Hi, on this link http://bugs.python.org/pull_request, I am getting a textbox where I can delete/edit entries. Do we want this? I am not sure. ___ PSF Meta Tracker <metatrac...@psf.upfronthosting.co.za>

[Tracker-discuss] [issue600] Convert patches to GitHub Pull Request (depends on issue586)

2016-08-22 Thread Anish Shah
Anish Shah added the comment: I have updated the patch. > We do need proper error handling, still. The problem is "err" variable has stdout of that process. So, even if we change/push branch, it will be non-empty. Any idea how to solve this problem? One more thing, if we create

[Tracker-discuss] [issue592] Show GitHub comments on b.p.o (depends on issue590)

2016-08-22 Thread Anish Shah
Anish Shah added the comment: Great! :) ___ PSF Meta Tracker <metatrac...@psf.upfronthosting.co.za> <http://psf.upfronthosting.co.za/roundup/meta

[Tracker-discuss] [issue592] Show GitHub comments on b.p.o (depends on issue590)

2016-08-20 Thread Anish Shah
Anish Shah added the comment: I have updated the patch :) ___ PSF Meta Tracker <metatrac...@psf.upfronthosting.co.za> <http://psf.upfronthosting.co.za/roundup/meta/issue592> _

[Tracker-discuss] [issue592] Show GitHub comments on b.p.o (depends on issue590)

2016-08-20 Thread Anish Shah
Anish Shah added the comment: > It would be nice to have the user configurable, not admin hardcoded. By configurable, do you mean creating an env var? ___ PSF Meta Tracker <metatrac...@psf.upfronthosting.co.za&

[Tracker-discuss] [issue592] Show GitHub comments on b.p.o (depends on issue590)

2016-08-18 Thread Anish Shah
Anish Shah added the comment: I have updated the patch. now, GitHub name, comment and link to the PR will be posted on b.p.o ___ PSF Meta Tracker <metatrac...@psf.upfronthosting.co.za> <http://psf.upfronthosting.co.za/roundup/meta

[Tracker-discuss] [issue592] Show GitHub comments on b.p.o (depends on issue590)

2016-08-16 Thread Anish Shah
Anish Shah added the comment: I have updated the patch so that it applies cleanly. I will add the suggestions in a few days. ___ PSF Meta Tracker <metatrac...@psf.upfronthosting.co.za> <http://psf.upfronthosting.co.za/roundup/meta

[Tracker-discuss] [issue589] Add GitHub PR to b.p.o issues using GitHub webhooks (depends on issue586)

2016-08-12 Thread Anish Shah
Anish Shah added the comment: I have updated the patch with all three changes ___ PSF Meta Tracker <metatrac...@psf.upfronthosting.co.za> <http://psf.upfronthosting.co.za/roundup/meta

[Tracker-discuss] [issue589] Add GitHub PR to b.p.o issues using GitHub webhooks (depends on issue586)

2016-08-11 Thread Anish Shah
Anish Shah added the comment: Oops. Got it now. I will include the changes. ___ PSF Meta Tracker <metatrac...@psf.upfronthosting.co.za> <http://psf.upfronthosting.co.za/roundup/meta

[Tracker-discuss] [issue589] Add GitHub PR to b.p.o issues using GitHub webhooks (depends on issue586)

2016-08-10 Thread Anish Shah
Anish Shah added the comment: new tests: - secret key missing - Github event missing in header - non json body - multiple references in PR body - CREATE_ISSUE is not set and no issue is reference in PR - if github field of user is set, then PR/issue is assigned to that user or else anonymous

[Tracker-discuss] [issue589] Add GitHub PR to b.p.o issues using GitHub webhooks (depends on issue586)

2016-08-08 Thread Anish Shah
Anish Shah added the comment: > * multiple fixes both in title like you have in pullrequestevent3.txt but also in title Sorry. I didn't get you. You mean, same tests for PR body, right? > Is vulnerable to other exceptions, I'm a lazy person and I test your code with following >

[Tracker-discuss] [issue589] Add GitHub PR to b.p.o issues using GitHub webhooks (depends on issue586)

2016-08-07 Thread Anish Shah
Anish Shah added the comment: Should I throw Reject exception if 'SECRET_KEY' is not set as an environment variable too? ___ PSF Meta Tracker <metatrac...@psf.upfronthosting.co.za> <http://psf.upfronthosting.co.za/roundup/meta

[Tracker-discuss] [issue590] Show Pull Request status on b.p.o (depends on issue586, issue589)

2016-08-01 Thread Anish Shah
Anish Shah added the comment: I have updated the patch ___ PSF Meta Tracker <metatrac...@psf.upfronthosting.co.za> <http://psf.upfronthosting.co.za/roundup/meta

[Tracker-discuss] [issue589] Add GitHub PR to b.p.o issues using GitHub webhooks (depends on issue586)

2016-07-28 Thread Anish Shah
Anish Shah added the comment: I have added few things to this updated patch: - load JSON while extracting - user who creates GitHub PR will be assigned as PR author on bpo if we find github name on bpo or else "anonymous" - if issue is not referenced in PR title or body and an e

[Tracker-discuss] [issue592] Show GitHub comments on b.p.o

2016-07-27 Thread Anish Shah
Anish Shah added the comment: Description about this patch: This patch has a handler to handle GitHub PR review/diff comments event. First, it checks if any b.p.o issue is linked to this PR or not. Then, it checks when was the last time a "GitHub" msg was added. If there are no G

[Tracker-discuss] [issue589] Add GitHub PR to b.p.o issues using GitHub webhooks (depends on issue586)

2016-07-27 Thread Anish Shah
Anish Shah added the comment: > Maybe put the code in with a switch so we can turn it on and off? I'm pretty sure we're going to want it, but not positive. Sorry. I didn't get you. What do you want to turn on and off? ___ PSF Meta Trac

[Tracker-discuss] [issue589] Add GitHub PR to b.p.o issues using GitHub webhooks (depends on issue586)

2016-07-27 Thread Anish Shah
Anish Shah added the comment: Thank you for the review. I will update the patch. @David I can create a new issue if there's no issue number mentioned. But as Brett said that someone might forget to add issue number. I'm currently checking for issue id in PR title, body and issue comments. So

[Tracker-discuss] [issue587] Link GitHub pull requests in comments (depends on issue 586)

2016-07-20 Thread Anish Shah
<pre> Anish Shah added the comment: I have updated the patch. :) ___ PSF Meta Tracker <metatrac...@psf.upfronthosting.co.za> <<a rel="nofollow" href="http://psf.upfronthosting.co.za/roundup/meta/issue587

[Tracker-discuss] [issue586] Add GitHub Pull Request URL on issue page

2016-07-19 Thread Anish Shah
Anish Shah added the comment: I have updated the patch according to reviews suggested by @maciej.szulik and @berker.peksag Description:- This patch adds a new table "pull_request" which is used to save GitHub PR URLs. URL can be added manually using "GitHub PR" f

[Tracker-discuss] [issue586] Add GitHub Pull Request URL on issue page

2016-07-13 Thread Anish Shah
Anish Shah added the comment: @berker.peksag Thank you for the review. I will make those changes. > Also, I'm not fan of such a manual work. I would prefer to have a JSON > endpoint > which queries open pull requests on python/cpython and match if > the title of a > pull r

[Tracker-discuss] [issue600] Convert patches to GitHub Pull Request

2016-06-19 Thread Anish Shah
New submission from Anish Shah: This is an initial patch to convert .patch/.diff files to GitHub Pull Requests. -- files: patch-to-pr.diff messages: 3055 nosy: anish.shah, maciej.szulik priority: feature status: in-progress title: Convert patches to GitHub Pull Request