Conveniently searching GitLab

Brandon Allbery allbery.b at gmail.com
Tue Aug 6 16:50:31 UTC 2019


You can define them in the settings; what's odd about them is that it's
part of "Manage search engines". Which is at the bottom of the right click
menu in the location bar (with "edit" instead of "manage", so it should be
just as easy to do.

On Tue, Aug 6, 2019 at 12:41 PM Ben Gamari <ben at smart-cactus.org> wrote:

> Hello everyone,
>
> I've long found GitLab's search interface to be rather clunky. Several
> of the issues I've noted have been reported upstream but progress in
> resolving them seems to be slow.
>
> Consequently, I have implemented a workaround [1] which addresses most of
> my typical use-cases. This is essentially a thin wrapper around GitLab's
> various search facilities which intelligently routes requests according
> to a simple (and hopefully intuitive) query syntax. For instance, to
>
>  * navigate to GHC issue #123:
>    search for `#123`
>
>  * search for GHC issues related to unboxed tuples:
>    search for `# unboxed tuples`
>
>  * navigate to the `ghc/head.hackage` project:
>    search for `ghc/head.hackage>`
>
>  * navigate to merge request !3 of the `ghc/head.hackage` project:
>    search for `ghc/head.hackage!3`
>
>  * navigate to commit e130fb57f7991575d848612abafe9ad10129131c of the
>    `ghc/ghc` project:
>    search for `ghc/ghc at e130fb57f7991575d848612abafe9ad10129131c`
>
>  * search for merge requests of `haskell/ghcup` pertaining to Darwin:
>    search for `haskell/ghcup! Darwin`
>
> Note that, as seen in the first two examples, the project name defaults
> to `ghc/ghc` if omitted.
>
> This interface is best used via your browser's search keywords feature
> [2]. To add a search keyword in Firefox you can right click on the
> search query input field and select "Add search keyword". To my
> surprise I didn't find a similarly convenient shortcut in Chromium.
>
> If you can think of any way in which the service can be improved, feel
> free to open a pull request against the upstream repository [3].
>
> Cheers,
>
> - Ben
>
>
> [1] https://search.gitlab.haskell.org/
> [2] http://kb.mozillazine.org/Using_keyword_searches
> [3] https://gitlab.haskell.org/bgamari/gitlab-search-service
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
>


-- 
brandon s allbery kf8nh
allbery.b at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20190806/5c0b6004/attachment.html>


More information about the ghc-devs mailing list