* Gaurav Kamble [30/10/2017 00:03] :
> Whenever i looked into bugzilla folders, i saw so much folders which
> contains .cgi and .pl files.
All .cgi files are in the root folder and there are only a few .pl elsewhere.
Are you thinking of .pm files?
> I really want to understand the bugzilla code structure for ex. when a put
> a bug no. in search box which code executes. What is the flow ?
Entering 201069 in the quicksearch box and pressing 'Search' will take you to
buglist.cgi?quicksearch=201069 . This does a lot of things (buglist.cgi is
complex) but one of those is loading the module Bugzilla::Search::Quicksearch
and calling the quicksearch() function. One of the first things that function
does is check if the quicksearch parameter is a number in which case it calls
the _bug_numbers_only() function. This redirects you to show_bug.cgi?id=201069
which will display the bug information.