Rucha Mahabal
cc74712304
feat: after_build hook ( #38518 )
...
* feat: `after_build` hook
* feat: add option to skip running `after_build` hooks
* feat(boilerplate): add `after_build` hook
* revert: "feat: add option to skip running `after_build` hooks"
This reverts commit 6e9d2c6a2333d487fcf4d1908c366b496a8d80b1.
Removing the flag for now as other hooks (like after/before migrate) don't have a skip option either
2026-04-13 12:15:38 +05:30
Jayanta
9ff6043693
fix(boilerplate): add apt dependencies section for Frappe Cloud ( #38198 )
...
* fix(boilerplate): Add apt dependencies for Frappe Cloud
Add apt dependencies section for Frappe Cloud deployment
2026-03-24 16:51:28 +05:30
Kerolles Fathy
a71134ee2b
fix(DX): Add patches folder when generating new app boilerplate ( #37352 )
...
* fix(DX): add patches folder creation when generating new app boilerplate
* test: add patches folder to paths_inside_app
2026-02-23 11:08:20 +05:30
Ankush Menat
bfba73653f
fix(DX): Boilerplate defaults for type checks and exports ( #36871 )
...
Add sane defaults for new apps.
2026-02-09 10:10:02 +00:00
Diptanil Saha
03558f4848
chore(boilerplate): fixed db migration link ( #35967 )
2026-01-15 07:01:01 +00:00
Akhil Narang
0ac52c1bb4
chore: update boilerplate
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-12-23 13:27:48 +05:30
Raffael Meyer
0df57b6133
feat(translations): add hook to exclude translatable strings from dependencies ( #34544 )
2025-11-10 12:50:21 +01:00
Raffael Meyer
56676f0eec
fix: add boilerplate for class extensions ( #33955 )
...
* fix: add boilerplate for class overrides and extensions
* fix: curly braces
* style: no double comments
* fix: drop override, own section
2025-09-15 11:54:02 +05:30
sokumon
3ae2baeaf1
fix(boilerplate): update mariadb in ci
2025-04-16 13:58:24 +05:30
Akhil Narang
b399e496b1
chore: update boilerplate with our latest configs
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-04-10 13:04:50 +05:30
Ankush Menat
8e273d6701
chore: remove doctype overrides from hooks template ( #31444 )
...
This is a shit feature, don't advertise it to the world or make it easy
to use it.
2025-02-27 05:50:12 +00:00
Raffael Meyer
829a1404da
chore: bump actions/cache to v4 in boilerplate ( #30889 )
2025-01-27 12:01:09 +00:00
David Arnold
3d71f594d8
refactor: bench class inauguration ( #28158 )
...
* feat: Add bench layout classes and configuration handler
Bench layout: (`frappe.bench`)
- Layout by env variable, e.g. FRAPPE_BENCH_PATH, FRAPPE_SITES_PATH, etc
- Detecting modules and apps by the presence of a sentinel .frappe file
- Site is scoped by frappe.local.site_name (thread safe)
Config handler: (`frappe.bench.sites{,.site}.config`)
- Optional config registry for better discovery; warning if not specced
- Env variable overload with `FRAPPE_` prefix
* chore: type frappe.config
* chore: type frappe.bencher
* chore: py310 compat
2024-12-06 19:07:34 +01:00
Akhil Narang
84ef6ec677
refactor: fixup with ruff 0.8.1
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-12-04 13:18:04 +05:30
David Arnold
67f2b056b4
feat: add hook to allow downstream apps to add auto-loading instrumentation for their doctypes ( #28479 )
2024-11-15 13:04:20 +00:00
Abdeali Chharchhoda
dabaf45b17
refactor: Removed first empty line from github workflows template
2024-10-15 00:44:35 +05:30
Abdeali Chharchhoda
c23e342048
refactor: Enhance gitignore_template with additional directories and files
2024-10-15 00:37:17 +05:30
avc
da28df59e9
fix: try catch for license text fetching ( #27526 )
2024-10-06 23:26:23 +02:00
Shariq Ansari
4df61ed72c
chore: added framework espresso logo
2024-08-12 22:22:18 +05:30
Shariq Ansari
1ea56db399
chore: renamed include_as_app to include_in_apps_screen
2024-08-12 19:24:32 +05:30
Shariq Ansari
5bd7d60962
fix: unit test is broken
2024-08-12 18:05:06 +05:30
Shariq Ansari
0f0cf07ff5
fix: added include_as_app in hooks which is used to show app on apps page
2024-08-12 14:20:49 +05:30
Hussain Nagaria
69b2560cb7
fix: indentation
2024-06-25 14:05:44 +05:30
Hussain Nagaria
458fce7b1e
fix: update apt before mariadb client install in ci boilerplate
2024-06-25 14:02:45 +05:30
Hussain Nagaria
0fb1a7264b
fix: dynamic branch name in ci boilerplate
2024-06-25 14:01:43 +05:30
Ankush Menat
1b0ad4137a
fix(DX): Don't run CI if there are no tests
...
New apps keep burning CI just to install the app and run nothing.
This adds a small check before install to avoid unnecessary CI runs.
2024-05-17 13:05:06 +05:30
barredterra
5558cb0739
fix: linter config in boilerplate
2024-03-10 20:43:39 +01:00
Akhil Narang
3f1e19de85
refactor(treewide): enable RUF rules
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-02-21 16:20:28 +05:30
barredterra
d67066dfae
fix: switch to ruff
2024-02-18 16:42:41 +01:00
barredterra
1aae576b1a
Merge branch 'develop' into copy-config-to-new-app
2024-02-16 14:36:58 +01:00
Akhil Narang
26ae0f3460
fix: ruff fixes
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-02-07 17:04:31 +05:30
Ankush Menat
de9ac89748
style: re-format with ruff
2024-02-05 18:53:33 +05:30
barredterra
95d0fb57cd
feat: linter workflow for new apps
2024-01-14 17:36:47 +01:00
barredterra
8867e1ec4e
Merge remote-tracking branch 'upstream/develop' into copy-config-to-new-app
2023-12-26 16:37:31 +01:00
barredterra
f1f85f63a3
feat: ask for branch name
...
Default to frappe's branch name (version-15 -> version-15) to clearly communicate compatibility.
2023-12-18 20:11:56 +01:00
barredterra
f2a936c2e1
Revert "refactor: _create_app_boilerplate"
...
This reverts commit 670d66210b .
2023-12-18 20:04:07 +01:00
barredterra
3efad09123
feat: add info about pre-commit to README
2023-12-18 19:49:29 +01:00
barredterra
670d66210b
refactor: _create_app_boilerplate
...
Loop over dict items instead of copying the same code for each file.
2023-12-18 19:44:24 +01:00
barredterra
0ffa95c73e
refactor: README template
2023-12-18 19:39:42 +01:00
barredterra
c522b938d7
feat: create pre-commit config for new app
2023-12-18 19:11:42 +01:00
barredterra
ca1a5ce12d
feat: copy config files to new app
2023-12-18 18:57:24 +01:00
Raffael Meyer
99f0745302
style: new app boilerplate ( #23847 )
...
* style: add spaces to hooks boilerplate
Black wants comments to start with a space. Adding them here means less formatting later.
* style: init_template
Put version on the first line and use double quotes.
2023-12-18 23:13:13 +05:30
Ankush Menat
c23771475c
refactor: Use hooks to specify default log clearing ( #23507 )
2023-11-30 13:06:29 +05:30
Hussain Nagaria
f1ba76f5f7
fix: add mariadb-client install step in workflow boilerplate
2023-10-16 19:40:09 +05:30
Akhil Narang
091ebdd8dc
refactor(treewide): use mariadb commands directly instead of mysql ( #22620 )
...
This has been done because the mysql command issues a deprecation warning now
mysql: Deprecated program name. It will be removed in a future release, use '/usr/bin/mariadb' instead
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2023-10-10 12:49:16 +05:30
Corentin Flr
41d30e7213
feat: Add custom icons with the app_include_icons hook ( #22254 )
...
* feat: Add custom icons with the `app_include_icons` hook
These custom icons are available on the desk only. They can be picked in the `ControlIcon` picker.
Co-authored-by: Abraham Kalungi <85731451+kalungia@users.noreply.github.com>
* fix: skip conf for including icons
* test: Fix test_include_icons
---------
Co-authored-by: Abraham Kalungi <85731451+kalungia@users.noreply.github.com>
Co-authored-by: Ankush Menat <ankushmenat@gmail.com>
2023-09-20 20:23:17 +05:30
niraj gautam
fbbdef1e9c
feat: Dynamically generate license text ( #22299 )
...
* feat: Add dynamic license dtext
* feat: Validate license name
* fix(DX): Pass options as click.Choice
---------
Co-authored-by: Ankush Menat <ankush@frappe.io>
2023-09-05 05:45:27 +00:00
Ankush Menat
1ad5c0ea86
refactor: Avoid regex for email validation
...
[skip ci]
2023-09-02 11:38:56 +05:30
Xieyt
98fce7d633
Fix:add Email Validation
2023-08-31 14:04:54 +05:30
Babuuu
173605fe2c
chore: Update boilerplate gitignore ( #22220 )
...
Add __pycache__ to .gitignore file of the new app.
2023-08-28 16:54:54 +05:30