Skip to content

Commit c568481

Browse files
committed
[19.0][MIG] fs_attachment_s3: Migration 19.0
1 parent 5da5e63 commit c568481

6 files changed

Lines changed: 13 additions & 15 deletions

File tree

.pre-commit-config.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
exclude: |
22
(?x)
33
# NOT INSTALLABLE ADDONS
4-
^fs_attachment_s3/|
54
^fs_file/|
65
^fs_folder/|
76
^fs_folder_demo/|

fs_attachment_s3/README.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ Fs Attachment S3
2121
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
2222
:alt: License: AGPL-3
2323
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fstorage-lightgray.png?logo=github
24-
:target: https://github.com/OCA/storage/tree/18.0/fs_attachment_s3
24+
:target: https://github.com/OCA/storage/tree/19.0/fs_attachment_s3
2525
:alt: OCA/storage
2626
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
27-
:target: https://translation.odoo-community.org/projects/storage-18-0/storage-18-0-fs_attachment_s3
27+
:target: https://translation.odoo-community.org/projects/storage-19-0/storage-19-0-fs_attachment_s3
2828
:alt: Translate me on Weblate
2929
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
30-
:target: https://runboat.odoo-community.org/builds?repo=OCA/storage&target_branch=18.0
30+
:target: https://runboat.odoo-community.org/builds?repo=OCA/storage&target_branch=19.0
3131
:alt: Try me on Runboat
3232

3333
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -126,7 +126,7 @@ Bug Tracker
126126
Bugs are tracked on `GitHub Issues <https://github.com/OCA/storage/issues>`_.
127127
In case of trouble, please check there if your issue has already been reported.
128128
If you spotted it first, help us to smash it by providing a detailed and welcomed
129-
`feedback <https://github.com/OCA/storage/issues/new?body=module:%20fs_attachment_s3%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
129+
`feedback <https://github.com/OCA/storage/issues/new?body=module:%20fs_attachment_s3%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
130130

131131
Do not contact contributors directly about support or help with technical issues.
132132

@@ -173,6 +173,6 @@ Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
173173

174174
|maintainer-lmignon|
175175

176-
This module is part of the `OCA/storage <https://github.com/OCA/storage/tree/18.0/fs_attachment_s3>`_ project on GitHub.
176+
This module is part of the `OCA/storage <https://github.com/OCA/storage/tree/19.0/fs_attachment_s3>`_ project on GitHub.
177177

178178
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

fs_attachment_s3/__manifest__.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
{
55
"name": "Fs Attachment S3",
66
"summary": """Store attachments into S3 complient filesystem""",
7-
"version": "18.0.1.1.0",
7+
"version": "19.0.1.1.0",
88
"license": "AGPL-3",
99
"author": "ACSONE SA/NV,Odoo Community Association (OCA)",
1010
"website": "https://github.com/OCA/storage",
@@ -13,11 +13,10 @@
1313
"python": [
1414
"fsspec[s3]",
1515
],
16-
'installable': False,
17-
},
16+
},
1817
"data": [
1918
"views/fs_storage.xml",
2019
],
2120
"maintainers": ["lmignon"],
22-
'installable': False,
21+
"installable": True,
2322
}

fs_attachment_s3/static/description/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ <h1>Fs Attachment S3</h1>
374374
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
375375
!! source digest: sha256:852406ff1d3d6c03d0b02cda7b0f0c83283b6ae8fecf485ec77615733d6ce8b2
376376
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
377-
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/license-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/storage/tree/18.0/fs_attachment_s3"><img alt="OCA/storage" src="https://img.shields.io/badge/github-OCA%2Fstorage-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/storage-18-0/storage-18-0-fs_attachment_s3"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/storage&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
377+
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/license-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/storage/tree/19.0/fs_attachment_s3"><img alt="OCA/storage" src="https://img.shields.io/badge/github-OCA%2Fstorage-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/storage-19-0/storage-19-0-fs_attachment_s3"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/storage&amp;target_branch=19.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
378378
<p>This module extends the functionality of
379379
<a class="reference external" href="https://github.com/OCA/storage/tree/16.0/fs_attachment">fs_attachment</a>
380380
to better support Amazon S3 storage. It includes features such as:</p>
@@ -469,7 +469,7 @@ <h2><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h2>
469469
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/storage/issues">GitHub Issues</a>.
470470
In case of trouble, please check there if your issue has already been reported.
471471
If you spotted it first, help us to smash it by providing a detailed and welcomed
472-
<a class="reference external" href="https://github.com/OCA/storage/issues/new?body=module:%20fs_attachment_s3%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
472+
<a class="reference external" href="https://github.com/OCA/storage/issues/new?body=module:%20fs_attachment_s3%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
473473
<p>Do not contact contributors directly about support or help with technical issues.</p>
474474
</div>
475475
<div class="section" id="credits">
@@ -506,7 +506,7 @@ <h3><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h3>
506506
promote its widespread use.</p>
507507
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainer</a>:</p>
508508
<p><a class="reference external image-reference" href="https://github.com/lmignon"><img alt="lmignon" src="https://github.com/lmignon.png?size=40px" /></a></p>
509-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/storage/tree/18.0/fs_attachment_s3">OCA/storage</a> project on GitHub.</p>
509+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/storage/tree/19.0/fs_attachment_s3">OCA/storage</a> project on GitHub.</p>
510510
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
511511
</div>
512512
</div>

fs_attachment_s3/tests/test_fs_attachment_s3.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ def test_get_x_sendfile_path_s3_signed(self):
1818
url = self.fake_attachment_s3._get_x_sendfile_path()
1919
self.assertTrue(
2020
url.startswith(
21-
"/fs_x_sendfile/http/minio.minio/"
22-
"test-bucket/dir/sub/fake_s3_file.txt?"
21+
"/fs_x_sendfile/http/minio.minio/test-bucket/dir/sub/fake_s3_file.txt?"
2322
),
2423
"The end of the path should contain the path to the file "
2524
f"name and query parameters. ({url})",

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# generated from manifests external_dependencies
22
fsspec>=2024.5.0
33
fsspec>=2025.3.0
4+
fsspec[s3]
45
python_slugify

0 commit comments

Comments
 (0)