openlawlibrary / taf

The Archive Framework
GNU Affero General Public License v3.0
10 stars 10 forks source link

Return a non-zero exit code with `sys.exit` when updater fails #531

Closed n-dusan closed 1 month ago

n-dusan commented 2 months ago

Important for power-users who use taf in conjunction with multiple other commands chained together. e.g. taf repo update && <any_other_command.

Make taf repo update && <any_other_command> execute <any_other_command> only if taf repo update returns a zero exit code.

renatav commented 1 month ago

Closed by merging #550