Crate github_issue_url

Source
Expand description

§GitHub Issue URL

GitHub prefilled issue URL builder

§Motivation

You can have issue form fields prefilled by specifying certain query parameters in the “New Issue” URL (https://github.com/<User | Organization>//issues/new).

Example:

https://github.com/EstebanBorai/github-issue-url/issues/new?
title=Null%3A+The+Billion+Dollar+Mistake
&body=Null+is+a+flag.+It+represents+different+situations
&template=bug_report.md
&labels=bug%2Cproduction%2Chigh-severity
&assignee=EstebanBorai
&milestone=1
&projects=1

This way you can provide a one click “Open Issue” button to your Rust applications, for instance you could have some stack trace, or details read from the host system where your application is running to let the user open an issue on GitHub without the need of specifying system /or application details themselves.

§Contributing

Every contribution to this project is welcome! Feel free to open a pull request or an issue.

§License

Licensed under both the MIT License and the Apache 2.0 License.

Modules§

Structs§

  • GitHub issue struct with support for every field available.