Trying to find release for commit 2c95a77cf93781f296883d5dbafcdc18e4389656

johncblacker
Posts: 6
Joined: Mon Mar 18, 2019 11:47 pm

Trying to find release for commit 2c95a77cf93781f296883d5dbafcdc18e4389656

Postby johncblacker » Mon Mar 18, 2019 11:59 pm

  1. I'm trying to find out which release of esp-idf is associated with the
  2. commit hash: 2c95a77cf93781f296883d5dbafcdc18e4389656.  And, in general, if I have a commit hash, how can I find out which release it belongs to?  I'm trying to build micropython for ESP32 and it has SUPHASH values pertaining to the supported release; but I don't know how to get from SUPHASH to a genuine release number.

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: Trying to find release for commit 2c95a77cf93781f296883d5dbafcdc18e4389656

Postby ESP_Angus » Tue Mar 19, 2019 12:05 am

Hi John,

If you have ESP-IDF checked out on your system somewhere, the easiest thing to do is to go into the ESP-IDF directory and type:

Code: Select all

$ git describe --tags 2c95a77cf93781f296883d5dbafcdc18e4389656
v3.0-dev-1028-g2c95a77cf
This tells us that this commit was not a release, it was a development version prior to ESP-IDF v3.0. "git log 2c95a77cf93781f296883d5dbafcdc18e4389656" will show the history of commits up to and including that one, which tells us that this particular commit was made in October 2017.

You can also view individual commits on GitHub (although it won't tell you the 'git describe' version summary): https://github.com/espressif/esp-idf/co ... 18e4389656

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: Trying to find release for commit 2c95a77cf93781f296883d5dbafcdc18e4389656

Postby ESP_Angus » Tue Mar 19, 2019 12:08 am

For more about the ESP-IDF versioning scheme, see here:
https://docs.espressif.com/projects/esp ... sions.html

(I think that so far MicroPython hasn't used ESP-IDF releases or release branches, they update to the master branchperiodically instead.)

Who is online

Users browsing this forum: Bing [Bot], pkf1111 and 165 guests