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

2011 Commits

Author SHA1 Message Date
gavin
085baf5043
Merge pull request #1158 from gavindsouza/ci-updates
ci: Dropping tests for < PY3.7
2021-04-23 19:38:59 +05:30
gavin
b72e896e66
Merge branch 'develop' into ci-updates 2021-04-23 19:15:46 +05:30
Gavin D'souza
7e1db3fd74 test: Update env test
Env folder's include may be empty or non existent
2021-04-23 19:14:30 +05:30
Gavin D'souza
530a980ef7 fix: Use execve and set envvars instead of execv
Changed from execv to execve with empty env dict because bench commands on macOS 10.14.6 PY3.9.0a4 fails with "Error while finding module specification for 'frappe.utils.bench_helper' (ModuleNotFoundError: No module named 'frappe')"

This error has come up in the past too. I'm now suspecting it has
something to do with the current process passing on it's environment
variables to the process that's going to replace it, which causes these
issues.

Note that direct execution of the commands without the bench wrapper
worked fine although via bench failed with the specified error
2021-04-23 18:38:27 +05:30
Gavin D'souza
b0ccb6efbe fix: Invoke pip via python
Due to "WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip. Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue. To avoid this problem you can invoke Python with '-m pip' instead of running pip directly."
2021-04-23 18:37:03 +05:30
gavin
c88e205069
Merge pull request #1159 from revant/docs-docker-readme
docs: add docker repo link in README
2021-04-23 15:00:10 +05:30
Revant Nandgaonkar
75632a7616 docs: add docker repo link in README
remove docker installation details
refer official link for installation details
2021-04-23 14:54:51 +05:30
Gavin D'souza
89bc45e2d0 ci: Run all builds on 3.7, 3.8, 3.9
* Drop CI testing for older versions: 2.7, 3.5, 3.6
2021-04-23 12:22:17 +05:30
gavin
0480b898ae
Merge pull request #1157 from gavindsouza/b-update-breaking-patch
fix: Misc fixes
2021-04-23 12:21:08 +05:30
Gavin D'souza
405f41e434 test: Use frappe_theme to test apps instead of erpnext
* Don't skip assets
2021-04-23 11:25:29 +05:30
Gavin D'souza
f04a9e6e0d chore: Remove deprecated command switch-to-master 2021-04-23 11:25:24 +05:30
Gavin D'souza
da85e0ccdd refactor: Optimize and simplify imports
* make relative imports absolute
* minor: Simplify logic
2021-04-23 11:05:06 +05:30
Gavin D'souza
778fe6cb0b fix: Don't break update if no sites exist on patching sites stage 2021-04-23 10:47:36 +05:30
gavin
4b31ac078b
Merge pull request #1130 from CaseSolvedUK/shallow_pull
feat: Keep repos shallow if --reset and shallow_clone are specified in bench update --pull
2021-04-23 10:28:47 +05:30
gavin
cba3f7d8a4
Merge pull request #1147 from ankush/fix_compile
fix: use correct path for compiling py files
2021-04-21 11:53:10 +05:30
gavin
fbe285f832
Merge pull request #1028 from Thunderbottom/declarative-setup-bench
feat: add declarative config support for bench
2021-04-20 12:18:51 +05:30
Gavin D'souza
1e56d04e94 Merge branch 'develop' of github.com:frappe/bench into declarative-setup-bench 2021-04-20 10:56:33 +05:30
gavin
558006068f
Merge branch 'develop' into fix_compile 2021-04-19 18:15:49 +05:30
gavin
f03924f635
Merge pull request #1151 from resilient-tech/remove-older-support
chore: remove support for older versions of frappe
2021-04-19 18:15:21 +05:30
Sagar Vora
ec2ce0f3b8 chore: remove support for older versions of frappe 2021-04-13 13:06:08 +05:30
Sébastien HOUZET
777b204490
docs: Change link on Menu to Basic Usage
Fix link on menu to Basic Usage
2021-04-07 13:13:33 +05:30
Ankush Menat
b3a0757e38
fix: use correct path for compiling py files 2021-04-02 19:48:04 +05:30
dependabot-preview[bot]
9b297284a6
build(deps): [security] bump jinja2 from 2.10.3 to 2.11.3 (#1142)
Bumps [jinja2](https://github.com/pallets/jinja) from 2.10.3 to 2.11.3. **This update includes a security fix.**
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/master/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/2.10.3...2.11.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-22 16:23:26 +05:30
Mohammad Hasnain Mohsin Rajan
4c627e4531
chore: update version (#1138)
* chore: update version

* chore: use dev version on develop branch

* chore: move develop branch check before imports
2021-03-18 13:57:21 +05:30
casesolved-co-uk
a1db48b57e fix: serious bug capable of deleting apps path 2021-03-17 16:20:47 +00:00
Richard Case
0ff8dddef9 fix: only get the specific branch for version check 2021-03-17 16:20:47 +00:00
Richard Case
895c403278 fix: only fetch current branch 2021-03-17 16:20:47 +00:00
Richard Case
82173c1d42 fix: only fetch what is necessary, simplify & improve grepability 2021-03-17 16:20:47 +00:00
Richard Case
66240e1f8d feat: Keep repos shallow if --reset is specified and shallow_clone is set 2021-03-17 16:20:47 +00:00
gavin
8a7a532a45
Merge pull request #1126 from revant/setup-supervisor-skip-redis
feat: skip redis config during supervisor setup
2021-03-17 17:42:04 +05:30
Revant Nandgaonkar
f109c3eaad
Merge branch 'develop' into setup-supervisor-skip-redis 2021-03-02 13:08:34 +05:30
gavin
f3809b00ac
Merge pull request #1121 from NicolasStr/develop
fix: create bench folder in user directory
2021-02-26 19:22:09 +05:30
gavin
034e0085e9
Merge pull request #1124 from adityahase/perf-cli
perf: Faster CLI
2021-02-26 16:39:01 +05:30
gavin
6b08292d91
Merge pull request #1122 from rtdany10/patch-2
fix: fail2ban help message
2021-02-26 13:08:11 +05:30
Revant Nandgaonkar
5cf1363481 feat: skip redis config during supervisor setup 2021-02-26 07:55:04 +05:30
Aditya Hase
b70aa21a73
chore: Remove unused import comment blocks 2021-02-21 11:24:32 +05:30
Aditya Hase
5d90346660
perf: Remove six.moves.reload_module from the import tree 2021-02-21 11:12:57 +05:30
Aditya Hase
2df0bf726d
perf: Remove semantic_version from the import tree 2021-02-21 11:12:40 +05:30
Aditya Hase
07ecaa1f77
perf: Remove shutil from the import tree 2021-02-21 11:12:00 +05:30
Aditya Hase
6706b230da
perf: Remove six.moves.urllib from the import tree 2021-02-21 11:10:43 +05:30
Aditya Hase
c5d2fb9255
perf: Remove bench.config.common_site_config from the import tree 2021-02-21 10:06:44 +05:30
Aditya Hase
cab2d44df5
perf: Remove bench.config.letsencrypt from the import tree 2021-02-21 10:06:11 +05:30
Aditya Hase
36e48c7dd7
perf: Remove bench.config.nginx from the import tree 2021-02-21 10:05:40 +05:30
Aditya Hase
5525548ced
perf: Remove six.moves.urllib from the import tree 2021-02-21 10:04:03 +05:30
Aditya Hase
e12717d63a
perf: Remove crontab from the import tree 2021-02-21 10:03:36 +05:30
Aditya Hase
6c0e1a359e
perf: Remove siz.moves.configparser from the import tree 2021-02-21 10:03:03 +05:30
Aditya Hase
8527b106c3
perf: Remove multiprocessing from the import tree 2021-02-21 10:02:41 +05:30
Aditya Hase
104efd349b
perf: Remove ast from the import tree 2021-02-21 10:02:20 +05:30
Aditya Hase
2a4377ac6f
perf: Remove crontab from the import tree 2021-02-21 10:02:02 +05:30
Aditya Hase
ad37665e8b
perf: Remove multiprocessing from the import tree 2021-02-21 10:01:44 +05:30