leonhartx / danger-lgtm Goto Github PK
View Code? Open in Web Editor NEWlet danger say LGTM!
License: MIT License
let danger say LGTM!
License: MIT License
Hi. Images that are posted to PR have weird url like this:
and not displaying.
I corresponded to #5 in temporary.
but will correspond to all http error statuses.
There is a sad news.
LGTM.in is shutting down on 2018-10-01. I've been busy with a lot of things, and cannot spend time on this. The source is available on github.com/rahulsom/lgtmin and can be used to spin up a similar service. If you're interested in purchasing the domain and continuing to run this service, let me know, and we can work something out.
please, check this.
site: http://lgtm.in/
I get sporadic errors from danger-lgtm that happens sometimes and goes away after a couple of tries.
[!] Invalid Dangerfile file: bad argument (expected URI object or URI string)
# from Dangerfile:31
# -------------------------------------------
# # Looks Good To Me
> lgtm.check_lgtm
# -------------------------------------------
My guess would be that the LGTM -service returns a bad url and lgtm crashes? I tried to look at fetch_image_url to check if it would be a good place.
Maybe use this somewhere?
require 'uri'
if url =~ URI::regexp
# Correct URL
end
Got this with yesterday update to v1.1.0
.
[!] Invalid `Dangerfile` file: undefined method `empty?' for nil:NilClass.
# from Dangerfile:2
# -------------------------------------------
# shiphawk_plugin.checkup(files: 'diff')
> lgtm.check_lgtm
# -------------------------------------------
from /usr/local/bundle/gems/danger-lgtm-1.1.0/lib/lgtm/plugin.rb:41:in `check_lgtm'
from Dangerfile:2:in `eval_file'
from /usr/local/bundle/gems/danger-5.16.1/lib/danger/danger_core/dangerfile.rb:297:in `eval'
from /usr/local/bundle/gems/danger-5.16.1/lib/danger/danger_core/dangerfile.rb:297:in `eval_file'
from /usr/local/bundle/gems/danger-5.16.1/lib/danger/danger_core/dangerfile.rb:200:in `block in parse'
from /usr/local/bundle/gems/danger-5.16.1/lib/danger/danger_core/dangerfile.rb:197:in `instance_eval'
from /usr/local/bundle/gems/danger-5.16.1/lib/danger/danger_core/dangerfile.rb:197:in `parse'
from /usr/local/bundle/gems/danger-5.16.1/lib/danger/danger_core/dangerfile.rb:273:in `run'
from /usr/local/bundle/gems/danger-5.16.1/lib/danger/danger_core/executor.rb:29:in `run'
from /usr/local/bundle/gems/danger-5.16.1/lib/danger/commands/runner.rb:72:in `run'
from /usr/local/bundle/gems/claide-1.0.3/lib/claide/command.rb:334:in `run'
from /usr/local/bundle/gems/danger-5.16.1/bin/danger:5:in `<top (required)>'
from /usr/local/bundle/bin/danger:23:in `load'
from /usr/local/bundle/bin/danger:23:in `<main>'
[!] The exception involves the following plugins:
- danger-lgtm
Looks like URI.join
arguments should be forwarded by slash, otherwise they will be overwritten. I will open PR that fixes this issue.
Sorry, I didn't know about such method behaviour.
I'm getting SSL connection errors on CI and https://www.lgtm.app seems to be down. I know this may be out of your hands but just to record the incident.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.