Skip to content
This repository was archived by the owner on Dec 2, 2020. It is now read-only.
This repository was archived by the owner on Dec 2, 2020. It is now read-only.

Upload Java 8 to Boxen S3 #58

Open

Description

@petems

Blocks #57

Activity

  1. dgoodlad commented on Mar 10, 2015

    @dgoodlad
    Contributor

    @petems none of the previous maintainers have access to the boxen-downloads S3 bucket anymore, since it's owned by GitHub.

    @MikeMcQuaid can you ping @github/security and get that sorted out, at least for yourself?

  2. MikeMcQuaid commented on Mar 10, 2015

    @MikeMcQuaid
    Contributor

    @dgoodlad I'd like to try and work out a solution that doesn't involve a GitHubber manually uploading to an S3 bucket.
    @petems Is there anywhere else that there are direct URLs provided for these?

  3. petems commented on Mar 10, 2015

    @petems
    MemberAuthor

    @MikeMcQuaid Haven't found anywhere yet. I mean technically, companies could upload to their own S3s for their Boxen setup, so the PR could be merged, but it would be much easier if the Boxen S3 had it so people didnt have to set it up themselves.

  4. MikeMcQuaid commented on Mar 10, 2015

    @MikeMcQuaid
    Contributor

    @petems Yeh, I agree. I'm just trying to work out ways that don't require someone from GitHub to upload these. I'm wondering if there's an Oracle URL we can link directly to or some other mirror. Would you mind taking a look?

  5. petems commented on Mar 10, 2015

    @petems
    MemberAuthor

    @MikeMcQuaid The Oracle website download stuff behind a wall of sign-ups:

    In order to download products from Oracle Technology Network you must agree to the OTN license terms.
    
    Be sure that...
     Your browser has "cookies" and JavaScript enabled.
     You clicked on "Accept License" for the product you wish to download.
     You attempt the download within 30 minutes of accepting the license.
    

    There's a few random Universities that have unprotected links, but I think that's kind of mean to use...

  6. MikeMcQuaid commented on Mar 10, 2015

    @MikeMcQuaid
    Contributor

    https://github.com/caskroom/homebrew-cask/blob/master/Casks/java.rb gives us an option, I think. Looks like we just need to set a single cookie variable.

  7. petems commented on Mar 10, 2015

    @petems
    MemberAuthor

    Does the DMG provider have that kind of complexity?

  8. MikeMcQuaid commented on Mar 10, 2015

    @MikeMcQuaid
    Contributor

    Probably not currently but we could either potentially add it or use something else to download it first.

  9. MikeMcQuaid commented on Mar 11, 2015

    @MikeMcQuaid
    Contributor

    https://github.com/puppetlabs/puppet/blob/master/lib/puppet/provider/package/pkgdmg.rb is the relevant file. I guess you could subclass it to inject a curl cookie argument?

  10. MikeMcQuaid commented on Mar 12, 2015

    @MikeMcQuaid
    Contributor

    Maybe we could upload this using the GitHub Releases feature instead?

  11. rafaelfranca commented on Mar 12, 2015

    @rafaelfranca
    Member

    @MikeMcQuaid this could work.

  12. MikeMcQuaid commented on Apr 28, 2015

    @MikeMcQuaid
    Contributor

    @julienlavergne Because this module supports different things to Homebrew Cask.

  13. danielr-minted commented on May 5, 2015

    @danielr-minted

    Can we separate the requirements to make uploads work how they should from the requirements that java 8 work at all? I'd really like java 8 working, and where I get the tarball from isn't super important from a user perspective.

  14. MikeMcQuaid commented on May 13, 2015

    @MikeMcQuaid
    Contributor

    @danielr-minted That's fine. This issue was created as currently it requires someone from GitHub to upload it to the S3 bucket. If you have another solution and a pull-request: let's go for that instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions