devlog 1
I should have a dispatch method that receives an XvcRootOpt and runs a command with it. The dispatcher can also update the XvcRoot from None to Some(XvcRoot) in some cases, so it should receive a mutable XvcRootOpt or return one after receiving the ownership.
The issue with having a mutable element is that we need to update XvcRoot from Arc However I can write an Let’s update the type and let the dispatcher update XvcRootInner when only necessary. Let’s see what will require to be updated. We have a bug in Python bindings, that There can be multiple reasons but are you sure that Let’s start testing bu creating another notebook server. The notebook creates am Xvc repo successfully and returns the root with It’s likely that this is caused by something in the background threads. The CLI command completes successfully but we may be giving the command incorrectly. Let’s try Even if you’re giving the incorrect path, it shouldn’t enter an infinite loop. When I give the correct path It returns but it’s also giving an error that it cannot find a repository. You should take a closer look. Let’s add it to others, Added it. Recompiling to get more info when we run You can also make run after commit not to start a new server if there is also one running. Added conditionals and now it runs the server if there is no one running in the background.xvc_root!
macro to replace xvc_root.read()
or whatever required to minimize the code changes. XvcRoot can also be a wrapper object but that’s too much fuss and the responsibility may be mistaken.
xvc.file.track()
enters an infinite loop.xvc
cli works with the same command?xvc.root()
but xvc.file().track("test-data/dir-0001/")
never finishes.dir-0001
only.dir-0001
, it returns. There may be something going on with finding the root of Xvc repo.Xvc
struct wasn’t implementing Debug
, added it.XvcFile
etc.track
with an incorrect path.PORT=7979
if [[ ! -s "$(ps ax | rg -v ps | rg jupyter-lab | rg $PORT)" ]] ; then
jupyter lab --port=$PORT --notebook-dir=Readme/ &
open http://localhost:${PORT}/lab/workspaces/auto-H/tree/Readme.ipynb
fi