From 82ba28f1976305c1163adb5993745604ccb696cc Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Mon, 27 Jul 2020 20:45:20 +0100 Subject: [PATCH] chore: Move //fun/tvldb -> //fun/paroxysm Say ~my~ its name! Change-Id: I7890318aef984af0f6bc011de32282f16e01cbb3 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1483 Tested-by: BuildkiteCI Reviewed-by: eta --- ci-builds.nix | 3 ++- fun/{tvldb => paroxysm}/.gitignore | 0 fun/{tvldb => paroxysm}/Cargo.lock | 0 fun/{tvldb => paroxysm}/Cargo.toml | 0 fun/{tvldb => paroxysm}/OWNERS | 0 fun/{tvldb => paroxysm}/README.md | 0 fun/{tvldb => paroxysm}/default.nix | 2 +- fun/paroxysm/docker/default.nix | 7 +++++++ .../migrations/20181209140247_initial/down.sql | 0 .../migrations/20181209140247_initial/up.sql | 0 .../migrations/20181218142013_fix_unique/down.sql | 0 .../migrations/20181218142013_fix_unique/up.sql | 0 fun/{tvldb => paroxysm}/src/cfg.rs | 0 fun/{tvldb => paroxysm}/src/keyword.rs | 0 fun/{tvldb => paroxysm}/src/main.rs | 0 fun/{tvldb => paroxysm}/src/models.rs | 0 fun/{tvldb => paroxysm}/src/schema.rs | 0 fun/tvldb/docker/default.nix | 7 ------- 18 files changed, 10 insertions(+), 9 deletions(-) rename fun/{tvldb => paroxysm}/.gitignore (100%) rename fun/{tvldb => paroxysm}/Cargo.lock (100%) rename fun/{tvldb => paroxysm}/Cargo.toml (100%) rename fun/{tvldb => paroxysm}/OWNERS (100%) rename fun/{tvldb => paroxysm}/README.md (100%) rename fun/{tvldb => paroxysm}/default.nix (89%) create mode 100644 fun/paroxysm/docker/default.nix rename fun/{tvldb => paroxysm}/migrations/20181209140247_initial/down.sql (100%) rename fun/{tvldb => paroxysm}/migrations/20181209140247_initial/up.sql (100%) rename fun/{tvldb => paroxysm}/migrations/20181218142013_fix_unique/down.sql (100%) rename fun/{tvldb => paroxysm}/migrations/20181218142013_fix_unique/up.sql (100%) rename fun/{tvldb => paroxysm}/src/cfg.rs (100%) rename fun/{tvldb => paroxysm}/src/keyword.rs (100%) rename fun/{tvldb => paroxysm}/src/main.rs (100%) rename fun/{tvldb => paroxysm}/src/models.rs (100%) rename fun/{tvldb => paroxysm}/src/schema.rs (100%) delete mode 100644 fun/tvldb/docker/default.nix diff --git a/ci-builds.nix b/ci-builds.nix index 01dd6d58e..f9eca106a 100644 --- a/ci-builds.nix +++ b/ci-builds.nix @@ -41,8 +41,9 @@ in lib.fix (self: { amsterdump clbot gemma + paroxysm + paroxysm.docker quinistry - tvldb watchblob wcl ]; diff --git a/fun/tvldb/.gitignore b/fun/paroxysm/.gitignore similarity index 100% rename from fun/tvldb/.gitignore rename to fun/paroxysm/.gitignore diff --git a/fun/tvldb/Cargo.lock b/fun/paroxysm/Cargo.lock similarity index 100% rename from fun/tvldb/Cargo.lock rename to fun/paroxysm/Cargo.lock diff --git a/fun/tvldb/Cargo.toml b/fun/paroxysm/Cargo.toml similarity index 100% rename from fun/tvldb/Cargo.toml rename to fun/paroxysm/Cargo.toml diff --git a/fun/tvldb/OWNERS b/fun/paroxysm/OWNERS similarity index 100% rename from fun/tvldb/OWNERS rename to fun/paroxysm/OWNERS diff --git a/fun/tvldb/README.md b/fun/paroxysm/README.md similarity index 100% rename from fun/tvldb/README.md rename to fun/paroxysm/README.md diff --git a/fun/tvldb/default.nix b/fun/paroxysm/default.nix similarity index 89% rename from fun/tvldb/default.nix rename to fun/paroxysm/default.nix index 6e6ab387f..214f2fdcb 100644 --- a/fun/tvldb/default.nix +++ b/fun/paroxysm/default.nix @@ -4,7 +4,7 @@ let pkgs = depot.third_party; in pkgs.naersk.buildPackage { - name = "tvldb"; + name = "paroxysm"; version = "0.0.1"; src = ./.; buildInputs = [pkgs.openssl pkgs.pkgconfig pkgs.postgresql.lib]; diff --git a/fun/paroxysm/docker/default.nix b/fun/paroxysm/docker/default.nix new file mode 100644 index 000000000..824259804 --- /dev/null +++ b/fun/paroxysm/docker/default.nix @@ -0,0 +1,7 @@ +{ depot, ... }: + +depot.third_party.dockerTools.buildLayeredImage { + name = "paroxysm"; + contents = [ depot.fun.paroxysm ]; + config.Entrypoint = [ "${depot.fun.paroxysm}/bin/paroxysm" ]; +} diff --git a/fun/tvldb/migrations/20181209140247_initial/down.sql b/fun/paroxysm/migrations/20181209140247_initial/down.sql similarity index 100% rename from fun/tvldb/migrations/20181209140247_initial/down.sql rename to fun/paroxysm/migrations/20181209140247_initial/down.sql diff --git a/fun/tvldb/migrations/20181209140247_initial/up.sql b/fun/paroxysm/migrations/20181209140247_initial/up.sql similarity index 100% rename from fun/tvldb/migrations/20181209140247_initial/up.sql rename to fun/paroxysm/migrations/20181209140247_initial/up.sql diff --git a/fun/tvldb/migrations/20181218142013_fix_unique/down.sql b/fun/paroxysm/migrations/20181218142013_fix_unique/down.sql similarity index 100% rename from fun/tvldb/migrations/20181218142013_fix_unique/down.sql rename to fun/paroxysm/migrations/20181218142013_fix_unique/down.sql diff --git a/fun/tvldb/migrations/20181218142013_fix_unique/up.sql b/fun/paroxysm/migrations/20181218142013_fix_unique/up.sql similarity index 100% rename from fun/tvldb/migrations/20181218142013_fix_unique/up.sql rename to fun/paroxysm/migrations/20181218142013_fix_unique/up.sql diff --git a/fun/tvldb/src/cfg.rs b/fun/paroxysm/src/cfg.rs similarity index 100% rename from fun/tvldb/src/cfg.rs rename to fun/paroxysm/src/cfg.rs diff --git a/fun/tvldb/src/keyword.rs b/fun/paroxysm/src/keyword.rs similarity index 100% rename from fun/tvldb/src/keyword.rs rename to fun/paroxysm/src/keyword.rs diff --git a/fun/tvldb/src/main.rs b/fun/paroxysm/src/main.rs similarity index 100% rename from fun/tvldb/src/main.rs rename to fun/paroxysm/src/main.rs diff --git a/fun/tvldb/src/models.rs b/fun/paroxysm/src/models.rs similarity index 100% rename from fun/tvldb/src/models.rs rename to fun/paroxysm/src/models.rs diff --git a/fun/tvldb/src/schema.rs b/fun/paroxysm/src/schema.rs similarity index 100% rename from fun/tvldb/src/schema.rs rename to fun/paroxysm/src/schema.rs diff --git a/fun/tvldb/docker/default.nix b/fun/tvldb/docker/default.nix deleted file mode 100644 index ab99dbb0d..000000000 --- a/fun/tvldb/docker/default.nix +++ /dev/null @@ -1,7 +0,0 @@ -{ depot, ... }: - -depot.third_party.dockerTools.buildLayeredImage { - name = "tvldb"; - contents = [ depot.fun.tvldb ]; - config.Entrypoint = [ "${depot.fun.tvldb}/bin/paroxysm" ]; -}