Last modified: 2014-11-15 13:10:08 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T72605, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 70605 - fix problems found by rubocop in mediawiki/ruby/api repo
fix problems found by rubocop in mediawiki/ruby/api repo
Status: NEW
Product: Wikimedia
Classification: Unclassified
Quality Assurance (Other open bugs)
wmf-deployment
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 60335
  Show dependency treegraph
 
Reported: 2014-09-09 11:07 UTC by Željko Filipin
Modified: 2014-11-15 13:10 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Željko Filipin 2014-09-09 11:07:32 UTC
- clone mediawiki/ruby/api repo[1]
- install rubocop gem[2]
- run "rubocop --auto-gen-config"
- commit .rubocop.yml and .rubocop_todo.yml files to the repo
- push the commit to gerrit (with "git review")

- create separate commit(s) that solve the problems found by rubocop
- feel free to group similar or small problems in one commit
- make sure none of the commits is too big, so reviewers do not have a hard time

- add me (zfilipin) as a reviewer to every commit that is pushed to gerrit

1: https://gerrit.wikimedia.org/r/#/admin/projects/mediawiki/ruby/api
2: https://rubygems.org/gems/rubocop
3: https://github.com/bbatsov/rubocop#automatically-generated-configuration
Comment 1 Gerrit Notification Bot 2014-09-11 14:45:56 UTC
Change 159630 had a related patch set uploaded by Zfilipin:
Add Rubocop files.

https://gerrit.wikimedia.org/r/159630
Comment 2 Željko Filipin 2014-09-11 14:48:55 UTC
Damien, please assign the bug to yourself so other people know you are working on it. That will prevent somebody else working on it and duplicating the effort. Thanks!
Comment 3 Gerrit Notification Bot 2014-10-10 08:31:45 UTC
Change 159630 merged by jenkins-bot:
Add Rubocop files.

https://gerrit.wikimedia.org/r/159630
Comment 4 Andre Klapper 2014-11-15 12:20:03 UTC
All patches mentioned in this report were merged or abandoned - is there more work left to do here (if yes: please reset the bug report status to NEW or ASSIGNED), or can you close this ticket as RESOLVED FIXED?
Comment 5 Željko Filipin 2014-11-15 13:10:08 UTC
I do not think Damien is working on this. Damien, if you are, please assign the bug back to yourself.

What is left to do is either resolving offenses from .rubocop_todo.yml[0] or moving them to .rubocop.yml[1], making it explicit that we do not plan to resolve them in the near future.

0: https://github.com/wikimedia/mediawiki-ruby-api/blob/master/.rubocop_todo.yml
1: https://github.com/wikimedia/mediawiki-ruby-api/blob/master/.rubocop.yml

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links