Added tracker for main contributor to footer#748
Added tracker for main contributor to footer#748mjh316 wants to merge 11 commits intosymbol:mainfrom mjh316:main
Conversation
|
✔️ Deploy Preview for nemtech ready! 🔨 Explore the source changes: 0bd56bf 🔍 Inspect the deploy log: https://app.netlify.com/sites/nemtech/deploys/61cf5e7dd877d100095a7a95 😎 Browse the preview: https://deploy-preview-748--nemtech.netlify.app |
segfaultxavi
left a comment
There was a problem hiding this comment.
THANK YOU very much for submitting this!
However, can you fix this problem? The Netlify preview is failing because of this:
5:19:14 AM: Extension error (gitstamp):
5:19:14 AM: Handler <function page_context_handler at 0x7f31ce49f3a0> for event 'html-page-context' threw an exception (exception: not enough values to unpack (expected 2, got 1))
merge commits
|
I've modified the code to handle the case where git.shortlog returns an empty string, but this always happens. Is there any specific configuration that's different for the netlify build vs local besides GITHUB_TOKEN being provided that would be related? |
|
Error seems to occur due to lack of .git folder in deployment. Will have to try another method besides using the global |
Modified gitstamp.py and footer.html as mentioned in #746 to keep track of the main contributor for each page on the footer.