My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 2489: Search for changes created or updated within date range
2 people starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


Sign in to add a comment
 
Project Member Reported by dougk....@gmail.com, Feb 19, 2014
I have been looking for ways to query changes, and found that the only way to query a change by time is the "age" parameter.  The query syntax currently lacks a good way to search by a date or range, but such a feature would be helpful (though the same thing is possible through the database).  Basically, operators like "createdbefore", "createdafter", "updatedbefore" "updatedafter" (and the appropriate negation operators).  Being able to join these should be able to create a query such as "reviews created in the last year" or "reviews closed in this month".
Feb 19, 2014
#1 dborowitz@google.com
https://gerrit-review.googlesource.com/54555 implements range queries for updated. Nothing for created yet.
Feb 20, 2014
Project Member #2 dougk....@gmail.com
Nice! Thanks for the info, Dave!
Apr 30, 2014
#3 dborowitz@google.com
Support is kind of there (it's there in the index at least) but is currently still pretty broken.

First, JGit's GitDateParser is...not so great. See my comments upstream: https://git.eclipse.org/r/7390

Second, the only supported format (assuming you're lucky enough to have typed in a format that won't be silently ignored by GitDateParser) is UTC. Which is fine for tools using the REST API directly, but is confusing in the web UI, which automatically converts all times on the client side to the browser timezone.

A currently-stalled attempt at fixing this is in https://gerrit-review.googlesource.com/54843
Sign in to add a comment

Powered by Google Project Hosting