Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r76696 - in website/public_html/live: . generated/state site-tools/boost_site site-tools/state
From: dnljms_at_[hidden]
Date: 2012-01-25 19:24:32


Author: danieljames
Date: 2012-01-25 19:24:32 EST (Wed, 25 Jan 2012)
New Revision: 76696
URL: http://svn.boost.org/trac/boost/changeset/76696

Log:
Website: Merge moving state from beta.
Added:
   website/public_html/live/generated/state/
      - copied from r76695, /website/public_html/live/site-tools/state/
Removed:
   website/public_html/live/site-tools/state/
Properties modified:
   website/public_html/live/ (props changed)
Text files modified:
   website/public_html/live/site-tools/boost_site/site_tools.py | 2 +-
   website/public_html/live/site-tools/boost_site/upgrade.py | 6 +++---
   2 files changed, 4 insertions(+), 4 deletions(-)

Modified: website/public_html/live/site-tools/boost_site/site_tools.py
==============================================================================
--- website/public_html/live/site-tools/boost_site/site_tools.py (original)
+++ website/public_html/live/site-tools/boost_site/site_tools.py 2012-01-25 19:24:32 EST (Wed, 25 Jan 2012)
@@ -16,7 +16,7 @@
     boost_site.upgrade.upgrade()
 
 def load_pages():
- return boost_site.pages.Pages('site-tools/state/feed-pages.txt')
+ return boost_site.pages.Pages('generated/state/feed-pages.txt')
 
 def refresh_quickbook():
     update_quickbook(True)

Modified: website/public_html/live/site-tools/boost_site/upgrade.py
==============================================================================
--- website/public_html/live/site-tools/boost_site/upgrade.py (original)
+++ website/public_html/live/site-tools/boost_site/upgrade.py 2012-01-25 19:24:32 EST (Wed, 25 Jan 2012)
@@ -30,7 +30,7 @@
     pages.save()
 
 def upgrade3():
- pages_raw = boost_site.state.load('site-tools/state/feed-pages.txt')
+ pages_raw = boost_site.state.load('generated/state/feed-pages.txt')
     for page in pages_raw:
         page_details = pages_raw[page]
         flags = page_details['flags']
@@ -50,7 +50,7 @@
         if len(flags) != 0:
             raise Exception("Unexpected flags: " + str(flags))
         del page_details['flags']
- boost_site.state.save(pages_raw, 'site-tools/state/feed-pages.txt')
+ boost_site.state.save(pages_raw, 'generated/state/feed-pages.txt')
 
 versions = [
         upgrade1,
@@ -76,7 +76,7 @@
 
 class Version:
     def __init__(self):
- self.filename = 'site-tools/state/version.txt'
+ self.filename = 'generated/state/version.txt'
         self.load()
 
     def load(self):


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