Skip to content
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

swap history file from byebug to new debug gem #5855

Merged
merged 1 commit into from
Oct 10, 2022
Merged

Conversation

jeffwidman
Copy link
Member

@jeffwidman jeffwidman commented Oct 8, 2022

byebug was replaced with the new debug gem as part of the ruby 3.1 upgrade.

So swap out the history file locations in .gitignore to the new one... see RUBY_DEBUG_HISTORY_FILE default value here.

This was originally removed in https://github.com/dependabot/dependabot-core/pull/4567/files#diff-2f754321d62f08ba8392b9b168b83e24ea2852bb5d815d63e767f6c3d23c6ac5L19, then put back in 847d111#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947R20.

However, the last trace of byebug was removed from Gemfile.lock in https://github.com/dependabot/dependabot-core/pull/5849/files#diff-0c7825d57fc79377b294d76c04d7bf63931bba3e9cd7946e19b5d3cb955c5548L144, so it's now safe to remove the history file.

@jeffwidman jeffwidman requested a review from a team as a code owner October 8, 2022 05:37
@@ -19,7 +19,6 @@ vendor
/.vscode/
/.vscode-server/
/.vscode-server-insiders/
.byebug_history
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moving the location was intentional, as it seemed to fit better next to the rspec file and not within these directories.

`byebug` was replaced with the new `debug` gem as part of the `ruby` `3.1` upgrade.

So swap out the history file locations in `.gitignore` to the new one... see `RUBY_DEBUG_HISTORY_FILE` default value [here](https://github.com/ruby/debug#configuration-list).

This was originally removed in https://github.com/dependabot/dependabot-core/pull/4567/files#diff-2f754321d62f08ba8392b9b168b83e24ea2852bb5d815d63e767f6c3d23c6ac5L19, then put back in  847d111#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947R20.

However, the last trace of `byebug` was removed from `Gemfile.lock` in https://github.com/dependabot/dependabot-core/pull/5849/files#diff-0c7825d57fc79377b294d76c04d7bf63931bba3e9cd7946e19b5d3cb955c5548L144, so it's now safe to remove the history file.


This was originaly
@jeffwidman jeffwidman enabled auto-merge October 10, 2022 20:05
@jeffwidman jeffwidman merged commit afa70b9 into main Oct 10, 2022
@jeffwidman jeffwidman deleted the jeffwidman-patch-3 branch October 10, 2022 20:13
@pavera pavera mentioned this pull request Oct 31, 2022
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.

2 participants