Sarah Hoffmann
|
c7fd0a7af4
|
port wikipedia importance functions to python
|
2021-02-25 18:42:54 +01:00 |
|
Sarah Hoffmann
|
32683f73c7
|
move import-data option to native python
This adds a new dependecy to the Python psutil package.
|
2021-02-25 18:42:54 +01:00 |
|
Sarah Hoffmann
|
7222235579
|
introduce custom object for cmdline arguments
Allows to define special functions over the arguments.
Also splits CLI tests in two files as they have become too many.
|
2021-02-25 18:42:54 +01:00 |
|
Sarah Hoffmann
|
f6e894a53a
|
port database setup function to python
Hide the former PHP functions in a transition command until
they are removed.
|
2021-02-25 18:42:54 +01:00 |
|
Sarah Hoffmann
|
e520613362
|
convert connect() into a context manager
|
2021-02-25 18:42:54 +01:00 |
|
Sarah Hoffmann
|
389138abfe
|
port setup-website to python
|
2021-02-19 17:51:06 +01:00 |
|
Sarah Hoffmann
|
b169e4c88c
|
port check-database function to python
This change also adapts the hints to use the nominatim tool.
Slightly changed checks, so that they are just as effective on
a frozen database.
|
2021-02-18 17:32:30 +01:00 |
|
Sarah Hoffmann
|
101a1f895d
|
port freeze function to python
|
2021-02-17 21:43:15 +01:00 |
|
Sarah Hoffmann
|
7cc4c53adb
|
always return 0 for updates unless there is an error
This is more in line with previous behavioru than returning
a status code when no updates are available.
|
2021-02-11 10:33:49 +01:00 |
|
Sarah Hoffmann
|
de37dc9300
|
forgot to replace one occurence of sql_dir
|
2021-02-09 19:32:05 +01:00 |
|
Sarah Hoffmann
|
b9517c99ae
|
rename sql directory to lib-sql
Also introduces a separate constant for the sql directory, so that
it can be put separately from the rest of the data if required.
|
2021-02-09 15:26:56 +01:00 |
|
Sarah Hoffmann
|
d81e152804
|
integrate analyse of indexing into nominatim tool
|
2021-02-08 22:22:49 +01:00 |
|
Sarah Hoffmann
|
0cbf98c020
|
consolidate warm and db-check into single admin command
|
2021-02-08 21:05:06 +01:00 |
|
Sarah Hoffmann
|
195f9f5ef3
|
split cli.py by subcommands
Reduces file size below 1000 lines.
|
2021-02-08 17:23:05 +01:00 |
|