Re: Port search files

2020-04-05 Thread Joshua Root
On 2020-4-6 04:43 , Vibhansh Gupta wrote:
> The code that does the search.
> I'm specifically interested in seeing the error handling code for the
> case when there is no package found for the name given. 

Start with action_search in src/port/port.tcl.

- Josh


Re: Port search files

2020-04-05 Thread Joshua Root
On 2020-4-6 00:40 , Vibhansh Gupta wrote:
> I was trying to locate the file used whenever the command *'port search'
> *is called. 
> I have been unable to find the correct file and would be immensely
> grateful if somebody could tell me where to look for it.

Do you mean the code that does the search, or the data that is being
searched?

- Josh


Port search files

2020-04-05 Thread Vibhansh Gupta
I was trying to locate the file used whenever the command *'port search' *is
called.
I have been unable to find the correct file and would be immensely grateful
if somebody could tell me where to look for it.

On Sun, Apr 5, 2020, 8:09 AM Vibhansh Gupta  wrote:

> Thank you so much !
> I was having difficulty in finding out what exactly is returned when a
> ‘port search’ command returns an error string.
>
>
> > On 05-Apr-2020, at 7:59 AM, Joshua Root  wrote:
> >
> > On 2020-4-5 11:35 , Vibhansh Gupta wrote:
> >> Can anyone help me in finding the definition files for functions such
> as ui_error, ui_debug, ui_warning etc.
> >>
> >> I’ve tried to do so myself but have failed miserably. I’d be super
> grateful for your help.
> >
> > These are created in macports.tcl by macports::ui_init, which is called
> > for each priority level in mportinit.
> >
> > - Josh
>
>


Update of port ehcache to version 3.8.1

2020-04-05 Thread SAPTARSHI MUKHERJEE
Hi Sir,

Thanks again for the opportunity. I've made a final PR for the update of
port 3.8.1 that has successfully passed the checks. Following is the link
to the PR: https://github.com/macports/macports-ports/pull/6784/files.

I'd hereby sincerely thank Ryan Sir for his assistance that has not only
played a crucial role in enabling me in completing this, but has also
improved my understanding of some parts of the codebase immensely.

I've rebased the commits. May kindly review the same and provide necessary
feedback. If it seems right, may kindly merge the same. Thanks again.

With Warmest Regards,
Yours Sincerely,
*Saptarshi Mukherjee,*
*A GSoC 2020 Aspirant.*