2
0
mirror of https://github.com/frappe/bench.git synced 2025-01-26 16:08:23 +00:00

675 Commits

Author SHA1 Message Date
Aditya Hase
b7f568aec2 fix: Change ownership of all log and config files 2019-04-13 10:55:41 +05:30
Faris Ansari
93264c6b71
Revert "perf: Remove unwanted check (#788)" (#790)
This reverts commit 431e96909c1eac3496bbe304aac51299f538640d.
2019-04-13 10:11:25 +05:30
Suraj Shetty
c16c8e69f0 Revert "fix: Change ownership of all log and config files (#787)"
This reverts commit 2435cb6b2ea9e182b417c6f16b762647340aa573.
2019-04-13 00:01:00 +05:30
Suraj Shetty
431e96909c perf: Remove unwanted check (#788)
`get_frappe_commands` returns a list of valid frappe commands which is used to check if the user command is valid. But this is unnecessary because even without it bench can report the command not found error. This saves ~1 second.
2019-04-12 21:03:15 +05:30
Aditya Hase
2435cb6b2e fix: Change ownership of all log and config files (#787)
Without this, after  ` sudo bench setup production ` file ownership of all log files isn't changed and requires human intervention.
2019-04-12 15:32:17 +05:30
Chinmay Pai
ecdcbb9219
fix: add x-frame-origin to prevent clickjacking 2019-03-07 17:22:09 +05:30
Sagar Vora
d55d29b8fd fix: syntax error 2019-01-29 23:59:42 +05:30
Sagar Vora
21925fa06f fix: syntax error 2019-01-29 23:58:23 +05:30
Sagar Vora
47a9aca0e7 fix: importing reload caused issues in python2 2019-01-29 23:52:31 +05:30
Sagar Vora
4d02801f53
fix: use reload only if imported 2019-01-29 19:51:12 +05:30
Shivam Mishra
fd4be52e32 Removed foundation dependency (#763) 2019-01-22 15:38:01 +05:30
Sagar Vora
11de4f1cb7
Merge pull request #758 from sagarvora/no-ff
fix(release): don't fast-forward while merging
2019-01-22 15:07:41 +05:30
Aditya Hase
d1810e1dc1 fix(error): Python 2 does not provide stderr on CalledProcessError (#762) 2019-01-21 16:11:10 +05:30
Sagar Vora
656358cd59 fix: use existing function 2019-01-21 13:24:21 +05:30
Saurabh
c2165b471a fix: pull app list from sites/apps.txt 2019-01-21 13:09:25 +05:30
Sagar Vora
856974939b
Merge pull request #747 from Thunderbottom/p3.7-fix
remove-app: fix for python3.7
2019-01-20 10:46:35 +05:30
Aditya Hase
1497f9b14b feat(error): Show SyntaxError found in frappe (#759) 2019-01-19 13:12:21 +05:30
Sagar Vora
c1bba94648 fix(release): don't fast-forward while merging 2019-01-15 17:48:29 +05:30
Sagar Vora
518b8f32da
Merge pull request #744 from codingCoffee/reqfix
fix: install app instead of requirements.txt
2019-01-14 22:10:10 +05:30
Saurabh
277a7107a1
Merge pull request #751 from codingCoffee/broken_site_config
fix: setup nginx fails for broken site_config
2019-01-03 12:57:17 +05:30
Sagar Vora
0afb89a2c1 fix: default caching of pip packages, use reload_supervisor function 2018-12-13 09:49:55 +05:30
Sagar Vora
68538fd78c feat(CircleCI): tests shall not fail! ✔️ 2018-12-12 15:28:01 +05:30
Ameya Shenoy
8b02bed71c
fix: setup nginx fails for broken site_config
Signed-off-by: Ameya Shenoy <shenoy.ameya@gmail.com>
2018-11-30 13:47:06 +05:30
Ameya Shenoy
479ab08deb
feat(release): option to prevent frontport
Option to prevent frontporting code to new branches, for example
v11(staging-fixes) should go into v12(develop)

Reason: To offload tasks to bot for normal releases, which can be done
without conflicts on a regular basis. However the frontporting releases
need manual intervention since merge conflicts arise.
2018-11-19 17:42:28 +05:30
Chinmay Pai
ce7a5e757d
remove-app: fix for python3.7
"bench remove-app <app>" exits with TypeError on python3.7

converting the subprocess output to string fixes this issue.

Signed-off-by: Chinmay Pai <chinmaydpai@gmail.com>
2018-11-12 13:51:11 +05:30
Ameya Shenoy
64a3a5c40a
fix: proper semantic version bumping
- also included tests for the same

Signed-off-by: Ameya Shenoy <shenoy.ameya@gmail.com>
2018-11-07 16:17:30 +05:30
Ameya Shenoy
d99780b041
fix: install app instead of requirements.txt
pip installs the frappe apps instead of just their requirements.txt
It needs to be done so as to prevent update the app version for pip and
to prevent conflits for the dependencies in requirements.txt

Signed-off-by: Ameya Shenoy <shenoy.ameya@gmail.com>
2018-11-07 13:32:03 +05:30
Ameya Shenoy
0290932828
fix(prerelease): allow making prerelease for bench
- fixed the existing funtionality of prerelease

Signed-off-by: Ameya Shenoy <shenoy.ameya@gmail.com>
2018-09-26 09:03:20 +00:00
Ameya Shenoy
33555fa63a
Merge pull request #709 from vjFaLk/wildcard-all-domains
Allow user to set single wildcard certificate for all domains
2018-09-22 03:22:54 +05:30
Valmik Jangla
40bccb5482 Allow user to set single wildcard certificate for all domains 2018-09-21 16:31:08 +05:30
Chinmay Pai
15d2c8df16
[fix] reload(): use importlib for python3
reload() is an inbuilt function in python2 but has been moved to importlib since python3.4.

source: https://docs.python.org/3/library/importlib.html#importlib.reload

Signed-off-by: Chinmay Pai <chinmaydpai@gmail.com>
2018-09-21 13:47:21 +05:30
Ameya Shenoy
e4e054e840
fix(remove_app): use app name instead of app path
pip 18 does not allow path to repo, instead we use the app name

Signed-off-by: Ameya Shenoy <shenoy.ameya@gmail.com>
2018-09-19 15:32:16 +05:30
Ameya Shenoy
2e7619c128
Merge pull request #714 from Thunderbottom/case-fix
[minor] setup: fix overwrite existing site
2018-09-06 16:40:44 +05:30
Mangesh-Khairnar
a331c012d2 [minor] redis: fix max memory size
some macOS systems do not have SC_PHYS_PAGES set and may raise a ValueError. As a workaround, we fallback to sysctl.
2018-09-05 18:24:48 +05:30
Chinmay Pai
0c7b92b0f1
[minor] setup: fix overwrite existing site
fixed a casing issue where entering "N" would overwrite the site.

Signed-off-by: Chinmay Pai <chinmaydpai@gmail.com>
2018-08-29 12:58:04 +05:30
Sagar Vora
03781586b7
[python 3.7] async is a keyword => use is_async 2018-08-24 10:58:06 +05:30
Ameya Shenoy
2354396d49 fixed path 2018-08-16 13:04:02 +05:30
Ameya Shenoy
c6e559b8b9
better coding practices 2018-08-15 18:02:05 +00:00
Ameya Shenoy
642935a8a8
removed pip lockdown on 9.0.3 2018-08-15 18:02:03 +00:00
Saurabh
03186a75ba [fix]symentic versioning 2018-07-19 13:18:23 +05:30
Saurabh
361f0d2130 [fix] staging version 2018-07-11 14:55:50 +05:30
Saurabh
48df15562f update staging version 2018-07-11 14:40:33 +05:30
Saurabh
9039b12d9f remove debuggin statements and removed redundent code 2018-07-10 18:08:24 +05:30
Saurabh
ab2f8e998d prepare beta release 2018-07-10 17:31:59 +05:30
Saurabh
e97dcd9bcb pull branches from config 2018-07-10 17:31:59 +05:30
Ameya Shenoy
1262f25704 multiple fixes:
- in travis tests added check for the node_modules folder not found, since it was moved to frappe from v11 onwards
- added --without-erpnext flag to install only frappe
- identified but not yet fixed localctl failure on scaleway cloud (instant fix: apt install keyboard-configuration kbd console-data)
- fixed owner and permissions for bench.log in logs
- fixed mariadb set root password issue
- added libselinux-python to centos for localctl issues
2018-07-10 12:12:14 +05:30
Ameya Shenoy
6f7f46fd2f
Merge pull request #692 from codingCoffee/bm_port
bench manager runs on a separate port
2018-07-04 18:05:56 +05:30
Ameya Shenoy
20e31407cc bemch manager runs on a sepaate port
- modified bench-manager.local to run on a separate port on a given
domain
2018-07-03 19:17:56 +05:30
Ameya Shenoy
38601eabf8
Merge branch 'master' into multi_fixes 2018-07-03 14:28:48 +05:30
Ameya Shenoy
2fb6e46337
Merge pull request #685 from pratu16x7/revert-684-theme
Revert "get frappe_theme for foundation"
2018-07-03 13:30:30 +05:30