Code Monkey home page Code Monkey logo

docs_doctor's Introduction

CodeTriage

Main View performance data on Skylight Code Helpers Badge

What is Triage?

When patients come into the emergency room, they don't see a doctor immediately, they go to a triage nurse. The nurse knows enough about medical problems to properly assign that person to the doctor that can help them the quickest. Since the doctors are the most limited resource, triage nurses help to assign them as effectively as possible. Triage in open source means looking at open issues and adding useful information for maintainers. While you might not maintain a repository, you can help those who do by diagnosing issues, reviewing pull requests.

Why Triage?

Triage is an important part of open source. It can be difficult to keep up with bugs and assess the validity of contributions. Code introduced to fix one problem can easily generate more problems than it solves, so it's important for maintainers to look closely at bug reports and code contributions. Unfortunately as the size of a project grows, the demands placed on the maintainers grow. This means they are forced to choose between spending enormous amounts of time reviewing each GitHub issue, only skimming over issues, or worse, ignoring issues.

As a non-maintainer, you can help an open source project by triaging issues. When issues come in, they are assigned out to triage. If you get assigned an issue, you should look closely at it, and provide feedback to make a maintainer's life easier. If there is a bug reported, try to reproduce it and then give the results in the issue comments. If code is included in the issue, review the code, see if it makes sense. Code submitted should have a clear use case, be in the same style as the project, and not introduce failures into the test system. If the code is good, leave a comment explaining why you believe it is good. +1's are great, but leave no context and don't help maintainers much. If you don't like an issue you need to explain why as well. Either way leave a comment with the issue.

How Does it Work?

You sign up to follow a repository, once a day you'll be emailed with an open issue from that repository, and instructions on how to triage the issue in a helpful way. In the background we use Sidekiq to grab issues from GitHub's API, we then use another background task to assign users who subscribe to a repository one issue each day.

See CONTRIBUTING.md for details about contributing and running the project locally.

Contact

Richard Schneeman

Licensed under MIT License. Copyright (c) 2012 Schneems. See LICENSE.txt for further details.

docs_doctor's People

Contributors

acrogenesis avatar barisbalic avatar greg-js avatar ianfleeton avatar kddnewton avatar kyfast avatar parndt avatar phiggins avatar prathamesh-sonpatki avatar rlaszlo avatar schneems avatar tejasbubane avatar thenickcox avatar vesan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

docs_doctor's Issues

Not getting emails, error when clicking 'Send more docs now' button

I signed up right after RubyConf to get documentation emails from three projects but I have never received any emails. Today I tried the 'Send more docs now' button and it responds with an application error.

Let me know if there's anything I can do to help debug this.

"home" page links to projects with escaped slash in URL

When logged in, my home page (http://www.docsdoctor.org/) shows lists of "Repos you are currently helping" and "Repos needing the most help" where the name of each project is a link to the page for that project on DocsDoctor. However the link is escaping the slash in the path, so that the link for the rails/rails project is http://www.docsdoctor.org/rails%2Frails. This URL 404s with the message "The page you were looking for doesn't exist."

screen shot 2016-03-13 at 16 12 49

(first reported on the twitters)

:nodoc: comments & the like show as 'self.with_docs'

screen shot 2014-11-24 at 10 05 12 am

ActiveRecord::Reflection::AggregateReflection#mapping shows in the user's inbox as docs to read about but the comment read :nodoc:

I propose blacklisting specific text from comments & then using the black list as a filter for comments to be suggested for reading & writing. This could look something like:

class DocComment < ActiveRecord::Base
...
validates :comment, exclusion: BLACKLIST
....
BLACKLIST = [ ":nodoc:", "documentation needed", "needs documentation", "todo"]

Use Ruby `.document` convention

Today I received a notification about a method that comes from Ruby's ./sample directory.

AFAIK this directory is purposefully left out of .document, so it's not included in the documentation of Ruby; and as such should not be included in docs_doctor.

Add more repositories, including docs_doctor, codetriage

I don't think docs_doctor, codetriage are in the list of emails we can get right?
Also I was hoping to have docs_doctor for saltstack, like I have for codetriage, but the repositories' lists are not the same. Is it hard to add new repos?

Not receiving emails.

I signed up for this recently to read docs, but haven't received a single email since I did so. I've tried requesting docs a few times, but I still haven't had anything show up.

Unable to delete account

I tried to delete my account (I think the project idea is great but I'm trying to cut down on the number of emails I'm receiving ๐Ÿ˜• ) but get the "We're sorry, but something went wrong" error page when I click the delete button on my account.

I was hoping to sort it out myself and open a PR but I wasn't able to reproduce the error locally. Everything seemed to work fine locally.

I'd be happy to help out and try to fix the bug if I can but I need a little more info. Are you able to see what the error is in the production logs?

Links to ruby source from details page are not working

Example:
http://www.docsdoctor.org/doc_methods/25285
the Source link points to
https://github.com/ruby/ruby/blob/master/ext/json/lib/json/add/regexp.rb/#L11
which returns 404
It would appear that the ruby project doesn't have a 'master' branch, but instead they have 'trunk'
so a link like this would work
https://github.com/ruby/ruby/blob/trunk/ext/json/lib/json/add/regexp.rb/#L11
This 404 result seemed consistent for all of the ruby methods I looked at (which would make sense)

Within docs_doctor, it looks like this code is responsible for building the link https://github.com/codetriage/docs_doctor/blob/master/app/models/github_url_from_base_path_line.rb

 # https://github.com/rails/rails/blob/master/actionmailer/lib/action_mailer/collector.rb#L10
  def to_github
    File.join(@base, "blob/master", @path, "#L#{@line}")
  end

I don't know the best way to resolve this, but perhaps something where you can specify the 'branch' url section to use for the repo. ("blob/master" would be the default, but 'blob/trunk' would be specified for the ruby repo.

Allow sorting between no docs and docs

I was just paging through the docs for rails, and it took me an embarrassingly long time before I realized that the docs there were for every method, not just the undocumented ones. And yes, I saw the
"(undocumented)" string next to the method title, but I was confused.

My use case was coming to manually find undocumented methods, because the one I received via email today stumped me. A way to filter between documented and undocumented methods would be awesome.

Unusable on mobile

I tried accessing docsdoctor.org from my iPhone and the page is unusable. The heading part shows up but then the language selection is so far to the left that it's off the screen. And most of the other elements are at weird spots half on/half off the screen.

I think it's because you're using a container as the base div. Have you considered just using offsets instead of a container to get the centered effect you want?

User Edit Action Not Working

Hi,

My user edit action isn't working. It's returning the generic 'We're sorry something went wrong" heroku page. I'd be happy to look at the issue myself and try to fix it.

Jeremy

Error is displayed when clicking on username

When I'm logged in to the DocsDoctor.org site, and I click on my username (the link between Home and Sign Out at the top of the page), the following error message is displayed:

We're sorry, but something went wrong.

If you are the application owner check the logs for more information.

allow less frequent emails

Instead of X docs per day I would like to reduce the frequency of the mails to one mail every 3 days or once a week. (else I would ignore them most times)

Received a read suggestion for a method which doesn't exist

http://www.docsdoctor.org/doc_methods/83635 is about docs for ActiveRecord::LogSubscriber#odd?

There is no odd? method in ActiveRecord::LogSubscriber - either on the old commit which the link points to (https://github.com/rails/rails/blob/1add44d5dc6e14e63eade32391d1d5395c3bc865/activerecord/lib/active_record/log_subscriber.rb/#L65) Or on master (https://github.com/rails/rails/blob/master/activerecord/lib/active_record/log_subscriber.rb)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.