Skip to content
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

WIP: add support for issues to triage.py #95

Closed
wants to merge 2 commits into from
Closed

WIP: add support for issues to triage.py #95

wants to merge 2 commits into from

Conversation

alikins
Copy link
Contributor

@alikins alikins commented May 24, 2016

Sounds like there is other ongoing work to do this, so this is not ready or likely to be merged, but figured a PR for reference wouldn't hurt.

This is incomplete, and not well tested. I've only ever ran it in '--dry-run' mode, so only the read-only parts of triage.py have been tested at all. I added some TODO's and notes in the code referencing unfinished bits.

The main change was adding an Issue and a TriageIssue class, and some reorganization of the existing
PullRequest and Triage class to share some code with the new glass and some light generalization.

Also added the aforementioned '--dry-run' mode since I didn't want to accidentally munge 'live' prs.

Some refactoring so PullRequest* inherits from
Issue*.

Add a --dry-run mode for testing and read-only operation.

Add a TriageIssue and TriagePullRequest classes, that implement
some of the issue type specific triage workflow.

Add a Issue and PullRequest class for the Triage classes to use.

Add support for looking for tracebacks in Issues via the 'tbgrep'
module.
@gregdek
Copy link
Contributor

gregdek commented May 24, 2016

ping @resmo

@gregdek
Copy link
Contributor

gregdek commented May 24, 2016

Thanks for this @alikins -- I'll give @resmo a couple of days to respond with anything he might have in flight, and then if nothing from him I'll take it for a spin.

@resmo
Copy link
Contributor

resmo commented Jun 1, 2016

Hi @alikins, been too busy last week, I will get feedback by the end of this week. Thanks!

@jctanner
Copy link
Contributor

jctanner commented Aug 3, 2016

@alikins thank you for this, it helped inspire some of my code.

@gregdek
Copy link
Contributor

gregdek commented Aug 3, 2016

\m/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants