On 2019-12-28 at 14:47, Tong Sun wrote: > Hi, > > Is it possible to do Debian source search by file name? > > I wanted to see examples of overriding > debian-watch-does-not-check-gpg-signature in > debian/source/lintian-overrides files, so I did: > > https://codesearch.debian.net/search?q=path%3Adebian%2Fsources%2Flintian-overrides > https://codesearch.debian.net/search?q=gpg+signature+path%3Adebian%2Fsources%2Flintian-overrides > > But none gave results I want. Both say: > > . . . had no results. Please read the FAQ to make sure your syntax is correct. > > I think my syntax is correct, right? Try: https://codesearch.debian.net/search?q=gpg-signature+path%3Adebian%2Fsource%2Flintian-overrides which works for me right now. The only differences I see between this and your second URL above are A: the use of the correct path ("source" instead of "sources"), and B: the use of 'gpg-signature' instead of 'gpg signature'. If I drop the 'gpg-signature' part from this search term, I get the same error you got. I'm guessing that that's because there's no actual search term for *within* the file, and the search engine isn't going to report the entire file; if I'm right, that would be the other reason the first URL you gave doesn't find anything, aside from the path typo. -- The Wanderer The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. -- George Bernard Shaw
Attachment:
signature.asc
Description: OpenPGP digital signature