Date range in github search code #56097
-
Select Topic AreaQuestion BodyI would like to use date ranges when using github search for code. For instance, this returns all pandas imports in github: https://github.com/search?q=%22import+pandas+as+pd%22&type=code I'd like to return all pandas imports in github with either of the two filters:
Is this in the roadmap? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 12 replies
-
Thanks for your question @david26694. Our new code search backend does not support date filtering. In order to prioritize this, it'd be useful to hear more about your use case for wanting to find all the pandas code on GitHub within certain date ranges. |
Beta Was this translation helpful? Give feedback.
-
I'd like to use github search to monitor usage of a library I developed. Currently I do this: |
Beta Was this translation helpful? Give feedback.
-
We're debugging a very strange issue that's hard to reproduce. The only thing we know for certain from our logs is that it started at a certain time two days ago. It would be awesome if we could search for all commits in our org from around that time. Here's what I'm imagining:
Thanks for considering this feature. |
Beta Was this translation helpful? Give feedback.
-
Please consider adding support for the Duration/Period syntax of ISO 8601. This would allow saved searches regardless of the current date. I stumbled upon this limitation today due to wanted to search for "help wanted" issues/PRs, but not ones so stale that it wasn't worth looking into. I'm sure I could come up with a number of everyday use cases for organizational code as well with enough effort. Example use cases: Last updated greater than one year ago today:
Bob implemented that fix within the last month, I'm sure of it
What changed in the last 24 hours to cause this outage
Complex use case for saved PR/issue search (technically what I tried to accomplish today)
Arguably, if you considered this proposal, you could get rid of the Period: Note: |
Beta Was this translation helpful? Give feedback.
Thanks for your question @david26694. Our new code search backend does not support date filtering. In order to prioritize this, it'd be useful to hear more about your use case for wanting to find all the pandas code on GitHub within certain date ranges.