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

1649 Commits

Author SHA1 Message Date
gavin
f60466caaf
Merge pull request #899 from gavindsouza/bench-cleanup
feat: rollback on bench init
2020-01-20 10:46:09 +05:30
gavin
fe94787f8c
Merge pull request #901 from gavindsouza/bench-docs-refact
chore: updated Bench docs
2020-01-20 10:41:47 +05:30
gavin
80a72026ef
Merge pull request #903 from ckosiegbu/patch-3
fix: validate branch in bench update
2020-01-20 09:45:14 +05:30
Gavin D'souza
b85651653b fix: validate branch error message + cleanup 2020-01-20 09:43:51 +05:30
ckosiegbu
5762724cc7 fix: validate branch in bench update
bench update assumes that erpnext is an installed app in the bench. This is a wrong assumption. This work around checks for the intersection of installed apps with  the list ['frappe', 'erpnext'] and only attempts to get the current branch of apps that occur in the intersection. This way, if erpnext is not installed (very likely for those using frappe only to build their own apps) there wont be an error when get_current_branch is called for erpnext. The need to perform the kind of check being performed in validate_branch is a strong case for considering apps being able to add "bench update" hooks in their hooks.py

See this topic https://discuss.erpnext.com/t/bench-update-error-no-such-file-or-directory-apps-erpnext/56932?u=chude_osiegbu
2020-01-20 09:43:39 +05:30
Raffael Meyer
a2ea3d90c5
fix: bump MariaDB version
Update MariaDB version from `10.2` to `10.3` to match requirement in README.

By the way, is there any reason for the empty string being the default password and version?

```py
def install_maridb(mysql_root_password='', version=''):
    # ...
```
2020-01-17 20:01:38 +01:00
Gavin D'souza
f75f9ff706 chore: add license to readme 2020-01-16 19:29:13 +05:30
Gavin D'souza
90c6dacb43 chore: updated category on discuss forum 2020-01-16 18:48:04 +05:30
Gavin D'souza
f48bb5a130 chore: updated and consolidated readme
- added visual hierarchy and structure to text
- added table of contents
- breakdown additional information about each section in their respective
files
2020-01-16 17:48:43 +05:30
Gavin D'souza
869d27ff65 chore: updated pull request template 2020-01-16 14:23:43 +05:30
Gavin D'souza
8b63e72443 chore: updated issue templates 2020-01-16 14:22:29 +05:30
Gavin D'souza
c64a7e90e6 fix(utils): sort imports, add parenthesis on ambigupus expr 2020-01-15 16:29:08 +05:30
Gavin D'souza
1b0008d709 fix: single process to pip install requirements, quiet flag added 2020-01-15 14:24:03 +05:30
Gavin D'souza
71af7320f2 fix: ansible install on versioned pip 2020-01-15 13:36:32 +05:30
Gavin D'souza
7fb1484b7f fix: seperate colors from log, change exception
changes: thrown if bench dir exists on bench init
style: fixed whitespaces and formatting
2020-01-15 13:33:27 +05:30
Gavin D'souza
f0c1893565 feat: ability to rollback failed bench init 2020-01-15 13:31:57 +05:30
gavin
5271e1ea2a
Merge pull request #895 from gavindsouza/new-commands
feat: "bench find", print log api
2020-01-14 10:55:38 +05:30
Gavin D'souza
963b2f9ce5 feat: added bench find command 2020-01-10 20:42:13 +05:30
Gavin D'souza
e32281557f feat: added bench.utils.log and updated is_bench_directory api 2020-01-10 14:48:09 +05:30
Gavin D'souza
ef1a624556 fix(cli): give warn that commands are not executed in a bench folder 2020-01-10 14:45:13 +05:30
gavin
2266b96880
Merge pull request #893 from gavindsouza/easy-inst-diff
fix(easy_install): log files saved with timestamp
2020-01-09 15:25:58 +05:30
Gavin D'souza
9cc6e2e2a8 fix(easy_install): datetime formatting 2020-01-09 15:22:29 +05:30
gavin
bf88572864
Merge pull request #894 from frappe/revert-888-faster-commands
Revert "perf: faster bench"
2020-01-07 16:06:36 +05:30
gavin
76d8b3d9f6
Revert "perf: faster bench" 2020-01-07 16:06:15 +05:30
Gavin D'souza
b80cecc917 fix(easy_install): log files saved with timestamp 2020-01-07 15:34:34 +05:30
gavin
e74c59dc73
Merge pull request #888 from gavindsouza/faster-commands
perf: faster bench
2020-01-07 14:04:37 +05:30
gavin
48db77318a
Merge pull request #892 from gavindsouza/setup-prod
fix(easy_install): overwrite config files
2020-01-06 12:51:14 +05:30
Gavin D'souza
aebd75990a fix(easy_install): overwrite config files 2020-01-06 12:11:28 +05:30
gavin
5e7e2c33e3
Merge pull request #889 from gavindsouza/easy-install-pip
fix(easy-install): install pip via pacman, minor fixes
2020-01-05 07:30:57 +05:30
gavin
9559fe0c76
Merge pull request #857 from developmentforpeople/fix-get-sites-as-frappe
fix: bench.get_sites now do same checks to validate a site folder like frappe.utils.get_sites
2020-01-03 15:11:20 +05:30
Gavin D'souza
8764813121 fix: "faster" get_sites function
chore: dropped unused get_sites_dir function
style: pythonic "is not" usage
2020-01-02 18:47:13 +05:30
Development for People
a3dc9e69b7 fix: bench.utils.get_sites updated to frappe.utils.get_sites
avoids issues with non sites folder like 'jupyter_notebooks'
2020-01-02 18:46:05 +05:30
Gavin D'souza
f251feae87 fix: install pip via pacman, minor fixes 2020-01-02 14:23:55 +05:30
Gavin D'souza
3b91d98d85 fix: compatibility fixes, better cpu utilization 2019-12-31 14:09:42 +05:30
Gavin D'souza
bb677d17df perf: Faster Commands execution by commands caching 2019-12-31 14:06:00 +05:30
gavin
bf4c2d06ab
Merge pull request #887 from gavindsouza/bench-docs
chore: updated README
2019-12-30 17:04:29 +05:30
Gavin D'souza
69055a8642 chore: updated README 2019-12-30 17:03:33 +05:30
gavin
bb7310f218
Merge pull request #886 from gavindsouza/git-stash
fix: git stash requires user details pre git v2.21
2019-12-27 17:30:52 +05:30
Gavin D'souza
a7a8790de6 fix: git stash requires user details pre git v2.21 2019-12-27 15:44:03 +05:30
gavin
9ede12ecd5
Merge pull request #885 from gavindsouza/easy-install-cleanup
fix(easy_install): updated sequence of package updates
2019-12-27 15:22:31 +05:30
gavin
be162b542d
Merge pull request #884 from gavindsouza/bench-update
feat: Bench update
2019-12-27 13:48:53 +05:30
Gavin D'souza
c7381defd3 fix: updated sequence of package updates
chore: breakdown install_bench in smaller functions
2019-12-27 13:14:33 +05:30
gavin
e20a27e549
Merge pull request #880 from gavindsouza/playbooks-update
chore: Playbooks update
2019-12-27 11:06:16 +05:30
Gavin D'souza
186c0eafda feat: auto-stash changes in bench (tool) on update 2019-12-25 19:24:23 +05:30
Gavin D'souza
c93a25d336 feat: "bench update" from non-bench directory 2019-12-25 19:23:14 +05:30
gavin
8b630edcd6
Merge pull request #882 from zerodhatech/skip_assets
feat: skip build assets while doing get-app
2019-12-23 12:33:51 +05:30
Shridhar Patil
a65e9f09dc changed parameter name 2019-12-20 17:20:28 +05:30
Gavin D'souza
9e3d5c8587 chore: use shutil.which instead of find_executable 2019-12-20 14:45:56 +05:30
Shridhar Patil
b005720a2b skip asstes while doing get-app 2019-12-19 17:35:48 +05:30
Gavin D'souza
07d23d6911 chore: rename print function to log 2019-12-19 14:38:46 +05:30