[pacman-dev] [PATCH] repo-add: don't break if delta package sources contain epoch

Allan McRae allan at archlinux.org
Fri Jan 4 01:20:04 UTC 2019


On 28/12/18 9:15 am, Eli Schwartz wrote:
> Our sed parser for xdelta3 headers will greedily match on ":" which
> coincidentally is also the character we use to define a version with an
> epoch.
> 
> While we are at it, simply use sed for the whole pipeline, rather than
> using both grep and sed.
> 
> Fixes FS#61195
> 
> Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>

OK.

As an aside, the fact we are rewriting package version parsing code in
bash highlights again that repo-add really should be converted to a
libalpm program.

Allan


More information about the pacman-dev mailing list