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

2368 Commits

Author SHA1 Message Date
Gavin D'souza
01b77598ff fix: Pass cwd for cmd subprocess execution
Also, use python instead of python3 hardcoded in env
2022-08-01 17:48:51 +05:30
Gavin D'souza
bff9dfd004 test: Skip asset building & resolving node deps 2022-08-01 17:37:30 +05:30
gavin
6d67502668
Merge pull request #1346 from gavindsouza/python-env-cmd
ci: travisCI => GHA
2022-08-01 17:06:52 +05:30
Gavin D'souza
7f4f1b9dc6 ci: Remove needs cond for tests job 2022-08-01 16:33:39 +05:30
Gavin D'souza
73719a26e2 test(init): Run exec_cmd without raise [bug] 2022-08-01 16:33:33 +05:30
Gavin D'souza
b4a6f7fea8 test(app_states): Set git committer info in config 2022-08-01 15:40:54 +05:30
Gavin D'souza
137c786f5e ci: Add Bench linters action 2022-08-01 15:22:48 +05:30
Gavin D'souza
c9c6bf4512 fix: Use hardcoded python3 env cmd for Bench.python 2022-08-01 15:16:03 +05:30
Gavin D'souza
e7c0c264d9 ci: Migrate tests from Travis to GHA 2022-08-01 15:15:48 +05:30
Gavin D'souza
1a062263cf ci: Bump to mariadb 10.6 2022-08-01 14:15:23 +05:30
Gavin D'souza
3b173f92c8 ci: Use Ubuntu focal for tests 2022-08-01 14:04:07 +05:30
Gavin D'souza
e5fa4df5f9 fix: Fetch env python if exists before returning fallback 2022-08-01 11:49:15 +05:30
semantic-release-bot
c6f158aff4 chore(release): Bumped to Version 5.13.2
## [5.13.2](https://github.com/frappe/bench/compare/v5.13.1...v5.13.2) (2022-07-31)

### Bug Fixes

* Remove backup command ([#1345](https://github.com/frappe/bench/issues/1345)) ([0cd5fca](0cd5fca322))
2022-07-31 17:01:36 +00:00
Ankush Menat
65d8b9ead9 Merge branch 'staging' into v5.x 2022-07-31 22:30:03 +05:30
Ankush Menat
494e61c7fc Merge branch 'develop' into staging 2022-07-31 22:29:26 +05:30
gavin
0cd5fca322
fix: Remove backup command (#1345)
bench's backup command is redundant and acts as a wrapper over Frappe's
backup command. This caused a conflict with Frappe's CLI after the
resolution correction introduced via a6f196440a

ref: https://github.com/frappe/frappe/runs/7592331617
2022-07-31 22:28:32 +05:30
semantic-release-bot
c1c3587225 chore(release): Bumped to Version 5.13.1
## [5.13.1](https://github.com/frappe/bench/compare/v5.13.0...v5.13.1) (2022-07-29)

### Bug Fixes

* Use subscript instead of method for regex ([e126ff2](e126ff2439))
2022-07-29 19:55:08 +00:00
Gavin D'souza
a2da22430c Merge branch 'staging' into v5.x 2022-07-30 01:24:03 +05:30
Gavin D'souza
43a4ac61ab Merge branch 'develop' into staging 2022-07-30 01:23:44 +05:30
gavin
1ec17e40f3
Merge pull request #1344 from gavindsouza/dummy-release-trigger-2
fix: Use subscript instead of method for regex
2022-07-30 01:23:11 +05:30
Gavin D'souza
e126ff2439 fix: Use subscript instead of method for regex
This is another dumb attempt to trigger a release because it doesn't get
triggered without PRs linked or even if they're refactors!
2022-07-30 01:20:24 +05:30
Gavin D'souza
9fc1f485bd Merge branch 'staging' into v5.x 2022-07-30 01:14:34 +05:30
Gavin D'souza
42e6da6eae Merge branch 'develop' into staging 2022-07-30 01:14:13 +05:30
gavin
66d41e5c3d
Merge pull request #1343 from frappe/dummy-release-trigger
refactor: Use Suppress instead of try-pass
2022-07-30 01:13:32 +05:30
Gavin D'souza
a5b7a101d2 refactor: Use Suppress instead of try-pass 2022-07-30 01:12:27 +05:30
Gavin D'souza
147aab1e4e chore: Remove dead MANIFEST.in 2022-07-30 01:06:41 +05:30
Gavin D'souza
d5682897bd Merge branch 'staging' into v5.x 2022-07-30 01:04:42 +05:30
Gavin D'souza
e195f4ccbe Merge branch 'develop' into staging 2022-07-30 01:04:07 +05:30
Gavin D'souza
a0a8133032 build: Include for wheel target 2022-07-30 01:03:20 +05:30
Gavin D'souza
8736a2f3cf docs: Update PY37 shield 2022-07-29 19:44:02 +05:30
semantic-release-bot
f86bc0f308 chore(release): Bumped to Version 5.13.0
# [5.13.0](https://github.com/frappe/bench/compare/v5.12.1...v5.13.0) (2022-07-29)

### Bug Fixes

* Add support for options on bench main group ([8a0b784](8a0b78451b))
* **config:** Fix fail2ban filter ([#1308](https://github.com/frappe/bench/issues/1308)) ([94a25d3](94a25d3da7))
* get-app on existing apps ([e03f597](e03f597ac6))
* **nginx:** set `proxy_http_version` to `1.1` ([7da62f9](7da62f96f2))
* use specified python for venv ([df84c27](df84c2772d))

### Features

* Add pre-commit checks ([b1b8d70](b1b8d70055))
2022-07-29 13:58:52 +00:00
Gavin D'souza
67aa20e95a Merge branch 'staging' into v5.x 2022-07-29 19:27:20 +05:30
Gavin D'souza
fe045d1428 Merge branch 'develop' into staging 2022-07-29 19:25:41 +05:30
Gavin D'souza
060e6b7cea ci: Use hatch to build package 2022-07-29 19:23:39 +05:30
gavin
af05b4945a
Merge pull request #1341 from frappe/gavindsouza-readme-dark
chore: Add logo for Dark mode
2022-07-29 00:18:21 +05:30
gavin
f68ff595bf chore: Add logo for Dark mode 2022-07-29 00:11:34 +05:30
gavin
c71ba2b27c
Merge pull request #1339 from alyf-de/python-venv
fix: use specified python for venv
2022-07-28 21:54:20 +05:30
barredterra
df84c2772d fix: use specified python for venv 2022-07-28 14:19:09 +02:00
gavin
60569ba897
Merge pull request #1337 from gavindsouza/ci-fixes-2022-001
build: pyproject.toml > setup.py + requirements.txt
2022-07-28 14:18:03 +05:30
Gavin D'souza
203f41e405 test: Skip deps resolution for non develop branches 2022-07-28 13:35:04 +05:30
Gavin D'souza
22294fce5b ci: Add PY3.10 to runner matrix
Reduce existing runners based on lesser variance to breakages
2022-07-28 11:50:10 +05:30
Gavin D'souza
5515b0f4ca ci: Update pip, wheel, setuptools explicitly in install 2022-07-28 11:37:16 +05:30
Gavin D'souza
38fa45607d build: Bump python-crontab dependency
Package v2.4.2 leads to a build error on PY 3.7, 3.8

ref: https://app.travis-ci.com/github/frappe/bench/jobs/577932789
2022-07-28 11:24:29 +05:30
Gavin D'souza
86c3c90fd9 build: Retire setup.py + reqs.txt to use pyproject.toml 2022-07-27 18:40:17 +05:30
Gavin D'souza
1badfa8da4 ci: Update conditions for FRAPPE_BRANCH 2022-07-27 16:54:46 +05:30
gavin
e66fe9ca02
Merge pull request #1333 from lhjt/patch-1
fix(nginx): set `proxy_http_version` to `1.1`
2022-07-27 15:34:37 +05:30
Orsiris de Jong
94a25d3da7
fix(config): Fix fail2ban filter (#1308)
* Add missing nginx-proxy filter

* Add all nginx log files to fail2ban filter, regardless of frappe site

* Adds per site nginx logs in /var/log
2022-07-27 14:58:53 +05:30
gavin
1e0054bc14
Merge pull request #1335 from gavindsouza/pre-commit-files
feat!: Add auto-formatting & linting via pre-commit
2022-07-27 14:45:58 +05:30
Gavin D'souza
af46fedc28 refactor(minor): Use more readable alternatives 2022-07-27 14:39:32 +05:30
Gavin D'souza
a84239d6ab refactor: Bench
* Drop patches of v3 & v4
* Re-write buggy / broken code wrt hints by pre-commit checks
* Auto-format and transform code
* Remove re-written & mutable function defaults
2022-07-27 14:39:22 +05:30