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

Remove dependencies to external binarys #333

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

ygerlach
Copy link

I have started to remove some dependencies to external binarys, as easy alternatives are available.

This makes those actions of timeshift faster and more efficient, as fewer syscalls are required to archive the same result. It also allows timeshift to have more detailed knowledge about the errors that might happen.

i have lots to add in future pull requests:

  • remove more dependencies to simple programms, such as cp, ln, touch, mount, umount,...
  • move to a more event driven application design allowing to use async functions of glib
  • fix compiler warnings
  • try to make Main.vala smaller, by moving some functionality into new or other classes
  • make stuff like mountpoints and backup folder in external drives configureable
  • move the application look the shared memory, to be automatically cleared on reboot and/or just use file locks
  • get rid of crontab in favor of systemd timers
  • there are some bigger features i have in mind, but i will create a issue for those in time, to allow for some discussion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant