mbox series

[0/1] archiver: move exclusion logic in a dedicated function

Message ID 20230516155545.298359-1-antoningodard@pm.me
Headers show
Series archiver: move exclusion logic in a dedicated function | expand

Message

Antonin Godard May 16, 2023, 3:56 p.m. UTC
While extending the archiver class to deploy licenses next to the other
tarballs, I was forced to duplicate the logic in archiver's anonymous function
in my own class. Instead move this logic in a separate function to avoid
duplication.

If extending archiver to deploy the licenses of the packages in a tarball (by
reusing the license bbclass) seems appropriate in the archiver class, I can of
course send another patch.

Antonin Godard (1):
  archiver: move exclusion logic in a dedicated function

 meta/classes/archiver.bbclass | 30 ++++++++++++++++++------------
 1 file changed, 18 insertions(+), 12 deletions(-)

--
2.25.1