2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-14 01:04:03 +00:00
Commit Graph

1701 Commits

Author SHA1 Message Date
Gavin D'souza
2d436126fd fix: help for bench install without sudo 2020-04-11 21:36:34 +05:30
Gavin D'souza
7e7c3969a7 fix: set translations download limit based on cpu cores 2020-04-11 21:21:07 +05:30
Gavin D'souza
e39ae1e0b5 fix: better warning and cache handling 2020-04-11 21:20:24 +05:30
Gavin D'souza
c0afa041c8 feat: bench apps commands caching
Port of https://github.com/frappe/bench/pull/888
2020-04-11 21:17:13 +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
Chinmay Pai
8a197eed3d
chore: fix bench help
Co-Authored-By: gavin <gavin18d@gmail.com>
2020-04-06 17:51:10 +05:30
Gavin D'souza
84fb7e296a chore: codacy import and docstring fixes 2020-04-03 14:42:22 +05:30
Gavin D'souza
20152f2dce style: sort and optimize imports 2020-04-02 22:24:21 +05:30
Gavin D'souza
1f4994d434 fix: move bench.env to bench.config.env
changed namespace to allow usage of __init__ file without checking
for jinja2 dependencies
2020-04-02 17:35:12 +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
e218a7aa09 chore: renamed project to match with PyPI 2020-04-02 15:42:03 +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 D. Pai
c260488886
chore: add complete docker installation to readme
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-03-30 12:27:27 +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
Gavin D'souza
cab8831311 bumped to version 5.0.0 2020-03-24 10:43:47 +05:30
Chinmay D. Pai
4489759ab1
chore: replace footnotes with inline links
github markdown does not render footnotes for some reason...

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-03-23 21:12:43 +05:30
Chinmay Pai
0abf074ca4
chore: use em dash instead of double hyphens 2020-03-23 21:04:14 +05:30
Chinmay D. Pai
e1fcbf4f5c
chore: rename license.md to license
do not render markdown for license

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-03-23 21:01:50 +05:30
Chinmay D. Pai
b98c7ed27e
refactor: bench readme
* restructure the readme
* add docker installation
* cite stuff

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-03-23 20:59:58 +05:30
gavin
1441912bc4
Merge pull request #957 from frappe/develop
Merge 'develop' into 'master'
2020-03-22 12:21:39 +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