Skip to content

[Feat] Add --create-issue character limit check #491

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

Merged
merged 10 commits into from
Dec 16, 2024
Merged

Conversation

bombillazo
Copy link
Contributor

Fixes #328

This change adds a limit to the message sent to the GitHub create issue URL to avoid URL too long errors.

If the diff contents exceed 300 characters (this was chosen arbitrarily), the diff contents are replaced with a comment message replacement, and the console outputs the complete PR diff contents and instructs the user to copy/paste the diff into the PR description manually.

(The old PR was closed automatically when I merged the OG repo into the forked repo)

@bombillazo
Copy link
Contributor Author

Hey @ds300 , a PR review would be appreciated :)

@bombillazo
Copy link
Contributor Author

Hey @ds300 , any update on this feature?

@bombillazo
Copy link
Contributor Author

bombillazo commented May 17, 2024

Hey @ds300, are there any other maintainers who could take a look? Communication seems to have been suddenly cut off. Are you still present?

@bombillazo
Copy link
Contributor Author

@ds300 Hey so im cleaning my PRs I'm contributing around, any chance this can be reviewed again/merged to incorporate this feature in a new release? There hasn't been any new releases in a year

@bombillazo
Copy link
Contributor Author

bombillazo commented Dec 15, 2024

hey @orta any chance you could review this PR, please?

@orta
Copy link
Collaborator

orta commented Dec 16, 2024

I think this is a good idea, lets have it in

@orta orta merged commit bd2e9a4 into ds300:master Dec 16, 2024
@bombillazo
Copy link
Contributor Author

Thanks so much @orta!

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.

Using --create-issue result in bad request.
2 participants