-
-
Notifications
You must be signed in to change notification settings - Fork 49
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 the way update_localdb() works #100
Conversation
Is there any maintainer to review the PR? |
Hi all! This thread has not had any recent activity. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm no C expert, but this looks good to me overall. Also tested it and works flawlessly.
I've left a few comments, but all of them are subjective. Anyone is welcome to dispute them.
C isn't my primary language
Nice job btw! 🎉
Co-authored-by: Seth Falco <[email protected]>
…here in previous commit
What does it do?
Makes the update of a local database not use
/tmp/tldrXXXXXX
temp directory, but download the update archive to a temporary place inside a tldr home directory (currently~/.tldrc/tmp/
), which omits painful cross-FS file manipulation.Why the change?
Makes the local database work on systems where
/tmp/
and$HOME
are on different partitions. Resolves #95.How can this be tested?
Remove tldr home folder (
~/.tldrc
) and runtldr -u
Where to start code review?
c8424d4
Relevant tickets?
#95
Questions?
C isn't my primary language, so any corrections are welcome.