[pacman-dev] should repo-add handle *.links.db?

Erich Eckner arch at eckner.net
Tue Mar 26 13:52:49 UTC 2019


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,

I'm looking into creating links databases for archlinux32 and saw (thanks, 
Eli) that they are created asynchronously by systemd timers here: 
https://git.archlinux.org/infrastructure.git/tree/roles/sogrep/files

I was wondering, if it wouldn't be better to create them during repo-add 
(and repo-remove) at a similar point, where *.files.db entries are created 
- - ignoring deltas (can we ignore deltas already?), this would be somewhere 
down in db_write_entry() in repo-add - but even including deltas, it 
should not need changes at too many places.

However, before I start trying to patch repo-add and repo-remove to 
maintain a *.links.db, I wanted to ask if there are any objections to 
include this functionality there.

Cheers,
Erich

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE3p92iMrPBP64GmxZCu7JB1Xae1oFAlyaLrQACgkQCu7JB1Xa
e1o26g/+PU80nwWnMcT/zwhzWuuTAP8hwIlb1dvovfFp5vkq9XjPC/A3yApfSg6m
nUPb7Vjq9w3KGoKCMTwBWYO6jXLjLhvcB2gSBmhFlblDrMgGTnABrjNdfcaSUwcB
hqF7cYDhSDJuUb+SyMBYKLoGDZL/Rxye/BAItiqBXfgitbxAcPWbNyZCKk3DYOBz
/WHCHn3hMHJndxC7FJ9hfpGukES9Um2EW4bB8DGrz44AJwzyA8EyDO9e86QtR64z
PX6qC2qEuAix55Ggvk2GILErPaea/5IuwhmyrZy6UtTEDysDfdkMSKWqV+r8wHJY
61fO7RGZnJH6F4h6YEpTncdEI4jnuIuR7FrheWauV83jMJ4E/X4nvNTNBlPDZUIt
DC8Nj1nsSrTeD7HZmi6QiKHhPLpA5ZiE0ls+jdb/CcE0RaB+kqRtMRShanKDNiJi
E4lhLO7nj6frNtpWhU3Iqb2O7azampIpL7VyCHDAfkuWPrIHfMGSRnwWmG2DW0G/
UTxHqDKqVFTDwBF2h6+4+J/xFO2T1uqm5OrAnR9ZsjGG6UMZEbsNvO0KxFiOdlYc
UFPJJlwVn7OS28H94010tRU73LfE1xwZqRKiWxiR2NckjB9fvOf5lPUV5neZfeS1
O9yS9omfa9QzVH6dD/wDJArnt4RGj8mHBEXa3vwOZGEfXaF+waQ=
=ny8G
-----END PGP SIGNATURE-----


More information about the pacman-dev mailing list