Page MenuHomePhabricator

Specifying projects not working in Recent Commit search
Closed, InvalidPublic

Description

I had project A and later created project B and imported several repos under B. When I tried to create a dashboard with Recent Commit search only for project A, it didn't seem to work. All it shows as recent commits are under project B.

Not sure if it's a bug or what I did wrong.

Thanks.

Related Objects

Event Timeline

kylejao raised the priority of this task from to Needs Triage.
kylejao updated the task description. (Show Details)
kylejao added a subscriber: kylejao.

It seems that the recent commits are sorted by the time it's imported instead of the commit time, as commits later than those newly imported repos are shown. But the filter on projects is still not working.

epriestley claimed this task.
epriestley added a subscriber: epriestley.

I'm not sure how to reproduce this. At HEAD at the time this was filed, the query UI looked like this:

Screen Shot 2015-08-31 at 6.49.50 AM.png (710×1 px, 171 KB)

None of these fields allow you to search by project.

At HEAD after D14013, there is a "projects" field, which works properly:

Screen Shot 2015-08-31 at 6.51.24 AM.png (500×1 px, 82 KB)

Note that this queries for projects on commits, which are different from projects on repositories.

There is currently no way to express the query "Find all commits which were made to repositories tagged with project X", except by enumerating those repositories. We could conceivably add a typeahead function for this, but I'm not sure what the original issue here actually was.