This is an automated email from the ASF dual-hosted git repository.

danhaywood pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git

commit fb15a02c53f468f791fe53607fd124f84c6043fa
Author: danhaywood <[email protected]>
AuthorDate: Fri Jan 6 07:14:46 2023 +0000

    updates index.html; note re scaling of deployed apps
---
 antora/supplemental-ui/index.html |  3 +++
 build.sh                          |  2 +-
 gitcommit.sh                      | 33 +++++++++++++--------------------
 3 files changed, 17 insertions(+), 21 deletions(-)

diff --git a/antora/supplemental-ui/index.html 
b/antora/supplemental-ui/index.html
index 18754b33e5..90d9e1fb53 100644
--- a/antora/supplemental-ui/index.html
+++ b/antora/supplemental-ui/index.html
@@ -552,12 +552,14 @@
               <p class="cta-text text-center" style="margin-block-end: 0; ">
                 Learn about Apache Isis™ by running the minimal <a 
href="docs/latest/starters/helloworld.html">helloworld</a> starter&nbsp;app.
                 You can see the app running <a 
href="https://helloworld-jpa-snapshot.apps.causeway.dev/"; target="_blank">here 
(jpa)</a> or <a href="https://helloworld-jdo-snapshot.apps.causeway.dev/"; 
target="_blank">here (jdo)</a>.
+                (These scale to zero when not in use, so please allow up to a 
minute for them to restart if necessary).
               </p>
             </div>
             <div class="col-lg-6 text-left text-lg-left">
               <p class="cta-text text-center" style="margin-block-end: 0; ">
                 Develop your own Apache Isis™ app with the structured <a 
href="docs/latest/starters/simpleapp.html">simpleapp</a> starter&nbsp;app.
                 You can see the app running <a 
href="https://simpleapp-jpa-snapshot.apps.causeway.dev/"; target="_blank">here 
(jpa)</a> or <a href="https://simpleapp-jdo-snapshot.apps.causeway.dev/"; 
target="_blank">here (jdo)</a>.
+                (These scale to zero when not in use, so please allow up to a 
minute for them to restart if necessary).
               </p>
             </div>
           </div>
@@ -641,6 +643,7 @@ mvn -pl webapp spring-boot:run</pre>
             <div class="col-lg-12 text-left text-lg-left">
               <p class="cta-text text-center" style="margin-block-end: 0; 
margin-top: 20px;">
                 You can also explore the Apache Isis programming model through 
the demo app, running <a 
href="https://demo-wicket-jpa-snapshot.apps.causeway.dev/"; target="_blank">here 
(jpa)</a> or <a href="https://demo-wicket-jdo-snapshot.apps.causeway.dev/"; 
target="_blank">here (jdo)</a>.
+                (These scale to zero when not in use, so please allow up to a 
minute for them to restart if necessary).
               </p>
             </div>
           </div>
diff --git a/build.sh b/build.sh
index d26b5250dd..14c3e75649 100644
--- a/build.sh
+++ b/build.sh
@@ -63,7 +63,7 @@ usage() {
  echo ""                                                                       
                        >&2
  echo "example usage:"                                                         
                        >&2
  echo ""                                                                       
                        >&2
- echo "sh build.sh -pctOvI        # pull, clean, no offline, verbose, no 
incubator"                    >&2
+ echo "sh build.sh -pctOvI        # pull, clean, no tests, no offline, 
verbose, no incubator"          >&2
  echo ""                                                                       
                        >&2
 }
 
diff --git a/gitcommit.sh b/gitcommit.sh
index 4d0a474498..cf616a7ea5 100644
--- a/gitcommit.sh
+++ b/gitcommit.sh
@@ -54,34 +54,27 @@ fi
 
 shift $((OPTIND-1))
 
-ISSUE=$(git rev-parse --abbrev-ref HEAD | cut -d- -f1,2)
+BRANCH=$(git rev-parse --abbrev-ref HEAD | cut -d- -f1,2)
 MSG=$*
 
-echo "ISSUE     : $ISSUE"
-echo "MSG       : $MSG"
-echo "(NO-)ADD  : $ADD"
-echo "PUSH      : $PUSH"
-
-if [ -d _pipeline-resources ]
-then
-  pushd _pipeline-resources || exit
-  if [ -z "$ADD" ]
-  then
-    git add .
-  fi
-  git commit -m "$ISSUE: ${MSG}"
-  if [ -n "$PUSH" ]
-  then
-    git push
-  fi
-  popd || exit
+if [ "$BRANCH" != "master" ]; then
+  COMMIT_MSG="$BRANCH: ${MSG}"
+else
+  COMMIT_MSG="${MSG}"
 fi
 
+echo "BRANCH     : $BRANCH"
+echo "MSG        : $MSG"
+#echo "COMMIT_MSG : $COMMIT_MSG"
+echo "(NO-)ADD   : $ADD"
+echo "PUSH       : $PUSH"
+
 if [ -z "$ADD" ]
 then
   git add .
 fi
-git commit -m "$ISSUE: ${MSG}"
+
+git commit -m "${COMMIT_MSG}"
 if [ -n "$PUSH" ]
 then
   git push

Reply via email to