Thursday, 2025-02-13

*** __ministry is now known as Guest903315:27
*** __ministry is now known as Guest904718:01
JayFIPA CI builds tinyipa from tinycorelinux; part of this is downloading and installing ipmitool from source from git. A git repo hosted on codeberg, which is getting hammered with DoS attack right now. Is there a supported way to get a git repo mirrored officially?21:45
JayFe.g. https://www.irccloud.com/pastebin/XaCAqUMv/ although timeout is more common than 42921:45
JayFTheJulia: ^ fyi I brought your question over here, I saw two of those failures today and didn't connect the dots that it was codeberg21:45
clarkbwe have only ever mirrored in the other direction (projcets mirroring opendev git repo content to github specifically)21:49
clarkbwe did once have a gerrit fork that we carried locally21:50
clarkbwhcih I guess could be considered a type of mirror (but we carried patches on top of it and stopped updating the repo when we stopped running a fork of gerrit)21:50
clarkblooks like ubuntu does have an ipmitool package. One hack might be to fetch the source from their source packages21:52
JayFi think tinycore might be musl? unsure if that would work but I can look into it21:55
clarkbI don't mean run the binary package. I mean grab the source code for ipmi and build it from there rather than git21:56
clarkbThat should work fine for a differnt libc as long as the build targets that libc21:56
clarkb*ipmitool21:56
JayFhm, okay21:57
JayFuse the ubuntu release like a tarball21:57
JayFnot a bad idea21:57
clarkbhttp://archive.ubuntu.com/ubuntu/pool/universe/i/ipmitool/ipmitool_1.8.19.orig.tar.gz21:57
JayFI might file a "make tinyipa build better" with some suggestions including that21:57
clarkbI think that is the source code for the version packaged by ubuntu oracular21:57
clarkbhttps://packages.ubuntu.com/oracular/ipmitool has more links21:58
clarkbaiui this problem of upstream sources going away (for whatever reason) are why distros make a copy like that.21:59
clarkbsince they've already solved the problem it came to mind as a potential workaroudn21:59
JayFhttps://bugs.launchpad.net/ironic-python-agent-builder/+bug/209841722:02
JayFInterestingly, Gentoo uses the github sources: https://github.com/gentoo/gentoo/blob/master/sys-apps/ipmitool/ipmitool-1.8.19-r1.ebuild#L13 (but gentoo also automatically mirrors these for user purposes)22:05
fungiwe do have the ability to cache outside git repos and sync them from mergers to job nodes, though it's set up on a per-forge basis and we don't currently pull anything from sourcehut22:28
fungier, no you said codeberg, but regardless nothing from there yet either22:28
JayFyeah, I think we should probably take a swing at the whole thing22:36
JayFlike if we could get them all down to tarball-based downloads, we could use a tool (or even just a better script) to implement retries22:36
JayFand I bet that would cover a large % of the failure cases22:37

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