-
Notifications
You must be signed in to change notification settings - Fork 141
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
Moving back from https://github.com/cozy/afero to https://github.com/spf13/afero? #3781
Comments
We should look for doing that. I think there were other commits in our fork, but I don't remember what. |
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 |
No, this page says:
And I don't see my code on spf13's master. There is no |
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. |
Do you take care of creating the new pull request or should I do it? |
I have rebased spf13/afero#239 and pinged the maintainer |
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. |
My PR has been merged. Let's hope that the maintainer also make a new release 🤞 |
Damn that's quick!
I don't understand what issue are you talking about? |
The release is already done -> https://github.com/spf13/afero/releases/tag/v1.9.4 |
It was https://github.com/spf13/afero/actions/runs/4250910073/jobs/7392677488, but the maintainer has fixed it with spf13/afero@a6023d2#diff-faff1af3d8ff408964a57b2e475f69a6b7c7b71c9978cccc8f471798caac2c88R19 |
I update #3783 to the version v.1.9.4 and we should be ok. |
Hi @nono 👋
From what I have understood the repo
spf12/afero
have been forked in order to fix aReaddir
function: spf13/afero@991b95a. This change have been proposed and merged into the main line: spf13/afero#170.Since then it seems that the main line have received a lot of updated and we didn't maintain the fork. At the moment the fork is 142 commits behind.
Maybe we should considere to move back the the main line and delete this fork?
The text was updated successfully, but these errors were encountered: