[LU-6150] gerrit: enable file search clause Created: 23/Jan/15  Updated: 14/Jun/18  Resolved: 02/Feb/15

Status: Closed
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Minor
Reporter: Olaf Faaland Assignee: Joshua Kugler (Inactive)
Resolution: Done Votes: 0
Labels: None

Rank (Obsolete): 17178

 Description   

Gerrit 2.8.5 (current version on review.whamcloud.com) supports a search clause, "file:" that enables one to find patches that affect a specified file.

This would be useful, among other things, for finding others working in a given area, and for finding a changeset when you know the area but don't recall who was working on it or exactly when.

https://gerrit-documentation.storage.googleapis.com/Documentation/2.8.5/user-search.html

When I used it on review.whamcloud.com, it responded that a secondary index needed to be enabled.

Can you look into enabling this feature?

thanks,
Olaf



 Comments   
Comment by Peter Jones [ 23/Jan/15 ]

Joshua

Could you please research how feasible this is?

Thanks

Peter

Comment by Joshua Kugler (Inactive) [ 02/Feb/15 ]

I think we enabled the secondary index in our recent Gerrit upgrade. Could you please try your query again? If it doesn't work, could you please add that query to this ticket so I can verify it works once I've made the additional changes?

Thanks!

Comment by Olaf Faaland [ 02/Feb/15 ]

Joshua,

Works beautifully, thank you very much.
In case it's helpful to someone else, a working query is:

status:merged file:mount_lustre.c
Generated at Sat Feb 10 01:57:42 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.