2
0
mirror of https://github.com/frappe/bench.git synced 2024-09-25 05:19:04 +00:00
Commit Graph

2056 Commits

Author SHA1 Message Date
Aradhya
df76415e6b refactor: running utils tests before bench tests 2022-02-24 12:40:00 +05:30
Aradhya Tripathi
60084fd6b3
Merge branch 'develop' into uri-path 2022-02-24 00:42:58 +05:30
Aradhya
3dcd28f569 test: updated tests to check for correct parsing of file uris 2022-02-23 21:53:08 +05:30
Aradhya
8fb6796250 test: Added tests for app utils 2022-02-23 21:44:55 +05:30
gavin
9cd100aad8
Merge pull request #1271 from resilient-tech/fix-docstrings
fix: clearer docstrings
2022-02-23 19:31:59 +05:30
Aradhya
2fed369066 fix: file-uri while app initialisation 2022-02-23 14:56:15 +05:30
Aradhya
6e4f121fc6 Merge branch 'develop' of github.com:Aradhya-Tripathi/bench into dependency-resolution 2022-02-22 13:31:00 +05:30
Sagar Vora
3c5944623a fix: clearer docstrings 2022-02-19 09:50:20 +05:30
DaizyModi
28e681689f
feat: Setup Requirements for specific apps (#1265)
* feat:  flag for Setup Requirements

* chore: Moved __get_installed_app method in Bench

* fix: improve help message

* fix: allow muliple apps to be specified

Co-authored-by: Sagar Vora <sagar@resilient.tech>
Co-authored-by: gavin <gavin18d@gmail.com>
2022-02-18 17:34:39 +05:30
gavin
65a47a6110
Merge pull request #1270 from ankush/jinja3
chore: bump jinja
2022-02-18 13:02:03 +05:30
Ankush Menat
d7ad7fd780 chore: bump jinja
https://jinja.palletsprojects.com/en/3.0.x/changes/
2022-02-18 11:26:02 +05:30
Aradhya
e629ca6f86 fix: minor fixes 2022-02-17 21:48:40 +05:30
Aradhya
28325acd3b Merge branch 'dependency-resolution' of github.com:Aradhya-Tripathi/bench into dependency-resolution 2022-02-17 21:39:07 +05:30
Aradhya
bba4019579 feat: printing resolved dependencies when using resolve-deps flag wih get-app 2022-02-17 21:38:01 +05:30
saxenabhishek
129e2fd922 test: get-app resolve_deps 2022-02-11 16:51:34 +05:30
Aradhya
6c9fb2d9f9 Merge branch 'develop' of github.com:Aradhya-Tripathi/bench into dependency-resolution 2022-02-07 12:38:18 +05:30
gavin
114ad372cd
Merge pull request #1258 from saxenabhishek/fix-test_frappe_version
ci: use frappe13 in py 3.7
2022-02-07 12:33:45 +05:30
Aradhya
7e28a3dd9e fix: added code removed via erroneous commit 2022-02-07 12:24:50 +05:30
Aradhya
7f678a3047 feat: added support for fetching dependencies from hooks.py 2022-02-07 10:24:58 +05:30
Aradhya
80cfb9dfb4 refactor: changed resolve to resolve-deps 2022-02-07 10:23:22 +05:30
Aradhya
c8dfe39c05 refactor: using hooks.py instead of toml files to read dependencies 2022-02-07 10:21:50 +05:30
Aradhya
b7e46aab6f fix: removed erroneous file push 2022-02-07 10:18:14 +05:30
Aradhya
42f4d74beb fix: fixed app states and checking/updating frappe version on install
fix: fixed valid branch check in init
2022-02-07 10:16:50 +05:30
Aradhya
e3bd34c12c fix: fixed init in get-app and frappe versions 2022-02-07 10:00:38 +05:30
Aradhya
2363fe38d5 refactor: moved resolve and install to get-app 2022-02-07 09:53:55 +05:30
Aradhya
549e8e2a1d feat: Added app states 2022-02-07 09:34:35 +05:30
Aradhya
7a311a242d feat: Added bench command for resolve and install 2022-02-07 09:31:15 +05:30
saxenabhishek
d41e05e24f feat: introduced simple resolver 2022-02-07 09:29:14 +05:30
saxenabhishek
c66283dd08 test: test_switch_to_branch() which is lower 2022-02-05 01:49:11 +05:30
saxenabhishek
5b1b84bc5f fix: use frappe13 in py 3.7 2022-01-31 19:14:16 +05:30
gavin
dd4cda308a
Merge pull request #1248 from gavindsouza/pin-click-req
fix: Update Click requirement
2022-01-05 20:48:48 +05:30
Gavin D'souza
3b0bcb7616 fix: Update Click requirement 2022-01-05 16:04:20 +05:30
gavin
409a32a47b
Merge pull request #1247 from gavindsouza/dont-recompute-url
fix: Don't recompute url in App
2022-01-04 18:14:14 +05:30
Gavin D'souza
23b37a3606 style: Re-order import statement 2022-01-04 17:08:17 +05:30
Gavin D'souza
e3b9c2a239 fix: Set remote_server attr "better"
So better here is relative. The point was to not have the parsing break
everything. So, idk whats org and repo now right off the bat...and since
we're not using this info, we dont need to care about it rn
2022-01-04 17:04:45 +05:30
Gavin D'souza
0898e2d2a2 fix: Don't recompute URLs when name passed in App 2022-01-04 16:23:16 +05:30
gavin
5213807d8a
Merge pull request #1243 from gavindsouza/get-system-fixes
fix: Misc fixes
2021-12-28 17:57:20 +05:30
Gavin D'souza
2fa25d8791 fix: Command picking & execution
Parse sys.argv appropriately and use them to match commands "better".
Using hacks to match with flags and options appear to be faulty, so
dropped that. Only matching with command names remains.

Fixes https://github.com/frappe/bench/issues/1223
2021-12-28 13:39:23 +05:30
Gavin D'souza
2caf7e7d15 fix: Set verbosity if --verbose is passed anywhere period
Fixes https://github.com/frappe/bench/issues/1224
2021-12-28 12:42:53 +05:30
Gavin D'souza
9802feaa9c fix: Set correct remote_server for cloning
Fixes https://github.com/frappe/bench/issues/1228
2021-12-28 12:35:59 +05:30
Gavin D'souza
217f27f511 fix: Set proper branch to clone
Fixes https://github.com/frappe/bench/issues/1242
2021-12-28 12:35:06 +05:30
gavin
ad131f17c0
chore(docs): Add PyPI version badge to README
* Add title attr for platform compatibility

[ci skip]
2021-12-23 13:58:41 +05:30
gavin
b0ad6426a8
Merge pull request #1222 from gavindsouza/reload-bench
refactor: bench restart
2021-12-21 15:29:58 +05:30
gavin
f5792f7305
Merge pull request #1235 from rtdany10/patch-2
fix: PosixPath object has no attribute 'rstrip'
2021-12-20 15:18:23 +05:30
Dany Robert
fd82585d5f
chore: remove unnecessary shutil import 2021-12-17 19:39:51 +05:30
Dany Robert
a648590be4
fix: replace shutil.move with Path.rename
Co-authored-by: gavin <gavin18d@gmail.com>
2021-12-17 19:38:41 +05:30
gavin
087ccf286a
Merge pull request #1221 from phot0n/easy-install-default-v13
chore: change the default version to 13 of erpnext and frappe when installing using easyinstall
2021-12-17 18:59:32 +05:30
Dany Robert
aaf48566b7
fix: PosixPath object has no attribute 'rstrip' 2021-12-09 13:03:01 +05:30
phot0n
6b99d1d60b chore: change the default version to 13 of erpnext and frappe when installing using easyinstall 2021-12-08 20:25:30 +05:30
Ankush Menat
cd1e191b5b
Merge pull request #1227 from Alchez/fix-ssh-git-url
fix: process SSH git URLs
2021-12-08 16:05:02 +05:30