From bef1ebc47e4662ff70b254de3b98226d79178e09 Mon Sep 17 00:00:00 2001 From: Luke Stebbing Date: Wed, 28 Sep 2022 09:41:50 -0700 Subject: [PATCH] .dockerignore everything in .gitignore --- .dockerignore | 2 +- .gitignore | 31 +++++++++++++++++++------------ Dockerfile | 2 +- cache/.gitignore | 2 -- ice/nn/weights/.gitignore | 1 - papers/.gitignore | 6 ------ ui/.gitignore | 35 ----------------------------------- ui/public/traces/.gitignore | 1 - 8 files changed, 21 insertions(+), 59 deletions(-) mode change 100644 => 120000 .dockerignore delete mode 100644 cache/.gitignore delete mode 100644 ice/nn/weights/.gitignore delete mode 100644 papers/.gitignore delete mode 100644 ui/.gitignore delete mode 100644 ui/public/traces/.gitignore diff --git a/.dockerignore b/.dockerignore deleted file mode 100644 index 6b8710a7..00000000 --- a/.dockerignore +++ /dev/null @@ -1 +0,0 @@ -.git diff --git a/.dockerignore b/.dockerignore new file mode 120000 index 00000000..3e4e48b0 --- /dev/null +++ b/.dockerignore @@ -0,0 +1 @@ +.gitignore \ No newline at end of file diff --git a/.gitignore b/.gitignore index d5657129..27eb3258 100644 --- a/.gitignore +++ b/.gitignore @@ -1,13 +1,20 @@ -secrets -__pycache__ -.coverage* -store/* -.envrc -.env -**/.vscode/* -data -.mypy_cache -.pre-commit-home -log*.txt -.dmypy.json +**/__pycache__ **/.DS_Store +**/.vscode +**/*.pickle +**/*.pt +**/*.sqlite +/.coverage +/.env +/.git +/.mypy_cache +/.pre-commit-home +/data +/papers/*.pdf +/papers/*.txt +!/papers/keenan-2018-tiny.txt +!/papers/keenan-2018.pdf +/store +/ui/.next/ +/ui/node_modules +/ui/public/traces/*.jsonl diff --git a/Dockerfile b/Dockerfile index 4876d993..62726d4f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -41,7 +41,7 @@ ENV PATH="${VIRTUAL_ENV}/bin:${PATH}" RUN python -c "import nltk; nltk.download('punkt')" -COPY ui/package.json ui/package-lock.json ui/ +COPY ui/package.json ui/package-lock.json ui/patches ui/ RUN npm --prefix ui ci COPY . . diff --git a/cache/.gitignore b/cache/.gitignore deleted file mode 100644 index e72d724c..00000000 --- a/cache/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -*.pickle -*.sqlite diff --git a/ice/nn/weights/.gitignore b/ice/nn/weights/.gitignore deleted file mode 100644 index 4b6ebe5f..00000000 --- a/ice/nn/weights/.gitignore +++ /dev/null @@ -1 +0,0 @@ -*.pt diff --git a/papers/.gitignore b/papers/.gitignore deleted file mode 100644 index bf892bb7..00000000 --- a/papers/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -*.pdf -*.txt - -# For tests -!keenan-2018-tiny.txt -!keenan-2018.pdf diff --git a/ui/.gitignore b/ui/.gitignore deleted file mode 100644 index 737d8721..00000000 --- a/ui/.gitignore +++ /dev/null @@ -1,35 +0,0 @@ -# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. - -# dependencies -/node_modules -/.pnp -.pnp.js - -# testing -/coverage - -# next.js -/.next/ -/out/ - -# production -/build - -# misc -.DS_Store -*.pem - -# debug -npm-debug.log* -yarn-debug.log* -yarn-error.log* -.pnpm-debug.log* - -# local env files -.env*.local - -# vercel -.vercel - -# typescript -*.tsbuildinfo diff --git a/ui/public/traces/.gitignore b/ui/public/traces/.gitignore deleted file mode 100644 index 2fb4e2d9..00000000 --- a/ui/public/traces/.gitignore +++ /dev/null @@ -1 +0,0 @@ -*.jsonl