Skip to content
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.

Commit

Permalink
Merge branch 'main' of github.com:hotosm/tm-admin
Browse files Browse the repository at this point in the history
Sync with main.
  • Loading branch information
rsavoye committed Dec 14, 2023
2 parents 6c67fbb + 908006a commit 555f9a8
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ FROM runtime as ci
ARG PYTHON_IMG_TAG
COPY --from=extract-deps \
/opt/python/requirements-ci.txt /opt/python/
RUN mv /root/.local/bin/* /usr/local/bin/ \
&& mv /root/.local/lib/python${PYTHON_IMG_TAG}/site-packages/* \
RUN cp -r /root/.local/bin/* /usr/local/bin/ \
&& cp -r /root/.local/lib/python${PYTHON_IMG_TAG}/site-packages/* \
/usr/local/lib/python${PYTHON_IMG_TAG}/site-packages/ \
&& set -ex \
&& apt-get update \
Expand All @@ -131,7 +131,7 @@ RUN mv /root/.local/bin/* /usr/local/bin/ \
&& pip install --upgrade --no-warn-script-location \
--no-cache-dir -r \
/opt/python/requirements-ci.txt \
&& rm -r /opt/python \
&& rm -r /opt/python && rm -r /root/.local \
# Pre-compile packages to .pyc (init speed gains)
&& python -c "import compileall; compileall.compile_path(maxlevels=10, quiet=1)"
# Override entrypoint, as not possible in Github action
Expand Down
2 changes: 1 addition & 1 deletion docs/api.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# API Docs for TM-Admin

## tmadmin-manage.py
## tmadmin_manage.py

::: tm_admin.tmadmin-manage
options:
Expand Down
2 changes: 1 addition & 1 deletion docs/dataflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ internal data structure for that file. More information on the config file
[is here](configuring.md).

The actual database schemas are created from the generated SQL
files. The *tmadmin-manage.py* file has a class that also runs
files. The *tmadmin_manage.py* file has a class that also runs
standalone and generates all the SQL, python, and protobuf files using
the *Generate* class. Once it generates the SQL files, it creates the
database and tables.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,4 @@ exclude = [
convention = "google"

[project.scripts]
tmadmin-manage = "tm_admin.tmadmin-manage:main"
tmadmin-manage = "tm_admin.tmadmin_manage:main"
File renamed without changes.

0 comments on commit 555f9a8

Please sign in to comment.