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

279 Commits

Author SHA1 Message Date
gavin
ce6b4c8a11 fix: git depth, fixed requirements (#845) 2019-10-21 15:48:38 +05:30
Aditya Hase
46b78f4a53 fix: Remove the infamous print style 2019-07-23 19:32:30 +05:30
Saurabh
d32d905567 fix: validate branch before update 2019-07-22 16:10:34 +05:30
Faris Ansari
75b0901af4
fix: Build assets only for downloaded app (#802) 2019-05-15 14:26:07 +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
856974939b
Merge pull request #747 from Thunderbottom/p3.7-fix
remove-app: fix for python3.7
2019-01-20 10:46:35 +05:30
Sagar Vora
0afb89a2c1 fix: default caching of pip packages, use reload_supervisor function 2018-12-13 09:49:55 +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
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
38601eabf8
Merge branch 'master' into multi_fixes 2018-07-03 14:28:48 +05:30
Prateeksha Singh
c33cff5fd8
Revert "get frappe_theme for foundation" 2018-06-26 17:08:01 +05:30
Ameya Shenoy
2395e242cb get frappe_theme for foundation 2018-06-26 14:06:49 +05:30
Rushabh Mehta
c1a8be4791 better way to install docs 2018-06-14 13:29:37 +05:30
Rushabh Mehta
9f917f8464 better way to install docs 2018-06-14 11:24:04 +05:30
Rushabh Mehta
8fc3a87a37 better way to install docs 2018-06-14 10:52:17 +05:30
Rushabh Mehta
c342a82aa1 better way to install docs 2018-06-14 10:37:11 +05:30
Prateeksha Singh
8c5d783716 [install] update frappe,erpnext docs apps to be installed (#677) 2018-06-14 09:10:55 +05:30
Ameya Shenoy
2591da0622 [fix] update fails if no remote found
- The bench update used to fail if there was no remote found for the app.
Fixed by adding check if remote exists. If it doesn't the app is added
to excluded_apps.txt and not considered for an update
- [minor] optimized get_excluded_apps list by calling it only once, as
opposed to getting it for every app
2018-05-15 16:18:02 +05:30
Ameya Shenoy
3b8f9441cc
Merge branch 'master' into systemd 2018-04-14 15:56:26 +05:30
Ameya Shenoy
3ccb1bf0fd
FIXES for exclude app from update PR 2018-04-14 02:24:04 +05:30
Revant Nandgaonkar
624e8bdf63 restart systemd on update 2018-04-11 22:25:47 +05:30
Shridhar
3b5da2960d Rename method names
Removed print statements
2018-04-05 14:47:48 +05:30
shridhar
7013167d8d Include excluded app in bench update
command bench bench include-app <app-name>
2018-04-05 14:46:19 +05:30
shridhar
4e3d7e989e New command to exclude apps when bench update
command bench exclude-app <app-name>
command bench update --exclude-apps
2018-04-05 14:44:29 +05:30
shridhar
bb10b0f94f Include excluded app in bench update
command bench bench include-app <app-name>
2018-04-05 14:41:00 +05:30
shridhar
872460bb2f New command to exclude apps when bench update
command bench exclude-app <app-name>
command bench update --exclude-apps
2018-04-05 14:41:00 +05:30
shridhar
2799a12b2c bench update exclude app 2018-04-05 14:39:51 +05:30
Achilles Rasquinha
d99adf0b28 fallback in case redis isnt running 2018-03-25 13:41:34 +05:30
Achilles Rasquinha
dd813587ac fixes for encoding decoding 2018-03-12 18:25:00 +05:30
Ameya Shenoy
59d6c99614
yarn_fix 2018-02-28 18:48:11 +05:30
Faris Ansari
4ce74759e2 Make bench backward compatible with npm style 2018-02-22 12:38:26 +05:30
Achilles Rasquinha
12224b7086 bytes to str 2018-02-15 12:45:05 +05:30
Achilles Rasquinha
780c1b7488 get apps from both, frappe and erpnext 2018-02-07 17:12:32 +05:30
Makarand Bauskar
d1c73b20d0 [minor] removed upgrade command from switch-to-master and switch-to-develop (#484)
* [minor] remove --upgrade option from bench update

* [minor] removed upgrade command from switch-to-master and switch-to-develop
2017-09-27 13:42:43 +05:30
Rushabh Mehta
b5a029033d Develop (#411)
* [fix] readme

* Removed swtich-to-v4 and switch-to-v5 commands

* consider passwords.txt (#408)

* Fixes bench release github username error (#406)

* ran 2to3 script

* Correct urllib.parse import

* Backward compatible urllib import

* removed test_setup_production_v6

* Fix bug global hashlib is not defined (#399)

* Don't need $query_string (#390)

* removed semicolon, click.prompt adds it

* Letsencrypt fix develop (#407)

* [Fix] Letsencrypt error - Please specify user or filename to write.

* Fix bug global hashlib is not defined (#399)

* Don't need $query_string (#390)

* [Fix] Issue #404 - write to system cron

* letsencrypt.py - renamed user_crontab to system_crontab

* Npm dependency management using package.json (#409)

* Fix bug global hashlib is not defined (#399)

* Don't need $query_string (#390)

* Develop (#400)

* [fix] readme

* Removed swtich-to-v4 and switch-to-v5 commands

* Add "bench setup babel" command

* Add "less" package

* Npm dependency management using package.json

* Add default package.json
2017-05-23 11:14:16 +05:30
Rushabh Mehta
a6a1ee9a82 Develop (#400)
* [fix] readme

* Removed swtich-to-v4 and switch-to-v5 commands
2017-05-19 16:25:51 +05:30
Revant Nandgaonkar
080ca173a6 ran 2to3 script (#381)
* ran 2to3 script

* Correct urllib.parse import

* Backward compatible urllib import

* removed test_setup_production_v6
2017-04-17 17:28:18 +05:30
Makarand Bauskar
a1587b783f [fixes] fixes in pull_all_apps so, bench update can backup and sync sites (#376) 2017-04-07 17:18:21 +05:30
robert schouten
c6e7477abf [hotfix] fix update reset (#374)
@rmehta
2017-04-07 13:33:25 +05:30
Faris Ansari
7946d17cc1 less verbose app install (#369) 2017-04-05 12:17:22 +05:30
ckosiegbu
4eef5d1b1a Update pull_all_apps to use regex for check (#373)
pull_all_apps calls a "git status" and checks if the response contains "nothing to commit, working directory clean". However, it seems that at least some versions of git output the message "nothing to commit, working directory clean". This causes bench update to not work in systems where the output message uses "tree" instead of "directory". This update is to allow both strings to be used.
2017-04-05 12:16:58 +05:30
Rushabh Mehta
893b55991b fix message 2017-04-03 13:11:51 +05:30
Rushabh Mehta
4f37c6cf03 [enhance] check for uncommitted code before pulling 2017-04-03 12:56:53 +05:30
robert schouten
cd877e19cc [feature] add reset option to update (#343)
* [feature] add reset option to update

* fix for restarting update
2016-11-07 17:23:25 +05:30
Viet Pham
a6d9d158b4 Add git utility commands 2016-08-28 19:50:48 +07:00
Anand Doshi
81dbf0b9eb Merge remote-tracking branch 'origin/master' into develop 2016-07-22 15:37:54 +05:30