-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[elm-package] Fix elm package service #1986
Conversation
@@ -12,8 +12,8 @@ module.exports = class ElmPackage extends LegacyService { | |||
cache((data, match, sendBadge, request) => { | |||
const urlPrefix = 'http://package.elm-lang.org/packages' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible to use the https version here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, if that is supported, that would be great!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The https URL is online, but I don't know if shields handles it. I guess I'll just change this, since I have to trigger the tests anyway.
There still seems to be an issue with the service name. |
Argh, I guess I had that title format right to begin with. When I run the tests locally using
|
The tests are passing now. However, I'm not entirely sure on the following naming inconsistency: The service is called Is there a simple fix to this I'm not seeing? |
The ID is only used for running the test. This looks great! Thank you! |
With the release of Elm 0.19.0, the package file changed (from elm-package.json to elm.json), which breaks the badge.
(This replaces #1979 due to a refactor.)