Skip to content

Commit

Permalink
Merge pull request juju#18591 from SimonRichardson/remove-repl-hack
Browse files Browse the repository at this point in the history
juju#18591

This removes the old REPL and instead favours the new one. If there are any missing features, we should port them to the new REPL.

> The King is dead, long live the King!

Instead, you should do the following:

```
$ juju ssh -m controller 0
$ sudo /var/lib/juju/tools/machine-0/jujud db-repl --machine-id 0
```
  • Loading branch information
jujubot authored Jan 8, 2025
2 parents 148f0e0 + cad2011 commit 4b1aa03
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 93 deletions.
17 changes: 0 additions & 17 deletions scripts/dqlite/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,20 +36,3 @@ musl-install:

musl-install-if-missing:
+@./scripts/dqlite/scripts/musl/install-if-missing.sh

repl-install:
+@./scripts/dqlite/scripts/repl/install.sh

repl:
+@./scripts/dqlite/scripts/repl/repl.sh

repl-list-models:
+@./scripts/dqlite/scripts/repl/repl-list-models.sh

ifeq (repl-model,$(firstword $(MAKECMDGOALS)))
REPL_MODEL_ARGS := $(wordlist 2,$(words $(MAKECMDGOALS)),$(MAKECMDGOALS))
$(eval $(REPL_MODEL_ARGS):;@:)
endif

repl-model:
+@./scripts/dqlite/scripts/repl/repl-model.sh $(REPL_MODEL_ARGS)
7 changes: 0 additions & 7 deletions scripts/dqlite/scripts/repl/install.sh

This file was deleted.

18 changes: 0 additions & 18 deletions scripts/dqlite/scripts/repl/repl-list-models.sh

This file was deleted.

17 changes: 0 additions & 17 deletions scripts/dqlite/scripts/repl/repl-model.sh

This file was deleted.

34 changes: 0 additions & 34 deletions scripts/dqlite/scripts/repl/repl.sh

This file was deleted.

0 comments on commit 4b1aa03

Please sign in to comment.