Hi! I am noticing that if use the built-in VC backend, e.g.
(use-package emacs-lisp-mode
:straight (:type built-in)
<more stuff ....>>
)
Then it breaks "straight-freeze-versions" for me - I get this error:
straight-vc: VC backend ‘built-in’ does not implement method ‘get-commit’
I would suggest (use-package emacs-lisp-mode :straight nil <more stuff...>) instead which is simpler, faster, and avoids this problem, but you have nevertheless correctly identified a bug.
The problem is that I had straight-vc-built-in-local-repo-name return nil to indicate that :local-repo should be set to nil for :type built-in recipes, causing them to be ignored by straight-freeze-versions. Unfortunately, nil _actually_ means to use the default :local-repo value, namely the package name or similar. The interface must be made more expressive, or some minor refactoring needs to be done.
Just hit this myself. @raxod502 thanks for the workaround!
Is there a place to track a resolution of the bug?
Other than this issue? No work has been done as far as I know. Pull requests are welcome, but nobody has contributed one for this issue as of yet.
I have this unexpected behavior when using straight-pull-all and straight-freeze-versions.
org-plus-contrib using straight. Then switched to built-in org.