After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 757722 - Match project directories when searching to open a project
Match project directories when searching to open a project
Status: RESOLVED FIXED
Product: gnome-builder
Classification: Other
Component: general
3.18.x
Other Linux
: Normal minor
: ---
Assigned To: GNOME Builder Maintainers
GNOME Builder Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-11-07 09:54 UTC by Philip Withnall
Modified: 2016-02-22 03:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
greeter: add project path to search keywords (1.82 KB, patch)
2016-02-22 03:05 UTC, Christian Hergert
committed Details | Review

Description Philip Withnall 2015-11-07 09:54:47 UTC
If I try to open a project, and type 'gobject-introsp' to search for GObject Introspection, I get no results. If I search for 'gobject' I get GIR amongst the results; as soon as I add the '-' the results list empties.
Comment 1 rishabh 2015-12-28 10:43:33 UTC
(In reply to Philip Withnall from comment #0)
> If I try to open a project, and type 'gobject-introsp' to search for GObject
> Introspection, I get no results. If I search for 'gobject' I get GIR amongst
> the results; as soon as I add the '-' the results list empties.

Hi, I would like to work on this bug but currently unable to reproduce it. I am able to search with '-'. Can you give the steps to reproduce it?
Comment 2 Philip Withnall 2015-12-28 11:35:49 UTC
The steps to reproduce it are in comment #0; there isn’t much more information I can give. I have my projects in /opt/gnome3/source, including an /opt/gnome3/source/gobject-introspection (which is a clone of https://git.gnome.org/browse/gobject-introspection). This is with Builder 3.18.x.
Comment 3 Christian Hergert 2016-02-22 03:05:00 UTC
Created attachment 321802 [details] [review]
greeter: add project path to search keywords

Adds the path to the project path to the search keywords. This allows for
searching for things like "gobject-introspection" when the project is
contained in that directory.

We only add the parent directory, so that we don't have to deal with
local paths vs remote URIs.
Comment 4 Christian Hergert 2016-02-22 03:05:41 UTC
Fixed in commit 33f5d00dd525f61b00196b463395a6aefcd1176e.

Attachment 321802 [details] pushed as 33f5d00 - greeter: add project path to search keywords