Skip to content

auto-style.rb is failed with some cases #83

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

Closed
hsbt opened this issue Oct 2, 2024 · 1 comment
Closed

auto-style.rb is failed with some cases #83

hsbt opened this issue Oct 2, 2024 · 1 comment

Comments

@hsbt
Copy link
Member

hsbt commented Oct 2, 2024

200 (ok), 200 (ok), 200 (ok) -- {"attachments":[{"title":"30775d0b08 (master): [DOC] Fix typo in Forwardable docs","title_link":"https://github.com/ruby/ruby/commit/30775d0b085284a6e0a54bc71025622ecabd8591","text":"","footer":"Hiroshi SHIBATA","footer_icon":"https://www.gravatar.com/avatar/f2748d34b03ed11330f2a2218904eb2d","ts":1727845980,"color":"#24282D"}]}
[221085: 2024-10-02 05:13:08 UTC] ==> commit-email.rb
master: 30775d0b08 (Nithin Bekal)
[221085: 2024-10-02 05:13:08 UTC] ==> redmine fetch changesets
[221085: 2024-10-02 05:13:08 UTC] ==> auto-style
Cloning into '/tmp/d20241002-221125-ybe7t6'...
/home/git/git.ruby-lang.org/bin/auto-style.rb:42:in `block in updated_lines': invalid byte sequence in US-ASCII (ArgumentError)

      if revs_pattern =~ line
                         ^^^^
        from /home/git/git.ruby-lang.org/bin/auto-style.rb:41:in `each'
        from /home/git/git.ruby-lang.org/bin/auto-style.rb:41:in `each_with_index'
        from /home/git/git.ruby-lang.org/bin/auto-style.rb:41:in `updated_lines'
        from /home/git/git.ruby-lang.org/bin/auto-style.rb:191:in `block (3 levels) in <main>'
        from /home/git/git.ruby-lang.org/bin/auto-style.rb:185:in `select'
        from /home/git/git.ruby-lang.org/bin/auto-style.rb:185:in `block (2 levels) in <main>'
        from /usr/local/lib/ruby/3.3.0/tmpdir.rb:99:in `mktmpdir'
        from /home/git/git.ruby-lang.org/bin/auto-style.rb:166:in `block in <main>'
        from /home/git/git.ruby-lang.org/bin/auto-style.rb:161:in `each'
        from /home/git/git.ruby-lang.org/bin/auto-style.rb:161:in `each_slice'
        from /home/git/git.ruby-lang.org/bin/auto-style.rb:161:in `each'
        from /home/git/git.ruby-lang.org/bin/auto-style.rb:161:in `map'
        from /home/git/git.ruby-lang.org/bin/auto-style.rb:161:in `<main>'
@hsbt
Copy link
Member Author

hsbt commented Apr 22, 2025

auto-style.rb is now migrated to https://github.com/ruby/ruby/blob/master/tool/auto-style.rb

@hsbt hsbt closed this as completed Apr 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant