Skip to content

have a built-in option to create/check existing github issue #294

@capaj

Description

@capaj

As a package author I would love to see when people feel the need to use this tool on my packages.
Ideally just a simple github API call that would create a github issue when a new patch is created.

The link to an issue could be reported in the output, so it would print out

patch-package 6.2.2
• Creating temporary folder
• Installing @lingui/[email protected] with npm
• Diffing your files with clean files
✔ Created file patches/@lingui+cli+3.6.0.patch
✔ Created a new GH issue for this patch: https://github.com/lingui/js-lingui/issues/1234

When run again with the same patch it would output

patch-package 6.2.2
• Creating temporary folder
• Installing @lingui/[email protected] with npm
• Diffing your files with clean files
✔ Created file patches/@lingui+cli+3.6.0.patch
✔ GH issue for this patch already exists at: https://github.com/lingui/js-lingui/issues/1234

Obviously you could skip this with a flag like --noGithubReport or something like this.
Would this be an acceptable functionality @ds300 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions