Skip to content
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

[16.0][MIG] storage_backend_sftp: Migration to 16.0 #241

Merged
merged 51 commits into from
Feb 9, 2024

Conversation

santostelmo
Copy link
Contributor

@santostelmo santostelmo commented Feb 24, 2023

Migration of storage_backend_sftp to 16.0

ref: SOM-123

Copy link
Contributor

@simahawk simahawk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please rewrite the commit msg as [MIG] storage_backend_sftp: Migration to 16.0

{
"name": "Storage Backend SFTP",
"summary": "Implement SFTP Storage",
"version": "16.0.1.0.2",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"version": "16.0.1.0.2",
"version": "16.0.1.0.0",

@santostelmo santostelmo force-pushed the 16.0-mig-storage_backend_sftp branch 2 times, most recently from 53cd60d to ef56fdc Compare February 27, 2023 07:14
@santostelmo
Copy link
Contributor Author

please rewrite the commit msg as [MIG] storage_backend_sftp: Migration to 16.0

done

@bealdav
Copy link
Member

bealdav commented Mar 23, 2023

@simahawk finally message commit rename with your expectations. Final review ?

@MiquelRForgeFlow
Copy link

Please cherry-pick cd5edda, which was merged in v15.

@yvaucher
Copy link
Member

/ocabot migration storage_backend_sftp

@OCA-git-bot OCA-git-bot added this to the 16.0 milestone May 23, 2023
@OCA-git-bot OCA-git-bot mentioned this pull request May 23, 2023
5 tasks
@lmignon
Copy link
Sponsor Contributor

lmignon commented Aug 21, 2023

A rewrite of the storage_backend_* is proposed as a single addon supporting a wider list of platform through the use of the fsscpec python lib. You can take a look here #252 and #251

Copy link

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Dec 24, 2023
@github-actions github-actions bot closed this Jan 28, 2024
@gurneyalex gurneyalex reopened this Feb 9, 2024
@gurneyalex
Copy link
Member

@MiquelRForgeFlow The fix you are mentioning is on a different addon (storage_backend_ftp)

@gurneyalex
Copy link
Member

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

@gurneyalex The merge process could not start, because command `git merge --no-ff -m 'Merge PR #241 into 16.0

Signed-off-by gurneyalex' tmp-pr-241` failed with output:

CONFLICT (add/add): Merge conflict in requirements.txt
Auto-merging requirements.txt
Automatic merge failed; fix conflicts and then commit the result.

simahawk and others added 22 commits February 9, 2024 12:15
Previous code used the paramiko client open function with explicit binary mode.

But, the explicit binary mode is now ignored by python.
See the `open` function description into the paramiko documentation:
https://docs.paramiko.org/en/stable/api/sftp.html

```
The Python 'b' flag is ignored, since SSH treats all files as binary.
```

But in fact, depending of the SFTP server we have an `OSError`.

Then this PR remove the useless binary mode, and avoid to have errors.
@gurneyalex
Copy link
Member

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 16.0-ocabot-merge-pr-241-by-gurneyalex-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 43eb7e1 into OCA:16.0 Feb 9, 2024
5 of 7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 8348f04. Thanks a lot for contributing to OCA. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged 🎉 stale PR/Issue without recent activity, it'll be soon closed automatically.
Projects
None yet
Development

Successfully merging this pull request may close these issues.