mirror of
https://github.com/YunoHost-Apps/pagure_ynh.git
synced 2024-09-03 19:56:19 +02:00
less warnings
This commit is contained in:
parent
c21b94f5d7
commit
fdc84d84ff
2 changed files with 2 additions and 6 deletions
|
@ -160,7 +160,7 @@ pushd "$final_path"
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
mkdir -p "${final_path}"/lcl/{repos,remotes,attachments,releases}
|
mkdir -p "${final_path}"/lcl/{repos,remotes,attachments,releases}
|
||||||
ynh_add_config --template="../conf/alembic.ini" --destination="$final_path/alembic.ini"
|
ynh_add_config --template="../conf/alembic.ini" --destination="$final_path/alembic.ini"
|
||||||
PAGURE_CONFIG=${final_path}/pagure.cfg python createdb.py --initial alembic.ini
|
ynh_exec_warn_less PAGURE_CONFIG=${final_path}/pagure.cfg python createdb.py --initial alembic.ini
|
||||||
popd
|
popd
|
||||||
|
|
||||||
ynh_replace_string --match_string="validators.Required" --replace_string="validators.DataRequired" --target_file="$final_path/pagure/forms.py"
|
ynh_replace_string --match_string="validators.Required" --replace_string="validators.DataRequired" --target_file="$final_path/pagure/forms.py"
|
||||||
|
|
|
@ -121,10 +121,6 @@ ynh_install_app_dependencies $pkg_dependencies
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SPECIFIC UPGRADE
|
# SPECIFIC UPGRADE
|
||||||
#=================================================
|
|
||||||
# ...
|
|
||||||
#=================================================
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# UPDATE A CONFIG FILE
|
# UPDATE A CONFIG FILE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -172,7 +168,7 @@ pushd "$final_path"
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
mkdir -p "${final_path}"/lcl/{repos,remotes,attachments,releases}
|
mkdir -p "${final_path}"/lcl/{repos,remotes,attachments,releases}
|
||||||
ynh_add_config --template="../conf/alembic.ini" --destination="$final_path/alembic.ini"
|
ynh_add_config --template="../conf/alembic.ini" --destination="$final_path/alembic.ini"
|
||||||
PAGURE_CONFIG=${final_path}/pagure.cfg alembic upgrade head
|
ynh_exec_warn_less PAGURE_CONFIG=${final_path}/pagure.cfg alembic upgrade head
|
||||||
popd
|
popd
|
||||||
|
|
||||||
ynh_replace_string --match_string="validators.Required" --replace_string="validators.DataRequired" --target_file="$final_path/pagure/forms.py"
|
ynh_replace_string --match_string="validators.Required" --replace_string="validators.DataRequired" --target_file="$final_path/pagure/forms.py"
|
||||||
|
|
Loading…
Reference in a new issue