Check-in [dc5a304d31]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:HTML: When landing on /latest/, force a redirect to the actual build
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: dc5a304d31717b84f1e0793cbce2fc5f5db0e2ef
User & Date: bdrewery 2013-06-19 15:23:16
Context
2013-06-23
11:47
jail/ports -u: Always try upgrading the SVN checkout before updating check-in: 8be0ecb8e6 user: bdrewery tags: trunk
2013-06-19
15:23
HTML: When landing on /latest/, force a redirect to the actual build check-in: dc5a304d31 user: bdrewery tags: trunk
12:17
Change default build name to YYYY-MM-DD_HHhMMmSSs to remove ':' causing encoding/tab-completion issues check-in: b25b12fa3d user: bdrewery tags: trunk
Changes

Changes to src/share/poudriere/html/assets/poudriere.js.

   129    129   
   130    130   function format_setname(setname) {
   131    131   	return setname ? ('-' + setname) : '';
   132    132   }
   133    133   
   134    134   function process_data(data) {
   135    135   	var html, a, n;
          136  +
          137  +	// Redirect from /latest/ to the actual build.
          138  +	if (document.location.href.indexOf('/latest/') != -1) {
          139  +		document.location.href =
          140  +			document.location.href.replace('/latest/', '/' + 
          141  +			data.buildname + '/');
          142  +		return;
          143  +	}
   136    144   
   137    145   	if (data.stats) {
   138    146   		update_canvas(data.stats);
   139    147   	}
   140    148   
   141    149   	document.title = 'Poudriere bulk results for ' + data.mastername +
   142    150   		data.buildname;