[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][snapshot-team/snapshot][master] 3 commits: web/deploy: Disable reference to snapshot.wsgi and paster



Title: GitLab

Baptiste Beauplat pushed to branch master at snapshot / snapshot

Commits:

  • 368526ef
    by Yaroslav Halchenko at 2022-09-28T15:02:30-04:00
    web/deploy: Disable reference to snapshot.wsgi and paster
    
    I do not know if that is legit and only what is needed to make this deploy useful again,
    or either it is needed at all. I just know hat there is now no snapshot.wsgi and
    web/app/docs/deploy.md seems to point how to configure apache to just point to new wsgi
    python script
    
  • 486677b0
    by Yaroslav Halchenko at 2022-10-17T13:42:18-04:00
    Completely remove web/deploy per guidance that it is no longer used
    
    See https://salsa.debian.org/snapshot-team/snapshot/-/merge_requests/8#note_341407
    and there on
    
  • 7e39e13b
    by Baptiste Beauplat at 2022-10-18T16:37:48+00:00
    Merge branch 'no-wsgi' into 'master'
    
    web/deploy: remove as no longer used
    
    See merge request snapshot-team/snapshot!8

1 changed file:

Changes:

  • web/deploy deleted
    1
    -#!/bin/sh
    
    2
    -
    
    3
    -# requires the dbutils external non-packaged python library.
    
    4
    -
    
    5
    -set -e
    
    6
    -set -x
    
    7
    -
    
    8
    -TARGET="$HOME/web-app"
    
    9
    -PYVER=`pyversions  -d -v`
    
    10
    -
    
    11
    -[ -e "$HOME/code/web/app" ]
    
    12
    -[ -w "$HOME/code/web/app/Snapshot.egg-info" ]
    
    13
    -
    
    14
    -
    
    15
    -find "$HOME"/code/web/app/Snapshot.egg-info -mindepth 1 -print0 | xargs -0 --no-run-if-empty rm -v
    
    16
    -(cd "$HOME"/code/web/app  && python setup.py install --single-version-externally-managed --record /dev/null --prefix="$TARGET")
    
    17
    -
    
    18
    -[ -d "$HOME/web" ] || mkdir "$HOME/web"
    
    19
    -[ -e "$HOME/web/public" ] || ln -s ../web-app/lib/python$PYVER/site-packages/snapshot/public "$HOME/web/public"
    
    20
    -[ -d "$HOME/web-cache" ] || mkdir -m 01777 "$HOME/web-cache"
    
    21
    -[ -d "$HOME/bin" ] || mkdir "$HOME/bin"
    
    22
    -[ -e "$HOME/bin/snapshot.wsgi" ] || ln -s ../code/web/snapshot.wsgi "$HOME/bin/"
    
    23
    -
    
    24
    -echo
    
    25
    -echo "If you do not have a config yet, run 'paster make-config snapshot ~/etc/web-app.ini.NEW'"


  • Reply to: