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

2510 Commits

Author SHA1 Message Date
Ankush Menat
84b230dcb7 Merge branch 'staging' into v5.x 2024-02-07 13:07:11 +05:30
Ankush Menat
ba90700fb4 Merge branch 'develop' into staging 2024-02-07 13:06:35 +05:30
Ankush Menat
1a421758a8
fix: Check yarn files during install (#1533)
We observed that in some cases files are missing when yarn reuses them
from cache. Not sure what's causing it but checking files seems to at
least fix it. This is probably some yarn bug.
2024-02-07 13:06:00 +05:30
semantic-release-bot
6829f1432e chore(release): Bumped to Version 5.21.4
## [5.21.4](https://github.com/frappe/bench/compare/v5.21.3...v5.21.4) (2024-02-03)

### Bug Fixes

* RQ crashes on Mac ([#1529](https://github.com/frappe/bench/issues/1529)) ([f5ab045](f5ab0459ec))
2024-02-03 12:11:59 +00:00
Ankush Menat
b8c429d287 Merge branch 'staging' into v5.x 2024-02-03 17:41:12 +05:30
Ankush Menat
7e4728525a Merge branch 'develop' into staging 2024-02-03 17:40:11 +05:30
Ankush Menat
f5ab0459ec
fix: RQ crashes on Mac (#1529)
It will still crash if spawned outside of procfile. This is just a
workaround for developers who are starting out and won't be able to
figure out the crash. You can also add env variables in your RC file.

Permanent fix: Use Linux.
2024-02-03 17:39:24 +05:30
semantic-release-bot
6dfb207d24 chore(release): Bumped to Version 5.21.3
## [5.21.3](https://github.com/frappe/bench/compare/v5.21.2...v5.21.3) (2024-02-02)

### Bug Fixes

* coerce git_url to app_name ([54b514b](54b514b749))
2024-02-02 11:26:10 +00:00
18alantom
e7764d58c0 Merge branch 'staging' into v5.x 2024-02-02 16:55:25 +05:30
18alantom
4f5718e12b Merge branch 'develop' into staging 2024-02-02 16:51:39 +05:30
Alan
cf77e9a548
Merge pull request #1527 from frappe/coerce-url
fix: coerce git_url to app_name
2024-02-02 16:51:20 +05:30
18alantom
54b514b749 fix: coerce git_url to app_name
- allows get-app command to be the same
- prevents checking and fetching of local remote
- prevents docker layer cache miss
2024-02-02 16:36:29 +05:30
semantic-release-bot
7028a72136 chore(release): Bumped to Version 5.21.2
## [5.21.2](https://github.com/frappe/bench/compare/v5.21.1...v5.21.2) (2024-02-01)

### Bug Fixes

* increase tar file limit ([d8ce1b3](d8ce1b3cb4))
2024-02-01 09:48:35 +00:00
18alantom
ea593edb74 Merge branch 'staging' into v5.x 2024-02-01 15:17:14 +05:30
18alantom
ac96cc0fb9 Merge branch 'develop' into staging 2024-02-01 15:16:49 +05:30
Alan
0098bfc9fa
Merge pull request #1526 from frappe/bump-tar-limit
fix: increase tar file limit
2024-02-01 15:16:31 +05:30
18alantom
863dde6acd chore: indicate on cache extraction failure 2024-02-01 15:00:20 +05:30
18alantom
d8ce1b3cb4 fix: increase tar file limit
including node_modules in tar blob causes
file counts to be consistently above 10k
eg:
- gameplan: 25,269
- hrms: 32,369
2024-02-01 14:57:17 +05:30
semantic-release-bot
64871d6519 chore(release): Bumped to Version 5.21.1
## [5.21.1](https://github.com/frappe/bench/compare/v5.21.0...v5.21.1) (2024-02-01)

### Bug Fixes

* check frappe-deps during get-app ([d93656e](d93656e8d9))
* del node_modules if frappe supports app_cache ([9988b83](9988b8356b))
2024-02-01 07:08:08 +00:00
18alantom
17f2da41bb Merge branch 'staging' into v5.x 2024-02-01 12:37:09 +05:30
18alantom
38f7ec115a Merge branch 'develop' into staging 2024-02-01 12:36:28 +05:30
Alan
436b3c5642
Merge pull request #1525 from frappe/check-frappe-version
fix: delete node_modules if frappe supports app_cache
2024-02-01 12:31:22 +05:30
18alantom
d93656e8d9 fix: check frappe-deps during get-app 2024-02-01 12:12:27 +05:30
18alantom
9988b8356b fix: del node_modules if frappe supports app_cache 2024-01-31 17:54:54 +05:30
semantic-release-bot
0060fa0b09 chore(release): Bumped to Version 5.21.0
# [5.21.0](https://github.com/frappe/bench/compare/v5.20.0...v5.21.0) (2024-01-24)

### Bug Fixes

* add safety filter for untarring ([e8ea985](e8ea98552c))
* check if installed FF supports use-cached ([d177d8f](d177d8ff63))
* prevent circular dependency ([7bcea60](7bcea6099d))
* remove rem check from app-cache --clear ([4e170a2](4e170a2042))
* remove unused nodemodules before caching ([0e2e8b4](0e2e8b4da3))
* update install_app with using_cached flag ([10bb5a4](10bb5a4794))
* version check before AbsoluteLinkError ([3502c77](3502c776c0))
* version check before data_filter import ([80f2e70](80f2e70af6))
* wrap tarfile with error handling ([30f301e](30f301e3ff))
* wrong help string ([7a89ccd](7a89ccd53a))

### Features

* add bench app-cache helper command ([42ac015](42ac015bff))
* cache get-app artifacts by commit_hash ([87d4aa3](87d4aa3b10))
* comment out unsupported typing ([23bd717](23bd717d7b))
* set `startretries` in supervisor configuration ([deadc7c](deadc7c7c2))

### Performance Improvements

* add Cache-Control header for assets ([8d3270e](8d3270e4ad))
2024-01-24 07:54:45 +00:00
Ankush Menat
bc5f8463c5 Merge branch 'staging' into v5.x 2024-01-24 13:22:00 +05:30
Ankush Menat
c88c15f193 Merge branch 'develop' into staging 2024-01-24 13:21:43 +05:30
Ankush Menat
d84a05ed2a ci: use node20 for release 2024-01-24 13:21:14 +05:30
18alantom
0ecc940e03 Merge branch 'staging' into v5.x 2024-01-24 12:48:30 +05:30
18alantom
e4bf665ff6 Merge branch 'develop' into staging 2024-01-24 12:46:20 +05:30
Alan
38822f7871
Merge pull request #1523 from frappe/add-tar-safety
fix: add safety filter for untarring
2024-01-24 12:22:12 +05:30
18alantom
3502c776c0 fix: version check before AbsoluteLinkError 2024-01-24 12:11:04 +05:30
18alantom
80f2e70af6 fix: version check before data_filter import
- better error handling if untar fails
2024-01-24 11:58:03 +05:30
18alantom
23bd717d7b feat: comment out unsupported typing 2024-01-23 17:26:08 +05:30
18alantom
e8ea98552c fix: add safety filter for untarring 2024-01-23 17:20:16 +05:30
Alan
36c3cf4415
Merge pull request #1519 from frappe/get-app-cache
feat: cache get-app artifacts by commit_hash
2024-01-23 16:20:25 +05:30
Alan
8c125c6f62
Merge branch 'develop' into get-app-cache 2024-01-23 15:07:13 +05:30
18alantom
a3d0c2cf9c chore: bump Jinja appease CI 2024-01-23 13:40:21 +05:30
18alantom
4e170a2042 fix: remove rem check from app-cache --clear 2024-01-19 19:28:57 +05:30
18alantom
c5ec4f7528 chore: rename commit-hash to cache-key 2024-01-19 19:18:13 +05:30
18alantom
42ac015bff feat: add bench app-cache helper command 2024-01-19 14:59:28 +05:30
18alantom
30f301e3ff fix: wrap tarfile with error handling
- ensure return to cwd after tarring
2024-01-18 18:06:08 +05:30
18alantom
0e2e8b4da3 fix: remove unused nodemodules before caching 2024-01-18 17:44:25 +05:30
18alantom
683a421e43 refactor: use env to trigger using-cached flag
Click supports pulling args from an envvar if it is present,
this would be quicker and cleaner than calling a dummy command
to check if the feature is supported
2024-01-18 16:23:04 +05:30
18alantom
d177d8ff63 fix: check if installed FF supports use-cached 2024-01-18 13:04:50 +05:30
Ankush Menat
8d3270e4ad perf: add Cache-Control header for assets
closes https://github.com/frappe/bench/issues/1154
2024-01-17 20:38:47 +05:30
Akhil Narang
20ccfdff8f
Merge pull request #1520 from akhilnarang/supervisor-startretries
feat: set startretries in supervisor configuration
2024-01-15 16:34:51 +05:30
18alantom
10bb5a4794 fix: update install_app with using_cached flag 2024-01-15 15:56:45 +05:30
Akhil Narang
deadc7c7c2
feat: set startretries in supervisor configuration
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-01-15 14:23:24 +05:30
18alantom
7bcea6099d fix: prevent circular dependency
- put check_existing_dir back in its place
2024-01-15 13:40:26 +05:30