-
Notifications
You must be signed in to change notification settings - Fork 329
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
Create executable bug report Rails application #593
Conversation
@jorgemanrubia it'd be beneficial to pair this script with a .github/ISSUE_TEMPLATE.md file like Rails uses. There is a new version of GitHub issue templates that could be worth investigating. |
430f58b
to
3baf70f
Compare
@@ -29,6 +29,9 @@ jobs: | |||
rubygems: latest | |||
bundler-cache: true | |||
|
|||
- name: Run Bug Template Tests | |||
run: ruby bug_report_template.rb || ruby bug_report_template.rb |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The first execution fails with:
/opt/hostedtoolcache/Ruby/3.0.6/x64/lib/ruby/site_ruby/3.0.0/bundler/runtime.rb:304:in `check_for_activated_spec!': You have already activated stringio 3.0.1, but your Gemfile requires stringio 3.1.0. Since stringio is a default gem, you can either remove your dependency on it or try updating to a newer version of bundler that supports stringio as a default gem. (Gem::LoadError)
I'm not sure why, but executing a second time resolves that problem.
3baf70f
to
4a70cfe
Compare
4a70cfe
to
457a487
Compare
457a487
to
994779a
Compare
994779a
to
7e61ae7
Compare
This template draws inspiration from Rails' [bug report templates][]. [bug report templates]: https://edgeguides.rubyonrails.org/contributing_to_ruby_on_rails.html#create-an-executable-test-case
7e61ae7
to
1d40e37
Compare
@jorgemanrubia @brunoprietog are either of you available to review this proposal? I think it'd improve this repository's issue-opening process. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @seanpdoyle
This template draws inspiration from Rails' bug report templates.