Giter Club home page Giter Club logo

Comments (20)

LukeIGS avatar LukeIGS commented on June 20, 2024 1

435 wasn't 100% complete, #547 works somewhat, with the minor caveat of there being high potential for out of memory situations due to the sheer size of the versions file that's returned by rubygems.org. One solution of course would lie in being able to stream the response and write the file chunk by chunk. Currently the rubygems.org apis don't support streaming requests as far as i can tell though. It does however build and run fine as far as i can tell provided you give it like 4 gigs of memory to work with...

from geminabox.

LukeIGS avatar LukeIGS commented on June 20, 2024 1

Still in dev

from geminabox.

Eusebius1920 avatar Eusebius1920 commented on June 20, 2024

Is there any way fixing this? A workaround?

May 10th is approaching...

from geminabox.

natebird avatar natebird commented on June 20, 2024

This PR uses the modern ruby gems API - #435

from geminabox.

github-actions avatar github-actions commented on June 20, 2024

Could you update this issue?

from geminabox.

Eusebius1920 avatar Eusebius1920 commented on June 20, 2024

Any news on this or #435 ?

from geminabox.

marvinthepa avatar marvinthepa commented on June 20, 2024

It seems that the workaround that the jfrog guys describe also works for geminabox:
https://jfrog.com/help/r/artifactory-rubygems-org-dependency-api-deprecation/possible-workaround

If you are not using a reverse-proxy and want a quick-and-dirty fix, just find server.rb and edit the two routes:

    get '/api/v1/dependencies' do
      halt 404, "https://github.com/geminabox/geminabox/issues/536" 
      #query_gems.any? ? Marshal.dump(gem_list) : 200
    end

    get '/api/v1/dependencies.json' do
      halt 404, "https://github.com/geminabox/geminabox/issues/536" 
      #query_gems.any? ? gem_list.to_json : {}
    end

from geminabox.

LukeIGS avatar LukeIGS commented on June 20, 2024

The issue with that solution is that it's wildly slow, the real solution here is to get that PR listed above merged. We've been testing a solution based off of it for a couple of weeks now and haven't found any issues, i plan to merge it upstream.

from geminabox.

marvinthepa avatar marvinthepa commented on June 20, 2024

That is why I wrote "workaround", "quick-and-dirty fix", and not "solution".

Of course merging the pull request would be better, but that is outside of my power. So I thought others might be interested in a workaround as well.

from geminabox.

LukeIGS avatar LukeIGS commented on June 20, 2024

Another work around is to simply pull either mine or @skaes changes and execute from source or package and distribute it as a gem.

from geminabox.

jlahtinen avatar jlahtinen commented on June 20, 2024

4b6d853

This works with Geminabox.allow_remote_failure = true also.

from geminabox.

vshunkov avatar vshunkov commented on June 20, 2024

Not sure if #435 resolves the issue of API dependency deprecation. I have built an image based on it, but I am still encountering the same problem as with the master branch. Has anyone else attempted to test it as well?

from geminabox.

github-actions avatar github-actions commented on June 20, 2024

Could you update this issue?

from geminabox.

github-actions avatar github-actions commented on June 20, 2024

Could you update this issue?

from geminabox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.