[Bug debuginfod/27669] New: extend webapi for partial match source queries

fche at redhat dot com sourceware-bugzilla@sourceware.org
Wed Mar 31 01:37:26 GMT 2021


https://sourceware.org/bugzilla/show_bug.cgi?id=27669

            Bug ID: 27669
           Summary: extend webapi for partial match source queries
           Product: elfutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: debuginfod
          Assignee: unassigned at sourceware dot org
          Reporter: fche at redhat dot com
                CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

It may be desirable to fetch source files by buildid and __FILE__ name only, as
these can be introspectively extracted sometimes from a running program image,
without DWARF comp_dir etc. work.

It could look like this:

   /buildid/HEXCODE/source*/PARTIAL_PATH

and implement the search by using a sql LIKE operator

   artifactsrc like '%PARTIAL_PATH'

in the mhd-query-s block of handle_buildid()

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Elfutils-devel mailing list