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] 🚧 Support of issues management #112

Open
wants to merge 1 commit into
base: devel
Choose a base branch
from
Open

Conversation

guyzmo
Copy link
Owner

@guyzmo guyzmo commented Jan 27, 2017

Implementing support of issues (only for github ATM) (cf #104)

git hub [<user>/<repo>] issue ls: lists all issues for given or current repository
git hub [<user>/<repo>] issue ls <issue_id>: shows details of given issue
git hub [<user>/<repo>] issue ls [mark|labels|milestone]: list accepted values for action
git hub [<user>/<repo>] issue get [mark|labels|milestone]: gets value for given action
git hub [<user>/<repo>] issue set [mark|labels|milestone] <value>: sets value
git hub [<user>/<repo>] issue unset [mark|labels|milestone] <value>: unsets value
git hub [<user>/<repo>] issue toggle [mark|labels|milestone] <value>: toggles value
git hub [<user>/<repo>] issue edit <issue_id>: launch $EDITOR to edit given issue_id

  • Bulk actions
    • for list, set, unset, toggle a search can be done with a similar query as github's to run bulk actions, using --filter=<filter> where <filter> is a comma separated list of action, values with the action being one of mark, label, milestone:
      • --filter="label:bug, label:in progress, milestone:1.2
      • special values are:
        • milestone:* for all milestones
        • state:all for all opened and closed issues
    • alternatively, a list of issues can be provided for get, set, unset and toggle
  • Parse mails
    • if <issue_id> is - stdin will accept a mail message, and look for githubs Message-IDpart to extract/and<issue_id>` from it.

fixes #104

@guyzmo guyzmo self-assigned this Jan 27, 2017
@guyzmo guyzmo added the backlog label Jan 27, 2017
@guyzmo guyzmo force-pushed the feature/issues branch 2 times, most recently from 919fe14 to 704285f Compare January 27, 2017 23:44
@guyzmo guyzmo force-pushed the feature/issues branch 6 times, most recently from 1957bdf to dd3cb33 Compare February 1, 2017 12:00
- issue listing
- issue get/set/toggle of labels, milestones and open-close status
- issue edit of issue
- parsing of notification mail to extract repo_slug and issue number
- tests of the whole

fixes #104

Signed-off-by: Guyzmo <[email protected]>
@guyzmo guyzmo force-pushed the devel branch 2 times, most recently from e37fc3d to a79d46f Compare May 4, 2017 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add support of issues
1 participant