home  bbs  files  messages ]

      ZZLI4422             linux.debian.devel             1194 messages      

[ previous | next | reply ]

[ list messages | list forums ]

  Msg # 317 of 1194 on ZZLI4422, Thursday 10-01-25, 1:20  
  From: SANTIAGO RUANO =?ISO-8859  
  To: ALL  
  Subj: Re: Cleaning salsa build cache before a   
 From: santiagorr@riseup.net 
  
 Hello, 
  
 El 30/09/25 a las 11:20, Vincent Danjean escribi€: 
 >   Hi, 
 > 
 >   While packaging a new upstream version of one of my packages (taktuk), 
 > I switched from getting hand-made source tarball (with "make dist" from 
 autotools) 
 > by the upstream developper to a tag in the git repo (for better 
 tracability). 
 >   Of course, I initially messed up and pushed to salsa a new upstream 
 version 
 > (in the pristine-tar branch) still coming from the hand-made tarball. 
 > 
 >   Since, I fixed all of this. Now, the git on salsa (and the uploaded 
 package) is 
 > correctly using the tarball coming from git. It is also now correctly 
 registered 
 > in the pristine-tar of the git repo. 
 > 
 >   My problem is that salsa-ci is still using the hand-made tarball. In the 
 build log, 
 > I can see: 
 > [...] 
 > $ if find . -maxdepth 3 -wholename "*/debian/source/format" -exec cat {} \\; 
 | grep -q '3.0 (gitarchive)' 
 > gbp:info: All Orig tarballs 'taktuk_3.7.8.orig.tar.gz' found at 
 '/builds/debian/taktuk/build/' 
 > gbp:info: Creating taktuk_3.7.8.orig.tar.gz from 'upstream/3.7.8' 
 > gbp:info: Disabling 'cleaner' hook 
 > gbp:info: Exporting 'HEAD' to '/builds/debian/taktuk/build/taktuk-tmp' 
 > gbp:info: Moving '/builds/debian/taktuk/build/taktuk-tmp' to ' 
 builds/debian/taktuk/build/taktuk-3.7.8' 
 > gbp:info: Performing the build 
 > $ ls -lh ${BUILD_DIR} 
 > total 608K 
 > drwxrwxr-x 9 root root 4.0K Sep 30 08:47 taktuk-3.7.8 
 > -rw-r--r-- 1 root root 603K Sep 30 08:50 taktuk_3.7.8.orig.tar.gz 
 > [...] 
 > 
 > 
 > The hand-made tarball is about 600k, the git tarball is about 150K 
 > (no autotool auto-generated files), so salsa-ci is clearly using the 
 > bad (previously used) tarball. 
 > 
 >   Is there a way to remove the (cached on disk) tarball on salsa, so 
 > that the correct tarball would be taken from pristine-tar git branch? 
  
 You should find a "clear runner caches" button at 
 https://salsa.debian.org/debian/taktuk/-/pipelines.  That's the only 
 method I am aware of.  I haven't searched for an API-based equivalent. 
  
 HTH, 
  
  -- Santiago 
  
 -----BEGIN PGP SIGNATURE----- 
  
 iHUEABYIAB0WIQR+lHTq7mkJOyB6t2Un3j1FEEiG7wUCaNunTgAKCRAn3j1FEEiG 
 7yqwAP9L79FJhDRrqm6NP6nURd/yWkHUDf2WFqDAycL59Vg+4AD/W2jnAduIpEHp 
 cC9uqr/+t634dBsncphnhgLk9QbRsA4= 
 =lwbv 
 -----END PGP SIGNATURE----- 
  
 --- SoupGate-Win32 v1.05 
  * Origin: you cannot sedate... all the things you hate (1:229/2) 

[ list messages | list forums | previous | next | reply ]

search for:

328,136 visits
(c) 1994,  bbs@darkrealms.ca