Gavin D'souza
cf3c0b9265
fix: checksum expression
2020-02-26 15:51:21 +05:30
Gavin D'souza
de1af44b7f
chore(playbooks): update wkhtmltopdf to v0.12.5
2020-02-26 14:49:28 +05:30
gavin
2d98d35f1b
Merge pull request #926 from gavindsouza/bench-docs-help
...
docs: added bench usage docs
2020-02-25 12:53:28 +05:30
gavin
f5d3a53cee
Merge pull request #933 from Thunderbottom/pin-req
...
chore: pin gitdb2 only for python < 3.4
2020-02-25 12:35:00 +05:30
Chinmay D. Pai
e5b84be566
chore: pin gitdb2 only for python < 3.4
...
pip allows pinning requirement using environment markers[0]
[0]: https://www.python.org/dev/peps/pep-0508/#environment-markers
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-02-25 12:11:24 +05:30
gavin
354d23e787
Merge pull request #932 from gavindsouza/pin-dependencies
...
fix: pin dependencies of requirements
2020-02-25 12:03:55 +05:30
Chinmay D. Pai
206d5ed3ae
chore: solve merge conflicts
...
* renme build_asset_files tp skip_asset
* add overwrite flag
* move building assets to postprocessing
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-02-25 11:58:49 +05:30
Gavin D'souza
c660593a9a
fix: pin dependencies of requirements
2020-02-25 11:57:28 +05:30
Chinmay D. Pai
0c0ed767f7
chore: add overwrite flag, repo_name format, and exit gracefully
...
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-02-25 11:45:03 +05:30
Gavin D'souza
5af3716560
docs: updated and re-link docs
2020-02-24 12:51:53 +05:30
gavin
92d2fbdc13
fix: setup cron job for renewing ssl certificate ( #918 )
...
* fix: setup cronjob for renewing ssl certificate
cronjob set for 1st of every month
* fix: cannonical PYPI package name updates
refs:
- https://pypi.org/project/python-crontab/
- https://github.com/frappe/bench/pull/918#issuecomment-589961301
2020-02-24 12:09:24 +05:30
Chinmay D. Pai
bf47661f3e
chore: setup distutils using apt instead of pip
...
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-02-20 20:34:43 +05:30
Chinmay D. Pai
0a9effdfb4
chore: setup distutils inside travis
...
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-02-20 20:12:28 +05:30
Chinmay D. Pai
986015c13c
chore: substitute shutil.which with find_executable on py2
...
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-02-20 20:02:35 +05:30
Chinmay D. Pai
0b3feb1f7b
chore: add check for CI
...
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-02-20 19:55:50 +05:30
Chinmay D. Pai
d47e1ac330
chore: fix easy_install
...
import print from __future__ for python2 to use print's file param
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-02-20 19:46:40 +05:30
Gavin D'souza
9107581a56
docs: added bench usage docs
2020-02-19 15:33:10 +05:30
Gavin D'souza
8fd534747a
docs: added missing help for install prerequisites
2020-02-19 11:39:07 +05:30
Gavin D'souza
f9521efc50
chore: removed unused and optimized imports
2020-02-18 19:33:44 +05:30
Gavin D'souza
b4f4e71719
chore: move 'find_parent_bench' to utils
...
style: consistent spaces and formatting, code cleanup
2020-02-18 19:15:52 +05:30
Gavin D'souza
90d2313947
chore: drop bench shell
command
2020-02-18 18:50:28 +05:30
Gavin D'souza
043f044853
style: bench.commands.utils help added
2020-02-18 18:47:38 +05:30
Gavin D'souza
9d00bc743e
style: help moved in bench.commands.utils docs
2020-02-18 18:04:20 +05:30
Gavin D'souza
2713a2e9cd
fix: move update to utils
...
- update.py
* chore: drop auto_update options
* fix: reloading bench modules post requirements setup (seemed
unecessary and randomly crashed `bench start` process)
* docs: added help for commands
* chore: deprecated switch-to-master function
- utils.py
* sorted imports for readability
* formatting and consistency
* dropped unused setup_auto_update
* dropped broken pre_upgrade function
Signed-off-by: Gavin D'souza <gavin18d@gmail.com>
2020-02-18 17:19:42 +05:30
Gavin D'souza
f1ea6fce3f
chore: drop auto update bench via cronjob
2020-02-18 17:07:26 +05:30
Gavin D'souza
063e4a85be
refactor: bench.command.install
...
* sorted imports
* consistent formatting and use of docstrings
* help added for click commands
2020-02-18 12:24:18 +05:30
Gavin D'souza
9621686597
refactor: consistent help action in click, formatting and sorted imports
2020-02-18 11:57:23 +05:30
Gavin D'souza
53e2272a66
refactor: bench.commands.config
...
* sorted imports
* made it a little DRY
* code formatting
* added help
2020-02-18 11:50:53 +05:30
Gavin D'souza
e4355001e7
fix: remove unnecessary - commands aliases
2020-02-18 10:56:37 +05:30
Gavin D'souza
214a2093eb
fix: added aliases for click commands to convert _ seperated commands to
...
- seperated ones in config group
eg: `bench config auto-update on` functions same as `bench config
auto_update on`
2020-02-18 10:54:32 +05:30
Gavin D'souza
1f488a8bfd
docs: bench.command.make
...
added help for make commands
2020-02-17 17:24:17 +05:30
Gavin D'souza
6bfe601dc9
Merge branch 'master' of github.com:frappe/bench into bench-cmd-help
2020-02-17 16:40:34 +05:30
Gavin D'souza
1442cf6980
refactor: bench.commands.setup
...
* updated help for all commands
* sorted imports
* code formatting and consistent quotes
2020-02-17 16:35:52 +05:30
gavin
d58fc11b3d
Merge pull request #923 from gavindsouza/lets-encrypt-non-interactive
...
fix(lets-encrypt): run command non interactively if flag passed
2020-02-17 00:46:50 +05:30
Gavin D'souza
7ccc275792
fix(lets-encrypt): run command non interactively if flag passed
2020-02-11 14:02:47 +05:30
Chinmay D. Pai
be36a1411c
feat(bench update): allow pull-only update on specified apps
...
* renamed method pull_all_apps to pull_apps
* allow specifying a list of applications to be updated with:
bench update --pull --apps frappe,erpnext
* if no applications are specified, all apps present inside apps.txt
will be pulled
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-02-10 15:01:12 +05:30
gavin
c8fa035e4c
Merge pull request #920 from frappe/revert-907-pip-pin
...
Revert "fix: pip pinned to 19.3.1 after v20 breaking"
2020-02-10 14:57:17 +05:30
gavin
66dd5af087
Revert "fix: pip pinned to 19.3.1 after v20 breaking"
2020-02-10 14:56:55 +05:30
gavin
857868eb5c
Merge pull request #914 from gavindsouza/migrate-env-fix
...
refactor: bench migrate-env command
2020-02-10 14:07:07 +05:30
Gavin D'souza
1ae9bfb568
Merge branch 'master' of github.com:frappe/bench into migrate-env-fix
2020-02-09 13:17:00 +05:30
Gavin D'souza
1259b089c8
refactor: change "no_backup" variable and cleanup comments
2020-02-09 13:14:06 +05:30
Wing Yung Chan
e3bfe3a82d
docs: fixes in easy_install.md ( #917 )
...
Fixed two minor typos
2020-02-08 03:07:13 +05:30
gavin
5a7580fcca
Merge pull request #915 from gavindsouza/bench-pip
...
feat: bench pip instead of using ./env/bin/pip
2020-02-07 14:30:46 +05:30
Gavin D'souza
f0596c5928
feat: bench pip *
...
Directly install/update/remove packages from your env using bench pip
commands. Pretty much just like using pip
To check help don't add the --help flag, use the -h flag instead, use the pip help command. For example, checking help for pip install can be done by
bench pip help install
bench pip install -h
2020-02-06 15:24:26 +05:30
Gavin D'souza
0c29bba659
refactor: bench migrate-env command
...
* moved from __init__ to utils and updated sequence of installing
applications in env
* chanaged import namespaces
2020-02-06 01:32:50 +05:30
gavin
50ef73933c
Merge pull request #912 from gavindsouza/exec-anywhere
...
feat: execute bench commands in any sub directories of frappe-bench
2020-02-05 11:48:11 +05:30
Gavin D'souza
92cd942fcf
refactor: change_working_directory
optimizations
2020-02-02 00:19:58 +05:30
Gavin D'souza
2257f86fee
feat: execute bench/frappe commands from anywhere inside a bench
...
directory
2020-02-01 18:58:37 +05:30
gavin
e06d9a2cf5
Merge pull request #909 from gavindsouza/venv-check
...
fix: virtualenv check for installing requirements
2020-01-23 13:49:33 +05:30
Bernhard Sirlinger
40f7e09c0f
fix: issue when ignore_exist is set and the path already exists 🐛 ( #910 )
...
See 7fb1484b7f (diff-237d6b07e1835fbd8e51e251f66b2ec0)
where the logic was changes to exclude handling this edge case
2020-01-23 12:33:14 +05:30