pre-upload: fix uprev checks with new packages & symlink renames
Handle a few more edge cases:
- If we're creating a package from scratch, an uprev is not needed.
- If the user has renamed the existing symlink and modified files/,
then they don't need to do anything else.
- If files/ are modified, but the ebuilds haven't been updated, throw
an error so the uprev is forced.
TEST=created a CL that added an ebuild -> was not rejected
TEST=created a CL that modified an ebuild -> was rejected
Reviewed-by: Doug Anderson <firstname.lastname@example.org>
Tested-by: Mike Frysinger <email@example.com>
2 files changed