2
0
mirror of https://github.com/frappe/bench.git synced 2024-06-27 11:43:29 +00:00
bench/bench
Gavin D'souza 153546afd7 refactor: Simplify Bench with OOP
Goals:
- Commonify bench operations in a way that intuitive
- Get rid of the multiple duplicate functions because it's so hard to
  understand flow in the codebase ;)
- Eliminate the need to guess, re-guess and pass bench info in each
  function that needs to do literally anything
- Increase my happiness index because I just realised that I'm the top
  contributor of this project and I'd like to make it my own.
- Adopt the principles of Least Surprise & The Principle of The Bigger Smile (of DHH) [inspired by ruby & ror]

Changes:
- The bench module has Bench and the action classes that can be accessed
  through the bench object
- Used the Bench class to access properties like sites, apps & run (to execute commands in context) to reduce effort and clutter
- Style improvements & minor changes included
2021-10-30 02:25:38 +05:30
..
commands refactor: Simplify Bench with OOP 2021-10-30 02:25:38 +05:30
config refactor: Simplify Bench with OOP 2021-10-30 02:25:38 +05:30
patches fix: correct patches.txt 2021-10-18 18:21:24 +05:30
playbooks fix: create bench folder in user directory 2021-02-16 16:45:07 +01:00
tests feat: Set default version for easy install to v13 (#1189) 2021-08-30 12:29:09 +05:30
__init__.py feat: App Meta Base Class 2021-10-20 00:37:36 +05:30
app.py refactor: Simplify Bench with OOP 2021-10-30 02:25:38 +05:30
bench.py refactor: Simplify Bench with OOP 2021-10-30 02:25:38 +05:30
cli.py refactor: Simplify Bench with OOP 2021-10-30 02:25:38 +05:30
exceptions.py refactor: Exceptions, Setup & Styles 2021-10-21 16:37:49 +05:30
prepare_beta_release.py style: Use f-strings instead of old string formatting methods 2021-05-11 11:30:27 +05:30
prepare_staging.py chore: move 'find_parent_bench' to utils 2020-02-18 19:15:52 +05:30
release.py style: Use f-strings instead of old string formatting methods 2021-05-11 11:30:27 +05:30
utils.py refactor: Simplify Bench with OOP 2021-10-30 02:25:38 +05:30