New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Record git revision during the installation #560
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #560 +/- ##
=======================================
Coverage 99.49% 99.49%
=======================================
Files 50 50
Lines 8739 8745 +6
Branches 624 624
=======================================
+ Hits 8695 8701 +6
Misses 25 25
Partials 19 19 ☔ View full report in Codecov by Sentry. |
@grwlf I like this! Do you think it would be a good idea to print this along with the version? Maybe a |
@erick-xanadu I think it would be nice indeed, but it would require discussions and so I'd prefer to skip it for now because I think it is important to have at least something. The investigation is required to find out the "most standard" solution. The |
Co-authored-by: David Ittah <dime10@users.noreply.github.com>
By this PR we introduce and auto-generated
catalyst._revision
file containing__revision__
variable. When possible, this variable will contain latest known Git revision. In particular, users will be able to report the exact revisions by doingimport catalyst; print(catalyst.__revision__)
before submitting issues.