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: 6 comments 14 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.
-
| This is a important parameter for github search. Sometimes you want to find new code examples for a new library version/etc, and not have to sift through hundreds of dinosaur results | 
Beta Was this translation helpful? Give feedback.
-
| I'd also like to avoid results after the creation of LLM aggregation repos, which have tons of junk text related to my keywords. It's a particular concern for non-code text, which was an incredible resource on GitHub prior to the popularization of LLMs. :( For example, I'm currently trying to find information about the Euchee language, but I keep finding lots of aggregation sites instead of actual results. Filtering by date would help a lot here! :D | 
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.