Nightly builds are less stable versions of our software, generated daily to include the latest changes and updates. These builds are primarily used for testing and identifying potential issues in development.
Once a nightly build has been validated and deemed reliable, it is promoted to the beta stage, where it undergoes further testing. For each beta build, a notification mail is sent to the mailing lists (texmacs-users@texmacs.org and texmacs-dev@gnu.org).
After thorough validation and ensuring stability, the beta version is finally released to production, making it the official, stable version.
diff($date_obj);
if ($diff->m > $month_limit) {
// continue;
}
// check if the file Warning.txt exists
$comment = "";
if (file_exists("$directory/$date/Warning.txt")) {
$comment = file_get_contents("$directory/$date/Warning.txt");
}
$builds[$date] = array();
$builds = list_builds_arch("$directory/$date", $type, $date, $comment, $builds);
}
return $builds;
}
$builds = list_builds($beta_directory, "beta", 4);
$builds = list_builds($nightly_directory, "nightly", 2, $builds);
// sort reverse by date
krsort($builds);
// generate the html for the builds
function generate_html_builds($builds) {
$html = "
";
$html .= "
Date
Rev
OS
Arch
Qt
Type
Signed (and Notarized)
Download
Comments
";
$html .= "";
foreach ($builds as $date => $os_arch) {
foreach ($os_arch as $os => $arch_url) {
foreach ($arch_url as $arch => $info) {
# Day Month(full) Year
$formatted_date = DateTime::createFromFormat('Ymd', $date)->format('d F Y');
$url = $info["url"];
$type = $info["type"];
$comment = $info["comment"];
$signed = $info["signed"];
$rev = $info["rev"];
$qt = $info["qt"];
$os_class = strtolower($os);
// remove number and _ from os_class
$os_class = preg_replace("/[_\d]/", "", $os_class);
$os_class = str_replace(" ", "", $os_class);
$html .= "