axel icon indicating copy to clipboard operation
axel copied to clipboard

Just run if state file is not possible

Open sanderjo opened this issue 1 year ago • 3 comments

Closes https://github.com/axel-download-accelerator/axel/issues/381

Typical use case: use axel as a speed test tool, writing to /dev/null

sanderjo avatar Jul 31 '22 20:07 sanderjo

This pull request introduces 1 alert when merging 62d848eb1a6921be1d4c60621b214ea211d561ce into ab2f846168012608b438b76d0758b6b2ff76749d - view on LGTM.com

new alerts:

  • 1 for Time-of-check time-of-use filesystem race condition

lgtm-com[bot] avatar Jul 31 '22 20:07 lgtm-com[bot]

Maybe with a flag to ignore the error this is acceptable, otherwise no; it could mask a legitimate error and there's no way of knowing the state of the download.

ismaell avatar Aug 12 '22 14:08 ismaell

Maybe with a flag to ignore the error this is acceptable,

Which flag name would you suggest?

  • no_state_allowed
  • no_state_needed
  • ignore_state
  • ignore_state_error
  • ...

sanderjo avatar Aug 16 '22 19:08 sanderjo

Which flag name would you suggest?

Maybe --ephemeral-state, meaning the state will not be saved, and just not try to create it at all.

ismaell avatar Oct 28 '22 21:10 ismaell