mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-12 22:25:44 -04:00
fix init
This commit is contained in:
parent
d680c48942
commit
0bd678c30f
1 changed files with 21 additions and 18 deletions
|
@ -353,20 +353,20 @@ STATICFILE_EXTENSIONS = {
|
||||||
# These files are exceptions to the is_empty check when we're trying to init a new dir,
|
# These files are exceptions to the is_empty check when we're trying to init a new dir,
|
||||||
# as they could be from a previous archivebox version, system artifacts, dependencies, etc.
|
# as they could be from a previous archivebox version, system artifacts, dependencies, etc.
|
||||||
ALLOWED_IN_OUTPUT_DIR = {
|
ALLOWED_IN_OUTPUT_DIR = {
|
||||||
'.gitignore',
|
".gitignore",
|
||||||
'lost+found',
|
"lost+found",
|
||||||
'.DS_Store',
|
".DS_Store",
|
||||||
'.venv',
|
".venv",
|
||||||
'venv',
|
"venv",
|
||||||
'virtualenv',
|
"virtualenv",
|
||||||
'.virtualenv',
|
".virtualenv",
|
||||||
'node_modules',
|
"node_modules",
|
||||||
'package.json',
|
"package.json",
|
||||||
'package-lock.json',
|
"package-lock.json",
|
||||||
'yarn.lock',
|
"yarn.lock",
|
||||||
'static',
|
"static",
|
||||||
'sonic',
|
"sonic",
|
||||||
'search.sqlite3',
|
"search.sqlite3",
|
||||||
CRONTABS_DIR_NAME,
|
CRONTABS_DIR_NAME,
|
||||||
ARCHIVE_DIR_NAME,
|
ARCHIVE_DIR_NAME,
|
||||||
SOURCES_DIR_NAME,
|
SOURCES_DIR_NAME,
|
||||||
|
@ -374,15 +374,18 @@ ALLOWED_IN_OUTPUT_DIR = {
|
||||||
CACHE_DIR_NAME,
|
CACHE_DIR_NAME,
|
||||||
PERSONAS_DIR_NAME,
|
PERSONAS_DIR_NAME,
|
||||||
SQL_INDEX_FILENAME,
|
SQL_INDEX_FILENAME,
|
||||||
f'{SQL_INDEX_FILENAME}-wal',
|
f"{SQL_INDEX_FILENAME}-wal",
|
||||||
f'{SQL_INDEX_FILENAME}-shm',
|
f"{SQL_INDEX_FILENAME}-shm",
|
||||||
|
"queue.sqlite3",
|
||||||
|
"queue.sqlite3-wal",
|
||||||
|
"queue.sqlite3-shm",
|
||||||
JSON_INDEX_FILENAME,
|
JSON_INDEX_FILENAME,
|
||||||
HTML_INDEX_FILENAME,
|
HTML_INDEX_FILENAME,
|
||||||
ROBOTS_TXT_FILENAME,
|
ROBOTS_TXT_FILENAME,
|
||||||
FAVICON_FILENAME,
|
FAVICON_FILENAME,
|
||||||
CONFIG_FILENAME,
|
CONFIG_FILENAME,
|
||||||
f'{CONFIG_FILENAME}.bak',
|
f"{CONFIG_FILENAME}.bak",
|
||||||
'static_index.json',
|
"static_index.json",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue