Coder Social home page Coder Social logo

Comments (12)

eminence avatar eminence commented on May 21, 2024 2

HI all, procfs maintainer here. I replied to @uggla in the issue over in my repo, but I figure I'd repeat it (and continue it) here.

The procfs API is not yet at 1.0, and so the API can still change in breaking ways.

The differences between 0.8 and 0.9 aren't that big, so I think you could remain on 0.8 if you wanted (there's actually only 1 bug fix between the two versions and I don't think you're impacted by it).

If you're concerned about the work involved, I would be happy to volunteer to do the upgrade for you, if you want.

Let me know what you think. Thanks!

from scaphandre.

eminence avatar eminence commented on May 21, 2024 2

My general recommendation is to upgrade to the latest procfs, but if you must remain on the v0.8.x release, then I'm happy to create a 0.8.2 that has eminence/procfs#152 cherry-picked. Just let me know

from scaphandre.

uggla avatar uggla commented on May 21, 2024 1

eminence/procfs#69 (comment)

from scaphandre.

bpetit avatar bpetit commented on May 21, 2024 1

I'll have a look at that, as I'm working on some refactoring. I'll look into upgrading to latest procfs through that opportunity.

from scaphandre.

bpetit avatar bpetit commented on May 21, 2024 1

Having a try with #144

Seems to work fine, feel free to run tests on your sides to.

from scaphandre.

uggla avatar uggla commented on May 21, 2024

It would be wise to ask the author of procfs if he has still plan to change/disrupt the api. If he considers the api stable enough then we could go ahead.

from scaphandre.

bpetit avatar bpetit commented on May 21, 2024

You're right, we should start a discussion with them about that.

from scaphandre.

bpetit avatar bpetit commented on May 21, 2024

Hi !

Thanks a lot for those informations. We will wait for the 1.0 then and ask you if we have issues with the upgrade :)

from scaphandre.

rossf7 avatar rossf7 commented on May 21, 2024

Hey,
I ran into this while I was working on #143

The problem is the systemd cgroup driver for kubernetes uses : as a separator and the path gets truncated which means the container ID is missing. This was fixed in eminence/procfs#152

If I use a fork of 0.8.1 with just the fix it works great. Could we either upgrade or create a 0.8.2 patch release?

from scaphandre.

rossf7 avatar rossf7 commented on May 21, 2024

Thanks I tested my changes in #143 with your changes in #144 and they worked fine.

from scaphandre.

bpetit avatar bpetit commented on May 21, 2024

I think I found a bug in #144, don't rely on it too much yet. I'll try to document and fix that this week end.

from scaphandre.

bpetit avatar bpetit commented on May 21, 2024

Bug is fixed. Merged this PR in the new dev branch. I'll work on #74, then merge in dev before merging everything to main.

from scaphandre.

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.