From fd02d162aae1ef44090312ae17dd0a46b46a9298 Mon Sep 17 00:00:00 2001 From: Paul Brinkmeier Date: Fri, 11 Aug 2023 14:37:51 +0200 Subject: [PATCH] Move Python code into repo root --- .gitignore | 6 +----- py/TODO.md => TODO.md | 0 {py/jon => jon}/__init__.py | 0 {py/jon => jon}/db/__init__.py | 0 {py/jon => jon}/db/add_views.sql | 0 {py/jon => jon}/db/create_correction.sql | 0 {py/jon => jon}/db/deactivate_item.sql | 0 {py/jon => jon}/db/get_groups.sql | 0 {py/jon => jon}/db/get_inventory_overview.sql | 0 {py/jon => jon}/db/get_inventory_report.sql | 0 {py/jon => jon}/db/get_item_by_id.sql | 0 {py/jon => jon}/db/get_items_by_barcode.sql | 0 {py/jon => jon}/db/get_location_by_id.sql | 0 {py/jon => jon}/db/get_locations.sql | 0 {py/jon => jon}/db/get_snacks_by_barcode.sql | 0 {py/jon => jon}/db/get_snacks_by_item_id.sql | 0 {py/jon => jon}/db/transfer_items.sql | 0 {py/jon => jon}/default-config.json | 0 {py/jon => jon}/entry.py | 0 {py/jon => jon}/inventory.py | 0 {py/jon => jon}/location.py | 0 {py/jon => jon}/template_utils.py | 0 {py/jon => jon}/templates/base.html | 0 {py/jon => jon}/templates/entry/edit-item-data.html | 0 {py/jon => jon}/templates/entry/index.html | 0 {py/jon => jon}/templates/entry/select-snack-entry.html | 0 {py/jon => jon}/templates/index.html | 0 {py/jon => jon}/templates/inventory/index.html | 0 {py/jon => jon}/templates/inventory/read_item.html | 0 {py/jon => jon}/templates/inventory/read_report.html | 0 {py/jon => jon}/templates/location/index.html | 0 py/requirements.txt => requirements.txt | 0 32 files changed, 1 insertion(+), 5 deletions(-) rename py/TODO.md => TODO.md (100%) rename {py/jon => jon}/__init__.py (100%) rename {py/jon => jon}/db/__init__.py (100%) rename {py/jon => jon}/db/add_views.sql (100%) rename {py/jon => jon}/db/create_correction.sql (100%) rename {py/jon => jon}/db/deactivate_item.sql (100%) rename {py/jon => jon}/db/get_groups.sql (100%) rename {py/jon => jon}/db/get_inventory_overview.sql (100%) rename {py/jon => jon}/db/get_inventory_report.sql (100%) rename {py/jon => jon}/db/get_item_by_id.sql (100%) rename {py/jon => jon}/db/get_items_by_barcode.sql (100%) rename {py/jon => jon}/db/get_location_by_id.sql (100%) rename {py/jon => jon}/db/get_locations.sql (100%) rename {py/jon => jon}/db/get_snacks_by_barcode.sql (100%) rename {py/jon => jon}/db/get_snacks_by_item_id.sql (100%) rename {py/jon => jon}/db/transfer_items.sql (100%) rename {py/jon => jon}/default-config.json (100%) rename {py/jon => jon}/entry.py (100%) rename {py/jon => jon}/inventory.py (100%) rename {py/jon => jon}/location.py (100%) rename {py/jon => jon}/template_utils.py (100%) rename {py/jon => jon}/templates/base.html (100%) rename {py/jon => jon}/templates/entry/edit-item-data.html (100%) rename {py/jon => jon}/templates/entry/index.html (100%) rename {py/jon => jon}/templates/entry/select-snack-entry.html (100%) rename {py/jon => jon}/templates/index.html (100%) rename {py/jon => jon}/templates/inventory/index.html (100%) rename {py/jon => jon}/templates/inventory/read_item.html (100%) rename {py/jon => jon}/templates/inventory/read_report.html (100%) rename {py/jon => jon}/templates/location/index.html (100%) rename py/requirements.txt => requirements.txt (100%) diff --git a/.gitignore b/.gitignore index 6bbfcec..34f82cc 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,4 @@ -.stack-work/ .vscode/ -.setjonpass -elm-stuff -static/jon.js __pycache__ *.swp -py/jon/config.json +jon/config.json diff --git a/py/TODO.md b/TODO.md similarity index 100% rename from py/TODO.md rename to TODO.md diff --git a/py/jon/__init__.py b/jon/__init__.py similarity index 100% rename from py/jon/__init__.py rename to jon/__init__.py diff --git a/py/jon/db/__init__.py b/jon/db/__init__.py similarity index 100% rename from py/jon/db/__init__.py rename to jon/db/__init__.py diff --git a/py/jon/db/add_views.sql b/jon/db/add_views.sql similarity index 100% rename from py/jon/db/add_views.sql rename to jon/db/add_views.sql diff --git a/py/jon/db/create_correction.sql b/jon/db/create_correction.sql similarity index 100% rename from py/jon/db/create_correction.sql rename to jon/db/create_correction.sql diff --git a/py/jon/db/deactivate_item.sql b/jon/db/deactivate_item.sql similarity index 100% rename from py/jon/db/deactivate_item.sql rename to jon/db/deactivate_item.sql diff --git a/py/jon/db/get_groups.sql b/jon/db/get_groups.sql similarity index 100% rename from py/jon/db/get_groups.sql rename to jon/db/get_groups.sql diff --git a/py/jon/db/get_inventory_overview.sql b/jon/db/get_inventory_overview.sql similarity index 100% rename from py/jon/db/get_inventory_overview.sql rename to jon/db/get_inventory_overview.sql diff --git a/py/jon/db/get_inventory_report.sql b/jon/db/get_inventory_report.sql similarity index 100% rename from py/jon/db/get_inventory_report.sql rename to jon/db/get_inventory_report.sql diff --git a/py/jon/db/get_item_by_id.sql b/jon/db/get_item_by_id.sql similarity index 100% rename from py/jon/db/get_item_by_id.sql rename to jon/db/get_item_by_id.sql diff --git a/py/jon/db/get_items_by_barcode.sql b/jon/db/get_items_by_barcode.sql similarity index 100% rename from py/jon/db/get_items_by_barcode.sql rename to jon/db/get_items_by_barcode.sql diff --git a/py/jon/db/get_location_by_id.sql b/jon/db/get_location_by_id.sql similarity index 100% rename from py/jon/db/get_location_by_id.sql rename to jon/db/get_location_by_id.sql diff --git a/py/jon/db/get_locations.sql b/jon/db/get_locations.sql similarity index 100% rename from py/jon/db/get_locations.sql rename to jon/db/get_locations.sql diff --git a/py/jon/db/get_snacks_by_barcode.sql b/jon/db/get_snacks_by_barcode.sql similarity index 100% rename from py/jon/db/get_snacks_by_barcode.sql rename to jon/db/get_snacks_by_barcode.sql diff --git a/py/jon/db/get_snacks_by_item_id.sql b/jon/db/get_snacks_by_item_id.sql similarity index 100% rename from py/jon/db/get_snacks_by_item_id.sql rename to jon/db/get_snacks_by_item_id.sql diff --git a/py/jon/db/transfer_items.sql b/jon/db/transfer_items.sql similarity index 100% rename from py/jon/db/transfer_items.sql rename to jon/db/transfer_items.sql diff --git a/py/jon/default-config.json b/jon/default-config.json similarity index 100% rename from py/jon/default-config.json rename to jon/default-config.json diff --git a/py/jon/entry.py b/jon/entry.py similarity index 100% rename from py/jon/entry.py rename to jon/entry.py diff --git a/py/jon/inventory.py b/jon/inventory.py similarity index 100% rename from py/jon/inventory.py rename to jon/inventory.py diff --git a/py/jon/location.py b/jon/location.py similarity index 100% rename from py/jon/location.py rename to jon/location.py diff --git a/py/jon/template_utils.py b/jon/template_utils.py similarity index 100% rename from py/jon/template_utils.py rename to jon/template_utils.py diff --git a/py/jon/templates/base.html b/jon/templates/base.html similarity index 100% rename from py/jon/templates/base.html rename to jon/templates/base.html diff --git a/py/jon/templates/entry/edit-item-data.html b/jon/templates/entry/edit-item-data.html similarity index 100% rename from py/jon/templates/entry/edit-item-data.html rename to jon/templates/entry/edit-item-data.html diff --git a/py/jon/templates/entry/index.html b/jon/templates/entry/index.html similarity index 100% rename from py/jon/templates/entry/index.html rename to jon/templates/entry/index.html diff --git a/py/jon/templates/entry/select-snack-entry.html b/jon/templates/entry/select-snack-entry.html similarity index 100% rename from py/jon/templates/entry/select-snack-entry.html rename to jon/templates/entry/select-snack-entry.html diff --git a/py/jon/templates/index.html b/jon/templates/index.html similarity index 100% rename from py/jon/templates/index.html rename to jon/templates/index.html diff --git a/py/jon/templates/inventory/index.html b/jon/templates/inventory/index.html similarity index 100% rename from py/jon/templates/inventory/index.html rename to jon/templates/inventory/index.html diff --git a/py/jon/templates/inventory/read_item.html b/jon/templates/inventory/read_item.html similarity index 100% rename from py/jon/templates/inventory/read_item.html rename to jon/templates/inventory/read_item.html diff --git a/py/jon/templates/inventory/read_report.html b/jon/templates/inventory/read_report.html similarity index 100% rename from py/jon/templates/inventory/read_report.html rename to jon/templates/inventory/read_report.html diff --git a/py/jon/templates/location/index.html b/jon/templates/location/index.html similarity index 100% rename from py/jon/templates/location/index.html rename to jon/templates/location/index.html diff --git a/py/requirements.txt b/requirements.txt similarity index 100% rename from py/requirements.txt rename to requirements.txt