2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-12 00:06:36 +00:00
Commit Graph

1488 Commits

Author SHA1 Message Date
Gavin D'souza
78e1f03cc4 fix: add playbooks in the python package 2020-05-01 17:49:11 +05:30
gavin
e791410a31
Merge pull request #968 from AKedar21/patch-1
docs: fixed typo on running update
2020-04-14 18:14:09 +05:30
gavin
e1f1b0972d
docs: mellow-er contribution message post update 2020-04-14 15:21:30 +05:30
Abhishek Kedar
6dd0118446
fix: typo cash to crash
Fixed typo in "Open source..." sentence
2020-04-14 14:02:56 +05:30
gavin
8a5e7e9ec9
Merge pull request #960 from gavindsouza/check-for-updates
feat: check for newer versions on PyPI
2020-04-08 19:13:13 +05:30
gavin
0caf597b18
Merge pull request #964 from frappe/change-log-message
chore: changed bench.utils.log API prefix
2020-04-08 19:12:43 +05:30
gavin
5f03d30df4
chore: changed LOG to INFO 2020-04-08 18:54:45 +05:30
Gavin D'souza
9b6155dcf3 fix: added python source code encoding 2020-04-02 17:00:20 +05:30
Gavin D'souza
6ea7d75193 fix: check for updates after command execution and handle
requests Exceptions
2020-04-02 16:10:38 +05:30
Gavin D'souza
62f666c481 feat: check for newer versions on PyPI 2020-04-02 15:27:36 +05:30
Chinmay Pai
5b955897c3
Merge pull request #934 from gavindsouza/force-use-pypi
fix: show warning if bench is not installed via PYPI
2020-03-31 00:33:11 +05:30
Chinmay Pai
7f792a8603
chore: warning text improvement
highly opinionated improvement.
2020-03-31 00:32:30 +05:30
Chinmay Pai
c600c3f86b
Merge pull request #955 from gavindsouza/sec-patch
fix: remove bench and supervisor from sudoers
2020-03-26 14:36:12 +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
cd77b42255 refactor: avoid redefining name from different scopes
ref: deepsource https://deepsource.io/gh/frappe/bench/run/c9ee328a-6f59-49a9-b21c-8e770bd14091/python/PYL-W0621/
2020-03-26 14:15:59 +05:30
Gavin D'souza
af8f74db46 chore(deepsource): update docstrings for public functions 2020-03-26 13:09:23 +05:30
gavin
3d61856157
Merge pull request #959 from netchampfaris/minor-message
fix: Message per app when installing node deps
2020-03-25 13:55:12 +05:30
Gavin D'souza
8c86ef576e fix: bench_path during setup_env 2020-03-25 13:37:24 +05:30
Gavin D'souza
35d1166868 style: updated message log for app wise deps setup 2020-03-25 13:07:55 +05:30
Gavin D'souza
2e23133a56 Merge branch 'develop' of github.com:frappe/bench into netchampfaris/minor-message 2020-03-25 12:34:15 +05:30
Faris Ansari
bdc20a5435 fix: Message per app when installing node deps 2020-03-24 21:35:40 +05:30
Chinmay Pai
0ae3c461d7
Merge pull request #952 from gavindsouza/pre-v5
chore: remove updating "bench tool" from update
2020-03-20 16:14:38 +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
cb1e750cc7
Merge pull request #936 from gavindsouza/wkhtmltopdf-playbooks-update-v0.12.5
chore(playbooks): update wkhtmltopdf to v0.12.5
2020-03-17 12:00:03 +05:30
Gavin D'souza
ca65c3275a Merge branch master into wkhtmltopdf-playbooks-update-v0.12.5 2020-03-17 11:14:55 +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
5dd3f5ce12 chore: show PYPI message as warning 2020-03-16 17:45:18 +05:30
Gavin D'souza
2fe5cce6d4 fix: dont drop permissions for setting up supervisor 2020-03-16 17:31:08 +05:30
Gavin D'souza
9f09138353 chore: use set instead of get in config object 2020-03-16 14:31:20 +05:30
Gavin D'souza
3e99fbc46b fix: add section in conf if doesnt exist 2020-03-16 13:16:43 +05:30
Gavin D'souza
8972a06fd6 Merge branch 'master' into 'force-use-pypi' 2020-03-16 13:02:52 +05:30
Gavin D'souza
cdd7d34034 Revert "fix: force use PYPI packaged bench"
This reverts commit 74bb1805b2d024ac32c4952c90c408c5b58b4969.
2020-03-16 12:59:28 +05:30
Gavin D'souza
5e7ad22be9 chore: throw warning that bench is being run in editable mode 2020-03-16 12:56:57 +05:30
Gavin D'souza
15b01e9451 fix: force use PYPI packaged bench 2020-03-16 12:55:55 +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
849c751e93 chore: dont create supervisord conf if doesnt exist via
bench.config.supervisor.update_supervisord_conf
2020-03-16 11:46:11 +05:30
Gavin D'souza
c1507c2848 chore: py2-3 compatible configparser 2020-03-16 00:52:04 +05:30
Gavin D'souza
9e7b8d1f2e fix: avoid circular imports and optimization 2020-03-15 22:50:52 +05:30
Gavin D'souza
1f0b78f2fe chore: update tests with updated sudoers conf 2020-03-15 19:41:21 +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
f6292bba77 chore: added logging and removed unnecessary print in
get_cmd_output
2020-03-15 19:32:46 +05:30
Gavin D'souza
e12208dc25 fix: update supervisord and sudoers for old benches 2020-03-15 19:31:27 +05:30
Gavin D'souza
48f70aca65 fix: restart supervisor service after conf update 2020-03-13 20:01:37 +05:30
Gavin D'souza
1f0a5ce556 fix: update supervisord.conf while generating supervisor.conf 2020-03-13 19:38:13 +05:30
Gavin D'souza
d2a70badd3 chore: optimized and removed deprecated api usage and imports 2020-03-13 18:48:22 +05:30
Gavin D'souza
39f8223d6d fix: remove supervisord under service and systemctl in sudoers 2020-03-13 18:47:05 +05:30
Gavin D'souza
a03252881a fix: get_cmd_output handles exit codes if no output
eg: running "supervisorctl status" returns non zero codes in case
certain processes its running are in failed state. get_cmd_output will
now handle such situations

chore: dropped bench.utils.get_program
2020-03-13 18:46:15 +05:30
Gavin D'souza
51b81c3997 fix: remove bench and supervisor from sudoers
chore: move production prerequisites into setup_production
2020-03-13 16:41:00 +05:30