Re: index warning and bash-completion

2018-03-11 Thread db
On 11 Mar 2018, at 04:01, Ryan Schmidt wrote: > On Mar 10, 2018, at 17:47, db wrote: >> Btw, how can I change the two-week period for the warning. I couldn't find >> an option in macports.conf, either to change the period or to suppress it >> altogether. > I don't think

Re: index warning and bash-completion

2018-03-10 Thread db
On 10 Mar 2018, at 23:15, Clemens Lang wrote: > > https://github.com/macports/macports-ports/blob/master/sysutils/bash-completion/files/port > so if you have time you could try modifying it to drop stderr into nirvana > and submit a pull request for that. Ok, I'll have to

Re: index warning and bash-completion

2018-03-10 Thread Clemens Lang
On Sat, Mar 10, 2018 at 09:24:27PM +0100, db wrote: > On 10 Mar 2018, at 20:05, Ryan Schmidt wrote: > > Are your port definitions in fact more than two weeks old? > > Yes, but I'd expect the warning after I actually ran the command. Unfortunately that happens because

Re: index warning and bash-completion

2018-03-10 Thread Ryan Schmidt
On Mar 10, 2018, at 14:24, db wrote: > On 10 Mar 2018, at 20:05, Ryan Schmidt wrote: >> Are your port definitions in fact more than two weeks old? > > Yes, but I'd expect the warning after I actually ran the command. When you press tab, the bash completion code runs. Looking at the contents of

Re: index warning and bash-completion

2018-03-10 Thread db
On 10 Mar 2018, at 20:05, Ryan Schmidt wrote: > Are your port definitions in fact more than two weeks old? Yes, but I'd expect the warning after I actually ran the command.

Re: index warning and bash-completion

2018-03-10 Thread Ryan Schmidt
On Mar 10, 2018, at 12:18, db wrote: > > bash-completion for port outputs stderr on pressing tab, right before it > completes a word, on certain actions like contents. > > $ port contents bash-complWarning: port definitions are more than two weeks > old, consider updating them by running 'port

index warning and bash-completion

2018-03-10 Thread db
bash-completion for port outputs stderr on pressing tab, right before it completes a word, on certain actions like contents. $ port contents bash-complWarning: port definitions are more than two weeks old, consider updating them by running 'port selfupdate'. etion Can anyone reproduce it?