Wednesday, 2024-10-30

fungii would have preferred if gitea had a way to disable the tarball generator. it's an attractive nuisance as far as many projects are concerned, and it eats storage which then has to be auto-cleaned (which may not happen fast enough if crawlers are hitting the tarball links, leading to filesystem exhaustion01:51
caioauthanks 01:52
caioaubut sadly this tarball is needed to build one of the packages ... is there a workaround this? its weird bc other gitea instances are working fine ...01:54
fungishallow clone, checkout the state you want, delete the .git subdirectory and tar up the result?02:35
fungiit's curious you'd want a tarball of the worktree from the repository instead of either an actual git clone or a python sdist tarball (the apt-ostree repository uses pbr, so a worktree tarball won't be a proper python sdist of the project anyway)02:41
fungiif i run https://pypi.org/p/build in a checkout of the apt-ostree repo, i get a proper sdist tarball with no problem02:45
caioauhere's the package: https://opendev.org/starlingx/update/src/branch/master/apt-ostree/debian/meta_data.yaml when building stx it fails to download it02:45
fungialso worth noting, by grabbing the 88f4e4f4e3ca29de4e022d8de1c31060f04a09a3 ref you're actually missing some parent commits from the merge commit which was created to merge that change02:49
fungicompare the history of 88f4e4f4e3ca29de4e022d8de1c31060f04a09a3 to 59c8b237a7a687971d37da12b149bf6ae1623824 (what i think you actually want instead)02:50
fungispecifically you're missing https://review.opendev.org/c/starlingx/apt-ostree/+/933600 which merged before https://review.opendev.org/c/starlingx/apt-ostree/+/932718 but was not a direct parent (though it's in the history of the subsequent merge commit)02:53
fungihave you considered using a https://packages.debian.org/git-buildpackage sort of packaging workflow? 02:55
fungior something utilizing an actual git checkout?02:56
fungion a whim i restarted the gitea container on gitea09 and now i can download that tarball url successfully, but i expect the problem will recur03:01
fungijust be aware that your current workflow looks like a fairly broken design, but in subtle ways that you may not have realized03:02
caioaufungi: thanks for restaring the container! I'll see if there's a way of downloading the source code from git wo archiving 13:20
opendevreviewSlawek Kaplonski proposed openstack/project-config master: Remove rtd_secret from the trigger-readthedocs-webhook job  https://review.opendev.org/c/openstack/project-config/+/93339613:31
opendevreviewSlawek Kaplonski proposed openstack/openstack-zuul-jobs master: Remove "docs-on-readthedocs" template  https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/93374013:31
clarkbcaioau: as mentioned yesterday the workaround is to clone the repo and run git archive to produce the archive file(s)14:58
-opendevstatus- NOTICE: The Gerrit service on review.opendev.org will be offline momentarily at 20:30 utc (half an hour from now) to apply a configuration change20:02
-opendevstatus- NOTICE: The Gerrit service on review.opendev.org will be offline momentarily to apply a configuration change20:31

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