gavin
aef35c6957
Merge pull request #876 from Thunderbottom/get-app-overwrite
...
fix(get-app): handle existing directory and other formatting changes
2020-02-27 11:10:52 +05:30
Chinmay D. Pai
3bd83da49b
chore: remove redundant print messages
...
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-02-26 20:00:52 +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
Gavin D'souza
9107581a56
docs: added bench usage docs
2020-02-19 15:33:10 +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
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
gavin
be2dd1b31a
Merge pull request #911 from gavindsouza/perms-fix
...
fix: chown frappe_user home directory
2020-01-23 12:29:06 +05:30
Gavin D'souza
4474f463dc
fix: chown frappe_user home directory
2020-01-22 18:05:02 +05:30
Gavin D'souza
3ea19e9533
chore: bench.utils format, imports sort, spaces
2020-01-22 15:30:06 +05:30
Gavin D'souza
63128a21bf
fix: check if virtual env (using pip refs)
2020-01-22 15:19:38 +05:30
Gavin D'souza
b9bb9440d9
fix: update packages even if pip not in path
2020-01-22 12:54:58 +05:30
Gavin D'souza
3b06683ebf
fix: checks for bench requirements to be installed without the --user
...
flag via pip
references: https://stackoverflow.com/questions/1871549/determine-if-python-is-running-inside-virtualenv
2020-01-22 12:05:27 +05:30
Chinmay Pai
654f1e9c7b
chore: fix install-app in readme ( #908 )
...
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-01-22 00:31:37 +05:30
gavin
d499ae48f4
Merge pull request #907 from gavindsouza/pip-pin
...
fix: pip pinned to 19.3.1 after v20 breaking
2020-01-21 17:51:25 +05:30
Gavin D'souza
7498c8e497
fix: pip pinned to 19.3.1 after v20 breaking
...
reference: https://github.com/pypa/pip/issues/7217
2020-01-21 17:49:18 +05:30
Chinmay Pai
0daa5c45ed
docs: add db_host and db_port options for new-site ( #871 ) ( #906 )
...
* Update installation docs to show new options
* docs: fix indentation and make the command optional
Co-authored-by: Oshosanya Michael <michaeloshosanya@gmail.com>
2020-01-21 15:29:17 +05:30
Gavin D'souza
03c4d9610a
chore: fixed validate branch on update
2020-01-21 14:27:00 +05:30
gavin
8d792190b4
Merge pull request #904 from barredterra/patch-1
...
fix: bump MariaDB version
2020-01-20 10:46:52 +05:30
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