Giter Club home page Giter Club logo

Comments (12)

nono avatar nono commented on June 7, 2024 1

I have rebased spf13/afero#239 and pinged the maintainer

from cozy-stack.

nono avatar nono commented on June 7, 2024 1

I don't understand what issue are you talking about?

It was https://github.com/spf13/afero/actions/runs/4250910073/jobs/7392677488, but the maintainer has fixed it with spf13/afero@a6023d2#diff-faff1af3d8ff408964a57b2e475f69a6b7c7b71c9978cccc8f471798caac2c88R19

from cozy-stack.

nono avatar nono commented on June 7, 2024

We should look for doing that. I think there were other commits in our fork, but I don't remember what.

from cozy-stack.

Peltoche avatar Peltoche commented on June 7, 2024

spf13/afero@master...cozy:afero:master to be precise.

Seems to have two main commits:

Return error in Readdir on regular mem file fixing spf13/afero#169 -> This is the one merged (spf13/afero#170)

and

Fix renaming a dir with sub-directories -> There is no linked issues or corresponding pulls requests but the code seems to be present in master too: https://github.com/spf13/afero/blob/12b7d27decdd033919e7e01195e97dd3d9403ce8/memmap.go#L309, the test created in the commit is present in master -> https://github.com/spf13/afero/blob/12b7d27decdd033919e7e01195e97dd3d9403ce8/memmap_test.go#L453

After this check it looks safe to me to move to the main branch. I will create a PR for it and we will see what the CI says

from cozy-stack.

nono avatar nono commented on June 7, 2024

Fix renaming a dir with sub-directories -> There is no linked issues or corresponding pulls requests but the code seems to be present in master too: https://github.com/spf13/afero/blob/12b7d27decdd033919e7e01195e97dd3d9403ce8/memmap.go#L309

No, this page says:

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

And I don't see my code on spf13's master. There is no TestMemFsRenameDir on https://github.com/spf13/afero/blob/master/memmap_test.go, and https://github.com/spf13/afero/blob/master/memmap.go#L298-L323 doesn't look like my patched version.

from cozy-stack.

nono avatar nono commented on June 7, 2024

Oh, and I found the PR I have made: spf13/afero#239. And there was also an update here: spf13/afero#320. Let's try again.

from cozy-stack.

Peltoche avatar Peltoche commented on June 7, 2024

Do you take care of creating the new pull request or should I do it?

from cozy-stack.

nono avatar nono commented on June 7, 2024

But you can make a PR to spf13/afero to fix their issues with statikcheck. I think that the version of statikcheck they use is no longer compatible with go 1.17 and go1.18.

from cozy-stack.

nono avatar nono commented on June 7, 2024

My PR has been merged. Let's hope that the maintainer also make a new release 🤞

from cozy-stack.

Peltoche avatar Peltoche commented on June 7, 2024

Damn that's quick!

But you can make a PR to spf13/afero to fix their issues with statikcheck. I think that the version of statikcheck they use is no longer compatible with go 1.17 and go1.18.

I don't understand what issue are you talking about?

from cozy-stack.

Peltoche avatar Peltoche commented on June 7, 2024

The release is already done -> https://github.com/spf13/afero/releases/tag/v1.9.4

from cozy-stack.

Peltoche avatar Peltoche commented on June 7, 2024

I update #3783 to the version v.1.9.4 and we should be ok.

from cozy-stack.

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.