Lines Matching refs:context

430     my ($filename, $context) = @_;
453 my $language_descriptor = ProcessLanguageDescription($language_element, $context);
462 my $platform_descriptor = ProcessPlatformDescription($platform_element, $context);
471 my $package_descriptor = ProcessPackageDescription($package_element, $context);
479 my $package_descriptor = ProcessPlatformPackageDescription($package_element, $context);
488 my $download_descriptor = ProcessDownloadDescription($download_element, $context);
493 if ($context->{'command'} =~ /^(build|upload)$/)
498 … push @{$release->{'builds'}}, ProcessBuildDescription($build_element, $context, $release);
503 if ($context->{'command'} eq "wiki")
511 $context,
534 my ($build_element, $context, $release_descriptor) = @_;
564 my @languages = CheckLanguageSet($context, @$languages);
586 my ($element, $context) = @_;
621 my ($element, $context) = @_;
647 my ($element, $context) = @_;
680 my ($element, $context) = @_;
717 my ($element, $context, $release_descriptor) = @_;
753 my ($element, $context) = @_;
836 my ($context, @languages) = @_;
855 my $message_head = $context->{'keep-going'} ? "WARNING" : "ERROR";
858 if ($context->{'keep-going'})
891 my ($release_descriptor, $context) = @_;
893 my $filename = $context->{'output-filename'};
918 if ($context->{'build-only-missing'})
949 if ($context->{'dry-run'})
963 if ( ! defined $context->{'output-filename'})
970 $context->{'max-process-count'});
971 if ($context->{'dry-run'})
988 my ($release_descriptor, $context) = @_;
990 if ( ! defined $context->{'upload-destination'})
998 ProvideChecksums($context, @download_sets);
999 my $source_path = PrepareUploadArea($context, @download_sets);
1004 if ( ! UploadFilesViaRsync($context, $source_path, @download_sets))
1023 my ($context, @download_sets) = @_;
1035 if ($context->{'dry-run'})
1065 my ($context, $source_path, @download_sets) = @_;
1078 my $upload_destination = $context->{'upload-destination'};
1091 if ($context->{'dry-run'})
1093 printf "would run %s up to %d times\n", $command, $context->{'max-upload-count'};
1098 my $max_run_count = $context->{'max-upload-count'};
1181 my ($context, @download_sets) = @_;
1193 if ($context->{'dry-run'})
1220 if ($context->{'dry-run'})
1247 if ($context->{'dry-run'})
1408 my ($release_descriptor, $context) = @_;
1410 open my $out, ">", $context->{'output-filename'};
1442 if ($context->{'check-links'})
1490 $context,
1499 if ($context->{'check-links'})
1632 $context,
1663 $context,
1673 CreateLink($url, $extension, $context),
1676 CreateLink($url.".asc", "ASC", $context),
1677 CreateLink($url.".md5", "MD5", $context),
1678 CreateLink($url.".sha256", "SHA256", $context),
1694 my ($context,
1705 if ($context->{'check-links'})
1730 if ($context->{'check-links'})
1743 my ($url, $text, $context) = @_;
1746 if ($context->{'check-links'})
1768 elsif ($context->{'mark-broken-links'})
1819 my $context = ProcessCommandline(@ARGV);
1820 my $release_descriptor = ReadReleaseDescription($context->{'filename'}, $context);
1821 if ($context->{'command'} eq "build")
1823 WriteMakefile($release_descriptor, $context);
1825 elsif ($context->{'command'} eq "upload")
1827 Upload($release_descriptor, $context);
1829 elsif ($context->{'command'} eq "wiki")
1831 Wiki($release_descriptor, $context);