softwarefactory-project / rdopkg

power to the packagers
Apache License 2.0
28 stars 21 forks source link

RFE: patch: return 0 on no new patches #151

Closed yac closed 6 years ago

yac commented 6 years ago

Currently, rdopkg patch returns 1 when there are no new patches (noop) as well as on error and there is no way to know what happened without examining rdopkg output.

Change this behavior so that non-zero exit code is only returned on error - treat no new patches as a success.

This was indirectly requested in #150 .

yac commented 6 years ago

This was fixed in 4c35b15b in 0.46.0.