From: Jacob Bachmeyer Date: Sun, 13 Nov 2022 05:53:35 +0000 (-0600) Subject: Rename validate_commands to validate_directive X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=eb23ed9aa645923052270125f56d4831a4343060;p=gatekeeper.git Rename validate_commands to validate_directive A new validate_commands procedure is planned that runs during VL phase. --- diff --git a/gatekeeper.pl b/gatekeeper.pl index 385bf5a..7afb0e0 100755 --- a/gatekeeper.pl +++ b/gatekeeper.pl @@ -2185,7 +2185,7 @@ sub guess_email_address_from_signature { } } -=item validate_commands ( $packet, $oplist ) +=item validate_directive ( $packet, $oplist ) Validate the commands in OPLIST as applicable to PACKET. PACKET is an arrayref listing the files considered to be in this packet. OPLIST is an @@ -2195,7 +2195,7 @@ An exception is thrown if validation fails. =cut -sub validate_commands { +sub validate_directive { my $packet = shift; my $ops = shift; @@ -2732,7 +2732,7 @@ foreach my $packet (@packets) { # each list element is an array reference debug($directive_text, '') if DEBUG; } - validate_commands($packet, $oplist); + validate_directive($packet, $oplist); $Phase = 'AA'; # Check that we have a keyring for this package: