I am considering using
straight.el, but reading the docs, I have difficulties to understand whether the particular use cases I am interested in are handled as I hope to. Here are the cases:
I have some packages of my own which are hosted on github. Currently, I have a local git repository, and I
git fetchit to a directory within the
load-path. So I basically hope that by using
straight.el, I could reduce it to one directory, the local git repository. But what happens when I edit a file in this repository? As far as I understand,
straight.elwill detect the modified file and rebuild the package. But that would mean that I cannot properly develop the package because it will always affect my current setup. So how do we get around that? Would I need, say, spin off a
developbranch and tell
straight.elto use the
masterbranch? I do not understand how
straight.elwould handle the case that the current branch is not the branch which should be used for compiling and packaging.
The second use case is actually very similar: I clone a github repo and want to edit it, possible to create a PR. Again, my question is: How do I prevent that my edit destroys my current setup, or that it is destroyed when the repo is fetched again from upstream?
Maybe someone could help me to clarify this. If these use cases are not handled properly, I won't change to
straight.el, I guess.