[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Missing RN for kFreeBSD (was: Getting rid of this "pages not found" problem)



Hi,

Le 04/02/2013 12:05, Pfannenstein Erik a écrit :

> as we just had the third complaint about a missing kFreeBSD installation guide in 
> just three weeks, I strongly suggest that we either remove the links

Patch attached.

> or put a hint 
> like "currently not available" or "coming soon" on them.

Seems very unlikely the situation changes for Squeeze, but something can
still be done to provide the kFreeBSD's RN for Wheezy.

[ other proposals skipped ]

> IMO it's unsustainable that we offer something on our website what isn't there and 
> when people ask, we can just point them to some e-mails saying that we have nothing 
> and don't know when there will be something.

Squeeze Release Notes have never been suitable for kFreeBSD, nobody ever
cared before we actually remove the spurious versions out of the website
a few weeks ago, and someone just proposed an early (and incomplete)
patch to #690706.

It seems like removing the spurious doc without removing the link to it
already got a positive result*, but your other proposals may provide
better results.

> Why not taking the short way and telling the whole story on the respective web page 
> instead of letting people write mails and sending them from here to there?

Would you mind asking the release-notes maintainers their opinion about
your proposals (maybe via the already open #690706)? My guess is they
won't stop anyone from improving our users, and would gladly acknowledge
a proposed solution/patch/help.

Regards

David

P.-S.: *Even if the attached patch may be an accurate long term
solution, I would prefer if something more positive could be tried in
the mean time, because simply removing it now does not rely seem in line
with “We will not hide problems”.

Index: english/template/debian/release.wml
===================================================================
RCS file: /cvs/webwml/webwml/english/template/debian/release.wml,v
retrieving revision 1.47
diff -u -r1.47 release.wml
--- english/template/debian/release.wml	8 Jan 2011 22:14:52 -0000	1.47
+++ english/template/debian/release.wml	5 Feb 2013 01:29:14 -0000
@@ -22,8 +22,8 @@
 #   assumes %arches, @arches and $indirect_object_conjoiner
 #
 sub permute_as_list {
-    my($file, $name, @exts) = @_;
-    my($ext, $arch);
+    my($file, $name, @noarches) = @_;
+    my($print, $arch, $noarch);
 
 #    if ($name eq 'Release Notes') {
 #      $name = q{<releasenotes>};
@@ -34,16 +34,18 @@
     @arches || die "@arches is not set\n";
 
     foreach $arch (@arches) {
+      $print = 1;
+      if ( $#noarches != -1 ) {
+	foreach $noarch (@noarches) {
+	  $print = 0 if ( $arch eq $noarch );
+	}
+      }
+      if ( $print == 1 ) {
 	print "<li> <a href=\"$arch/$file\">";
 	printf q{<name_for_arch>}, $name, $arches{$arch};
 	print "</a>";
-	if ( $#exts != -1 ) {
-	    foreach $ext (@exts) {
-	        print " (<a href=\"$arch/$file.$ext\"><em>" . 
-			$formats{$ext} . "</em></a>)";
-	    }
-	}
 	print "\n";
+      }
     }
 }
 
Index: english/releases/squeeze/releasenotes.wml
===================================================================
RCS file: /cvs/webwml/webwml/english/releases/squeeze/releasenotes.wml,v
retrieving revision 1.4
diff -u -r1.4 releasenotes.wml
--- english/releases/squeeze/releasenotes.wml	7 Feb 2011 02:57:37 -0000	1.4
+++ english/releases/squeeze/releasenotes.wml	5 Feb 2013 01:29:14 -0000
@@ -15,7 +15,7 @@
 architecture:</p>
 
 <ul>
-<:= &permute_as_list('release-notes/', 'Release Notes'); :>
+<:= &permute_as_list('release-notes/', 'Release Notes', 'kfreebsd-amd64', 'kfreebsd-i386'); :>
 </ul>
 
 <p>The Release Notes also contain instructions for users who are upgrading from prior

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: