Skip to main content

Deal with your client's feedback efficiently by creating a bunch of issues in bulk from a text file.

Project description

issurge

GitHub branch checks state Codecov

Deal with your client's feedback efficiently by creating a bunch of issues in bulk from a text file.

demo

Supported platforms

  • Gitlab (including custom instances): requires glab to be installed
  • Github: requires gh to be installed

Installation

pip install issurge

Usage

The command needs to be run inside of the git repository (this is used to detect if the repository uses github or gitlab)

issurge  [options] <file> [--] [<submitter-args>...]
issurge --help
  • <submitter-args> contains arguments that will be passed as-is to every glab (or gh) command.

Options

  • --dry-run: Don't actually post the issues
  • --debug: Print debug information

Syntax

Indentation is done with tab characters only.

  • Title: The title is made up of any word in the line that does not start with ~, @ or %. Words that start with any of these symbols will not be added to the title, except if they are in the middle (in that case, they both get added as tags/assignees/milestones and as a word in the title, without the prefix symbol)

  • Tags: Prefix a word with ~ to add a label to the issue

  • Assignees: Prefix with @ to add an assignee. The special assignee @me is supported.

  • Milestone: Prefix with % to set the milestone

  • Comments: You can add comments by prefixing a line with //

  • Description: To add a description, finish the line with :, and put the description on another line (or multiple), just below, indented once more than the issue's line. Exemple:

    My superb issue ~some-tag:
         Here is a description
    
         I can skip lines
    Another issue
    

    Note that you cannot have indented lines inside of the description (they will be ignored).

Add some properties to multiple issues

You can apply something (a tag, a milestone, an assignee) to multiple issues by indenting them below:

One issue

~common-tag
    ~tag1 This issue will have tags:
        - tag1
        - common-tag
    @me this issue will only have common-tag as a tag.

Another issue.

One-shot mode

You can also create a single issue directly from the command line with issurge new.

If you end the line with :, issurge will prompt you for more lines.

$ issurge --debug new ~enhancement add an interactive \"one-shot\" mode @me:
Please enter a description for the issue (submit 2 empty lines to finish):
> Basically allow users to enter an issue fragment directly on the command line with a subcommand, and if it expects a description, prompt for it
> 
> 
Submitting add an interactive "one-shot"  (...) ~enhancement @me [...]
Running gh issue new -t "add an interactive \"one-shot\" mode" -b "Basically allow users to enter an issue fragment directly on the command line with a subcommand, and if it expects a description, prompt for it" -a @me -l enhancement

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

issurge-0.5.0.tar.gz (10.2 kB view details)

Uploaded Source

Built Distribution

issurge-0.5.0-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

Details for the file issurge-0.5.0.tar.gz.

File metadata

  • Download URL: issurge-0.5.0.tar.gz
  • Upload date:
  • Size: 10.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/6.9.8-arch1-1

File hashes

Hashes for issurge-0.5.0.tar.gz
Algorithm Hash digest
SHA256 a256d01c3aaa1df96a55349de23a8495bb9f9d10245807b753fce0157bdc198c
MD5 3ceba4f9859ea62d7a839c8523c1cbfc
BLAKE2b-256 c664d65815a1cee64dab1076c2a0add6561c3373b60d3f9d47084d5d0f3b66e7

See more details on using hashes here.

File details

Details for the file issurge-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: issurge-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 11.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/6.9.8-arch1-1

File hashes

Hashes for issurge-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ed83ce7329cb945edc99a3f7472117bc8673e07688aa7d6b841c320ac39066eb
MD5 2af6a51c0ab3be5e440af6fc9210c311
BLAKE2b-256 cdc7b7dbd8065a27a1a1e9a436aa1b87c5594e027b68efa2eccc019d84df3b85

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page