From 085efdb768bb99d99766ac0c80807e3f4664ae9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Samson?= Date: Thu, 4 Jun 2020 19:00:41 +0200 Subject: [PATCH] rename debugger app to elixir_ls_debuger (#280) otherwise it conflicts with OTP debugger --- DEVELOPMENT.md | 2 +- apps/{debugger => elixir_ls_debugger}/.gitignore | 0 apps/{debugger => elixir_ls_debugger}/lib/debugger.ex | 0 apps/{debugger => elixir_ls_debugger}/lib/debugger/cli.ex | 2 +- apps/{debugger => elixir_ls_debugger}/lib/debugger/output.ex | 0 .../lib/debugger/protocol.basic.ex | 0 apps/{debugger => elixir_ls_debugger}/lib/debugger/protocol.ex | 0 apps/{debugger => elixir_ls_debugger}/lib/debugger/server.ex | 0 .../{debugger => elixir_ls_debugger}/lib/debugger/stacktrace.ex | 0 apps/{debugger => elixir_ls_debugger}/lib/debugger/variables.ex | 0 apps/{debugger => elixir_ls_debugger}/mix.exs | 2 +- apps/{debugger => elixir_ls_debugger}/test/debugger_test.exs | 0 .../test/fixtures/mix_project/.gitignore | 0 .../test/fixtures/mix_project/.vscode/launch.json | 0 .../test/fixtures/mix_project/README.md | 0 .../test/fixtures/mix_project/config/config.exs | 0 .../test/fixtures/mix_project/lib/mix_project.ex | 0 .../test/fixtures/mix_project/mix.exs | 0 .../test/fixtures/mix_project/src/hello.erl | 0 .../test/fixtures/mix_project/test/mix_project_fixturetest.exs | 0 .../test/fixtures/mix_project/test/test_helper.exs | 0 apps/{debugger => elixir_ls_debugger}/test/test_helper.exs | 0 apps/elixir_ls_utils/lib/launch.ex | 2 +- 23 files changed, 4 insertions(+), 4 deletions(-) rename apps/{debugger => elixir_ls_debugger}/.gitignore (100%) rename apps/{debugger => elixir_ls_debugger}/lib/debugger.ex (100%) rename apps/{debugger => elixir_ls_debugger}/lib/debugger/cli.ex (93%) rename apps/{debugger => elixir_ls_debugger}/lib/debugger/output.ex (100%) rename apps/{debugger => elixir_ls_debugger}/lib/debugger/protocol.basic.ex (100%) rename apps/{debugger => elixir_ls_debugger}/lib/debugger/protocol.ex (100%) rename apps/{debugger => elixir_ls_debugger}/lib/debugger/server.ex (100%) rename apps/{debugger => elixir_ls_debugger}/lib/debugger/stacktrace.ex (100%) rename apps/{debugger => elixir_ls_debugger}/lib/debugger/variables.ex (100%) rename apps/{debugger => elixir_ls_debugger}/mix.exs (95%) rename apps/{debugger => elixir_ls_debugger}/test/debugger_test.exs (100%) rename apps/{debugger => elixir_ls_debugger}/test/fixtures/mix_project/.gitignore (100%) rename apps/{debugger => elixir_ls_debugger}/test/fixtures/mix_project/.vscode/launch.json (100%) rename apps/{debugger => elixir_ls_debugger}/test/fixtures/mix_project/README.md (100%) rename apps/{debugger => elixir_ls_debugger}/test/fixtures/mix_project/config/config.exs (100%) rename apps/{debugger => elixir_ls_debugger}/test/fixtures/mix_project/lib/mix_project.ex (100%) rename apps/{debugger => elixir_ls_debugger}/test/fixtures/mix_project/mix.exs (100%) rename apps/{debugger => elixir_ls_debugger}/test/fixtures/mix_project/src/hello.erl (100%) rename apps/{debugger => elixir_ls_debugger}/test/fixtures/mix_project/test/mix_project_fixturetest.exs (100%) rename apps/{debugger => elixir_ls_debugger}/test/fixtures/mix_project/test/test_helper.exs (100%) rename apps/{debugger => elixir_ls_debugger}/test/test_helper.exs (100%) diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index 9d0881241..c945a4483 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -1,7 +1,7 @@ # Packaging Bump the changelog -Bump the version numbers in `apps/debugger/mix.exs`, `apps/elixir_ls_utils/mix.exs`, and `apps/language_server/mix.exs` +Bump the version numbers in `apps/elixir_ls_debugger/mix.exs`, `apps/elixir_ls_utils/mix.exs`, and `apps/language_server/mix.exs` Make PR Merge PR Make the tag from the new master diff --git a/apps/debugger/.gitignore b/apps/elixir_ls_debugger/.gitignore similarity index 100% rename from apps/debugger/.gitignore rename to apps/elixir_ls_debugger/.gitignore diff --git a/apps/debugger/lib/debugger.ex b/apps/elixir_ls_debugger/lib/debugger.ex similarity index 100% rename from apps/debugger/lib/debugger.ex rename to apps/elixir_ls_debugger/lib/debugger.ex diff --git a/apps/debugger/lib/debugger/cli.ex b/apps/elixir_ls_debugger/lib/debugger/cli.ex similarity index 93% rename from apps/debugger/lib/debugger/cli.ex rename to apps/elixir_ls_debugger/lib/debugger/cli.ex index 4cc0cc893..1a78cc7d5 100644 --- a/apps/debugger/lib/debugger/cli.ex +++ b/apps/elixir_ls_debugger/lib/debugger/cli.ex @@ -5,7 +5,7 @@ defmodule ElixirLS.Debugger.CLI do def main do WireProtocol.intercept_output(&Output.print/1, &Output.print_err/1) Launch.start_mix() - Application.ensure_all_started(:debugger, :permanent) + Application.ensure_all_started(:elixir_ls_debugger, :permanent) IO.puts("Started ElixirLS debugger v#{Launch.debugger_version()}") Launch.print_versions() warn_if_unsupported_version() diff --git a/apps/debugger/lib/debugger/output.ex b/apps/elixir_ls_debugger/lib/debugger/output.ex similarity index 100% rename from apps/debugger/lib/debugger/output.ex rename to apps/elixir_ls_debugger/lib/debugger/output.ex diff --git a/apps/debugger/lib/debugger/protocol.basic.ex b/apps/elixir_ls_debugger/lib/debugger/protocol.basic.ex similarity index 100% rename from apps/debugger/lib/debugger/protocol.basic.ex rename to apps/elixir_ls_debugger/lib/debugger/protocol.basic.ex diff --git a/apps/debugger/lib/debugger/protocol.ex b/apps/elixir_ls_debugger/lib/debugger/protocol.ex similarity index 100% rename from apps/debugger/lib/debugger/protocol.ex rename to apps/elixir_ls_debugger/lib/debugger/protocol.ex diff --git a/apps/debugger/lib/debugger/server.ex b/apps/elixir_ls_debugger/lib/debugger/server.ex similarity index 100% rename from apps/debugger/lib/debugger/server.ex rename to apps/elixir_ls_debugger/lib/debugger/server.ex diff --git a/apps/debugger/lib/debugger/stacktrace.ex b/apps/elixir_ls_debugger/lib/debugger/stacktrace.ex similarity index 100% rename from apps/debugger/lib/debugger/stacktrace.ex rename to apps/elixir_ls_debugger/lib/debugger/stacktrace.ex diff --git a/apps/debugger/lib/debugger/variables.ex b/apps/elixir_ls_debugger/lib/debugger/variables.ex similarity index 100% rename from apps/debugger/lib/debugger/variables.ex rename to apps/elixir_ls_debugger/lib/debugger/variables.ex diff --git a/apps/debugger/mix.exs b/apps/elixir_ls_debugger/mix.exs similarity index 95% rename from apps/debugger/mix.exs rename to apps/elixir_ls_debugger/mix.exs index abb38e6b8..1e884880f 100644 --- a/apps/debugger/mix.exs +++ b/apps/elixir_ls_debugger/mix.exs @@ -3,7 +3,7 @@ defmodule ElixirLS.Debugger.Mixfile do def project do [ - app: :debugger, + app: :elixir_ls_debugger, version: "0.4.0", build_path: "../../_build", config_path: "../../config/config.exs", diff --git a/apps/debugger/test/debugger_test.exs b/apps/elixir_ls_debugger/test/debugger_test.exs similarity index 100% rename from apps/debugger/test/debugger_test.exs rename to apps/elixir_ls_debugger/test/debugger_test.exs diff --git a/apps/debugger/test/fixtures/mix_project/.gitignore b/apps/elixir_ls_debugger/test/fixtures/mix_project/.gitignore similarity index 100% rename from apps/debugger/test/fixtures/mix_project/.gitignore rename to apps/elixir_ls_debugger/test/fixtures/mix_project/.gitignore diff --git a/apps/debugger/test/fixtures/mix_project/.vscode/launch.json b/apps/elixir_ls_debugger/test/fixtures/mix_project/.vscode/launch.json similarity index 100% rename from apps/debugger/test/fixtures/mix_project/.vscode/launch.json rename to apps/elixir_ls_debugger/test/fixtures/mix_project/.vscode/launch.json diff --git a/apps/debugger/test/fixtures/mix_project/README.md b/apps/elixir_ls_debugger/test/fixtures/mix_project/README.md similarity index 100% rename from apps/debugger/test/fixtures/mix_project/README.md rename to apps/elixir_ls_debugger/test/fixtures/mix_project/README.md diff --git a/apps/debugger/test/fixtures/mix_project/config/config.exs b/apps/elixir_ls_debugger/test/fixtures/mix_project/config/config.exs similarity index 100% rename from apps/debugger/test/fixtures/mix_project/config/config.exs rename to apps/elixir_ls_debugger/test/fixtures/mix_project/config/config.exs diff --git a/apps/debugger/test/fixtures/mix_project/lib/mix_project.ex b/apps/elixir_ls_debugger/test/fixtures/mix_project/lib/mix_project.ex similarity index 100% rename from apps/debugger/test/fixtures/mix_project/lib/mix_project.ex rename to apps/elixir_ls_debugger/test/fixtures/mix_project/lib/mix_project.ex diff --git a/apps/debugger/test/fixtures/mix_project/mix.exs b/apps/elixir_ls_debugger/test/fixtures/mix_project/mix.exs similarity index 100% rename from apps/debugger/test/fixtures/mix_project/mix.exs rename to apps/elixir_ls_debugger/test/fixtures/mix_project/mix.exs diff --git a/apps/debugger/test/fixtures/mix_project/src/hello.erl b/apps/elixir_ls_debugger/test/fixtures/mix_project/src/hello.erl similarity index 100% rename from apps/debugger/test/fixtures/mix_project/src/hello.erl rename to apps/elixir_ls_debugger/test/fixtures/mix_project/src/hello.erl diff --git a/apps/debugger/test/fixtures/mix_project/test/mix_project_fixturetest.exs b/apps/elixir_ls_debugger/test/fixtures/mix_project/test/mix_project_fixturetest.exs similarity index 100% rename from apps/debugger/test/fixtures/mix_project/test/mix_project_fixturetest.exs rename to apps/elixir_ls_debugger/test/fixtures/mix_project/test/mix_project_fixturetest.exs diff --git a/apps/debugger/test/fixtures/mix_project/test/test_helper.exs b/apps/elixir_ls_debugger/test/fixtures/mix_project/test/test_helper.exs similarity index 100% rename from apps/debugger/test/fixtures/mix_project/test/test_helper.exs rename to apps/elixir_ls_debugger/test/fixtures/mix_project/test/test_helper.exs diff --git a/apps/debugger/test/test_helper.exs b/apps/elixir_ls_debugger/test/test_helper.exs similarity index 100% rename from apps/debugger/test/test_helper.exs rename to apps/elixir_ls_debugger/test/test_helper.exs diff --git a/apps/elixir_ls_utils/lib/launch.ex b/apps/elixir_ls_utils/lib/launch.ex index aa8efb5da..87eeadabe 100644 --- a/apps/elixir_ls_utils/lib/launch.ex +++ b/apps/elixir_ls_utils/lib/launch.ex @@ -29,7 +29,7 @@ defmodule ElixirLS.Utils.Launch do end def debugger_version do - {:ok, vsn} = :application.get_key(:debugger, :vsn) + {:ok, vsn} = :application.get_key(:elixir_ls_debugger, :vsn) vsn end