-
Notifications
You must be signed in to change notification settings - Fork 436
Adding support for Phantom 2.5.0 beta #689
base: master
Are you sure you want to change the base?
Conversation
lib/util.js
Outdated
} else if (platform === 'linux' && arch == 'ia32') { | ||
downloadUrl += 'linux-i686.tar.bz2' | ||
checksum = '80e03cfeb22cc4dfe4e73b68ab81c9fdd7c78968cfd5358e6af33960464f15e3' | ||
downloadUrl += 'beta-linux-ubuntu-trusty-x86_64.tar.gz' |
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.
this won't work, because not all linux distros are ubuntu trusty.
Can they continue to use 2.1 until we figure that out? Overall feature
support would be vastly improved switching to 2.5
…On Tue, 25 Apr 2017, 15:45 Nick Santos, ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In lib/util.js
<#689 (comment)>:
> @@ -98,17 +98,14 @@ function getDownloadSpec() {
var platform = getTargetPlatform()
var arch = getTargetArch()
if (platform === 'linux' && arch === 'x64') {
- downloadUrl += 'linux-x86_64.tar.bz2'
- checksum = '86dd9a4bf4aee45f1a84c9f61cf1947c1d6dce9b9e8d2a907105da7852460d2f'
- } else if (platform === 'linux' && arch == 'ia32') {
- downloadUrl += 'linux-i686.tar.bz2'
- checksum = '80e03cfeb22cc4dfe4e73b68ab81c9fdd7c78968cfd5358e6af33960464f15e3'
+ downloadUrl += 'beta-linux-ubuntu-trusty-x86_64.tar.gz'
this won't work, because not all linux distros are ubuntu trusty.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#689 (review)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABCkKuMlgYmPcsWWsugKEBB2cbYw2JDuks5rzgb0gaJpZM4NHktg>
.
|
That works in a world where no one has dependencies on anyone else. In the world we live in, there are transitive dependencies, and anyone who upgraded would break linux users downstream, which we would then have to support. If you'd like to try 2.5 for your own purposes, you're free to create a new, separate npm package that just installs 2.5 |
@nicks Just testing an update to better handle Linux, would this be any better? |
@nicks you'll have to forgive me on my poor knowledge of Linux. I've now got this working on Ubuntu however it has an OS dependency on |
ugh : ( There is no good way to signal these dependencies downstream. NPM doesn't have a good mechanism for this. just to make sure we're on the same page, are you aware that PhantomJS 2.5 might never come out of beta? This is why we haven't pushed out a 2.5 installer - I don't want to push a bunch of compatibility/upgrade work onto downstream packages that ends up being a waste of their time. |
Ugh 2, i had missed that announcement. It's a shame the repo is split between github, bitbucket and Google groups. Well I'm not sure what to do with this PR then. I'm guessing something like webdriver.io would be a the way forward for new projects or is there a direct integration for Casper into chrome headless? |
Also fixed the proxy env var to also use the standard env var.
#668