Florian,
You expressed some worry about checking in the tarballs for the frozen
ABI specification into dist-git. Really git is not designed to hold
tarballs, and the source cache is just wrong since this is not a source
tarball (we used to abuse it also for the releng tarball).
It is relatively easy to move all the files directly into dist-git, and
use a lua construct like this:
+%{lua:
+-- List all of the frozen ABI xml files as source files.
+function recursedir(directory)
+ local i, t, popen = 0, {}, io.popen
+ local pfile = popen('find "'..directory..'" -type f')
+ for filename in pfile:lines() do
+ i = i + 1
+ t[i] = filename
+ end
+ pfile:close()
+ return t
+end
+# There are almost 2000 ABI specification files.
+lines = recursedir ('releng/frozen-abi/')
+-- Last Source file is numbered 12.
+j = 12
+for i,v in ipairs(lines) do
+ print('Source'..i..': '..v)
+ j = j + 1
+end
+}
+%endif
Which generates the source line entries from the directories.
This would allow us to manually tweak the ABI files by hand and
track the changes over time as we update glibc.
Would this be a better design?
--
Cheers,
Carlos.