diff --git a/trunk/deployment_script_common b/trunk/deployment_script_common index c3a74b8..16ec5dd 100644 --- a/trunk/deployment_script_common +++ b/trunk/deployment_script_common @@ -67,14 +67,19 @@ if [ -a $BACKUP_DIRECTORY/docs/.htaccess ]; echo "No .htaccess to put back"; fi; +echo "Enter a reason for deployment:" +read $REASON +echo + # Write something in the deployment log echo echo "Updating deployment log" -echo "Deployed by $USER on `date`" >> $DEPLOYMENT_LOG +echo -e "Deployed by $USER on `date`\nReason: $REASON" >> $DEPLOYMENT_LOG +echo # Email the team echo "emailing the team" -echo "www.planningalerts.com redeployed by $USER at `date`" | mail -s "PlanningAlerts Deployment" $TEAM_EMAIL +echo -e "www.planningalerts.com redeployed by $USER on `date`\nReason: $REASON" | mail -s "PlanningAlerts Deployment" $TEAM_EMAIL echo echo "Remember to check that there are no changes needed in:" diff --git a/trunk/python_scrapers/AcolnetParser.py b/trunk/python_scrapers/AcolnetParser.py index 40dcba1..9f3daae 100644 --- a/trunk/python_scrapers/AcolnetParser.py +++ b/trunk/python_scrapers/AcolnetParser.py @@ -240,8 +240,8 @@ class BasingstokeParser(AcolnetParser): class BassetlawParser(AcolnetParser): case_number_tr = 1 # this one can be got by the td class attribute reg_date_tr = 2 - location_tr = 5 - proposal_tr = 6 + location_tr = 4 + proposal_tr = 5 comments_email_address = "planning@bassetlaw.gov.uk" diff --git a/trunk/python_scrapers/SitesToGenerate.csv b/trunk/python_scrapers/SitesToGenerate.csv index 654eca8..2c2d1e2 100644 --- a/trunk/python_scrapers/SitesToGenerate.csv +++ b/trunk/python_scrapers/SitesToGenerate.csv @@ -52,7 +52,6 @@ "Torbay Council", "Torbay", "http://www.torbay.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" "South Ribble Borough Council", "South Ribble", "http://publicaccess.southribble.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" "Peterborough City Council", "Peterborough", "http://194.72.246.15/publicaccess/dc/", "PublicAccess", "PublicAccessParser" -"Dundee City Council", "Dundee", "http://bwarrant.dundeecity.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" "Northumberland County Council", "Northumberland", "http://planning.northumberland.gov.uk/publicaccess/tdc/", "PublicAccess", "PublicAccessParser" "Milton Keynes Council", "Milton Keynes", "http://publicaccess.milton-keynes.gov.uk/tdc/", "PublicAccess", "PublicAccessParser" "Coventry City Council", "Coventry", "http://planning.coventry.gov.uk/", "ApplicationSearchServletParser", "CoventrySearchParser"