2
0
mirror of https://github.com/frappe/bench.git synced 2025-01-06 23:44:03 +00:00
Commit Graph

2393 Commits

Author SHA1 Message Date
David
ac08ec6dee
feat: add more flexibility to procfile render 2024-11-27 16:14:53 +01:00
David
0bb5ffeb69
fix: apps init; apps might be an empty folder still 2024-11-27 15:58:03 +01:00
Akhil Narang
14a3303c44
Merge pull request #1599 from akhilnarang/ci-drop-3.8
chore(ci): drop py3.8, add 11, 12, 13
2024-11-25 14:10:53 +05:30
Akhil Narang
fcf7210f13
Merge pull request #1598 from akhilnarang/exception-to-echo
refactor: change some exceptions to simple echo + exits
2024-11-25 14:10:44 +05:30
Akhil Narang
9e42db5060
chore(ci): drop py3.8, add 11, 12, 13
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-11-25 13:57:15 +05:30
Akhil Narang
aae99fa10e
Merge pull request #1597 from akhilnarang/fix-pyproject-open
fix: use `with` to read pyproject.toml
2024-11-25 13:54:12 +05:30
Akhil Narang
326bcab224
refactor: change some exceptions to simple echo + exits
The traceback doesn't help in any meaningful way, just makes it harder to decipher the error

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-11-25 13:53:00 +05:30
Akhil Narang
f3110e5456
fix: use with to read pyproject.toml
Also fix variable name

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-11-25 13:40:27 +05:30
gavin
af8ed34201
Merge pull request #1584 from jmishra01/avoid_multiple_check
fix: Avoid continue loop in is_bench_directory
2024-10-24 11:50:28 +02:00
Jitendra Mishra
877bf09afa
Avoid continue loop 2024-09-23 09:04:47 +05:30
Akhil Narang
bb2e324257
Merge pull request #1579 from akhilnarang/disallow-uninstalling-frappe
fix: don't allow uninstall frappe...
2024-08-30 18:22:40 +05:30
Akhil Narang
1ab3763fd6
fix: don't allow uninstall frappe...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-08-30 18:08:51 +05:30
Akhil Narang
e88fbc47c9
Merge pull request #1577 from akhilnarang/change-list-to-tuple
fix: use a tuple instead of a list
2024-08-21 13:21:29 +05:30
Akhil Narang
c599ee86dd
fix: use a tuple instead of a list
From perflint:
bench/utils/bench.py:89:9: W8301: Use tuple instead of list for a non-mutated sequence (use-tuple-over-list)

(just needed a fix to trigger a new release)

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-08-21 13:07:24 +05:30
Akhil Narang
3cc170b6d3
Merge pull request #1576 from akhilnarang/bump-dependencies
chore(deps): bump `semantic-version` to match frappe framework
2024-08-20 12:54:42 +05:30
Akhil Narang
7cfa7e599e
chore(deps): bump semantic-version to match frappe framework
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-08-20 12:07:05 +05:30
Akhil Narang
21b990e9ad
Merge pull request #1564 from cogk/fix-use-import_tasks-instead-of-include
fix(ansible): Use include_tasks instead of include
2024-08-12 15:42:53 +05:30
Corentin Forler
cbd703d436
fix(ansible): Use include_tasks instead of include 2024-08-12 11:51:04 +02:00
Akhil Narang
181d265cda
Merge pull request #1563 from FHenry/dev_replace_include_with_include_tasks
fix: ERROR! [DEPRECATED] ansible.builtin.include has been removed. Use include_tasks or import_tasks instead. This feature was removed from ansible-core in a release after 2023-05-16. Please update your playbooks.
2024-08-12 15:15:08 +05:30
Florian HENRY
caa5fa0ead fix: ERROR! [DEPRECATED] 2024-05-28 17:38:55 +02:00
Nick Spinner
07b1462e60
Update Development Docs URL (#1557) 2024-05-10 11:00:13 +05:30
Alan
de9b0bd91a
Merge pull request #1556 from frappe/userforsecurity
fix: add useforsecurity with fallback for <3.9
2024-05-08 10:17:59 +05:30
18alantom
319809d2df fix: add useforsecurity with fallback for <3.9 2024-05-08 10:15:39 +05:30
Alan
4c3827207d
Merge pull request #1555 from frappe/calculate-cache-checksum
fix: check cache hash before using
2024-05-07 21:02:22 +05:30
18alantom
fbdae3912a chore: fix app-cache format 2024-05-06 15:48:08 +05:30
18alantom
d3ca36d596 chore: deprecate 3.7 support 2024-05-06 15:35:24 +05:30
18alantom
1f0d8ab5f5 chore: consistency in app-cache messages 2024-05-06 13:21:07 +05:30
18alantom
6f074a7b3e fix: update pre url coercion check 2024-05-06 13:11:51 +05:30
18alantom
efb51712d9 fix: check md5 when fetching from cache 2024-05-06 12:58:16 +05:30
18alantom
8854551eee chore: update secho messages 2024-05-06 12:28:38 +05:30
18alantom
16f89067c6 fix: calc md5 for app cache 2024-05-06 12:23:18 +05:30
Fritz
1751b2db5b
fix: Switched to native GIT way to lookup branch names (#1553) 2024-04-29 16:22:19 +05:30
Raffael Meyer
5a0922d991
fix: add jammy package for Ubuntu 22 (#1549) 2024-04-15 20:35:15 +05:30
Sabu Siyad
d728b80883
chore: remove proxy method: setup_details_from_git_url (#1546) 2024-03-10 13:46:00 +05:30
Ankush Menat
b12ac648fb
Merge pull request #1542 from ankush/fast_cli
perf: faster cli
2024-02-24 11:47:18 +05:30
Ankush Menat
014358d02a fix!: Unconditionally assume frappe_cmd 2024-02-23 21:09:55 +05:30
Ankush Menat
8db23dd230 perf: Avoid use of glob for fetching python executable
glob on env/**/bin is slowest operation in terms of overhead on CLI.
2024-02-23 21:09:23 +05:30
David Arnold
7c64aa3d94
fix(build): support pyproject version (#1502)
* fix(build): support pyproject version

* refactor: use util for parsing pyproject

---------

Co-authored-by: Ankush Menat <ankushmenat@gmail.com>
2024-02-23 20:50:21 +05:30
Alan
26e1f10380
Merge pull request #1541 from 18alantom/fix-bench-deploy-3nd-try
fix: specify hatch version in release
2024-02-23 11:21:12 +05:30
18alantom
87b4b1fd2a fix: specify hatch version in release
pin hatchling version to correct range
2024-02-23 11:17:39 +05:30
Alan
987a02e41d
Merge pull request #1538 from frappe/fix-bench-deploy-2nd-try
fix(build): pin hatchling version 2nd try
2024-02-21 17:44:58 +05:30
18alantom
b74ff54dfa fix(build): pin hatchling version 2nd try 2024-02-21 17:29:50 +05:30
Alan
5b5e5094d2
Merge pull request #1537 from frappe/fix-bench-deploy
fix(build): pin hatchling version to prevent import error
2024-02-21 17:11:32 +05:30
18alantom
3a73059531 fix(build): pin hatchling version to prevent import error
reference: https://github.com/pypa/hatch/pull/1255
2024-02-21 16:58:44 +05:30
Alan
d41198f78b
Merge pull request #1536 from frappe/fix-org-check
fix: ignore org check fail if using cache
2024-02-21 16:38:00 +05:30
18alantom
aa12aabb26 fix: ignore org check fail if using cache 2024-02-21 16:24:16 +05:30
Ankush Menat
ab9b6172a4
feat: bench validate-dependencies command (#1534)
This validates all `frappe-dependencies` and exits with 1 if any of
specifications fail.

This will be internal feature for FC for now. If this works well we can
make the validation fail during install-app itself without requiring any
additional command/steps.
2024-02-07 18:27:54 +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
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
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