[openSUSE/osc] d80a3b: Fix object has no attribute 'dataoff'
Branch: refs/heads/master Home: https://github.com/openSUSE/osc Commit: d80a3b7457ff64239acba22347dfd4b6c9741da2 https://github.com/openSUSE/osc/commit/d80a3b7457ff64239acba22347dfd4b6c9741... Author: ila <ila.embsys@gmail.com> Date: 2024-08-27 (Tue, 27 Aug 2024) Changed paths: M osc/util/ar.py Log Message: ----------- Fix object has no attribute 'dataoff' `ext_fnhdr` exists only if call `_appendHdr()` once found a very long file name. Without that, impossible to get `ext_fnhdr_data`. It should be safe to leave `ext_fnhdr_data` as None if no `ext_fnhdr` added since later every `hdrs` will be checked for very long file name and if none of them will meet the condition, `ext_fnhdr_data` is not needed at all. Commit: 2f4e479ad1c0d93df16aa2eb9d8f95f2c48cc6ec https://github.com/openSUSE/osc/commit/2f4e479ad1c0d93df16aa2eb9d8f95f2c48cc... Author: ila <ila.embsys@gmail.com> Date: 2024-08-27 (Tue, 27 Aug 2024) Changed paths: M osc/util/ar.py Log Message: ----------- Restore start symbol check Commit: 292052912cb2b3c2ce11939c91b4544ac8c2d719 https://github.com/openSUSE/osc/commit/292052912cb2b3c2ce11939c91b4544ac8c2d... Author: Daniel Mach <daniel.mach@suse.com> Date: 2024-08-27 (Tue, 27 Aug 2024) Changed paths: M tests/fixtures/README A tests/fixtures/archive-no-ext_fnhdr.ar M tests/test_util_ar.py Log Message: ----------- Add test for extracting ar archive without long filenames Commit: 2afae5d78a707c610bf10ceb9e2305394f9b8ceb https://github.com/openSUSE/osc/commit/2afae5d78a707c610bf10ceb9e2305394f9b8... Author: Daniel Mach <daniel.mach@suse.com> Date: 2024-08-27 (Tue, 27 Aug 2024) Changed paths: M osc/util/ar.py M tests/fixtures/README A tests/fixtures/archive-no-ext_fnhdr.ar M tests/test_util_ar.py Log Message: ----------- Merge pull request #1611 from ila-embsys/fix/ar_hdr_attr_access Fix `dataoff` attribute access on `ext_fnhdr` Compare: https://github.com/openSUSE/osc/compare/735bab7de2a8...2afae5d78a70 To unsubscribe from these emails, change your notification settings at https://github.com/openSUSE/osc/settings/notifications
participants (1)
-
Daniel Mach