• Stars
    star
    134
  • Rank 270,967 (Top 6 %)
  • Language
    Ruby
  • License
    MIT License
  • Created almost 11 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Git Reports is a free service that lets you set up a stable URL for anonymous users to submit bugs and other Issues to your GitHub repositories.

Build Status Test Coverage Code Climate security

gitreports.com

Git Reports is a free service that lets you set up a stable URL for anonymous users to submit bugs and other Issues to your GitHub repositories. It works with public and private repositories and personal and organization repositories. It also provides some custom settings like Issue labels and messages to display to users submitting bugs.

Development

Git Reports is built on Ruby on Rails and uses yarn for frontend assets.

Setup

  1. Clone the repository (git clone [email protected]:schneidmaster/gitreports.com.git)
  2. Install gems: bundle install
  3. Install packages: yarn install
  4. Start the Rails and webpack servers: foreman start -f Procfile.dev

Self-hosting

You're welcome to clone and self-host the application if you're so inclined. Follow these steps:

  1. Git Reports uses Sidekiq for background jobs. To enable processing of jobs on your local machine, you just need to have Redis installed and running. (If you installed Redis with Homebrew, execute brew info redis to retrieve the necessary command and then execute that command.) Then just run bundle exec sidekiq (use the -d flag to daemonize it).
  2. Clone the application, bundle, and rake db:migrate.
  3. Register your instance of the application with GitHub here; this will give you an application client ID and client secret.
  4. Git Reports uses dotenv for configuration. Create a file in the application root directory named ".env" and add the following lines to it (filling in the values you got from the last step):

GITHUB_CLIENT_ID=youridhere
GITHUB_CLIENT_SECRET=yoursecrethere
GITHUB_CALLBACK_URL=http://yourdomain.com/github_callback

If you're developing locally with WEBrick or similar, your domain in the callback URL should include the port, i.e.

GITHUB_CALLBACK_URL=http://localhost:3000/github_callback

Since GitHub only accepts one callback URL for registered applications, I found it useful to register a development instance and a production instance, and use separate .env files in development and production with the appropriate client id, client secret, and callback URL in each.

If you want to track the application with Google Analytics, create the property and add the tracking code to the .env file as follows:

GOOGLE_ANALYTICS_CODE=UA-########-#

Translations

The public-facing portions of the Git Reports UI support i18n translations. Presently, English, French and Polish are supported; the active locale is selected using the Accept-Location HTTP header. If you would like to contribute a translation, make a copy of config/locales/en.yml using the desired locale code (check the full list here), translate the text, and submit a pull request.

Staging/Production Configuration

On Heroku, Git Reports requires both the node buildpack (for webpack/asset compilation) and the ruby buildpack. Add them with:

heroku buildpacks:clear
heroku buildpacks:set heroku/nodejs
heroku buildpacks:add heroku/ruby --index 2

Contributing

  1. Fork it (https://github.com/schneidmaster/gitreports.com/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

More Repositories

1

socializer

A basic social media application to demonstrate Elixir + Phoenix + GraphQL + React + Apollo
Elixir
290
star
2

sitemap-webpack-plugin

Webpack plugin to generate a sitemap.
TypeScript
73
star
3

action-cable-react

Use Rails 5 ActionCable channels with React for realtime magic.
CoffeeScript
51
star
4

eqn

A gem to evaluate mathematical equations.
Ruby
35
star
5

actioncable-modules

Fork of ActionCable client patched for proper module support
CoffeeScript
11
star
6

CircuitSimulator

An event-driven circuit simulator, written in C++ and designed to print to terminal output.
C++
8
star
7

react-bootstrap-maskedinput

react-maskedinput form element that works with react-bootstrap
JavaScript
7
star
8

RedditPoster

A Reddit bot to make scheduled subreddit posts, implemented in Ruby.
Ruby
5
star
9

debatevid.io

DebateVid.io is a centralized repository for parliamentary, policy, and Lincoln-Douglas debate videos.
JavaScript
5
star
10

rspec-blog-example

Rails blog application to show example code for my series on writing tests in rspec
Ruby
5
star
11

nginx-fancyindex-console

Old-school console theme for Nginx fancyindex.
JavaScript
3
star
12

react-coffee-and-friends

A highly opinionated starter kit for a standalone React frontend.
CoffeeScript
3
star
13

fluxxor-rails

Fluxxor is a set of Flux architecture tools for React. This gem makes it available for the Rails asset pipeline.
Ruby
3
star
14

action-cable-react-example-server

Example server application for action-cable-react
Ruby
2
star
15

coffee-relay

Handle Relay.QL fragments in CoffeeScript.
JavaScript
2
star
16

react-testing

Examples of various approaches and libraries for testing React applications. Written for a July 2019 talk at the Cleveland React meetup.
JavaScript
2
star
17

coffee-import

Transpile ES6 imports in CoffeeScript files.
JavaScript
2
star
18

SimpleCraft

Toy version of Minecraft written in three.js for SIU CS485 Computer Graphics, Spring 2015.
CoffeeScript
2
star
19

cap_rails

Execute Capistrano deployments and tasks for Rails projects within Sublime Text.
Python
1
star
20

react-testing-library-talk

Examples of various testing patterns with React Testing Library.
JavaScript
1
star
21

action-cable-react-example-client

Example client application for action-cable-react
JavaScript
1
star
22

skyjo

Web version of the Skyjo card game
Ruby
1
star
23

ruby-2.6-functional-examples

Ruby
1
star
24

schneider.dev

Personal website and blog
JavaScript
1
star
25

action-cable-react-example-coffee

Example client application for action-cable-react - with 100% more CoffeeScript
CoffeeScript
1
star
26

lerna-rollup-watch

Reproduction example for using lerna + rollup -w
JavaScript
1
star
27

coffee-import-loader

Webpack loader to transpile ES6 imports in CoffeeScript files
JavaScript
1
star