gitreports.com icon indicating copy to clipboard operation
gitreports.com copied to clipboard

Provide users link to isssues in followup messages

Open ad-m opened this issue 9 years ago • 16 comments

Could be nice if the followup message can include the link to the created issue on GitHub.

ad-m avatar May 18 '15 00:05 ad-m

Hello I am new to open source and I would like to contribute to this project.

-Thank you!

hd719 avatar Apr 12 '17 19:04 hd719

@hd719 great! The contributing instructions are in the README -- feel free to check it out and send a PR for any open issue.

schneidmaster avatar Apr 13 '17 01:04 schneidmaster

@schneidmaster Hey Zack I got the development env. to work, I logged in (no errors on that), but when the application tried to load all the repositories I kept getting this error in the console

Processing by RepositoriesController#load_status as */*
  Rendered text template (0.6ms)
Completed 200 OK in 9ms (Views: 1.4ms | ActiveRecord: 0.0ms)


Started GET "/load_status" for ::1 at 2017-04-17 11:50:53 -0400
Processing by RepositoriesController#load_status as */*
  Rendered text template (0.3ms)
Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.0ms)

This would keep on displaying repeatedly.

Also one more thing the followup message that @ad-m is referring to is the message you get after you fill out the bug report or feature request form?

-Thank you.

hd719 avatar Apr 17 '17 13:04 hd719

That doesn't look like an error. The homepage on load will poll for repository load status -- when you log in, your repos are refreshed from GitHub in a background Sidekiq job, and then that polling updates the screen to let you know when your latest data has been loaded.

And I believe that is the followup message @ad-m is referring to, yes.

schneidmaster avatar Apr 18 '17 02:04 schneidmaster

Hey @schneidmaster so for some reason when using the development env. my repositories will not load on the screen. screen shot 2017-04-18 at 9 05 49 am

screen shot 2017-04-18 at 9 11 05 am

-Thank you.

hd719 avatar Apr 18 '17 13:04 hd719

Are you running bundle exec sidekiq in a separate terminal tab? If you're not then the job to fetch new repositories will never execute.

schneidmaster avatar Apr 18 '17 17:04 schneidmaster

Hey @schneidmaster that worked!

-Thanks!

hd719 avatar Apr 18 '17 17:04 hd719

Hey @schneidmaster I got my list of repos, but when I activate a repo. and then I click view under Public URL I get

404: Page Not Found
The repository you're looking for could not be located. Sorry about that!

-Thanks!

hd719 avatar Apr 18 '17 17:04 hd719

  • What's the URL when you see the 404?
  • What's the URL of the repo?
  • Is the repo one you own or someone else's that you're a member of?

schneidmaster avatar Apr 18 '17 20:04 schneidmaster

~~Sorry! but never mind the issue still persists.~~

~~The URL I see the 404 on is http://localhost:3000/issue/hd719/Bloc-Jams-Angular~~

~~The URL of the Repo is https://github.com/hd719/Bloc-Jams~~

~~And I own the Repo.~~

@schneidmaster Fixed the issue above, my database was corrupt. I had solved by signing out of the application and then deleting the development.sqlite3 file. After I deleted my cookies (just to clear out any sessions) and finally running rake db:migrate.

hd719 avatar Apr 19 '17 00:04 hd719

@schneidmaster So I can now view the form to submit a bug report or a feature request, but for some reason the captcha is not loading on the page.

screen shot 2017-04-19 at 12 47 19 pm

In the console I am getting this:

  SimpleCaptcha::SimpleCaptchaData Load (0.3ms)  SELECT  "simple_captcha_data".* FROM "simple_ca
ptcha_data" WHERE "simple_captcha_data"."key" = ?  ORDER BY "simple_captcha_data"."id" ASC LIMIT
 1  [["key", "4ac3c8b0e19d5ab702534b27363175a6f4e59aa8"]]
  CACHE (0.0ms)  SELECT  "simple_captcha_data".* FROM "simple_captcha_data" WHERE "simple_captch
a_data"."key" = ?  ORDER BY "simple_captcha_data"."id" ASC LIMIT 1  [["key", "4ac3c8b0e19d5ab702
534b27363175a6f4e59aa8"]]

StandardError - Error while running convert: sh: convert: command not found
:
  simple_captcha2 (0.3.4) lib/simple_captcha/utils.rb:17:in `run'
  simple_captcha2 (0.3.4) lib/simple_captcha/image.rb:81:in `generate_simple_captcha_image'
  simple_captcha2 (0.3.4) lib/simple_captcha/middleware.rb:42:in `make_image'
  simple_captcha2 (0.3.4) lib/simple_captcha/middleware.rb:21:in `call'
  newrelic_rpm (3.12.1.298) lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `cal
l'
  rack (1.6.4) lib/rack/etag.rb:24:in `call'
  newrelic_rpm (3.12.1.298) lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `cal
l'

screen shot 2017-04-19 at 12 49 42 pm

-Thank you!

hd719 avatar Apr 19 '17 16:04 hd719

Ah, you need ImageMagick installed on your machine to generate the CAPTCHA images correctly.

schneidmaster avatar Apr 19 '17 20:04 schneidmaster

@schneidmaster I downloaded ImageMagick through homebrew and for some reason the image appears blacked out.

Hamels-MacBook-Air:gitreports HD$ magick -version
Version: ImageMagick 7.0.5-4 Q16 x86_64 2017-03-25 http://www.imagemagick.org
Copyright: © 1999-2017 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI Modules
Delegates (built-in): bzlib freetype jng jpeg ltdl lzma png tiff xml zlib
Hamels-MacBook-Air:gitreports HD$ gs -v
GPL Ghostscript 9.21 (2017-03-16)
Copyright (C) 2017 Artifex Software, Inc.  All rights reserved.

Also this is what I am receiving in the console

Started GET "/issue/hd719/Bloc-Jams-Angular" for ::1 at 2017-04-19 22:08:50 -0400
Processing by RepositoriesController#repository as HTML
  Parameters: {"username"=>"hd719", "repositoryname"=>"Bloc-Jams-Angular"}
  User Load (1.7ms)  SELECT  "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1  [["use
rname", "hd719"]]
  Repository Load (0.4ms)  SELECT  "repositories".* FROM "repositories" INNER JOIN "repositories
_users" ON "repositories"."id" = "repositories_users"."repository_id" WHERE "repositories_users"
."user_id" = ? AND "repositories"."name" = ?  ORDER BY name ASC LIMIT 1  [["user_id", 1], ["name
", "Bloc-Jams-Angular"]]
  CACHE (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1  [["usernam
e", "hd719"]]
  CACHE (0.0ms)  SELECT  "repositories".* FROM "repositories" INNER JOIN "repositories_users" ON
 "repositories"."id" = "repositories_users"."repository_id" WHERE "repositories_users"."user_id"
 = ? AND "repositories"."name" = ?  ORDER BY name ASC LIMIT 1  [["user_id", 1], ["name", "Bloc-J
ams-Angular"]]
  SimpleCaptcha::SimpleCaptchaData Load (0.3ms)  SELECT  "simple_captcha_data".* FROM "simple_ca
ptcha_data" WHERE "simple_captcha_data"."key" = ?  ORDER BY "simple_captcha_data"."id" ASC LIMIT
 1  [["key", "d018b20f42d6379d8b1aa1da8059ab9269d710e3"]]
   (0.5ms)  begin transaction
  SQL (1.5ms)  UPDATE "simple_captcha_data" SET "value" = ?, "updated_at" = ? WHERE "simple_capt
cha_data"."id" = ?  [["value", "GLWPKC"], ["updated_at", "2017-04-20 02:08:50.417606"], ["id", 5
]]
   (0.9ms)  commit transaction
  Rendered simple_captcha/_simple_captcha.erb (1.1ms)
  Rendered repositories/repository.html.erb within layouts/application (38.9ms)
  User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 8]]
Completed 200 OK in 237ms (Views: 198.0ms | ActiveRecord: 5.5ms)


Started GET "/simple_captcha?code=d018b20f42d6379d8b1aa1da8059ab9269d710e3&time=1492654130" for
::1 at 2017-04-19 22:08:50 -0400
  SimpleCaptcha::SimpleCaptchaData Load (0.3ms)  SELECT  "simple_captcha_data".* FROM "simple_ca
ptcha_data" WHERE "simple_captcha_data"."key" = ?  ORDER BY "simple_captcha_data"."id" ASC LIMIT
 1  [["key", "d018b20f42d6379d8b1aa1da8059ab9269d710e3"]]
  CACHE (0.1ms)  SELECT  "simple_captcha_data".* FROM "simple_captcha_data" WHERE "simple_captch
a_data"."key" = ?  ORDER BY "simple_captcha_data"."id" ASC LIMIT 1  [["key", "d018b20f42d6379d8b
1aa1da8059ab9269d710e3"]]

screen shot 2017-04-19 at 5 15 22 pm

-Thanks!

hd719 avatar Apr 19 '17 21:04 hd719

Hey Zack @schneidmaster any update?

hd719 avatar Apr 22 '17 14:04 hd719

Hey @hd719 -- that's one you'll probably have to debug yourself. I'm sure it's some sort of issue with your ImageMagick installation particularly since there's no Rails errors -- I'd encourage you to try google/stack overflow and see what you find.

schneidmaster avatar Apr 25 '17 18:04 schneidmaster

Hey @schneidmaster this what I got from StackOverflow, though I do not know what it means.

screen shot 2017-04-26 at 10 59 24 am

screen shot 2017-04-26 at 3 06 03 pm

hd719 avatar Apr 26 '17 15:04 hd719