releaseAutomation/fcls4releasenotes.pl
changeset 82 dbc58074ae06
parent 81 63e14a36aefd
child 87 97b833888afe
equal deleted inserted replaced
81:63e14a36aefd 82:dbc58074ae06
    73 my $working_sub_directory="fcl_extraction";
    73 my $working_sub_directory="fcl_extraction";
    74 my $working_pdk1_directory="pdk1";
    74 my $working_pdk1_directory="pdk1";
    75 my $working_pdk2_directory="pdk2";
    75 my $working_pdk2_directory="pdk2";
    76 
    76 
    77 # Name of the file that we are creating to hold the information necessary for the Release Notes
    77 # Name of the file that we are creating to hold the information necessary for the Release Notes
    78 my $name_of_file_to_publish="sf.releasenotes.wiki.txt";
    78 my $name_of_file_to_publish="releaseNotes.wiki.txt";
    79 #Location for that file
    79 #Location for that file
    80 # This values need to be overwritten!!!
    80 # This values need to be overwritten!!!
    81 my $location_of_file_to_publish="c:\\temp";
    81 my $location_of_file_to_publish="c:\\temp";
    82 my $path_to_file_to_publish="$location_of_file_to_publish\\$name_of_file_to_publish";
    82 my $path_to_file_to_publish="$location_of_file_to_publish\\$name_of_file_to_publish";
    83 
    83 
   880 
   880 
   881 # Enter the beginning of the section for general information about the pdk and it's predecessor.
   881 # Enter the beginning of the section for general information about the pdk and it's predecessor.
   882 print FCLCOMPARISONFILE <<"EOT";
   882 print FCLCOMPARISONFILE <<"EOT";
   883 == Packages ==
   883 == Packages ==
   884 
   884 
   885 This sectin is about general information on the packages included in the platfrom.\n
   885 This section is about general information on the packages included in the platform.
       
   886 
   886 This is an analysis between '''$pdk2_correct_name_to_use''' and '''$pdk1_correct_name_to_use'''
   887 This is an analysis between '''$pdk2_correct_name_to_use''' and '''$pdk1_correct_name_to_use'''
       
   888 
   887 EOT
   889 EOT
   888 
   890 
   889 
   891 
   890 print FCLCOMPARISONFILE "\n Number total of packages in $pdk1_correct_name_to_use is: '''$total_packages_pdk1'''\n";
   892 print FCLCOMPARISONFILE "Number total of packages in $pdk1_correct_name_to_use is: '''$total_packages_pdk1'''\n\n";
   891 print FCLCOMPARISONFILE "\n Number total of packages in $pdk2_correct_name_to_use is: '''$total_packages_pdk2'''\n";
   893 print FCLCOMPARISONFILE "Number total of packages in $pdk2_correct_name_to_use is: '''$total_packages_pdk2'''\n\n";
   892 
   894 
   893 print FCLCOMPARISONFILE "=== Packages added ===\n\n";
   895 print FCLCOMPARISONFILE "=== Packages added ===\n\n";
   894 print FCLCOMPARISONFILE "\n Number total of packages added in $pdk2_correct_name_to_use is: '''$total_packages_added'''\n\n";
   896 print FCLCOMPARISONFILE "Number total of packages added in $pdk2_correct_name_to_use is: '''$total_packages_added'''\n\n";
   895 foreach $val (@packages_added_table)
   897 foreach $val (@packages_added_table)
   896 {
   898 {
   897 	if($pckg_name_array{$val})
   899 	if($pckg_name_array{$val})
   898 	{
   900 	{
   899 		print FCLCOMPARISONFILE "''' $pckg_name_array{$val} ($pckg_path_name_array{$val}) '''\n\n\n";
   901 		print FCLCOMPARISONFILE "''' $pckg_name_array{$val} ($pckg_path_name_array{$val}) '''\n\n";
   900 	}
   902 	}
   901 	else
   903 	else
   902 	{
   904 	{
   903 		print FCLCOMPARISONFILE "''' $val ($pckg_path_name_array{$val}) '''\n\n\n";
   905 		print FCLCOMPARISONFILE "''' $val ($pckg_path_name_array{$val}) '''\n\n";
   904 	}
   906 	}
   905 }
   907 }
   906 
   908 
   907 print FCLCOMPARISONFILE "=== Packages removed ===\n\n\n";
   909 print FCLCOMPARISONFILE "=== Packages removed ===\n\n";
   908 print FCLCOMPARISONFILE "''' Number total of packages removed in $pdk2_correct_name_to_use is: $total_packages_removed'''\n\n";
   910 print FCLCOMPARISONFILE "''' Number total of packages removed in $pdk2_correct_name_to_use is: $total_packages_removed'''\n\n";
   909 foreach $val (@packages_removed_table)
   911 foreach $val (@packages_removed_table)
   910 {
   912 {
   911 	if($pckg_name_array{$val})
   913 	if($pckg_name_array{$val})
   912 	{
   914 	{
   913 		print FCLCOMPARISONFILE "''' $pckg_name_array{$val} ($pckg_path_name_array{$val}) '''\n\n\n";
   915 		print FCLCOMPARISONFILE "''' $pckg_name_array{$val} ($pckg_path_name_array{$val}) '''\n\n";
   914 	}
   916 	}
   915 	else
   917 	else
   916 	{
   918 	{
   917 		print FCLCOMPARISONFILE "''' $val ($pckg_path_name_array{$val}) '''\n\n\n";
   919 		print FCLCOMPARISONFILE "''' $val ($pckg_path_name_array{$val}) '''\n\n";
   918 	}
   920 	}
   919 }
   921 }
   920 
   922 
   921 # Enter the beginning of the section for the FCL
   923 # Enter the beginning of the section for the FCL
   922 print FCLCOMPARISONFILE <<"EOT";
   924 print FCLCOMPARISONFILE <<"EOT";
   923 == FCLs ==
   925 == FCLs ==
   924 
   926 
   925 '''$pdk2_correct_name_to_use''' was built using the FCL versions of the packages listed below: for each one we list the changes in the FCL which are not in the MCL.
   927 '''$pdk2_correct_name_to_use''' was built using the FCL versions of the packages listed below: for each one we list the changes in the FCL which are not in the MCL.
   926 The previous PDK also involved some FCLs, so we indicate which problems are now fixed in the MCL, and which FCLs are new to this build
   928 
       
   929 The previous PDK also involved some FCLs, so we indicate which problems are now fixed in the MCL, and which FCLs are new to this build.
   927 
   930 
   928 Cloning the source from Mercurial is made more awkward by using a mixture of MCLs and FCLs, but we provide a tool to help - see [[How_to_build_the_Platform#Automatic_Mercurial_Clone]] for details.
   931 Cloning the source from Mercurial is made more awkward by using a mixture of MCLs and FCLs, but we provide a tool to help - see [[How_to_build_the_Platform#Automatic_Mercurial_Clone]] for details.
   929 
   932 
   930 EOT
   933 EOT
   931 
   934 
   932 # Packages that were on MCL and that are now on FCL
   935 # Packages that were on MCL and that are now on FCL
   933 foreach $val (@new_fcl_table)
   936 foreach $val (@new_fcl_table)
   934 {
   937 {
   935 	if($pckg_name_array{$val})
   938 	if($pckg_name_array{$val})
   936 	{
   939 	{
   937 		print FCLCOMPARISONFILE "=== $pckg_name_array{$val} ($pckg_path_name_array{$val}) -- NEW ===\n\n\n";
   940 		print FCLCOMPARISONFILE "=== $pckg_name_array{$val} ($pckg_path_name_array{$val}) -- NEW ===\n\n";
   938 		# TO DO!!!!
   941 		# TO DO!!!!
   939 		# Needs to be recovered from Mercurial. How????
   942 		# Needs to be recovered from Mercurial. How????
   940 		#[http://developer.symbian.org/bugs/show_bug.cgi?id=156 Bug 156]: Add a missing bld.inf, to renable compilation of the package
   943 		#[http://developer.symbian.org/bugs/show_bug.cgi?id=156 Bug 156]: Add a missing bld.inf, to renable compilation of the package
   941 		#[http://developer.symbian.org/bugs/show_bug.cgi?id=197 Bug 197]: PSAlgorithmInternalCRKeys.h is missing
   944 		#[http://developer.symbian.org/bugs/show_bug.cgi?id=197 Bug 197]: PSAlgorithmInternalCRKeys.h is missing
   942 	}
   945 	}
   943 	else
   946 	else
   944 	{
   947 	{
   945 		print FCLCOMPARISONFILE "=== $val ($pckg_path_name_array{$val}) -- NEW ===\n\n\n";
   948 		print FCLCOMPARISONFILE "=== $val ($pckg_path_name_array{$val}) -- NEW ===\n\n";
   946 	}
   949 	}
   947 }
   950 }
   948 
   951 
   949 # Packages that were on FCL and that are now on FCL
   952 # Packages that were on FCL and that are now on FCL
   950 foreach $val (@still_fcl_table)
   953 foreach $val (@still_fcl_table)
   951 {
   954 {
   952 	if($pckg_name_array{$val})
   955 	if($pckg_name_array{$val})
   953 	{
   956 	{
   954 		print FCLCOMPARISONFILE "=== $pckg_name_array{$val} ($pckg_path_name_array{$val}) ===\n\n\n";
   957 		print FCLCOMPARISONFILE "=== $pckg_name_array{$val} ($pckg_path_name_array{$val}) ===\n\n";
   955 	}
   958 	}
   956 	else
   959 	else
   957 	{
   960 	{
   958 		print FCLCOMPARISONFILE "=== $val ($pckg_path_name_array{$val}) ===\n\n\n";
   961 		print FCLCOMPARISONFILE "=== $val ($pckg_path_name_array{$val}) ===\n\n";
   959 	}
   962 	}
   960 }
   963 }
   961 
   964 
   962 print FCLCOMPARISONFILE "=== FCLs used in $pdk1_correct_name_to_use but not needed in $pdk2_correct_name_to_use ===\n";
   965 print FCLCOMPARISONFILE "=== FCLs used in $pdk1_correct_name_to_use but not needed in $pdk2_correct_name_to_use ===\n\n";
   963 
   966 
   964 foreach $val (@no_more_fcl_table)
   967 foreach $val (@no_more_fcl_table)
   965 {
   968 {
   966 	if($pckg_name_array{$val})
   969 	if($pckg_name_array{$val})
   967 	{
   970 	{