ritwik
5cfe3ad946
feat: add no-git option in make-app command and boilerplate generation ( #15028 )
2021-11-23 04:11:06 +00:00
Shariq Ansari
990b9f0ec3
test: Changing cypress browser to chrome
2021-11-10 11:45:53 +05:30
Gavin D'souza
6712bd9c93
fix: Leaking color in bench --help
...
Since the character to render NC was cut off due to the char limit, the
whole list of following commands and descriptions would also turn
yellow. Let's keep it colourless in --help. Only, make it yellow when
the command is executed directly.
2021-10-14 17:33:35 +05:30
Gavin D'souza
bc9b3e826b
fix: Rollback, Release locals & Close db connection
...
When exitting console, rollback and destroy the Frappe connection. This
rollback is added so that rollback_observers are executed in case
methods are run in the console which shouldn't be committed.
For instance, running File.optimize will make changes to the file on
disk but may not update the corresponding data in the DB.
2021-10-14 17:30:51 +05:30
Suraj Shetty
4d435e271e
Merge branch 'develop' into coverage
2021-09-30 23:11:26 +05:30
MitulDavid
d8d8c8e54e
ci: Code coverage for JS files
2021-09-20 21:11:47 +05:30
Gavin D'souza
8b881d01d5
chore: Add help for bench transform-database
2021-09-14 21:07:46 +05:30
Gavin D'souza
71dc7f474f
perf: Single query to update a table
2021-09-02 15:51:49 +05:30
Gavin D'souza
b88eca73c3
Merge branch 'develop' into mariadb-10_6
2021-09-02 15:34:29 +05:30
Gavin D'souza
6ccf73026f
feat(minor): transform-tables - Update table engine
2021-09-02 15:33:27 +05:30
Gavin D'souza
c472fd359f
feat: Transform tables for given site
...
* Ability to update ROW_FORMAT for mentioned tables in --table option
* Failfast to stop on first error occured
* Show progressbar for overall conversion progress (remaining tales)
2021-09-02 13:07:19 +05:30
Gavin D'souza
3f2d0ac0cf
feat(cli): New command 'db-console'
...
Don't remember what db console you have to open for what site!
How to use: `bench --site framework.io db-console`
2021-09-01 13:38:59 +05:30
Suraj Shetty
30f5edf1bc
Merge branch 'develop' into cli
2021-08-25 13:10:11 +05:30
ChillarAnand
32759cfc90
fix: Passed failfast flag to unit test runner in all scenarios
2021-08-25 08:03:48 +05:30
Suraj Shetty
7103ec1b6c
Merge branch 'develop' into feat-autoreloader-for-ipython
2021-08-20 11:51:58 +05:30
Pruthvi Patel
09868c26a9
feat: add --autoreload flag
2021-08-20 11:41:41 +05:30
MitulDavid
29dfffb9c5
refactor: Replace .format() with f-strings
2021-08-18 19:32:16 +05:30
MitulDavid
b417218f1d
test: Add support for Testing-Library queries within Cypress tests
2021-08-17 19:06:01 +05:30
Gavin D'souza
f0cc541a71
feat: Add util to convert compressed tables to DYNAMIC
...
NOTE: This shouldn't be considered as a finished command. Only run this
if you understand what you're doing
2021-08-17 12:36:54 +05:30
Suraj Shetty
49684ca399
refactor: Make coverage context manager
...
- Decoupled coverage code from testing to setup code coverage before any import happen to get accurate coverage (before it used to skip import statements for some files)
2021-08-09 09:50:41 +05:30
Pruthvi Patel
6db4b6f2e6
fix: autoreload for only developer mode
2021-08-05 17:51:38 +05:30
Pruthvi Patel
b2b44b5939
feat: add autoreloader for ipython
2021-08-05 16:49:20 +05:30
Gavin D'souza
4959dd02f1
refactor(minor): frappe.translate.get_messages_from_file
...
* Don't re-define frappe util - get_bench_path
* Add Python types
* Style changes
2021-07-14 20:40:43 +05:30
Gavin D'souza
2ac1c45c66
refactor: Maintain common list for Frappe Coverage settings
...
* Maintain common settings for coverage settings of parallel and base test suites
* Expand FRAPPE_EXCLUSIONS list based on coveralls.io report
2021-07-14 20:40:24 +05:30
gavin
59f4b4d754
Merge pull request #13554 from gavindsouza/drop-data-import-legacy
...
chore: Drop Data Import Legacy
2021-07-13 20:39:00 +05:30
barredterra
04094110f5
fix: handle detached head
...
Workaround for https://github.com/gitpython-developers/GitPython/issues/633
2021-07-13 13:11:15 +02:00
Gavin D'souza
0d0e527416
chore: Show deprecation warning in command help
2021-07-13 11:21:21 +05:30
Gavin D'souza
dc50b77179
chore: Drop Data Import Legacy
2021-07-13 11:21:21 +05:30
barredterra
93e5398d5d
Merge branch 'develop' into bench_version_branch_commit
2021-07-05 20:26:08 +02:00
barredterra
d1555263e1
refactor: suggestions from review
...
- use -f / -- format instead of output
- get rid of ugly if / else statements
2021-07-05 19:52:12 +02:00
barredterra
ef0a5e904b
feat: different output formats for bench version
2021-07-02 17:24:34 +02:00
mergify[bot]
dede680ceb
Merge pull request #13567 from alyf-de/bench_version_branch_commit
...
feat: print branch and commit on `bench version`
2021-07-02 08:24:55 +00:00
Ankush
d58d2ac77f
ci(cypress): use env variable for key ( #13616 )
...
documentation ref: https://docs.cypress.io/guides/guides/command-line#cypress-run
2021-06-30 23:05:05 +05:30
barredterra
f8ec3d711c
feat: print branch and commit on bench version
2021-06-24 18:43:12 +02:00
Suraj Shetty
eba4c24503
Merge branch 'develop' into refactor-website
2021-06-04 11:15:12 +05:30
Gavin D'souza
a3b68cbc2e
chore(cov): Drop duplicate pattern in omit list
2021-06-03 21:46:39 +05:30
Gavin D'souza
9b164571c3
fix: Update coverage omit files
...
Apply 0d8aeba3ee for parrallel test runner
2021-06-03 20:51:28 +05:30
Gavin D'souza
0d8aeba3ee
fix: Update coverage omit files
...
Files that don't end with .py or .pyo ot .pyc are automatically
skipped by coveragepy. Updated omit list accordingly to remove non
python importable files.
ref: https://coverage.readthedocs.io/en/coverage-5.5/source.html#execution
2021-06-03 18:59:00 +05:30
Suraj Shetty
2d8c6c1710
Merge branch 'develop' of https://github.com/frappe/frappe into refactor-website
2021-06-03 11:43:28 +05:30
Gavin D'souza
e407b78506
chore: Drop dead and deprecated code
...
* Remove six for PY2 compatability since our dependencies are not, PY2
is legacy.
* Removed usages of utils from future/past libraries since they are
deprecated. This includes 'from __future__ ...' and 'from past...'
statements.
* Removed compatibility imports for PY2, switched from six imports to
standard library imports.
* Removed utils code blocks that handle operations depending on PY2/3
versions.
* Removed 'from __future__ ...' lines from templates/code generators
* Used PY3 syntaxes in place of PY2 compatible blocks. eg: metaclass
2021-05-26 15:31:29 +05:30
Suraj Shetty
e6d701b038
refactor: Use clear_website_cache instead of clear_cache
2021-05-25 15:02:18 +05:30
Suraj Shetty
86897c1808
refactor: Remove render.py and move all utility functions to utils.py
...
- Replace or remove all render imports
2021-05-25 10:53:35 +05:30
Gavin D'souza
33ba6494f8
Merge branch 'develop' into deprecation-warnings
2021-05-19 13:18:13 +05:30
Gavin D'souza
2dde3a9b01
fix: Hide all warnings in frappe commands
...
Hide all warnings when triggered via frappe.utils.bench_helper
2021-05-19 12:47:57 +05:30
Faris Ansari
f8ca990a83
Merge remote-tracking branch 'upstream/develop' into esbuild
2021-05-16 11:26:43 +05:30
Gavin D'souza
e0be2cc535
Merge branch 'develop' into misc-fixes-py3-1
2021-05-12 21:02:26 +05:30
Gavin D'souza
098f1564f3
refactor: bench build
...
* Deprecate --make-copy and --restore options for build in favour of --hard-link
* Show feedback for linking/copying application assets
2021-05-11 21:15:20 +05:30
Gavin D'souza
e18f080453
chore: Hide all warnings in bench console
2021-05-11 15:25:41 +05:30
Suraj Shetty
e1fec81ae3
feat: Add option to run parallel test with orchestrator
2021-05-09 11:27:58 +05:30
Suraj Shetty
76348b892f
refactor: Move parallel test runner code to a separate file
2021-05-09 09:32:28 +05:30