Emergency fix to schemata

This commit is contained in:
Rick Falkvinge
2014-09-29 13:58:02 +02:00
parent 14332ab824
commit 05d7120322
4 changed files with 6 additions and 23 deletions
+3 -4
View File
@@ -15,16 +15,13 @@ svn update
if [ "$1" == "release" ]; then
DROPFOLDER=release
PACKAGELABEL="Stable"
echo "Packaging FINISHED RELEASE for super-stable deployments."
elif [ "$1" == "sprint" ]; then
PACKAGELABEL="Sprint $(cat ../lastbuild/swarmops/$DROPFOLDER/SprintName.txt | tr -d '\n')"
DROPFOLDER=sprint
echo "Packaging END-OF-SPRINT for normal deployments."
elif [ "$1" == "" ]; then
DROPFOLDER=internal
PACKAGELABEL="internal"
echo "internal" > ../lastbuild/swarmops/internal/SprintName.txt
echo "internal" > ../lastbuild/swarmops/internal/frontend/SprintName.txt
echo "Packaging internal test build."
else
echo "Syntax: repackage-build [sprint|release]"
@@ -49,10 +46,12 @@ echo ""
echo "Notifying developers that new build has packaged for test/deployment..."
if [ "$DROPFOLDER" == "internal" ]; then
PACKAGELABEL="internal"
echo "$(cat ../lastbuild/swarmops/internal/CommitMessage.txt)" > deploymsg.txt
echo "" >> deploymsg.txt
echo "The packages (swarmops-frontend-internal, swarmops-backend-internal) are available from repositories now, and can be tested at http://dev.swarmops.com/ as usual. Last 3 commits listed above." >> deploymsg.txt
else
PACKAGELABEL="$DROPFOLDER $(cat ../lastbuild/swarmops/$DROPFOLDER/frontend/SprintName.txt | tr -d '\n')"
echo "NOTE: this is a $DROPFOLDER package bundle. It will deploy automatically to live systems via apt-get upgrade. Yay, we made another sprint!" > deploymsg.txt
fi
-16
View File
@@ -86,22 +86,6 @@ END
#
CREATE PROCEDURE `SetFinancialAccountParent`(
IN financialAccountId INTEGER,
IN parentFinancialAccountId INTEGER
)
BEGIN
UPDATE FinancialAccounts SET FinancialAccounts.ParentFinancialAccountId = parentFinancialAccountId
WHERE FinancialAccounts.FinancialAccountId=financialAccountId;
END
#
CREATE PROCEDURE `MoveFinancialTransactionRowRangeToNewAccount`(
IN oldFinancialAccountId INTEGER,
IN newFinancialAccountId INTEGER,
+2 -2
View File
@@ -80,7 +80,7 @@
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.Targets" />
<PropertyGroup>
<PostBuildEvent>C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe -u -v / -p ../../Site5 ../../Site5-Deployment/
"C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0a\bin\NETFX 4.0 Tools\aspnet_merge.exe" ../../Site5-Deployment -o Swarmops.Site.dll</PostBuildEvent>
<PostBuildEvent>if $(ConfigurationName) == Release C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe -u -v / -p ../../Site5 ../../Site5-Deployment/
if $(ConfigurationName) == Release "C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0a\bin\NETFX 4.0 Tools\aspnet_merge.exe" ../../Site5-Deployment -o Swarmops.Site.dll</PostBuildEvent>
</PropertyGroup>
</Project>
+1 -1
View File
@@ -1 +1 @@
Black 2
Black 3