abmyii

Results 24 comments of abmyii

@pchote Have you considered creating tests for the engine so as to avoid regressions such as these in the future? I know it will be a painful task, but it...

I'll submit a PR to whichever repo if this solution is acceptable. Also, I'd appreciate any insight to the questions I had!

No problem, thank you very much for your quick reply and for this awesome program!

> Just blow away and re-create create the new repo storage over and over until it matches the condition you want. Do you mean delete the repo and recreate it...

Hmm, so I tried that before too (I had a similar idea but in the InitRepoWithTime function itself) but `dEnv.bestEffortDeleteAll` didn't seem to do anything, and it doesn't work now...

@zachmu Is there a way to clear the DoltCliConfig or reset dEnv? I'm running into https://github.com/dolthub/dolt/blob/20e4f9b015105a4827e0264a9fd844ec17dfabec/go/libraries/utils/config/config_hierarchy.go#L52 when trying to reinitialize the repo.

> Is there a way to clear the DoltCliConfig or reset dEnv? I'm running into So I fixed this using `dEnv.Config, _ = env.LoadDoltCliConfig(env.GetCurrentUserHomeDir, dEnv.FS)` (probably a terrible hack, but...

@zachmu https://github.com/abmyii/dolt/tree/init-fun-new - cleaner implementation, but as before it often just runs in an infinite loop. I had one instance where it completed in around a minute but apart from...

> It's also quite volatile - running ls .dolt whilst its running causes the Delete to fail and the program to stop. I just realised this is due to me...