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

2456 Commits

Author SHA1 Message Date
Ritwik Puri
480e35c1c7
Merge pull request #1446 from gavindsouza/app_name-repo
fix: Handle apps with different repo & app names
2023-06-02 13:49:20 +05:30
Gavin D'souza
d9c8335fbf
fix: Remove except-pass ValueError 2023-06-02 12:41:56 +05:30
Gavin D'souza
f7fbee99d6
fix: Revert usage of app_name for repo name 2023-05-31 14:00:24 +05:30
Gavin D'souza
e80daf8c3e
fix: Use == for dict comparison 2023-05-31 14:00:24 +05:30
Gavin D'souza
4f423923b4
fix: Use App.app_name over repo attr 2023-05-31 14:00:24 +05:30
Gavin D'souza
3af6058d1b
fix: Archive app for different repo/app names 2023-05-31 14:00:24 +05:30
Ritwik Puri
3e448d4d42
Merge pull request #1455 from gavindsouza/cleaner-cli
fix(cli): Show relevant details on CommandFailedError
2023-05-30 12:13:54 +05:30
Gavin D'souza
94a1b8c3fb
fix: Setup exception handler for CommandFailedError only
* Match only certain module lib paths
2023-05-26 11:25:28 +05:30
Gavin D'souza
8175239434
fix: Hide irrelevant stacks during exc raise 2023-05-26 11:25:06 +05:30
Gavin D'souza
a1d2c5226b
fix: Print failing command with CommandFailedError
I've seen way too many issues being faced / misunderstandings due to the
lack of "cmd"
2023-05-26 11:25:02 +05:30
Ankush Menat
082692cae2
Revert "fix: resolve filesystem app dependencies (#1450)" (#1452)
This reverts commit f3b55f7785.
2023-05-09 21:31:33 +05:30
Alok Singh
f3b55f7785
fix: resolve filesystem app dependencies (#1450)
* fix: resolve private app dependencies

* fix: removed additional check and moved self.on_disk to previous check.
2023-05-04 17:28:34 +05:30
Sagar Vora
934b2677c8
chore: fix typo (#1448) 2023-05-03 13:52:01 +05:30
Ankush Menat
fd6dfc3ae7
ci: run easy install test with lower python version (#1442) 2023-03-01 10:36:50 +05:30
Ankush Menat
f7a0d28174 chore: remove unsupported annotations
closes https://github.com/frappe/bench/issues/1441
2023-03-01 10:26:54 +05:30
Ankush Menat
9fb55e6dca chore: remove unsupported annotations
these annotations dont work on python <3.9

closes https://github.com/frappe/bench/issues/1440
2023-02-28 10:25:08 +05:30
Saif Ur Rehman
4ec73c3b92
fix: add customer background workers in group (#1439) 2023-02-27 14:16:51 +05:30
Revant Nandgaonkar
eba0f7a54f
fix: easy-install for letsencrypt tls (#1424)
* fix: easy-install for letsencrypt tls

* ci: change site for easy-install test

* ci: set host header for easy-install ping test
2023-02-27 10:58:33 +05:30
semantic-release-bot
e0f8169e31 chore(release): Bumped to Version 5.16.2
## [5.16.2](https://github.com/frappe/bench/compare/v5.16.1...v5.16.2) (2023-02-24)

### Bug Fixes

* Handle supervisor escalation better ([#1438](https://github.com/frappe/bench/issues/1438)) ([c690e8e](c690e8e7f5))
* trigger release ([f374e80](f374e80bcc))
2023-02-24 09:59:30 +00:00
Ankush Menat
f374e80bcc fix: trigger release 2023-02-24 15:28:14 +05:30
Ankush Menat
a369bb7f0c Merge branch 'staging' into v5.x 2023-02-24 15:14:49 +05:30
Ankush Menat
a5d8169b61 Merge branch 'develop' into staging 2023-02-24 15:14:34 +05:30
gavin
c690e8e7f5
fix: Handle supervisor escalation better (#1438)
* fix: Give more meaningful context in subproc failures

* fix: Handle supervisor escalation if no exc is raised

* fix: only apply sudo if not already running as sudo
2023-02-24 15:13:36 +05:30
semantic-release-bot
28de4fbd1e chore(release): Bumped to Version 5.16.1
## [5.16.1](https://github.com/frappe/bench/compare/v5.16.0...v5.16.1) (2023-01-30)

### Bug Fixes

* Setup chdir patch earlier ([db165d1](db165d1f9b))
2023-01-30 14:58:20 +00:00
Ankush Menat
f0f31bfaae Merge branch 'staging' into v5.x 2023-01-30 20:27:32 +05:30
Ankush Menat
3d4e0224b6 Merge branch 'develop' into staging 2023-01-30 20:27:17 +05:30
Ankush Menat
b9e9eac411 ci: Use node18 for releases 2023-01-30 20:26:01 +05:30
Ankush Menat
4212312a44 Merge branch 'staging' into v5.x 2023-01-30 20:21:32 +05:30
Ankush Menat
b186126629 Merge branch 'develop' into staging 2023-01-30 20:18:44 +05:30
gavin
dd77fd87fd
build: Bump GitPython 2.1.x => 3.1.x (#1423) 2023-01-30 16:44:29 +05:30
gavin
bcc90c8b08
Merge pull request #1421 from gavindsouza/bench-no_cache
fix(cli): Setup chdir patch earlier
2023-01-24 16:38:03 +05:30
Gavin D'souza
044d646ec5 style: Pre-commit linters 2023-01-24 15:26:32 +05:30
Gavin D'souza
3f9360bc42 chore: Drop dead deepsource conf 2023-01-24 15:26:11 +05:30
Gavin D'souza
db165d1f9b fix: Setup chdir patch earlier
Setup monkey patching before any other bench code decides to chdir
2023-01-24 15:21:24 +05:30
trs998
e58a56e247
docs: Added --email argument to install script (#1417)
The install script requires the --email parameter, so added to example command line
2023-01-20 23:07:38 +05:30
Revant Nandgaonkar
b3ad10b9e6
ci: fix easy-install.py test (#1408)
* ci: fix easy-install.py test

related to https://github.com/frappe/frappe_docker/pull/1032

* ci: fix easy-install.py

patched bench removed and frappe-bench installed
--no-mariadb-socket required for new-site

* fix: remove frappe version from .env

* feat(easy-install): option to set version

Co-authored-by: Ankush Menat <ankush@frappe.io>
2023-01-16 16:24:56 +05:30
Himanshu Shivhare
34197056ea
chore: typo/readability fix (#1410) 2023-01-06 15:18:47 +05:30
semantic-release-bot
fc94167e14 chore(release): Bumped to Version 5.16.0
# [5.16.0](https://github.com/frappe/bench/compare/v5.15.2...v5.16.0) (2023-01-02)

### Bug Fixes

* print help when no args passed ([228aeaf](228aeaf2fd))
* version check backward compatibility ([#1409](https://github.com/frappe/bench/issues/1409)) ([23eede5](23eede5fd3))

### Features

* add GHA tests ([e76c7dc](e76c7dccf5))
* New easy-install.py ([044e01b](044e01befd))
2023-01-02 11:35:10 +00:00
Ankush Menat
9bb3644ee0 Merge branch 'staging' into v5.x 2023-01-02 17:03:59 +05:30
Ankush Menat
b0fec0fd4e Merge branch 'develop' into staging 2023-01-02 17:02:56 +05:30
Ankush Menat
23eede5fd3
fix: version check backward compatibility (#1409)
This code wasn't triggering because VersionNotFound exception gets
thrown before it ever reaches to this point.
2023-01-02 16:03:33 +05:30
Ankush Menat
ba853c943b chore: incorrect license identifiers 2023-01-02 15:53:05 +05:30
jiangying
8903649159
chore: typo in readme (#1407) 2022-12-31 13:50:21 +05:30
Ankush Menat
228aeaf2fd fix: print help when no args passed
[skip ci]
2022-12-19 11:59:21 +05:30
Ankush Menat
a987c1e9ae style: chmod+x, format, space -> tabs 2022-12-19 11:59:21 +05:30
Ankush Menat
80b58d9999
chore: typo
Co-Authored-By:  Athul Cyriac Ajay <athul8720@gmail.com>
2022-12-15 17:00:04 +05:30
Ankush Menat
e1ec20f723
Merge pull request #1397 from athul/new-easy-install
feat: New™️ easy-install.py
2022-12-15 16:56:52 +05:30
Ankush Menat
687044f123 ci: add concurrency group 2022-12-15 16:50:19 +05:30
Athul Cyriac Ajay
e76c7dccf5 feat: add GHA tests
chore: added reading from env when rerunning script
- Makes current site as default
2022-12-14 17:42:24 +05:30
Athul Cyriac Ajay
9313777276 chore: Update Readme and changed password generated method
Co-authored-by: @ankush
2022-12-13 13:18:09 +05:30