Thursday, 2024-02-08

opendevreviewMerged openstack/swift master: sharding: don't replace own_shard_range without an epoch  https://review.opendev.org/c/openstack/swift/+/80996901:04
opendevreviewMerged openstack/swift master: diskfile: Ignore invalid suffixes in invalidations file  https://review.opendev.org/c/openstack/swift/+/90825301:53
opendevreviewMatthew Oliver proposed openstack/swift master: internal_client: Add iter_{shard_ranges,namespaces,namespaces_from_cache} interfaces  https://review.opendev.org/c/openstack/swift/+/87758402:15
mattolivertimburke: yes hacking up-rev solves my py312 tox pep8 problems!02:19
timburke🎉04:32
opendevreviewMerged openstack/swift master: lint: Up-rev hacking  https://review.opendev.org/c/openstack/swift/+/90836704:33
timburkeclarkb, it's a fair point -- i could probably just set up some markers so that as long as you're on a reasonably new version of python, you pull in hacking>6 or something, and leave people stuck trying to maintain older versions to fend for themselves04:35
timburkei think i'd have to untangle some of my version management across gate jobs a bit though; i only just realized today that what i've got as a py36-constraints.txt file is *also* being used for (some) py38 func test jobs. it's a bit of a mess04:36
opendevreviewMerged openstack/swift master: lint: Consistently use assertIsInstance  https://review.opendev.org/c/openstack/swift/+/90836804:36
timburkeoh, that reminds me: i discovered a new project the other day: https://pypi.org/project/pypi-timemachine/04:42
timburkehttps://i.imgflip.com/8f37fm.jpg04:42
opendevreviewJianjian Huo proposed openstack/swift master: Object-server: add periodic greenthread yielding during file read.  https://review.opendev.org/c/openstack/swift/+/89687206:00
opendevreviewAlistair Coles proposed openstack/swift master: Object-server: add periodic greenthread yielding during file read.  https://review.opendev.org/c/openstack/swift/+/89687210:47
opendevreviewAlistair Coles proposed openstack/swift master: Object-server: add periodic greenthread yielding during file read.  https://review.opendev.org/c/openstack/swift/+/89687210:52
opendevreviewThomas Goirand proposed openstack/swift master: drive-full-checker  https://review.opendev.org/c/openstack/swift/+/90752311:27
zigoHi there !12:04
zigoHow can I mock shutil.disk_usage return value in https://review.opendev.org/c/openstack/swift/+/907523/6/swift/cli/drive_full_checker.py when I call configure_rsyncd_conf from https://review.opendev.org/c/openstack/swift/+/907523/6/test/unit/cli/test_drive_full_checker.py#92 ?12:04
patch-botpatch 907523 - swift - drive-full-checker - 6 patch sets12:04
patch-botBug #92 - 'baz merge' not very helpful if a relevant pull mirror is out-of-date (Invalid)12:05
zigoWith a patch decorator ?12:07
zigoLike this maybe?12:22
zigo        with patch(shutil.disk_usage) as mocked_method:12:22
zigo            mocked_method.return_value = 1012:22
zigoBut then, I want to replace the return_value.free ...12:23
zigoFYI, I think I have something that looks like working for mocking shutil.disk_usage ! :)14:27
opendevreviewOpenStack Release Bot proposed openstack/python-swiftclient unmaintained/yoga: Update .gitreview for unmaintained/yoga  https://review.opendev.org/c/openstack/python-swiftclient/+/90843014:39
opendevreviewOpenStack Release Bot proposed openstack/python-swiftclient master: reno: Update master for unmaintained/yoga  https://review.opendev.org/c/openstack/python-swiftclient/+/90843114:39
opendevreviewOpenStack Release Bot proposed openstack/swift unmaintained/yoga: Update .gitreview for unmaintained/yoga  https://review.opendev.org/c/openstack/swift/+/90843214:40
opendevreviewOpenStack Release Bot proposed openstack/swift master: reno: Update master for unmaintained/yoga  https://review.opendev.org/c/openstack/swift/+/90843314:40
opendevreviewThomas Goirand proposed openstack/swift master: drive-full-checker  https://review.opendev.org/c/openstack/swift/+/90752315:05
zigoIf it passes the CI, then my patch should be ok for reviews... :P15:21
opendevreviewThomas Goirand proposed openstack/swift master: drive-full-checker  https://review.opendev.org/c/openstack/swift/+/90752315:26
zigoGosh... no f strings in py2.7... :/15:29
opendevreviewThomas Goirand proposed openstack/swift master: drive-full-checker  https://review.opendev.org/c/openstack/swift/+/90752315:34
timburkehttps://review.opendev.org/c/openstack/swift/+/907523/6/test/unit/cli/test_drive_full_checker.py#9217:14
patch-botpatch 907523 - swift - drive-full-checker - 9 patch sets17:14
timburkebetter, patch-bot, better :-)17:14
opendevreviewAnish Kachinthaya proposed openstack/swift master: expirer: add per-container grace period  https://review.opendev.org/c/openstack/swift/+/90776221:06
opendevreviewTim Burke proposed openstack/pyeclib master: Add Dockerfile to build manylinux wheels  https://review.opendev.org/c/openstack/pyeclib/+/81749822:50
opendevreviewTim Burke proposed openstack/pyeclib master: Include jerasure in manylinux wheels  https://review.opendev.org/c/openstack/pyeclib/+/90853322:50

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!