2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-17 02:25:16 +00:00
Commit Graph

44 Commits

Author SHA1 Message Date
Dany Robert
fd82585d5f
chore: remove unnecessary shutil import 2021-12-17 19:39:51 +05:30
Dany Robert
a648590be4
fix: replace shutil.move with Path.rename
Co-authored-by: gavin <gavin18d@gmail.com>
2021-12-17 19:38:41 +05:30
Dany Robert
aaf48566b7
fix: PosixPath object has no attribute 'rstrip' 2021-12-09 13:03:01 +05:30
Gavin D'souza
b11f5b0f96 fix: Check if archived_sites directory exists before running 2021-11-30 17:46:56 +05:30
Gavin D'souza
877e812fbb fix: Patch to move archived_sites to archived/sites
This patch runs only if Frappe >= v14. Doesn't do anything else

Frappe PR: https://github.com/frappe/frappe/pull/15060
2021-11-26 18:53:13 +05:30
Gavin D'souza
ee6a967a20 fix: import path for util 2021-11-12 18:56:24 +05:30
Gavin D'souza
984959beb8 refactor: Adoption of new style Bench notations
* Updated multiple functions
* Updated flow & re-ordered steps of `bench init` - tested with multiple
  args
* Updated exceptions
2021-10-30 02:32:04 +05:30
Pruthvi Patel
a28a0d0d23 fix: correct patches.txt 2021-10-18 18:21:24 +05:30
Pruthvi Patel
9f74ec0adb feat: add live_reload to default_config 2021-10-18 16:29:05 +05:30
Gavin D'souza
5d563f23ab style: Use f-strings instead of old string formatting methods
These changes are valid only for Py3.6+ and will remove bench CLI
support for Python 3.5 and lesser.

* Converted to f-strings using flynt
* Manual conversion of failed cases
* Simplification of logic
2021-05-11 11:30:27 +05:30
Rohan Bansal
e5c3b591f7 patch: fix old auto-backup cron jobs 2020-07-06 16:52:09 +05:30
Gavin D'souza
ec1acec788 fix: restart supervisord process after change in conf 2020-05-11 11:46:53 +05:30
Gavin D'souza
d5f8ad8e20 chore: specific Exception handled
ref: https://deepsource.io/gh/frappe/bench/run/c9ee328a-6f59-49a9-b21c-8e770bd14091/python/PYL-W0703
2020-03-26 14:18:39 +05:30
Gavin D'souza
af8f74db46 chore(deepsource): update docstrings for public functions 2020-03-26 13:09:23 +05:30
Gavin D'souza
d51311b7f7 fix: better exception handling for checking sudoers set 2020-03-19 18:52:49 +05:30
Gavin D'souza
6bb30e3148 feat: allow raise option in get_cmd_output
reason: if command exits without output, it raises a CalledProcessError
2020-03-18 20:16:41 +05:30
Gavin D'souza
a6f72c770f fix: use frappe_user from site_config and use getpass as fallback 2020-03-16 23:34:21 +05:30
Gavin D'souza
78dbdcb3f1 fix: run patches for current user 2020-03-16 12:25:55 +05:30
Gavin D'souza
fe02844c69 fix: run fix_user_permissions only if production or sudoers is set up 2020-03-16 12:04:18 +05:30
Gavin D'souza
9e7b8d1f2e fix: avoid circular imports and optimization 2020-03-15 22:50:52 +05:30
Gavin D'souza
395b8df895 fix: install supervisor on user if doesnt exist 2020-03-15 19:40:46 +05:30
Gavin D'souza
e12208dc25 fix: update supervisord and sudoers for old benches 2020-03-15 19:31:27 +05:30
Rushabh Mehta
8d2b702888
[minor] python3 fix and fix for #663 (#664) 2018-06-21 11:45:43 +05:30
Faris Ansari
37b2bbd379 trigger yarn patch again 2018-02-19 18:10:58 +05:30
Faris Ansari
72968e6bb5 Install yarn locally 2018-02-19 18:03:37 +05:30
Faris Ansari
884c0766d2
install yarn using sudo (#574) 2018-02-19 14:26:25 +05:30
Faris Ansari
5d0a453ccb
[fix] update_npm_packages, patch to install yarn (#572) 2018-02-19 13:11:21 +05:30
Rushabh Mehta
2f03e9f838 [fix] path 2017-05-10 14:30:54 +05:30
Rushabh Mehta
109a647633 [update] socketio 2017-05-10 13:44:36 +05:30
Shreyas Patil
164bc13c95 Fix nodejs (#310)
* [Fix] Do not validate certificates while downloading node bash script

* [Fix] New nodejs installation procedure

* [Fix] Updated message for node update to use official node package manager scripts

* [Fix] Add travis build status to repo page
2016-09-12 11:19:34 +05:30
Neil Trini Lasrado
7c13d16a62 Fixed patch 2016-08-08 13:48:27 +05:30
shreyas
87414d218b [Fix] Add curl and wget to bench installer. Node v5 installer fixes 2016-07-26 13:37:06 +05:30
Rushabh Mehta
40e2df9f2a [fix] typo #271 2016-07-26 08:53:21 +05:30
shreyas
abc224f3e1 [Fix] Updated the patch to find node executable as well as provide installation instructions 2016-07-25 20:39:18 +05:30
shreyas
be1f23a602 [Fix] Updated ansible to install node 5 using install script 2016-07-25 16:26:30 +05:30
Anand Doshi
0c255b2f96 [fix] set all patches as executed on bench init 2016-07-24 14:52:21 +05:30
Anand Doshi
961606fe4b [fix] bench setup add-domain/remove-domain/sync-domains + [cleanup] moved functions to site_config.py 2016-07-07 20:09:13 +05:30
Anand Doshi
dc49355ecd [patch] [security] patch to fix redis bind ip 2016-05-10 13:50:20 +05:30
Anand Doshi
6155e6aaa0 [fix] 6–7 compatibility 2016-04-27 18:47:45 +05:30
Anand Doshi
ef4ec51d48 [fix] celery to rq 2016-04-13 19:27:24 +05:30
Pratik Vyas
e657f78dfa remove mariadb-config patch 2014-11-18 22:24:47 +05:30
Pratik Vyas
aa92c32730 fix mariadb patch 2014-11-18 20:20:29 +05:30
Pratik Vyas
401a41331b fix mariadb patch 2014-10-13 11:45:34 +05:30
Pratik Vyas
ef6a59f5ad add patch for MariaDB 5.5.40 2014-10-13 10:25:25 +05:30