2
0
mirror of https://github.com/frappe/bench.git synced 2025-01-10 17:24:41 +00:00
Commit Graph

2573 Commits

Author SHA1 Message Date
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
semantic-release-bot
cd4e5ece43 chore(release): Bumped to Version 5.7.5
## [5.7.5](https://github.com/frappe/bench/compare/v5.7.4...v5.7.5) (2022-01-04)

### Bug Fixes

* Don't recompute URLs when name passed in App ([0898e2d](0898e2d2a2))
* Set remote_server attr "better" ([e3b9c2a](e3b9c2a239))
2022-01-04 12:49:38 +00:00
Gavin D'souza
d1c8015b9a Merge branch 'staging' into v5.x 2022-01-04 18:18:33 +05:30
Gavin D'souza
09f078ef7a Merge branch 'develop' into staging 2022-01-04 18:17:28 +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
semantic-release-bot
a7ae0e6228 chore(release): Bumped to Version 5.7.4
## [5.7.4](https://github.com/frappe/bench/compare/v5.7.3...v5.7.4) (2021-12-28)

### Bug Fixes

* Command picking & execution ([2fa25d8](2fa25d8791))
* Set correct remote_server for cloning ([9802fea](9802feaa9c))
* Set proper branch to clone ([217f27f](217f27f511))
* Set verbosity if --verbose is passed anywhere period ([2caf7e7](2caf7e7d15))
2021-12-28 12:55:09 +00:00
Gavin D'souza
8b9e84b1ad Merge branch 'staging' into v5.x 2021-12-28 18:24:02 +05:30
Gavin D'souza
ead462e1fb Merge branch 'develop' into staging 2021-12-28 18:22:44 +05:30
semantic-release-bot
324d8baa45 chore(release): Bumped to Version 5.7.3
## [5.7.3](https://github.com/frappe/bench/compare/v5.7.2...v5.7.3) (2021-12-28)

### Bug Fixes

* Clear Bench instance cache on every chdir ([ec369a1](ec369a16a1))
* PosixPath object has no attribute 'rstrip' ([aaf4856](aaf48566b7))
* replace shutil.move with Path.rename ([a648590](a648590be4))
2021-12-28 12:48:08 +00:00
Gavin D'souza
911ae1fda0 Merge branch 'staging' into v5.x 2021-12-28 18:17:02 +05:30
Gavin D'souza
8aafc41dc7 Merge branch 'develop' into staging 2021-12-28 18:15:44 +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
semantic-release-bot
cacb53429c chore(release): Bumped to Version 5.7.2
## [5.7.2](https://github.com/frappe/bench/compare/v5.7.1...v5.7.2) (2021-12-17)

### Bug Fixes

* process SSH git URLs ([660287a](660287a1a7))
2021-12-17 12:54:04 +00:00
Gavin D'souza
4405363582 Merge branch 'staging' into v5.x 2021-12-17 18:22:26 +05:30
Gavin D'souza
077d960d5e Merge branch 'develop' into staging 2021-12-17 18:21:26 +05:30
semantic-release-bot
1b4b186bed chore(release): Bumped to Version 5.7.1
## [5.7.1](https://github.com/frappe/bench/compare/v5.7.0...v5.7.1) (2021-12-10)

### Bug Fixes

* process SSH git URLs ([c8494cf](c8494cffa6))
2021-12-10 07:16:18 +00:00
Saurabh
ad026a421a
Merge pull request #1231 from frappe/staging
chore: Merge staging into v5.x
2021-12-10 12:45:27 +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
Rohan Bansal
c8494cffa6 fix: process SSH git URLs 2021-12-08 16:09:52 +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
Rohan Bansal
660287a1a7 fix: process SSH git URLs 2021-12-07 15:16:49 +05:30
Gavin D'souza
ec369a16a1 fix: Clear Bench instance cache on every chdir 2021-12-02 14:22:34 +05:30
Gavin D'souza
814bcc6320 refactor: Bench restart
* Commonify reloading processes' logic
* Add functionality to restart web workers in development
* Use Bench.reload instead
2021-12-02 14:21:52 +05:30
Gavin D'souza
cbf30b4e6a chore: Remove invalid classifier 2021-12-02 00:39:52 +05:30
semantic-release-bot
8a3e72ce54 chore(release): Bumped to Version 5.7.0
# [5.7.0](https://github.com/frappe/bench/compare/v5.6.0...v5.7.0) (2021-12-01)

### Bug Fixes

* Allow git url with custom username ([#1200](https://github.com/frappe/bench/issues/1200)) ([6411812](641181260e))
* Archived app naming, apps.txt sync ([79980c3](79980c3c55))
* Check if app is installed in env via initialize_apps ([a192240](a192240cec))
* Check if archived_sites directory exists before running ([b11f5b0](b11f5b0f96))
* Cleanup import hell ([e2fd9de](e2fd9de921))
* Cleanup import hell (contd) ([d2fba5f](d2fba5fe52))
* correct patches.txt ([a28a0d0](a28a0d0d23))
* Don't fetch meta for rm app ([17edb47](17edb4797b))
* Drop support for Frappe v4-5-6 ;) ([616dff8](616dff8fbb))
* frappe app can exist without public folder ([13ed9be](13ed9beca5))
* Handle collisions while moving apps ([3709682](3709682231))
* Import bench.cli ([27128c7](27128c7c18))
* import path for util ([ee6a967](ee6a967a20))
* Initialize bench in get-app with --init-bench ([a2ccc30](a2ccc30bc3))
* Move logging to lower level App.get API ([4ba5422](4ba5422b65))
* Pass `skip_assets` while resolving dependant apps ([8275d67](8275d678f4))
* Patch to move archived_sites to archived/sites ([877e812](877e812fbb))
* raise (by default) when exec_cmd fails ([3995b92](3995b9237b))
* Raise and handle Exception class ([c4b8391](c4b8391716))
* remove unwanted `patches.txt` ([85500b7](85500b7751))
* rename key ([75f8462](75f84625ad))
* Show bench init job via bench get-app (conditional) ([225fce5](225fce5be6))
* Show pip's help menu when --help is passed in pip command ([6d10d75](6d10d75bb1))
* Show traceback if error occurs during init, get outside bench dir ([806d543](806d543fac))
* Show traceback in dev mode and set exit code on errors ([e074a1d](e074a1d886))
* Show traceback on bench init failure ([30e3e72](30e3e725a8))
* Show warning while using experimental features ([b7994e2](b7994e21b1))
* sync apps file in init, imports and no warn in CI ([71d178d](71d178dde9))
* Trailing slash not setting app name properly ([357fcc0](357fcc0bbd))
* Use test frappe app - frappe_docs instead of wiki or chat ([c636c7c](c636c7c133))

### Features

* add `live_reload` to default_config ([9f74ec0](9f74ec0adb))
* Add alias for remove-app: rm, remove ([6890d98](6890d98847))
* Add custom workers in Procfile ([#1201](https://github.com/frappe/bench/issues/1201)) ([593b80e](593b80eec9))
* add no-git option to new-app command ([2a25a6d](2a25a6d2d9))
* added option to provide custom queues ([e12f53d](e12f53d1a5))
* Aliased Commands ([b75d352](b75d352454))
* App Meta Base Class ([ce00798](ce00798b5d))
* bench drop {bench_path} ([906ad5a](906ad5a099))
* Dynamic Output rendering ([f117959](f117959801))
* Initialize bench on bench get(-app) if not created ([38382b8](38382b84fb))
* **minor:** --install-app option in init ([8480eb5](8480eb5df7))
* **minor:** Any procman in bench start ([bae338a](bae338ad0b))
* **minor:** App Meta handling on disk repos ([1865eee](1865eeeb6d))
* **minor:** Bench.python property that points to env python ([d63a988](d63a9883e0))
* New methods in Bench class ([53e811f](53e811fe0a))
* New methods in the App Class ([54f9741](54f9741385))
* Pass --use-feature='dynamic-feed' for new CLI ([b92fb14](b92fb1401b))
* Restart process manager for develop mode ([6123cd5](6123cd5b49))
* Skip warnings if envvar BENCH_DEVELOPER set ([20560c9](20560c97c4))

### Performance Improvements

* Cache Bench and App instantiation ([cd1f526](cd1f526d09))
2021-12-01 19:02:44 +00:00