issurge
Deal with your client's feedback efficiently by creating a bunch of issues in bulk from a text file.
Supported platforms
- Gitlab (including custom instances): requires
glabto be installed - Github: requires
ghto be installed
Installation
With Pip(x)
Issurge is distributed on PyPI, so you can install it with pipx (recommended) or pip.
pipx install issurge
Arch Linux
Issurge is on the AUR, so you can install it with your favorite AUR helper, such as paru:
paru -S 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(orgh) 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/Type: Prefix a word with
~to add a label to the issue. For github repositories under an organization, if the label case-insensitively matches a defined issue type, the label will not be added, but the issue type will be set. Setting multiple issue types results in an error. -
Assignees: Prefix with
@to add an assignee. The special assignee@meis supported. -
Milestone: Prefix with
%to set the milestone -
References: Prefix with
#.NUMBERto define a reference for this issue. See Cross-reference other issues for more information. -
Parent: Prefix with
^to set the parent of the issue we're creating to another issue. Use^NUMBERto set the parent to an already existing issue, or^.REFERENCEto set the parent thru a reference. -
Blocked-by: You can mark other issue(s) as blocking the issue you're creating by using
>NUMBERor>.REFERENCEsyntax (use.REFERENCEto set the dependency thru a reference). This works in the description as well, and (in the description only) the>will be replaced with a#, so that the issue gets linked to the blocking issue. -
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: -
Issue fields: To set an issue field, use
:FIELD=VALUE. For example,thing :Area=Appwill set theAreaissue field toApp.My superb issue ~some-tag: Here is a description I can skip lines Another issueNote 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.
Cross-reference other issues
As you might know, you can link an issue to another by using #NUMBER, with NUMBER the number of the issue you want to reference. You could want to write that, to reference First issue in Second issue:
First issue
Second issue:
Needs #11
However, this assumes that the current latest issue, before running issurge on this file, is #9. It also assumes that issues get created in order (which is the case for now), and that no other issue will get created while running issurge.
As managing all of this by hand can be annoying, you can create references in the issurge file:
#.1 First issue
Second issue:
Needs #.1
And that #.1 in Needs #.1 will be replaced by the actual issue number of First issue when the issue gets created.
You can also use references to set the parent of an issue or a blocking dependency:
#.1 First issue
^.1 Sub-issue of the first issue
This one is not a sub-issue but:
It will not work without it (see >.1)
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
Metadata
Release files for issurge 1.8.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| issurge-1.8.0.tar.gz | 1.9 MB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| issurge-1.8.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.0 MB
Release files / issurge-1.8.0.tar.gz
| Download URL | issurge-1.8.0.tar.gz |
|---|---|
| Size | 1.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a2a089f3b6adc361bbff64a51da323135c3585193a02fca09b1383f14102e31b
|
|
BLAKE2b-256 checksum How to use checksums |
6208a9ddae1131213225192289af659fe60fefc8fac2072a4c47f9c584e1a38f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / issurge-1.8.0-py3-none-any.whl
| Download URL | issurge-1.8.0-py3-none-any.whl |
|---|---|
| Size | 20.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a8f08aa50eb719de7cb4ca9b3b54245722e3c558c0124319e70ec80a85d0443f
|
|
BLAKE2b-256 checksum How to use checksums |
0f9b20ffbdb74ea716a150d39b94c181611aeb3c7ec1a2e113bfd45cfcc6d2d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for issurge 1.8.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.