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

Clutterreport: /storage/emulated/0/qpython (new) #2842

Open
luziferius opened this issue Jul 21, 2019 · 4 comments

Comments

@luziferius
Copy link

commented Jul 21, 2019

Target

Target: /storage/emulated/0/qpython
Prefix-free: qpython
Path-prefix: /storage/emulated/0/
Type: DIRECTORY
Location: SDCARD
Current keeper state: false
Suggested keeper state: true

Suggested owners

Appname: QPython
Packagename: org.qpython.qpy
Version: 2.6.0 (291)

Current owners

None

SD Maid

Version: 4.14.27 (41427)

Device

Fingerprint: samsung/a5y17ltexx/a5y17lte:8.0.0/R16NW/A520FXXUBCSF1:user/release-keys

Comment

Complex situation here. Contains user created content (Python code and projects) that should be kept. Also contains files that can be cleared on uninstall, like pip-installed libraries from PyPI and temporary files created by Python. Contains log files that can be cleared regularly.

Keep these subdirectories:

  • projects
  • projects3
  • scripts
  • scripts3
  • snippets
  • snippets3
  • notebooks

Can be cleared regularly:

  • log, contains runtime logs
  • cache, contains pip download caches

Can be cleared on uninstall:

  • .notebook
  • .qpyc
  • lib, contains pip installed libraries. This should not contain user content by default. But clearing the Python site-packages may break the kept user projects that depend on the presence of those libs.

@d4rken d4rken added this to the v4.14.31 milestone Jul 22, 2019

@d4rken

This comment has been minimized.

Copy link
Owner

commented Jul 22, 2019

Can be cleared on uninstall:

Selective deletion of subdirectories on uninstall, defined for a single package, is currently not supported.

I'll look into it though.

@d4rken

This comment has been minimized.

Copy link
Owner

commented Aug 7, 2019

Does this share a folder with org.qpython.qpy3?

@luziferius

This comment has been minimized.

Copy link
Author

commented Aug 7, 2019

Just tested with the version from the Play Store. Yes, it shares the qpython directory.

@d4rken d4rken modified the milestones: Next Tasks, v4.14.33 Aug 7, 2019

@d4rken

This comment has been minimized.

Copy link
Owner

commented Aug 7, 2019

Selective deletion of subdirs on uninstall is currently out of scope (not a simple code change), I'll add this to definitions which will cover complete removal (if "show desirable" is enabled) and include subdirs such such as cache/logs within the AppCleaner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.