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

1777 Commits

Author SHA1 Message Date
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
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
Revant Nandgaonkar
72756236a5
chore: update README for docker (#954) 2020-03-13 16:34:01 +05:30
Revant Nandgaonkar
a4ef44ae27
Merge pull request #950 from Thunderbottom/redis-procfile-docker
feat(procfile): dont add redis to procfile if skipping config gen
2020-03-11 18:05:46 +05:30
gavin
0e5f36dbf7
Merge pull request #953 from gavindsouza/bench-init-error
chore: print error message in case of failures
2020-03-11 13:45:06 +05:30
Gavin D'souza
06d4303a9f chore: print error message in case of failures 2020-03-11 12:30:37 +05:30
Gavin D'souza
8fb831d870 style: clearer import paths 2020-03-11 12:12:24 +05:30
Gavin D'souza
3d3b3721f0 chore: remove bench tool update on update 2020-03-11 12:10:38 +05:30
gavin
1f5c7ec201
chore: add travis, deepsource (#900)
* chore: added deepsource config

* chore: updated travis config

* chore: updated travis config

* chore: updated travis tests for 2.7, 3.6, 3.7, 3.8

* chore: quiet installs and sudo easy install

* fix(tests): add mariadb versioning

* fix(travis): print compat for pyhton 3

* fix: drop deprecated function usage

* chore(tests): update test_init

* tests: update branch to use version-12 for testing and use git module

* chore: quieten git command outputs on branch switch

* fix: execute 'setup production' via cli

* style: sort imports

* chore: update mariadb variables in .travis.yml

* chore: seperate jobs for easy install and production setup

* chore: use exec_cmd to log command output

* chore: pin tests to ubuntu trusty

* chore: use playbooks to install mariadb

* chore: mariadb fixes in travis

* chore: pin dist to ubuntu 18.04

* chore: setup envs according by type of test

* chore: ignore auto backup, procfile, assets build

* chore: change app frammeclient to frappe_theme

* test: try travis_wait

* tests: update and restructure tests

* tests: restructure flow of setUp, tearDown

* fix: python class inheritence fix

* chore: use local frappe repo instead of remote pull

* tests: skip assets during get-app

* fix(tests): remove reinstalling app after get_app called

* fix(tests): updated test_install_app

* fix: broken remove_app
tests: broken tests

* tests: no backup while dropping new_sites

* tests: added certain tests and py obj fixes

* tests: seperate basic and production setup tests

* tests: update travis, remove basic setup

* chore: move from function calls to exec_cmd

* chore: tests fixes

* chore: removed sudo from basic setup runs

* chore: use "sudo" for setting up sudoers

* fix: allow get_app from local folder

* fix: use gitpython to switch branch instead of exec_cmd

* chore: use test to check for file existing

* chore: restructure bench tests

* fix: fetch app repo before checking for version upgrade during
switch_branch

* fix: gitpython error in usage

* fix: boolean return value of file_exists

* fix: dont decode file contents

* fix: bench names and close open files

* chore: update bench config multiple benches

* chore: check where production fails

* chore: mention python version for init

* chore: remove node production test in CI

* fix: compatibility and permissions fixes

* chore: setup sudoers after prod setup

* fix: set remote upstream after local clone

* fix: disable production via cli

* chore(tests): fix upstream link

* chore: split tests and remove unused imports
2020-03-09 17:47:43 +05:30
gavin
cbd5936742
Merge pull request #951 from gavindsouza/bench-switch-branch
fix: switch branches "better"
2020-03-09 13:58:32 +05:30
Gavin D'souza
dc307b6880 fix: switch branches "better" 2020-03-09 13:53:13 +05:30
Chinmay D. Pai
fceb2725c4
chore: rename setup_redis to skip_redis
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-03-05 22:59:59 +05:30
Chinmay D. Pai
4c173ded26
feat(procfile): dont add redis to procfile if skipping config gen
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-03-05 18:26:48 +05:30
Suraj Shetty
189d0c7d38
Merge pull request #948 from gavindsouza/update-requirements-fix
fix: setup requirements --python skips assets
2020-03-04 14:52:22 +05:30