Removes the elpamr-debug variable and instead makes elpa-mirror always log a lot of detail to a background buffer called *elpa-mirror log*. This buffer also contains tar's output, so it should make it easier to see potential errors output by tar and correlate them with what elpa-mirror was doing.
Makes messages and log entries more detailed in general.
Detects errors when cygpath and tar are run. If an error happens, elpa-mirror stops immediately and reports it to the user.
Removes usage of the shell in elpamr--fullpath. This lets us detect errors, as well as prevent possible problems in case the path contains special characters that could get mangled by the shell. It's also a good programming practice not to use an additional shell process when its features aren't needed.
This pull request
elpamr-debug
variable and instead makeselpa-mirror
always log a lot of detail to a background buffer called*elpa-mirror log*
. This buffer also containstar
's output, so it should make it easier to see potential errors output bytar
and correlate them with whatelpa-mirror
was doing.cygpath
andtar
are run. If an error happens,elpa-mirror
stops immediately and reports it to the user.elpamr--fullpath
. This lets us detect errors, as well as prevent possible problems in case the path contains special characters that could get mangled by the shell. It's also a good programming practice not to use an additional shell process when its features aren't needed.