Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change parts db path #377

Open
dzid26 opened this issue Oct 19, 2023 · 2 comments
Open

Change parts db path #377

dzid26 opened this issue Oct 19, 2023 · 2 comments
Labels
enhancement New feature or request feature request A new feature is requested

Comments

@dzid26
Copy link
Contributor

dzid26 commented Oct 19, 2023

Is your feature request related to a problem? Please describe.
The database is by default downloaded here
Documents are by default synchronized to the the cloud. It's a Windows thing and it is convenient. Sycnhroinizing plugins and other kicad settings might be convenient too. Unfortunately, jlcpcb plugin stores 2GB of JLC data in the documents as well.
C:\Users\dzidm\OneDrive\Documents\KiCad\7.0\3rdparty\plugins\com_github_bouni_kicad-jlcpcb-tools\jlcpcb

Describe the solution you'd like
Change default path for storing database.

Describe alternatives you've considered
Ability (setting) to move jlc database to some external temp folder.

Additional context
image

@dzid26
Copy link
Contributor Author

dzid26 commented Oct 19, 2023

OneDrive also gives the ability to exclude specific uploads based on file extensions. I think this requires changing group policy.
image

*.bak is a no-brainer.
Excluding .db is not ideal, but a viable workaround.
image

Hmm, actually, OneDrive interface allows only to exclude 3 letter extensions.

Hmm, after removing part.db.bak OneDrive removed it locally despite .bak exclusion. Fortunately after recreating the file, it was not uploaded and was not removed.

Btw, bonus, turning on windows NTFS file compression on the folder saves 750MB on the disk per db.
image

@Bouni
Copy link
Owner

Bouni commented Oct 26, 2023

I agree that we should have a config option for setting the path for the db file. Will look into it soon. About the compression, there is not much I can do and I don't want to put too much effort into a platform specific feature.

@Bouni Bouni added enhancement New feature or request feature request A new feature is requested labels Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature request A new feature is requested
2 participants