-
Notifications
You must be signed in to change notification settings - Fork 4
Github Tags Are NOT in Chronological Order #16
Comments
After investigating further, we'll most likely take a tapered approach to this issue. In order to support both OSS github and enterprise users, we'll need to wait until this schema change reaches enterprise users. For now we'll take the following approach:
|
Here is the github community issue that helped find the solution to the v4 api. The query should look something like this:
This query will need to be optimized for the I'm open to better solutions, but this is a good starting point. |
Adding to the list of reasons to upgrade. The v3 search api supports only 30 requests per minute, looking into whether or not GraphQL can fix this or not could be very helpful. We've been hitting the rate limits on search consistently for multiple projects now. |
Issue
When comparing commits, tags that are alphabetical are showing up before numerical tags. This causes the comparisons to fail and therefore report nothing.
Cause
https://stackoverflow.com/questions/19452244/github-api-v3-order-tags-by-creation-date
This is an existing and intended feature by github when using the v3 API.
The interesting thing here is that it is possible to sort by date using the v4 GraphQL API.
Fix
There will need to be some discovery work here on what the right way to proceed is.
The text was updated successfully, but these errors were encountered: