mbox series

[0/3] repository: small fixes for repo_{contains,del}_packages

Message ID 20241122054816.3371334-1-cedric.hombourger@siemens.com
Headers show
Series repository: small fixes for repo_{contains,del}_packages | expand

Message

cedric.hombourger@siemens.com Nov. 22, 2024, 5:48 a.m. UTC
repo_del_package should only remove binary packages (.deb), not
previously added source packages.

repo_contains_package should not assume that the name of downloaded .deb
files will match filenames used by reprepro.

Cedric Hombourger (3):
  repository: repo_del_package should not remove source packages
  repository: align repo_contains_package signature with other repo
    functions
  repository: make repo_contains_package query the package database

 meta/classes/repository.bbclass            | 40 ++++++++++++++++------
 meta/recipes-devtools/base-apt/base-apt.bb |  5 ++-
 2 files changed, 34 insertions(+), 11 deletions(-)

Comments

Uladzimir Bely Nov. 27, 2024, 7:11 a.m. UTC | #1
On Fri, 2024-11-22 at 06:48 +0100, 'Cedric Hombourger' via isar-users
wrote:
> repo_del_package should only remove binary packages (.deb), not
> previously added source packages.
> 
> repo_contains_package should not assume that the name of downloaded
> .deb
> files will match filenames used by reprepro.
> 
> Cedric Hombourger (3):
>   repository: repo_del_package should not remove source packages
>   repository: align repo_contains_package signature with other repo
>     functions
>   repository: make repo_contains_package query the package database
> 
>  meta/classes/repository.bbclass            | 40 ++++++++++++++++----
> --
>  meta/recipes-devtools/base-apt/base-apt.bb |  5 ++-
>  2 files changed, 34 insertions(+), 11 deletions(-)
> 
> -- 
> 2.34.1
> 

Applied to next, thanks.