Skip to content
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

Cask request: Oracle SQL Developer #16454

Closed
elle24 opened this issue Jan 7, 2016 · 11 comments
Closed

Cask request: Oracle SQL Developer #16454

elle24 opened this issue Jan 7, 2016 · 11 comments

Comments

@elle24
Copy link

@elle24 elle24 commented Jan 7, 2016

Cask details

(Please fill out as much as possible)

Name - Oracle SQL Developer

Homepage - http://www.oracle.com/technetwork/developer-tools/sql-developer/overview/index.html

License - free

Download URL - http://download.oracle.com/otn/java/sqldeveloper/sqldeveloper-4.1.3.20.78-macosx.app.zip

Description - "Oracle SQL Developer is a free integrated development environment that simplifies the development and management of Oracle Database in both traditional and Cloud deployments."

@adidalal adidalal changed the title Cask request: Cask request: Oracle SQL Developer Jan 7, 2016
@bdhess

This comment has been minimized.

Copy link
Contributor

@bdhess bdhess commented Jan 11, 2016

How timely-- I need this right now too. I'll pump out a cask.

@adidalal

This comment has been minimized.

Copy link
Contributor

@adidalal adidalal commented Jan 11, 2016

FYI, Oracle download links (might) need the cookie workaround (as seen in the Java cask.

  url "http://download.oracle.com/___________",
      :cookies => { 'oraclelicense' => 'accept-securebackup-cookie' }
@jawshooah

This comment has been minimized.

Copy link
Contributor

@jawshooah jawshooah commented Jan 11, 2016

Small style note: for a single-element hash, just leave it on one line.

@adidalal

This comment has been minimized.

Copy link
Contributor

@adidalal adidalal commented Jan 11, 2016

Updated, I was just copying from the existing Cask.

@bdhess

This comment has been minimized.

Copy link
Contributor

@bdhess bdhess commented Jan 11, 2016

That was my first try, but it doesn't seem to be working - they're using a different license agreement mechanism here, grumble.

@adidalal

This comment has been minimized.

Copy link
Contributor

@adidalal adidalal commented Jan 11, 2016

@bdhess Got it, looks like it should be:

  url "http://download.oracle.com/___________",
      :cookies => { 'oraclelicense' => 'accept-sqldev-cookie' }

from

function updateCookies( _accepted ) {
    if ( _accepted ) {
        ( window.writeSessionCookie || noop )( 'oraclelicense', 'accept-sqldev-cookie' );
    } else {
        ( window.writeSessionCookie || noop )( 'oraclelicense', 'decline' );
    }
}
@bdhess

This comment has been minimized.

Copy link
Contributor

@bdhess bdhess commented Jan 11, 2016

Did you actually test that? I tried that too and it doesn't seem to work. Trying the combos of cookies I see in my browser.

@adidalal

This comment has been minimized.

Copy link
Contributor

@adidalal adidalal commented Jan 11, 2016

Unfortunately I haven't, just what I saw with a quick glance through the page source.

@bdhess

This comment has been minimized.

Copy link
Contributor

@bdhess bdhess commented Jan 11, 2016

If I kill my Oracle SSO session, the oraclelicense cookie remains, so the download links remain enabled, but I still get redirected to an OTN logon if I follow the download link. This doesn't look promising. :(

@bdhess

This comment has been minimized.

Copy link
Contributor

@bdhess bdhess commented Jan 11, 2016

Now I'm seeing that this has already been visited in #9463

@adidalal

This comment has been minimized.

Copy link
Contributor

@adidalal adidalal commented Jan 11, 2016

Even with the cookie enabled, after a few failed tries, it kicks you to an Oracle login. Might need to put this in unofficial, if anything

@adidalal adidalal added the duplicate label Jan 13, 2016
@adidalal adidalal closed this Feb 6, 2016
@Homebrew Homebrew locked and limited conversation to collaborators May 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
6 participants
You can’t perform that action at this time.