<commit_before># Propagate manual_ok_all_releases from one release to another

use strict;
use DBI;
use Getopt::Long;
use IO::File;
use File::Basename;

my ($host, $port, $dbname, $user, $pass, $dbname, $old_release, $new_release, $quiet);

GetOptions('user=s'            => \$user,
	   'pass=s'            => \$pass,
	   'host=s'            => \$host,
	   'port=i'            => \$port,
	   'dbname=s'          => \$dbname,
           'old_release=i'     => \$old_release,
	   'new_release=i'     => \$new_release,
	   'quiet'             => \$quiet,
	   'help'              => sub { usage(); exit(0); });

# TODO - set defaults to ens-staging

$user    = $user || "ensadmin";
$pass    = $pass || "<PASSWORD>";
$host    = $host || "ens-staging";
$port    = $port ||  "3306";
$dbname  = $dbname || "gp1_healthchecks";

if (!($old_release && $new_release)) {
  print "Must specify -old_release and -new_release\n";<commit_msg>*** empty log message ***<commit_after># Propagate manual_ok_all_releases from one release to another

use strict;
use DBI;
use Getopt::Long;
use IO::File;
use File::Basename;

my ($host, $port, $dbname, $user, $pass, $dbname, $old_release, $new_release, $quiet);

GetOptions('user=s'            => \$user,
	   'pass=s'            => \$pass,
	   'host=s'            => \$host,
	   'port=i'            => \$port,
	   'dbname=s'          => \$dbname,
           'old_release=i'     => \$old_release,
	   'new_release=i'     => \$new_release,
	   'quiet'             => \$quiet,
	   'help'              => sub { usage(); exit(0); });

# TODO - set defaults to ens-staging

$user    = $user || "ensadmin";
$pass    = $pass || "<PASSWORD>";
$host    = $host || "ens-staging";
$port    = $port ||  "3306";
$dbname  = $dbname || "healthchecks";

if (!($old_release && $new_release)) {
  print "Must specify -old_release and -new_release\n";
{'fraction_non_alphanumeric': 0.1916038751345533, 'fraction_numerical': 0.005920344456404736, 'mean_word_length': 2.5141776937618148, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5776698', 'n_tokens_mistral': 700, 'n_tokens_neox': 653, 'n_words': 157}