Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r75338 - in website/public_html/beta: feed feed/history feed/templates site-tools/boost_site site-tools/state site-tools/templates users/history
From: dnljms_at_[hidden]
Date: 2011-11-06 03:49:06


Author: danieljames
Date: 2011-11-06 03:49:04 EST (Sun, 06 Nov 2011)
New Revision: 75338
URL: http://svn.boost.org/trac/boost/changeset/75338

Log:
Website: Add beta/development status to release entries.

Needed to add a new field to page to store their type. Currently 'page'
which is just generic, and 'release' for releases. Might also use this
with the download stuff.
Text files modified:
   website/public_html/beta/feed/ext.qbk | 5 +
   website/public_html/beta/feed/history/boost_1_48_0.qbk | 1
   website/public_html/beta/feed/templates/boost_x_xx_x.qbk | 13 +++
   website/public_html/beta/site-tools/boost_site/boostbook_parser.py | 8 ++
   website/public_html/beta/site-tools/boost_site/pages.py | 26 +++++++
   website/public_html/beta/site-tools/boost_site/settings.py | 13 ++-
   website/public_html/beta/site-tools/boost_site/site_tools.py | 6 +
   website/public_html/beta/site-tools/boost_site/upgrade.py | 14 +++
   website/public_html/beta/site-tools/state/feed-pages.txt | 134 +++++++++++++++++++++++++++++++++++++++
   website/public_html/beta/site-tools/state/version.txt | 2
   website/public_html/beta/site-tools/templates/entry-template.html | 13 ++
   website/public_html/beta/users/history/version_1_48_0.html | 4
   12 files changed, 218 insertions(+), 21 deletions(-)

Modified: website/public_html/beta/feed/ext.qbk
==============================================================================
--- website/public_html/beta/feed/ext.qbk (original)
+++ website/public_html/beta/feed/ext.qbk 2011-11-06 03:49:04 EST (Sun, 06 Nov 2011)
@@ -24,3 +24,8 @@
     Indicate the download link of a download or news item.
 ]
 [template download[link]'''<download><![CDATA['''[`link]''']]></download>''']
+
+[/ status[value]
+ The release status, currently beta or release
+]
+[template status[value]'''<status>'''[value]'''</status>''']
\ No newline at end of file

Modified: website/public_html/beta/feed/history/boost_1_48_0.qbk
==============================================================================
--- website/public_html/beta/feed/history/boost_1_48_0.qbk (original)
+++ website/public_html/beta/feed/history/boost_1_48_0.qbk 2011-11-06 03:49:04 EST (Sun, 06 Nov 2011)
@@ -13,6 +13,7 @@
 
 [include ext.qbk]
 
+[status beta]
 [download http://sourceforge.net/projects/boost/files/boost/1.48.0.beta.1/]
 [/ TODO: Check download link on release.
 [download http://sourceforge.net/projects/boost/files/boost/1.48.0/]

Modified: website/public_html/beta/feed/templates/boost_x_xx_x.qbk
==============================================================================
--- website/public_html/beta/feed/templates/boost_x_xx_x.qbk (original)
+++ website/public_html/beta/feed/templates/boost_x_xx_x.qbk 2011-11-06 03:49:04 EST (Sun, 06 Nov 2011)
@@ -8,8 +8,19 @@
 
 [include ext.qbk]
 
-[/ TODO: Check download link on release.
+[/
+
+As the release progresses add the 'status' and 'download' elements to
+indicate the release status:
+
+Beta status:
+[status beta]
+[download http://sourceforge.net/projects/boost/files/boost/1.xx.x_beta.x/]
+
+Release status:
+[status released]
 [download http://sourceforge.net/projects/boost/files/boost/1.xx.x/]
+
 ]
 
 [/

Modified: website/public_html/beta/site-tools/boost_site/boostbook_parser.py
==============================================================================
--- website/public_html/beta/site-tools/boost_site/boostbook_parser.py (original)
+++ website/public_html/beta/site-tools/boost_site/boostbook_parser.py 2011-11-06 03:49:04 EST (Sun, 06 Nov 2011)
@@ -35,6 +35,11 @@
         if download_node:
             download_item = self.get_child(download_node[0]).data
 
+ status_item = None
+ status_node = article_node.getElementsByTagName('status')
+ if status_node:
+ status_item = self.get_child(status_node[0]).data
+
         pub_date = article_node.getAttribute('last-revision').strip()
 
         if not pub_date or pub_date[0] == '$':
@@ -51,7 +56,8 @@
             'description_fragment' : description_xhtml,
             'pub_date' : pub_date,
             'last_modified' : last_modified,
- 'download_item' : download_item
+ 'download_item' : download_item,
+ 'status_item' : status_item
         }
 
     def x(self, node):

Modified: website/public_html/beta/site-tools/boost_site/pages.py
==============================================================================
--- website/public_html/beta/site-tools/boost_site/pages.py (original)
+++ website/public_html/beta/site-tools/boost_site/pages.py 2011-11-06 03:49:04 EST (Sun, 06 Nov 2011)
@@ -35,7 +35,7 @@
             save_hashes[x] = self.pages[x].state()
         boost_site.state.save(save_hashes, self.hash_file)
 
- def add_qbk_file(self, qbk_file, location):
+ def add_qbk_file(self, qbk_file, location, page_data):
         file = open(qbk_file)
         try:
             qbk_hash = hashlib.sha256(file.read()).hexdigest()
@@ -58,6 +58,12 @@
 
         record.qbk_hash = qbk_hash
         record.dir_location = location
+ if 'type' in page_data:
+ record.type = page_data['type']
+ else:
+ record.type = 'page'
+ if record.type not in ['release', 'page']:
+ throw ("Unknown record type: " + record.type)
 
     # You might be wondering why I didn't just save the rss items - would
     # be able to save all the items not just the ones in the feed.
@@ -142,6 +148,7 @@
 
         if not attrs: attrs = { 'page_state' : 'new' }
 
+ self.type = attrs.get('type', None)
         self.page_state = attrs.get('page_state', None)
         self.flags = attrs.get('flags', '')
         if self.flags:
@@ -163,6 +170,7 @@
 
     def state(self):
         return {
+ 'type': self.type,
             'page_state': self.page_state,
             'flags': ','.join(self.flags),
             'dir_location': self.dir_location,
@@ -193,7 +201,21 @@
             self.location = self.dir_location + self.id + '.html'
             self.dir_location = None
             self.page_state = None
-
+
+ self.flags = set()
+
+ if self.type == 'release':
+ status = values['status_item']
+ if status == 'release':
+ status = 'released'
+ if not status and self.pub_date != 'In Progress':
+ status = 'released'
+ if status and status not in ['released', 'beta']:
+ print "Error: Unknown status: " + status
+ status = None
+ if status:
+ self.flags.add(status)
+
         self.loaded = True
 
     def web_date(self):

Modified: website/public_html/beta/site-tools/boost_site/settings.py
==============================================================================
--- website/public_html/beta/site-tools/boost_site/settings.py (original)
+++ website/public_html/beta/site-tools/boost_site/settings.py 2011-11-06 03:49:04 EST (Sun, 06 Nov 2011)
@@ -8,27 +8,30 @@
             'anchor': 'live',
             'single': 'Current Release',
             'plural': 'Current Releases',
- 'patterns': ['feed/history/boost_1_47_0.qbk']
+ 'matches': ['feed/history/*.qbk|released'],
+ 'count': 1
         },
         {
             'anchor': 'beta',
             'single': 'Beta Release',
             'plural': 'Beta Releases',
- 'patterns': ['feed/history/boost_1_48_0.qbk']
+ 'matches': ['feed/history/*.qbk|beta']
         }
     ],
     'pages': {
         'users/history/': {
             'src_files' : ['feed/history/*.qbk'],
- 'template' : 'site-tools/templates/entry-template.html'
+ 'template' : 'site-tools/templates/entry-template.html',
+ 'type' : 'release'
         },
         'users/news/': {
             'src_files' : ['feed/news/*.qbk'],
- 'template' : 'site-tools/templates/entry-template.html'
+ 'template' : 'site-tools/templates/entry-template.html'
         },
         'users/download/': {
             'src_files' : ['feed/downloads/*.qbk'],
- 'template' : 'site-tools/templates/entry-template.html'
+ 'template' : 'site-tools/templates/entry-template.html',
+ 'type' : 'release'
         }
     },
     'index-pages' : {

Modified: website/public_html/beta/site-tools/boost_site/site_tools.py
==============================================================================
--- website/public_html/beta/site-tools/boost_site/site_tools.py (original)
+++ website/public_html/beta/site-tools/boost_site/site_tools.py 2011-11-06 03:49:04 EST (Sun, 06 Nov 2011)
@@ -37,7 +37,9 @@
 
     downloads = []
     for x in settings['downloads']:
- entries = pages.match_pages(x['patterns'], sort = False)
+ entries = pages.match_pages(x['matches'], sort = True)
+ if 'count' in x:
+ entries = entries[:x['count']]
         if entries:
             y = { 'anchor': x['anchor'], 'entries' : entries }
             if len(entries) == 1:
@@ -99,7 +101,7 @@
         pages_data = settings['pages'][location]
         for src_file_pattern in pages_data['src_files']:
             for qbk_file in glob.glob(src_file_pattern):
- pages.add_qbk_file(qbk_file, location)
+ pages.add_qbk_file(qbk_file, location, pages_data)
 
     pages.save()
 

Modified: website/public_html/beta/site-tools/boost_site/upgrade.py
==============================================================================
--- website/public_html/beta/site-tools/boost_site/upgrade.py (original)
+++ website/public_html/beta/site-tools/boost_site/upgrade.py 2011-11-06 03:49:04 EST (Sun, 06 Nov 2011)
@@ -18,8 +18,20 @@
             page.flags.add('released')
     pages.save()
 
+def upgrade2():
+ pages = boost_site.site_tools.load_pages()
+ for qbk_file in pages.pages:
+ page = pages.pages[qbk_file]
+ if re.match('users/(download|history)', page.location) and \
+ page.pub_date != 'In Progress':
+ page.type = 'release'
+ else:
+ page.type = 'page'
+ pages.save()
+
 versions = [
- upgrade1
+ upgrade1,
+ upgrade2
         ]
 
 #

Modified: website/public_html/beta/site-tools/state/feed-pages.txt
==============================================================================
--- website/public_html/beta/site-tools/state/feed-pages.txt (original)
+++ website/public_html/beta/site-tools/state/feed-pages.txt 2011-11-06 03:49:04 EST (Sun, 06 Nov 2011)
@@ -26,6 +26,8 @@
 -rss_hash
 -title
 "Boost Jam 3.1.18
+-type
+"release
 )
 (feed/history/boost_1_10_3.qbk
 -dir_location
@@ -52,6 +54,8 @@
 "9a2cfd227461b9e809e311178decc5f317ab473b5e72454ccb4f8531b8ab5a66
 -title
 "Version 1.10.3
+-type
+"release
 )
 (feed/history/boost_1_10_4.qbk
 -dir_location
@@ -77,6 +81,8 @@
 "74e7a2ed82e40bfdeebca7e7198266bb7f04d7288ec97f5522e1cbff4f5b7237
 -title
 "Version 1.10.4
+-type
+"release
 )
 (feed/history/boost_1_11_0.qbk
 -dir_location
@@ -103,6 +109,8 @@
 "07c1bc1d88ef77d15ae13ef24757201dd3033af49ab723c66b68c00eefa7b931
 -title
 "Version 1.11.0
+-type
+"release
 )
 (feed/history/boost_1_11_1.qbk
 -dir_location
@@ -128,6 +136,8 @@
 "f2abf0cacaec346d9ae8f3a9371a37d8c02254df20b5f883930645d843a5abe4
 -title
 "Version 1.11.1
+-type
+"release
 )
 (feed/history/boost_1_11_2.qbk
 -dir_location
@@ -153,6 +163,8 @@
 "8456870430969fa017687746fc779d672e12e0afd8e3e2be84ae39bc868afca1
 -title
 "Version 1.11.2
+-type
+"release
 )
 (feed/history/boost_1_12_0.qbk
 -dir_location
@@ -178,6 +190,8 @@
 "2d9de129320c56c266092237627b51237e3762fea9a027f4b771ca62a6fdba84
 -title
 "Version 1.12.0
+-type
+"release
 )
 (feed/history/boost_1_13_0.qbk
 -dir_location
@@ -203,6 +217,8 @@
 "f2ed76e90260dccb4a32ff172fa1fb90264fbfa9d7e33f1eb97726937dcb5ebb
 -title
 "Version 1.13.0
+-type
+"release
 )
 (feed/history/boost_1_14_0.qbk
 -dir_location
@@ -228,6 +244,8 @@
 "bcc75b1d0fdda11f545f03298c4007d9970cf2894f6149fd9d69dcd27cf06c00
 -title
 "Version 1.14.0
+-type
+"release
 )
 (feed/history/boost_1_14_1.qbk
 -dir_location
@@ -254,6 +272,8 @@
 "bf962fbda02e87f11c7a400fb57c980b4d9813083493f41a42e3db074e99fcc9
 -title
 "Version 1.14.1
+-type
+"release
 )
 (feed/history/boost_1_14_2.qbk
 -dir_location
@@ -279,6 +299,8 @@
 "31eeef2f6d348dee6e8e2873eb45acaba4a33e71d9dc7c55eec6989f19e74afa
 -title
 "Version 1.14.2
+-type
+"release
 )
 (feed/history/boost_1_14_3.qbk
 -dir_location
@@ -304,6 +326,8 @@
 "a74b9dc8b6f0b6797ac56b75cb74b31e813e36b2ecaee0c444154086f43805ca
 -title
 "Version 1.14.3
+-type
+"release
 )
 (feed/history/boost_1_15_0.qbk
 -dir_location
@@ -329,6 +353,8 @@
 "3d162a9c3908547bc3a286c2777f9efbc20a447dafaebc4fb9339709200967f6
 -title
 "Version 1.15.0
+-type
+"release
 )
 (feed/history/boost_1_15_1.qbk
 -dir_location
@@ -354,6 +380,8 @@
 "e314efbae110dd64b15db20060d829278dc17f9614be9d9e3c771f2d92c1098e
 -title
 "Version 1.15.1
+-type
+"release
 )
 (feed/history/boost_1_16_0.qbk
 -dir_location
@@ -380,6 +408,8 @@
 "ebed71e04c4f2ea41625b1ec3bfb6ffd2a365300e4393105c6429ef64d5cedde
 -title
 "Version 1.16.0
+-type
+"release
 )
 (feed/history/boost_1_16_1.qbk
 -dir_location
@@ -405,6 +435,8 @@
 "bd79d606846fe583b1340996014bee1bb2cdd9214fc3c9c5d66ae3d1b7bc10ad
 -title
 "Version 1.16.1
+-type
+"release
 )
 (feed/history/boost_1_17_0.qbk
 -dir_location
@@ -431,6 +463,8 @@
 "fc53015ccd60ab8f66628742f059ce687402cee1340f4afd665f906982451577
 -title
 "Version 1.17.0
+-type
+"release
 )
 (feed/history/boost_1_18_0.qbk
 -dir_location
@@ -457,6 +491,8 @@
 "33fd07359c57c51641c78809cf28f826eca14b560ce726f8133a2935ad5f117c
 -title
 "Version 1.18.0
+-type
+"release
 )
 (feed/history/boost_1_18_1.qbk
 -dir_location
@@ -482,6 +518,8 @@
 "44cb7c2a88ef9255bdb4efe7042d7f5882b0622ce825fa08e59ed06ea287e279
 -title
 "Version 1.18.1
+-type
+"release
 )
 (feed/history/boost_1_18_2.qbk
 -dir_location
@@ -508,6 +546,8 @@
 "5fc9e7685da619e5df09d8df4edf97f2607db0566151ebf8076e10947dfe6ea6
 -title
 "Version 1.18.2
+-type
+"release
 )
 (feed/history/boost_1_18_3.qbk
 -dir_location
@@ -533,6 +573,8 @@
 "77effd7092648dc513a630f6cb57ed533f42612beac29410d93c998e527c4a73
 -title
 "Version 1.18.3
+-type
+"release
 )
 (feed/history/boost_1_19_0.qbk
 -dir_location
@@ -559,6 +601,8 @@
 "5a6ff21def74e85819dd460e1e3020011682f0bfad8f797387fc57b92a66c0ca
 -title
 "Version 1.19.0
+-type
+"release
 )
 (feed/history/boost_1_20_0.qbk
 -dir_location
@@ -584,6 +628,8 @@
 "af3e877522abdbef56d0e39bc3880eee7ea3060a1697309b26b0c931d3d4c616
 -title
 "Version 1.20.0
+-type
+"release
 )
 (feed/history/boost_1_20_1.qbk
 -dir_location
@@ -609,6 +655,8 @@
 "695bd43ab0d8d137aacbf9763a12676c2cf264791d882cb4ee20d0ae13497a91
 -title
 "Version 1.20.1
+-type
+"release
 )
 (feed/history/boost_1_20_2.qbk
 -dir_location
@@ -636,6 +684,8 @@
 "f5d0588994320737a6e9fcdd3b6181abe33c6fa290195fb0be216a1f743daae7
 -title
 "Version 1.20.2
+-type
+"release
 )
 (feed/history/boost_1_21_0.qbk
 -dir_location
@@ -662,6 +712,8 @@
 "e554bb024b9761a1df2669a209d12622c7137bdab4551fb28715df9c9e661eaf
 -title
 "Version 1.21.0
+-type
+"release
 )
 (feed/history/boost_1_21_1.qbk
 -dir_location
@@ -688,6 +740,8 @@
 "bb8c15b4e16a6eb299ed4059daa64123726cd7fd0de845351b6d589f90cb7d17
 -title
 "Version 1.21.1
+-type
+"release
 )
 (feed/history/boost_1_21_2.qbk
 -dir_location
@@ -714,6 +768,8 @@
 "b2170c6ba85f2cdd9d987d9d66043e0141d813578808f379874baa60bcdfb312
 -title
 "Version 1.21.2
+-type
+"release
 )
 (feed/history/boost_1_22_0.qbk
 -dir_location
@@ -740,6 +796,8 @@
 "4d212ff5c4f3e37ef013628a32fd79a0e5e7de9e3cd82c06b3529e128a04c2ed
 -title
 "Version 1.22.0
+-type
+"release
 )
 (feed/history/boost_1_23_0.qbk
 -dir_location
@@ -767,6 +825,8 @@
 "477eeb738f991286054054039869b0662cfeeb41675bf99e6fb19a706f2145de
 -title
 "Version 1.23.0
+-type
+"release
 )
 (feed/history/boost_1_24_0.qbk
 -dir_location
@@ -793,6 +853,8 @@
 "e1f83436b7fdc9877b3bdc5a82a93b8e34af9697cd9be1906af310ea50f9be85
 -title
 "Version 1.24.0
+-type
+"release
 )
 (feed/history/boost_1_25_0.qbk
 -dir_location
@@ -820,6 +882,8 @@
 "103fa0c4c926351489732999dbbeb85b45dfec4016ae51ad999b52f7ddd58555
 -title
 "Version 1.25.0
+-type
+"release
 )
 (feed/history/boost_1_25_1.qbk
 -dir_location
@@ -846,6 +910,8 @@
 "3fd767b7e089cf91660546a6c0eddf92e4e695816891d3fc87d0601698cbcc4f
 -title
 "Version 1.25.1
+-type
+"release
 )
 (feed/history/boost_1_26_0.qbk
 -dir_location
@@ -873,6 +939,8 @@
 "7025054be7efb776ced6c93fd7e3501ed38a28c13dfac448aabce8bfc46ad3b8
 -title
 "Version 1.26.0
+-type
+"release
 )
 (feed/history/boost_1_27_0.qbk
 -dir_location
@@ -900,6 +968,8 @@
 "a9683c30baf9e31eef7d0d75cdc2eac079b5069c4685f4168199438c30144fa6
 -title
 "Version 1.27.0
+-type
+"release
 )
 (feed/history/boost_1_28_0.qbk
 -dir_location
@@ -927,6 +997,8 @@
 "4b525cf5fa0f6e6ae6949b026816cceae04eaaee25d3cdd009493683053c776b
 -title
 "Version 1.28.0
+-type
+"release
 )
 (feed/history/boost_1_29_0.qbk
 -dir_location
@@ -954,6 +1026,8 @@
 "e2c904c19eb64fdae9aa43395c65bda51eb0a99c367649ccce744902bd71bb5b
 -title
 "Version 1.29.0
+-type
+"release
 )
 (feed/history/boost_1_30_0.qbk
 -dir_location
@@ -981,6 +1055,8 @@
 "deeb8423aeeb2f9ab9593134529af465dfdb8f129b3c1daa6a0a249a5baeb15d
 -title
 "Version 1.30.0
+-type
+"release
 )
 (feed/history/boost_1_30_1.qbk
 -dir_location
@@ -1007,6 +1083,8 @@
 "f941941f8b984f9e3afaab20deee8954404a279aef4da577c60e9de0716ce410
 -title
 "Version 1.30.1
+-type
+"release
 )
 (feed/history/boost_1_30_2.qbk
 -dir_location
@@ -1033,6 +1111,8 @@
 "3c1da34aec9d4d052c0167c862013d6accde2a8ff54508ca2aa9c24ed58be4ac
 -title
 "Version 1.30.2
+-type
+"release
 )
 (feed/history/boost_1_31_0.qbk
 -dir_location
@@ -1061,6 +1141,8 @@
 "d339c9b8311acd31c589a9c807bfdd8b32d4ee0f1e3302efc2bc0c779868b823
 -title
 "Version 1.31.0
+-type
+"release
 )
 (feed/history/boost_1_32_0.qbk
 -dir_location
@@ -1089,6 +1171,8 @@
 "ba66bddfa22bb7ec12ecfd0bea568ffe6060ff60ab1f7610fc3f02a1d4efc50d
 -title
 "Version 1.32.0
+-type
+"release
 )
 (feed/history/boost_1_33_0.qbk
 -dir_location
@@ -1117,6 +1201,8 @@
 "1c585fc312c3bcda5513007b305fe58144d62af9825b0b2b727071dd62fe708f
 -title
 "Version 1.33.0
+-type
+"release
 )
 (feed/history/boost_1_33_1.qbk
 -dir_location
@@ -1144,6 +1230,8 @@
 "6dd8234275971105f1764df912f49549fabe1ee4635728d6ab85d202d01cce40
 -title
 "Version 1.33.1
+-type
+"release
 )
 (feed/history/boost_1_34_0.qbk
 -dir_location
@@ -1173,6 +1261,8 @@
 "5490a672df11abac04dd53f8465af893a36444080f6931b6a73cb004737a435e
 -title
 "Version 1.34.0
+-type
+"release
 )
 (feed/history/boost_1_34_1.qbk
 -dir_location
@@ -1199,6 +1289,8 @@
 "dea50dec707051d13b88b6ef83ce522703ffd136585ceb2a388f8cfd9f3900c6
 -title
 "Version 1.34.1
+-type
+"release
 )
 (feed/history/boost_1_35_0.qbk
 -dir_location
@@ -1228,6 +1320,8 @@
 "e40b1698c1d92bfca56285bdb9d38dd9688f4cea47f469a61aca534864caabae
 -title
 "Version 1.35.0
+-type
+"release
 )
 (feed/history/boost_1_36_0.qbk
 -dir_location
@@ -1256,6 +1350,8 @@
 "89d1b4969e1d7061a3bcb562e365d367f049e0473eb4ec1e909bfcd928abd9c9
 -title
 "Version 1.36.0
+-type
+"release
 )
 (feed/history/boost_1_37_0.qbk
 -dir_location
@@ -1283,6 +1379,8 @@
 "5e7a3d8e15b622bc9dd81334c978ca919c59ac38738155ab8dfc96da05fc5f78
 -title
 "Version 1.37.0
+-type
+"release
 )
 (feed/history/boost_1_38_0.qbk
 -dir_location
@@ -1313,6 +1411,8 @@
 "158b0cf4d9c12d3505bac822292c11b062ceda908933e8d741b2ce2390d8f815
 -title
 "Version 1.38.0
+-type
+"release
 )
 (feed/history/boost_1_39_0.qbk
 -dir_location
@@ -1341,6 +1441,8 @@
 "c710f5c506f8db0cb45357e5d439dda886f7982b76e69ac72459202f1d3f33be
 -title
 "Version 1.39.0
+-type
+"release
 )
 (feed/history/boost_1_40_0.qbk
 -dir_location
@@ -1369,6 +1471,8 @@
 "f7facd471c80ed74249b82ad0f71bf1aba7f152e3966069b3ea1e51cbb44649b
 -title
 "Version 1.40.0
+-type
+"release
 )
 (feed/history/boost_1_41_0.qbk
 -dir_location
@@ -1399,6 +1503,8 @@
 "4e919f57c667fec2e599d48c69b30bb2f10a7dd1d8ba551efbac83131c0ffa34
 -title
 "Version 1.41.0
+-type
+"release
 )
 (feed/history/boost_1_42_0.qbk
 -dir_location
@@ -1427,6 +1533,8 @@
 "0c0c2b687cdb2ef6680aad359a9f3eb4fb002fe14363041906ec585663211521
 -title
 "Version 1.42.0
+-type
+"release
 )
 (feed/history/boost_1_43_0.qbk
 -dir_location
@@ -1456,6 +1564,8 @@
 "26924935e36618f705723425e30a045ff0d06a13ec27645115ad490f744ef9c3
 -title
 "Version 1.43.0
+-type
+"release
 )
 (feed/history/boost_1_44_0.qbk
 -dir_location
@@ -1485,6 +1595,8 @@
 "38b3363ee32e6ac268e029baaa675b4a6e21cc5ff2abb6310f9cc19d8ccc5ce5
 -title
 "Version 1.44.0
+-type
+"release
 )
 (feed/history/boost_1_45_0.qbk
 -dir_location
@@ -1513,6 +1625,8 @@
 "efa947fe7348a82a0dd9d03dc01d3f9fef69d42f3e761bc9a6491453b24d43d2
 -title
 "Version 1.45.0
+-type
+"release
 )
 (feed/history/boost_1_46_0.qbk
 -dir_location
@@ -1542,6 +1656,8 @@
 "edcd6035c761c9ec8424f8a02c268285a3d66ca9cc7d225e41c890a233afcec6
 -title
 "Version 1.46.0
+-type
+"release
 )
 (feed/history/boost_1_46_1.qbk
 -dir_location
@@ -1569,6 +1685,8 @@
 "ae5d583f54f987ac38cbedc82f1309af8abb4d4f9158977e7695da46c209c91d
 -title
 "Version 1.46.1
+-type
+"release
 )
 (feed/history/boost_1_47_0.qbk
 -dir_location
@@ -1598,17 +1716,19 @@
 "c8b97ae59577ef3fd0961920d93542467da8595ed514ba132553ebe73a99b2e7
 -title
 "Version 1.47.0
+-type
+"release
 )
 (feed/history/boost_1_48_0.qbk
 -dir_location
 -download
 "http://sourceforge.net/projects/boost/files/boost/1.48.0.beta.1/
 -flags
-"
+"beta
 -id
 "version_1_48_0
 -last_modified
-.1320543649.43
+.1320544046.87
 -location
 "users/history/version_1_48_0.html
 -page_state
@@ -1621,11 +1741,13 @@
 " Numeric Conversion, Proto, Regex, Spirit, TypeTraits, Unordered, Wave
 "
 -qbk_hash
-"58921652c6c6227f8394e826edc15333516a008c6d61be8bc8a29b9371b8600f
+"b8611171144ccef99a796e0a7f93c672306a84a6c1cec4aa6390029c48f4d483
 -rss_hash
 "d7a8c4a4cbe9c2d9ef19d7cafe6fd8513e4bd35af37a0281ef1e7a12eb1ffcff
 -title
 "Version 1.48.0
+-type
+"release
 )
 (feed/history/unversioned.qbk
 -dir_location
@@ -1651,6 +1773,8 @@
 "8002a54cd484904089f5ece182b03e50d50160c1e1e6b276be44bcf91c8214fb
 -title
 "Old Versions
+-type
+"release
 )
 (feed/news/review_asio_begins.qbk
 -dir_location
@@ -1677,6 +1801,8 @@
 -rss_hash
 -title
 "asio Formal Review Begins
+-type
+"page
 )
 (feed/news/website_launch.qbk
 -dir_location
@@ -1701,4 +1827,6 @@
 -rss_hash
 -title
 "Website 1.0 Launch
+-type
+"page
 )

Modified: website/public_html/beta/site-tools/state/version.txt
==============================================================================
--- website/public_html/beta/site-tools/state/version.txt (original)
+++ website/public_html/beta/site-tools/state/version.txt 2011-11-06 03:49:04 EST (Sun, 06 Nov 2011)
@@ -1 +1 @@
-1
\ No newline at end of file
+2
\ No newline at end of file

Modified: website/public_html/beta/site-tools/templates/entry-template.html
==============================================================================
--- website/public_html/beta/site-tools/templates/entry-template.html (original)
+++ website/public_html/beta/site-tools/templates/entry-template.html 2011-11-06 03:49:04 EST (Sun, 06 Nov 2011)
@@ -1,9 +1,16 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+${
+full_title_xml = page.title_xml
+
+if page.type == 'release':
+ if ('beta' in page.flags): full_title_xml = 'Beta release: ' + full_title_xml
+ elif ('released' not in page.flags): full_title_xml = 'In Progress: ' + full_title_xml
+
+}$<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
 <head>
- <title>${ emit(page.title_xml) }$</title>
+ <title>${ emit(full_title_xml) }$</title>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   <link rel="icon" href="/favicon.ico" type="image/ico" />
   <link rel="stylesheet" type="text/css" href="/style-v2/section-boost.css" />
@@ -37,7 +44,7 @@
         <div class="section" id="intro">
           <div class="section-0">
             <div class="section-title">
- <h1>${ emit(page.title_xml) }$</h1>
+ <h1>${ emit(full_title_xml) }$</h1>
             </div>
 
             <div class="section-body">

Modified: website/public_html/beta/users/history/version_1_48_0.html
==============================================================================
--- website/public_html/beta/users/history/version_1_48_0.html (original)
+++ website/public_html/beta/users/history/version_1_48_0.html 2011-11-06 03:49:04 EST (Sun, 06 Nov 2011)
@@ -3,7 +3,7 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
 <head>
- <title>Version 1.48.0</title>
+ <title>Beta release: Version 1.48.0</title>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   <link rel="icon" href="/favicon.ico" type="image/ico" />
   <link rel="stylesheet" type="text/css" href="/style-v2/section-boost.css" />
@@ -32,7 +32,7 @@
         <div class="section" id="intro">
           <div class="section-0">
             <div class="section-title">
- <h1>Version 1.48.0</h1>
+ <h1>Beta release: Version 1.48.0</h1>
             </div>
 
             <div class="section-body">


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk