Skip to content

Datastorage: do not create unnecessary folders#10162

Merged
hius07 merged 17 commits into
koreader:masterfrom
hius07:datastorage-clear
Mar 2, 2023
Merged

Datastorage: do not create unnecessary folders#10162
hius07 merged 17 commits into
koreader:masterfrom
hius07:datastorage-clear

Conversation

@hius07

@hius07 hius07 commented Feb 25, 2023

Copy link
Copy Markdown
Member

They are:
docsettings - will be created automatically
history - not needed
patches - must be created manually by an experienced user


This change is Reviewable

@hius07 hius07 requested a review from Frenzie as a code owner February 25, 2023 09:13
Comment thread Makefile
-xr!*clipboard$ \
-xr!*data/dict$ \
-xr!*data/tessdata$ \
-xr!*history$ \

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comes across as counter to this PR, or was it previously excluded by accident?

Comment thread datastorage.lua
Comment on lines -63 to +65
"cache", "clipboard",
"data", "data/dict", "data/tessdata", "docsettings",
"history", "ota", "patches", "plugins",
"screenshots", "settings", "styletweaks",
"cache",
"clipboard",
"data",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good for one line per dir.
May be keep the ones a user may/will find, but we don't want created, commented out, as a reference of the koreader/ subdirectories ?

        "data",
        -- "docsettings", -- created when needed
        -- "history", -- legacy/obsolete sidecar files
        -- "patches", -- must be created manually by the interested user

@hius07 hius07 merged commit fe7b10f into koreader:master Mar 2, 2023
@hius07 hius07 deleted the datastorage-clear branch March 2, 2023 06:39
@hius07 hius07 added this to the 2023.03 milestone Mar 2, 2023
0xstillb pushed a commit to 0xstillb/koreader-thai that referenced this pull request May 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants