Re: querying the registry for installed files

2016-10-28 Thread René J . V . Bertin
On Friday October 28 2016 21:22:41 Clemens Lang wrote: Hi, > Isn't this essentially what 'port provides' does? Only if you already know the full path to the file, and if you're only interested in the active port. What I have in mind is two-fold: - an alternative to spotlight's `mdfind -name`

Re: querying the registry for installed files

2016-10-28 Thread Vincent Habchi
> if ‘exp’ is the expression you’re looking for (e.g. ‘%qt4%’ for all files > containing …qt4…) > > sqlite> WITH i AS (SELECT id FROM files WHERE path LIKE exp GROUP BY id) > SELECT name FROM ports, i WHERE ports.id = i.id; > > Assuming you want the name of the ports which provides the files

Re: querying the registry for installed files

2016-10-28 Thread Vincent Habchi
sqlite3 register.db if ‘exp’ is the expression you’re looking for (e.g. ‘%qt4%’ for all files containing …qt4…) sqlite> WITH i AS (SELECT id FROM files WHERE path LIKE exp GROUP BY id) SELECT name FROM ports, i WHERE ports.id = i.id; Assuming you want the name of the ports which provides the

Re: querying the registry for installed files

2016-10-28 Thread Brandon Allbery
"port provides" actually does some extra work to normalize paths before querying; I believe René is looking for the underlying database, and possibly its constraints (e.g. whether it includes inactives --- which I don't think it does). On Fri, Oct 28, 2016 at 3:20 PM, Ken Cunningham <

Re: querying the registry for installed files

2016-10-28 Thread Clemens Lang
On Fri, Oct 28, 2016 at 08:41:58PM +0200, René J.V. Bertin wrote: > I think the registry keeps track of all installed files, whether they > belong to active or inactive ports, right? > If so, is there a way to query the registry with a filename pattern, > to obtain the full paths of known matching

Re: querying the registry for installed files

2016-10-28 Thread Ken Cunningham
Rene, do you mean port provides /path/to/file or something fancier? Ken > On Oct 28, 2016, at 11:41 AM, René J.V. Bertin wrote: > > Hi, > > I think the registry keeps track of all installed files, whether they belong > to active or inactive ports, right? > If so,

querying the registry for installed files

2016-10-28 Thread René J . V . Bertin
Hi, I think the registry keeps track of all installed files, whether they belong to active or inactive ports, right? If so, is there a way to query the registry with a filename pattern, to obtain the full paths of known matching filesand the port(s) which provide them? Thanks, René

Re: [154337] users/devans/GNOME-3/stable/dports/www/libhttpseverywhere

2016-10-28 Thread David Evans
On 10/28/16 7:19 AM, Ryan Schmidt wrote: > >> On Oct 28, 2016, at 3:28 AM, dev...@macports.org wrote: >> >> Revision >> 154337 >> Author >> dev...@macports.org >> Date >> 2016-10-28 10:28:30 +0200 (Fri, 28 Oct 2016) >> Log Message >> >> GNOME-3/stable: libhttpseverywhere, new port, leverage the

Re: [154337] users/devans/GNOME-3/stable/dports/www/libhttpseverywhere

2016-10-28 Thread Ryan Schmidt
> On Oct 28, 2016, at 3:28 AM, dev...@macports.org wrote: > > Revision > 154337 > Author > dev...@macports.org > Date > 2016-10-28 10:28:30 +0200 (Fri, 28 Oct 2016) > Log Message > > GNOME-3/stable: libhttpseverywhere, new port, leverage the power of > HTTPSEverywhere to any

Re: Moving to GitHub: Status Update, Action Required

2016-10-28 Thread Rainer Müller
On 2016-10-28 16:02, Craig Treleaven wrote: >> On Oct 21, 2016, at 2:12 PM, Clemens Lang wrote: >> ... >> Migration Timeline >> == >> The switch to Git will happen on the weekend of October 29th/30th. ... > > Is this still on track? Yes, expect Subversion to

Re: Moving to GitHub: Status Update, Action Required

2016-10-28 Thread Ryan Schmidt
> On Oct 28, 2016, at 9:02 AM, Craig Treleaven wrote: > >> On Oct 21, 2016, at 2:12 PM, Clemens Lang wrote: >> ... >> Migration Timeline >> == >> The switch to Git will happen on the weekend of October 29th/30th. ... > > Is this

Re: Moving to GitHub: Status Update, Action Required

2016-10-28 Thread Craig Treleaven
> On Oct 21, 2016, at 2:12 PM, Clemens Lang wrote: > ... > Migration Timeline > == > The switch to Git will happen on the weekend of October 29th/30th. ... Is this still on track? Craig ___ macports-dev mailing list