Is there a way to find patches which need testing from packages you have?

shirish
$ dpkg -l 

Gives you a list of all packages installed on your system. Now some bugs on the Debian BTS are tagged patch . Now is there a way to list all packages which are installed on your system for which patches are out there in the Debian BTS. Building, test and reporting as in feedback would make the packages better and in turn Debian better. Is there a way to do it ?

Update - Bonus points if this can be done with a help of a CLI tool and not writing a script.

Stephen Kitt

As a short script:

for source in $(dpkg-query --show -f '${source:Package}\n' | sort -u); do bts select source:${source} tag:patch; done

This uses dpkg-query to list the installed source packages, and bts (from the devscripts package) to list all bug numbers corresponding to an open bug with a patch filed against any of the source packages. It relies on packages' naming constraints to simplify parsing (there's no need to handle spaces or special characters).

I don't know of any existing command-line tool which does this.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Is there a way to find installed binary packages which don't have manpages?

From Dev

Is there any way to find out which libraries or packages I have already installed in Python?

From Dev

Best way of testing an application which you only know its functionality

From Dev

Is there a way to find out which packages depend on a specific package (Julia)?

From Dev

What to do if you need packages from both conda and pip?

From Dev

How to find out which packages that have no install candidate can be removed? (How to properly clean out such packages?)

From Dev

What is the recommended way to maintain local patches to debian packages?

From Dev

How can I find which dbgsym packages I need to obtain symbolic stack traces?

From Dev

Find elements which need to be removed from an array such that 2*min>max

From Dev

Find elements which need to be removed from an array such that 2*min>max

From Dev

Is there a way to detect which workspace you are currently in from the command line?

From Dev

Find out which view controller you came from

From Dev

Could Apt delete packages that are need by software that users have installed from source?

From Dev

Best way to create a fake smart pointer when you need one but only have a reference?

From Java

Flutter - How will you check from which screen you have clicked bottom navigation tab

From Dev

Which methods absolutely need Unit Testing

From Dev

Is there a canonical way to get which version of e2fsprogs you have installed?

From Java

Which is best way to grep on exec from find command?

From Dev

Is there a way to find out from which route it was transitioned to the current route in Ember?

From Dev

Best way to find which port is selected from client-side

From Dev

Is there a way to find out from which route it was transitioned to the current route in Ember?

From Dev

Installing packages with Python dependecies - "You have held broken packages"

From Dev

Installing packages with Python dependecies - "You have held broken packages"

From Dev

which s best way to test the database packages?

From Dev

Heard of a framework/app which only returns exactly what you need from the database?

From Dev

I have two Xcode projects, what is the easiest way to find out which two files are different in each?

From Dev

I have two Xcode projects, what is the easiest way to find out which two files are different in each?

From Dev

I need to remove the backslashes from the following string which is a URL I have in a data frame in R

From Dev

how to have go find packages online?

Related Related

  1. 1

    Is there a way to find installed binary packages which don't have manpages?

  2. 2

    Is there any way to find out which libraries or packages I have already installed in Python?

  3. 3

    Best way of testing an application which you only know its functionality

  4. 4

    Is there a way to find out which packages depend on a specific package (Julia)?

  5. 5

    What to do if you need packages from both conda and pip?

  6. 6

    How to find out which packages that have no install candidate can be removed? (How to properly clean out such packages?)

  7. 7

    What is the recommended way to maintain local patches to debian packages?

  8. 8

    How can I find which dbgsym packages I need to obtain symbolic stack traces?

  9. 9

    Find elements which need to be removed from an array such that 2*min>max

  10. 10

    Find elements which need to be removed from an array such that 2*min>max

  11. 11

    Is there a way to detect which workspace you are currently in from the command line?

  12. 12

    Find out which view controller you came from

  13. 13

    Could Apt delete packages that are need by software that users have installed from source?

  14. 14

    Best way to create a fake smart pointer when you need one but only have a reference?

  15. 15

    Flutter - How will you check from which screen you have clicked bottom navigation tab

  16. 16

    Which methods absolutely need Unit Testing

  17. 17

    Is there a canonical way to get which version of e2fsprogs you have installed?

  18. 18

    Which is best way to grep on exec from find command?

  19. 19

    Is there a way to find out from which route it was transitioned to the current route in Ember?

  20. 20

    Best way to find which port is selected from client-side

  21. 21

    Is there a way to find out from which route it was transitioned to the current route in Ember?

  22. 22

    Installing packages with Python dependecies - "You have held broken packages"

  23. 23

    Installing packages with Python dependecies - "You have held broken packages"

  24. 24

    which s best way to test the database packages?

  25. 25

    Heard of a framework/app which only returns exactly what you need from the database?

  26. 26

    I have two Xcode projects, what is the easiest way to find out which two files are different in each?

  27. 27

    I have two Xcode projects, what is the easiest way to find out which two files are different in each?

  28. 28

    I need to remove the backslashes from the following string which is a URL I have in a data frame in R

  29. 29

    how to have go find packages online?

HotTag

Archive