3c7c8b6e7c
Accepting request 1301299 from devel:languages:python
...
- Convert to libalternatives on SLE-16-based and newer systems
OBS-URL: https://build.opensuse.org/request/show/1301299
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rtslib-fb?expand=0&rev=40
2025-08-26 12:56:18 +00:00
a0a517cbb3
- Convert to libalternatives on SLE-16-based and newer systems
...
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=85
2025-08-25 14:13:02 +00:00
27917a117d
Accepting request 1293538 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/1293538
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rtslib-fb?expand=0&rev=39
2025-07-16 15:35:33 +00:00
d659c0bb54
Patch hasn't been accepted upstream yet.
...
Let's backport it so we can fix this before SL16 ships
- Add fabric-fix-search-path-for-SRPT-wwn.patch to fix
targetcli with SRPT (bsc#1246143)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=83
2025-07-15 20:55:12 +00:00
d5460645da
Accepting request 1255729 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/1255729
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rtslib-fb?expand=0&rev=38
2025-03-26 20:16:49 +00:00
df200633bc
Accepting request 1255725 from home:lee_duncan:branches:devel:languages:python
...
- Update to version v2.2.2:
* Explicitly set build target wheel packages
* Fix the program name in pyproject.toml
* Fix and update pre-commit ruf check
* Add PyPA publish and pre-commit check workflows
* Add rtslib_fb import compability
* Silently ignore OSError on close
* fixup! Fix various issues found by ruff linter rules
* Add ruff rules, pre-commit config
* Convert codebase to pathlib
* Fix various issues found by ruff linter rules
* Refactor code to Python>=3.9 to pass pyupgrade
* Fix issues found by ruff pep8-naming rules
* Fix issues found by ruff pycodestyle rules
* Use f-strings
* Fixing issues found by ruff Pyflakes rules
* Move to PEP-621; Drop -fb from module name
* rtslib: explicitely import "kmod.error" and "kmod.Kmod"
* rtslib/LUN: add some ALUA property
Also, updated the SPEC file, and removed patch no longer needed,
since the problem is no longer present:
* rtslib-Fix-handling-of-sysfs-RW-attrs-that-are-actually-RO.patch
Added three commits, one from upstream, the others submitted there:
* Install-targetctl-as-an-entrypoint.patch (added from upstream)
* Remove-use-of-usr-bin-python.patch (submitted upstream)
* Fix-issue-with-Path-open-needs-parenthesis.patch (submitted upstream)
OBS-URL: https://build.opensuse.org/request/show/1255725
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=81
2025-03-24 19:48:06 +00:00
bf44ff7a35
Accepting request 1181351 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/1181351
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rtslib-fb?expand=0&rev=37
2024-06-18 20:51:04 +00:00
e2d09acca5
Accepting request 1181350 from home:lee_duncan:branches:devel:languages:python
...
- Revert rtslib-refactor-to-python3.patch, which breaks targetcli
(bsc#1226388)
OBS-URL: https://build.opensuse.org/request/show/1181350
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=79
2024-06-17 16:30:56 +00:00
689c04a064
Accepting request 1179859 from devel:languages:python
...
Forwarded request #1179237 from mcalabkova
- Add rtslib-refactor-to-python3.patch to get rid of six
OBS-URL: https://build.opensuse.org/request/show/1179859
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rtslib-fb?expand=0&rev=36
2024-06-11 16:27:04 +00:00
0b876b294c
Accepting request 1179237 from home:mcalabkova:branches:devel:languages:python
...
- Add rtslib-refactor-to-python3.patch to get rid of six
OBS-URL: https://build.opensuse.org/request/show/1179237
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=77
2024-06-10 21:15:13 +00:00
c1eb891a5d
Accepting request 1174673 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/1174673
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rtslib-fb?expand=0&rev=35
2024-05-17 18:03:55 +00:00
b55f10740f
Accepting request 1174640 from home:dimstar:Factory
...
- Use %autosetup macro: allows us to eliminate usage of deprecated
%patchN syntax.
OBS-URL: https://build.opensuse.org/request/show/1174640
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=75
2024-05-16 18:16:09 +00:00
2152d1b042
Accepting request 1137851 from devel:languages:python
...
- Clean up the SPEC file
- Drop downstream-only LIO target_core_rbd support (bsc#1218634)
* rbd-support-disable_emulate_legacy_capacity.patch
* rbd-support.patch
OBS-URL: https://build.opensuse.org/request/show/1137851
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rtslib-fb?expand=0&rev=34
2024-01-10 20:50:22 +00:00
dd36504bef
- Clean up the SPEC file
...
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=73
2024-01-09 21:43:29 +00:00
e5b6f6ef9e
Accepting request 1137723 from home:dmdiss:bsc1218634_targetcli_drop_rbd
...
- Drop downstream-only LIO target_core_rbd support (bsc#1218634)
* rbd-support-disable_emulate_legacy_capacity.patch
* rbd-support.patch
OBS-URL: https://build.opensuse.org/request/show/1137723
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=72
2024-01-09 14:05:51 +00:00
6a7bbf2364
Accepting request 1115776 from devel:languages:python
...
- Update to version v2.1.76:
* version 2.1.76
* rtslib: remove the limit of 255 max mapped LUNs
* setup.py: match __version__ with optional trailing ".g<hash>".
* rtslib: Don't create /var/run on import
* Fix inability to create ACLs for some FC cards
OBS-URL: https://build.opensuse.org/request/show/1115776
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rtslib-fb?expand=0&rev=33
2023-10-06 19:12:31 +00:00
1483f0354b
- Update to version v2.1.76:
...
* version 2.1.76
* rtslib: remove the limit of 255 max mapped LUNs
* setup.py: match __version__ with optional trailing ".g<hash>".
* rtslib: Don't create /var/run on import
* Fix inability to create ACLs for some FC cards
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=70
2023-10-05 09:09:16 +00:00
c17e3b988c
Accepting request 1081769 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/1081769
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rtslib-fb?expand=0&rev=32
2023-04-22 19:58:47 +00:00
d471440c6c
Accepting request 1081608 from home:dirkmueller:acdc:as_python3_module
...
SR for python stack proposal
OBS-URL: https://build.opensuse.org/request/show/1081608
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=68
2023-04-21 13:36:49 +00:00
d9e0e18fe3
Accepting request 1069161 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/1069161
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rtslib-fb?expand=0&rev=31
2023-03-04 21:42:21 +00:00
Coly Li
4aa90f10d3
Accepting request 1069159 from home:dmdiss:bsc1206720_sle_changelog_merge
...
Add a couple of SLE bugzilla references to the changelog
OBS-URL: https://build.opensuse.org/request/show/1069159
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=66
2023-03-03 13:16:52 +00:00
c143c58a9f
Accepting request 975466 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/975466
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rtslib-fb?expand=0&rev=30
2022-05-08 19:52:04 +00:00
ce04075aad
Accepting request 975464 from home:lee_duncan:branches:devel:languages:python
...
- Update to version v2.1.75:
* version 2.1.75
* rtslib: fix missing ':' after else statement
* dbroot: let the user change the dbroot directory freely.
* handle target kernel module new attribute cpus_allowed_list
* fix "This _Backstore already exists in configFS" exception
* Check whether the enable attribute exists before fread
* Filter fabric wwns by reading driver name
* Add support of efct fabric driver
* tcmu: add support for config param data_pages_per_blk
* Relax restrictions on TPG Tag range
* rtslib: Use O_RDWR for sg devices alone.
OBS-URL: https://build.opensuse.org/request/show/975464
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=64
2022-05-06 18:04:25 +00:00
a0f9be9755
Accepting request 952652 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/952652
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rtslib-fb?expand=0&rev=29
2022-02-09 19:38:15 +00:00
92a5cd2075
Accepting request 951501 from home:trociny:lio_emulate_legacy_capacity
...
- Update parameters description in rbd-support.patch
- Add rbd-support-disable_emulate_legacy_capacity.patch
OBS-URL: https://build.opensuse.org/request/show/951501
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=63
2022-02-08 10:50:45 +00:00
6ccca3adaa
Accepting request 923332 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/923332
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rtslib-fb?expand=0&rev=28
2021-10-25 13:16:49 +00:00
96b38c3b66
Accepting request 923283 from home:schubi2
...
- Use libalternatives instead of update-alternatives.
OBS-URL: https://build.opensuse.org/request/show/923283
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=62
2021-10-05 17:59:16 +00:00
99db447357
Accepting request 920167 from devel:languages:python
...
revert
OBS-URL: https://build.opensuse.org/request/show/920167
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=61
2021-09-19 17:24:03 +00:00
f82845f897
Accepting request 919821 from home:schubi2
...
- Use libalternatives instead of update-alternatives.
OBS-URL: https://build.opensuse.org/request/show/919821
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=60
2021-09-17 21:13:12 +00:00
cbe8096e1e
Accepting request 846968 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/846968
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rtslib-fb?expand=0&rev=27
2020-11-12 21:36:54 +00:00
dcfd9cf84b
Accepting request 846965 from home:lee_duncan:branches:devel:languages:python
...
- Fixed issue in SPEC file w/r/t package split with common.
Now, packages python3-rtslib-fb and python-rtslib-fb-common
are built, and the former depends on the latter. The common
package has the non-python parts (documentation, etc),
and the python3-* part the python parts.
OBS-URL: https://build.opensuse.org/request/show/846965
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=58
2020-11-08 19:08:39 +00:00
2ba1fb7494
Accepting request 843807 from home:lee_duncan:branches:devel:languages:python
...
- Split package into "common" part, python-rtslib-fb-common, which
is python-verserion-agnostic, and either python2-rtslib-comon-fb
or python3-rtslib-fb. This maens common files, like man pages,
don't have to be duplicated.
OBS-URL: https://build.opensuse.org/request/show/843807
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=57
2020-10-24 18:14:03 +00:00
1f78fa8249
Accepting request 842426 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/842426
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rtslib-fb?expand=0&rev=26
2020-10-22 12:20:25 +00:00
5293d48576
Accepting request 842415 from home:lee_duncan:branches:devel:languages:python
...
- Update to version v2.1.74:
* version 2.1.74
* rtslib: safely call shutil.copy()
* Fix fail when target_core_mod doesn't exists
* Fix EPERM errors with scsi_generic devices
Also, add this commit submitted upstream:
* rtslib-Fix-handling-of-sysfs-RW-attrs-that-are-actually-RO.patch
And this commit for SUSE:
* rtslib-target-service-for-suse.patch
Lastly, this package now installs systemd unit file target.service,
which will replace eventually targetcli.service (from the
targetcli-fb package), since this matches how upstream works.
This also meant updating the SPEC file.
OBS-URL: https://build.opensuse.org/request/show/842415
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=55
2020-10-19 01:23:19 +00:00
5aaeb8e61c
Accepting request 829899 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/829899
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rtslib-fb?expand=0&rev=25
2020-09-01 18:05:44 +00:00
Tomáš Chvátal
1edb5164f3
Accepting request 829856 from home:mattoliverau:branches:devel:languages:python
...
- Updated the rbd-support.patch (bsc#1175808):
* Fixed the signiture of the RBDStorageObject to match changes made
to parent StorageObject class.
OBS-URL: https://build.opensuse.org/request/show/829856
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=53
2020-08-27 06:47:39 +00:00
67315a8f78
Accepting request 817942 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/817942
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rtslib-fb?expand=0&rev=24
2020-07-02 21:54:09 +00:00
040b715555
Accepting request 817941 from home:lee_duncan:branches:devel:languages:python
...
- Update to version v2.1.73 (bsc#1173257 CVE-2020-14019):
* version 2.1.73
* save_to_file: fix fd open mode
* saveconfig: copy temp configfile with permissions
* saveconfig: open the temp configfile with modes set
* Fix "is not" with a literal SyntaxWarning
* Fix an incorrect config path in two comments
* version 2.1.72
* Do not change dbroot after drivers have been registered
* Remove '_if_needed' from RTSRoot._set_dbroot()'s name
Replacing old tarball with python-rtslib-fb-v2.1.73.tar.xz
OBS-URL: https://build.opensuse.org/request/show/817941
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=51
2020-06-30 20:52:09 +00:00
3780763bc6
Accepting request 781620 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/781620
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rtslib-fb?expand=0&rev=23
2020-03-05 22:21:50 +00:00
31ed18413d
Accepting request 781619 from home:lee_duncan:branches:devel:languages:python
...
Updated incorrect jre# in Changes file.
OBS-URL: https://build.opensuse.org/request/show/781619
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=49
2020-03-04 18:12:29 +00:00
9560cb9fef
Accepting request 781294 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/781294
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rtslib-fb?expand=0&rev=22
2020-03-04 08:47:52 +00:00
595face9e2
Accepting request 781293 from home:lee_duncan:branches:devel:languages:python
...
- Update to version v2.1.71 (jre#SLE-9345) from v2.1.70:
* version 2.1.71
* restoreconfig: fix skipping of targets [re]loading
Replacing python-rtslib-fb-v2.1.70.tar.xz with python-rtslib-fb-v2.1.71.tar.xz
OBS-URL: https://build.opensuse.org/request/show/781293
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=47
2020-03-03 17:15:41 +00:00
f260b51bfa
Accepting request 731405 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/731405
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rtslib-fb?expand=0&rev=21
2019-09-17 11:39:44 +00:00
Tomáš Chvátal
0ca720d41b
Accepting request 731355 from home:lee_duncan:branches:devel:languages:python
...
- Update to version v2.1.70:
* version 2.1.70
* restoreconfig: add ability to restore/reload single target or storage_object
* rtslib: fix __version__
* saveconfig: add hw_block_size support in control string
* remove extra semicolons in _get_saveconf
* Add 'readable' param to Group list_*() methods
* Handle write-only parameters like attributes
* save_to_file() function breaks symbolic link when saving configuration
* Handle write-only attributes.
* Allow bs_cache to be bypassed
* report the correct size for partitions
* restoreconfig: support restore when list is non-empty
Replacing python-rtslib-fb-2.1.69.tar.xz with python-rtslib-fb-v2.1.70.tar.xz,
and removing patches:
* 0001-Handle-write-only-attributes.patch
* 0002-Handle-write-only-parameters-like-attributes.patch
* 0003-Add-readable-param-to-Group-list_-methods.patch
OBS-URL: https://build.opensuse.org/request/show/731355
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=45
2019-09-17 06:17:54 +00:00
7f45989495
Accepting request 677187 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/677187
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rtslib-fb?expand=0&rev=20
2019-02-19 11:02:47 +00:00
6f28e9a230
Accepting request 677186 from home:lee_duncan:branches:devel:languages:python
...
- Added 3 patches subbmitted and accepted upstream, to deal with
possibly-write-only sysfs attributes (bsc#1123933), adding:
* 0001-Handle-write-only-attributes.patch
* 0002-Handle-write-only-parameters-like-attributes.patch
* 0003-Add-readable-param-to-Group-list_-methods.patch
OBS-URL: https://build.opensuse.org/request/show/677186
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=43
2019-02-18 18:02:54 +00:00
3cd24314c0
Accepting request 662617 from devel:languages:python
...
Resubmit, repo-checker has a stale review
OBS-URL: https://build.opensuse.org/request/show/662617
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rtslib-fb?expand=0&rev=19
2019-01-03 17:09:49 +00:00
Tomáš Chvátal
a41e969040
Accepting request 656018 from home:dmdiss:bsc1118516_targetcli_rbd_15spx
...
- Enable RBD support for SLE/Leap 15+ (bsc#1118516)
OBS-URL: https://build.opensuse.org/request/show/656018
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=41
2018-12-07 13:07:22 +00:00
70ddc6f4f0
Remove superfluous devel dependency for noarch package
...
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=40
2018-12-04 14:01:13 +00:00
1a13a6dd6e
Accepting request 643053 from devel:languages:python
...
OBS-URL: https://build.opensuse.org/request/show/643053
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rtslib-fb?expand=0&rev=18
2018-10-22 09:23:14 +00:00