r22317 - gnucash/trunk/packaging/win32 - Win32 automated build: add note about Windows' restriction on updating

Geert Janssens gjanssens at code.gnucash.org
Thu Aug 16 05:37:19 EDT 2012


Author: gjanssens
Date: 2012-08-16 05:37:19 -0400 (Thu, 16 Aug 2012)
New Revision: 22317
Trac: http://svn.gnucash.org/trac/changeset/22317

Modified:
   gnucash/trunk/packaging/win32/build_tags.sh
   gnucash/trunk/packaging/win32/build_tags_git.sh
   gnucash/trunk/packaging/win32/daily_build.sh
   gnucash/trunk/packaging/win32/daily_build_git.sh
   gnucash/trunk/packaging/win32/weekly_build.sh
   gnucash/trunk/packaging/win32/weekly_build_git.sh
Log:
Win32 automated build: add note about Windows' restriction on updating
files that are in use in every file that can be affected.

Modified: gnucash/trunk/packaging/win32/build_tags.sh
===================================================================
--- gnucash/trunk/packaging/win32/build_tags.sh	2012-08-16 09:37:07 UTC (rev 22316)
+++ gnucash/trunk/packaging/win32/build_tags.sh	2012-08-16 09:37:19 UTC (rev 22317)
@@ -1,12 +1,19 @@
 #!/bin/sh
 #
-# Note: for this script to work, you need to make sure bash can
-#       find svn on your system. If it's not in the default
-#       Windows path, you will have to add it yourself, for
-#       example like this:
-#       - create a file /etc/profile.d/svn.sh
-#       - add this line: export PATH=/c/soft/svn/bin:$PATH
-#       (Use the real path to your svn installation, obviously)
+# Notes:
+# 1. for this script to work, you need to make sure bash can
+#    find svn on your system. If it's not in the default
+#    Windows path, you will have to add it yourself, for
+#    example like this:
+#    - create a file /etc/profile.d/svn.sh
+#    - add this line: export PATH=/c/soft/svn/bin:$PATH
+#    (Use the real path to your svn installation, obviously)
+#
+# 2. Should this script change in the source repository, then the
+#    svn update below will fail due to a limitation in Windows that
+#    won't allow to change a file that is "in use". So in the rare
+#    situation this script needs to be updated, you will need to
+#    run the svn update once yourself.
 
 set -e
 

Modified: gnucash/trunk/packaging/win32/build_tags_git.sh
===================================================================
--- gnucash/trunk/packaging/win32/build_tags_git.sh	2012-08-16 09:37:07 UTC (rev 22316)
+++ gnucash/trunk/packaging/win32/build_tags_git.sh	2012-08-16 09:37:19 UTC (rev 22317)
@@ -1,9 +1,16 @@
 #!/bin/sh
 #
-# Note: for this script to work, git must have been setup before
-#       in a way that doesn't conflict with the GnuCash build.
-#       The easiest way to do so is to run the build once manually
-#       with a properly set up custom.sh.
+# Notes:
+# 1. for this script to work, git must have been setup before
+#    in a way that doesn't conflict with the GnuCash build.
+#    The easiest way to do so is to run the build once manually
+#    with a properly set up custom.sh.
+#
+# 2. Should this script change in the source repository, then the
+#    git pull below will fail due to a limitation in Windows that
+#    won't allow to change a file that is "in use". So in the rare
+#    situation this script needs to be updated, you will need to
+#    run the git pull once yourself.
 
 set -e
 

Modified: gnucash/trunk/packaging/win32/daily_build.sh
===================================================================
--- gnucash/trunk/packaging/win32/daily_build.sh	2012-08-16 09:37:07 UTC (rev 22316)
+++ gnucash/trunk/packaging/win32/daily_build.sh	2012-08-16 09:37:19 UTC (rev 22317)
@@ -19,6 +19,12 @@
 #       using the old way)
 #    The second invocation is superfluous if this script was called
 #    from within the source code repository.
+#
+# 3. Should this script change in the source repository, then the
+#    svn update below will fail due to a limitation in Windows that
+#    won't allow to change a file that is "in use". So in the rare
+#    situation this script needs to be updated, you will need to
+#    run the svn update once yourself.
 
 set -e
 

Modified: gnucash/trunk/packaging/win32/daily_build_git.sh
===================================================================
--- gnucash/trunk/packaging/win32/daily_build_git.sh	2012-08-16 09:37:07 UTC (rev 22316)
+++ gnucash/trunk/packaging/win32/daily_build_git.sh	2012-08-16 09:37:19 UTC (rev 22317)
@@ -1,9 +1,16 @@
 #!/bin/sh
 #
-# Note: for this script to work, git must have been setup before
-#       in a way that doesn't conflict with the GnuCash build.
-#       The easiest way to do so is to run the build once manually
-#       with a properly set up custom.sh.
+# Notes:
+# 1. for this script to work, git must have been setup before
+#    in a way that doesn't conflict with the GnuCash build.
+#    The easiest way to do so is to run the build once manually
+#    with a properly set up custom.sh.
+#
+# 2. Should this script change in the source repository, then the
+#    git pull below will fail due to a limitation in Windows that
+#    won't allow to change a file that is "in use". So in the rare
+#    situation this script needs to be updated, you will need to
+#    run the git pull once yourself.
 
 set -e
 

Modified: gnucash/trunk/packaging/win32/weekly_build.sh
===================================================================
--- gnucash/trunk/packaging/win32/weekly_build.sh	2012-08-16 09:37:07 UTC (rev 22316)
+++ gnucash/trunk/packaging/win32/weekly_build.sh	2012-08-16 09:37:19 UTC (rev 22317)
@@ -1,12 +1,30 @@
 #!/bin/sh
 #
-# Note: for this script to work, you need to make sure bash can
-#       find svn on your system. If it's not in the default
-#       Windows path, you will have to add it yourself, for
-#       example like this:
-#       - create a file /etc/profile.d/svn.sh
-#       - add this line: export PATH=/c/soft/svn/bin:$PATH
-#       (Use the real path to your svn installation, obviously)
+# Notes:
+# 1. for this script to work, you need to make sure bash can
+#    find svn on your system. If it's not in the default
+#    Windows path, you will have to add it yourself, for
+#    example like this:
+#    - create a file /etc/profile.d/svn.sh
+#    - add this line: export PATH=/c/soft/svn/bin:$PATH
+#    (Use the real path to your svn installation, obviously)
+#
+# 2. The recommended setup is to call this script from within the
+#    source code repository (packaging/win32 directory). This is
+#    different from before, where it was assumed to be called
+#    from outside the source code repository. To remain some
+#    compatibility with the old way, svn update is called twice
+#    - once for the repository (to update all)
+#    - once for the build scripts (to also update the build scripts
+#       using the old way)
+#    The second invocation is superfluous if this script was called
+#    from within the source code repository.
+#
+# 3. Should this script change in the source repository, then the
+#    svn update below will fail due to a limitation in Windows that
+#    won't allow to change a file that is "in use". So in the rare
+#    situation this script needs to be updated, you will need to
+#    run the svn update once yourself.
 
 set -e
 

Modified: gnucash/trunk/packaging/win32/weekly_build_git.sh
===================================================================
--- gnucash/trunk/packaging/win32/weekly_build_git.sh	2012-08-16 09:37:07 UTC (rev 22316)
+++ gnucash/trunk/packaging/win32/weekly_build_git.sh	2012-08-16 09:37:19 UTC (rev 22317)
@@ -1,9 +1,16 @@
 #!/bin/sh
 #
-# Note: for this script to work, git must have been setup before
-#       in a way that doesn't conflict with the GnuCash build.
-#       The easiest way to do so is to run the build once manually
-#       with a properly set up custom.sh.
+# Notes:
+# 1. for this script to work, git must have been setup before
+#    in a way that doesn't conflict with the GnuCash build.
+#    The easiest way to do so is to run the build once manually
+#    with a properly set up custom.sh.
+#
+# 2. Should this script change in the source repository, then the
+#    git pull below will fail due to a limitation in Windows that
+#    won't allow to change a file that is "in use". So in the rare
+#    situation this script needs to be updated, you will need to
+#    run the git pull once yourself.
 
 set -e
 



More information about the gnucash-changes mailing list