Check-in [c0fe686fe4]
Not logged in
Overview
Comment:repository URL specific download script
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: c0fe686fe4c91462bc0185fd1d9a10d2b9585f5f
User & Date: martin_vahi on 2016-10-29 18:19:58
Other Links: manifest | tags
Context
2016-10-29 18:21
bugfix check-in: 2b3fc88e27 user: martin_vahi tags: trunk
2016-10-29 18:19
repository URL specific download script check-in: c0fe686fe4 user: martin_vahi tags: trunk
2016-09-05 00:34
update to mmmv_Fossil_operator_t1.bash check-in: d6f691d449 user: martin_vahi tags: trunk
Changes
Hide Diffs Unified Diffs Show Whitespace Changes Patch

Added work_in_progress/download_Silkotrrent_repository_and_run_local_web_server.bash version [a27b156ae2].































































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#!/usr/bin/env bash
# Initial author: martin.vahi@softf1.com
# This file is in public domain.
# For  further information please see
#
#     http://www.silktorrent.ch 
#
#=========================================================================
S_FP_ORIG="`pwd`"
#-------------------------------------------------------------------------

func_mmmv_exit_if_not_on_path_t2() { # S_COMMAND_NAME
    local S_COMMAND_NAME=$1
    local S_LOCAL_VARIABLE="`which $S_COMMAND_NAME 2>/dev/null`"
    if [ "$S_LOCAL_VARIABLE" == "" ]; then
        echo ""
        echo "Command \"$S_COMMAND_NAME\" could not be found from the PATH. "
        echo "The Fossil source code might be available from a link at "
        echo "http://www.softf1.com/cgi-bin/tree1/technology/flaws/silktorrent.bash/wiki?name=Fossil+Repository+Related+Links+and+Comments"
        echo ""
        echo "The execution of the Bash script is aborted."
        echo "GUID=='3f7ad84e-e0f2-45c8-94e7-217051d1a0e7'"
        echo ""
        #--------
        cd $S_FP_ORIG
        exit 1; # exit with an error
    fi
} # func_mmmv_exit_if_not_on_path_t2

func_mmmv_exit_if_not_on_path_t2 "fossil"

#-------------------------------------------------------------------------

    mkdir ./stuff
    cd ./stuff
    wget http://www.softf1.com/cgi-bin/tree1/technology/flaws/silktorrent.bash/raw/work_in_progress/mmmv_Fossil_operator_t1.bash?name=ebb536fdad89b21bd6180652275b3571b3ab4cef --output-document=`pwd`/mmmv_Fossil_operator_t1.bash
    echo ""
    echo "Now it will probably take a while, because it needs to dowload ~500MiB of files."
    echo ""
    bash ./mmmv_Fossil_operator_t1.bash clone_public http://www.softf1.com/cgi-bin/tree1/technology/flaws/silktorrent.bash/
    fossil ui `pwd`/repository_storage.fossil # Runs a Fossil web server at localhost
                                              # and opens the default web browser.

#-------------------------------------------------------------------------
cd #S_FP_ORIG
#=========================================================================