gavin
871c703ee3
Merge pull request #1361 from ankush/warnings_output
...
fix(DX): make warnings go to stderr
2022-08-10 15:23:24 +05:30
Ankush Menat
3e749ba547
fix: update check condition
...
Right now updates are checked for src and --version command, it used to
be opposite of this.
ref: 7c653db703
2022-08-10 13:53:06 +05:30
Ankush Menat
b6b9481b7b
fix(DX): make warnings go to stderr
2022-08-10 11:42:34 +05:30
gavin
dea3278535
Merge pull request #1360 from resilient-tech/expect-python-exec
...
fix: dont use glob pattern for `python` exec
2022-08-07 13:41:40 +05:30
Sagar Vora
dc047a5e7d
fix: dont use glob pattern for python
exec
2022-08-07 01:36:16 +05:30
gavin
ac796f1bfd
Merge pull request #1355 from gavindsouza/nginx-access_log
...
feat(nginx): Allow logging settings as site/combined/none
2022-08-04 16:19:45 +05:30
Gavin D'souza
bbf0169994
fix(nginx): Allow specifying log_format setting
...
Changes
* Added sugared option class that allows setting options only if another
is set
* setup nginx command allows to set logging level & log_format options
2022-08-04 16:00:27 +05:30
Gavin D'souza
5370129283
feat(nginx): Allow logging settings as site/combined/none
2022-08-04 14:10:09 +05:30
gavin
391dcf1e12
Merge pull request #1354 from gavindsouza/skip-supervisord
...
fix: Suggest don't update supervisord conf
2022-08-04 14:06:13 +05:30
gavin
925530f05b
Merge pull request #1356 from gavindsouza/archived_sites-patch-fix
...
fix(patch): Rename parent dir instead of moving individual dirs
2022-08-04 14:05:30 +05:30
Gavin D'souza
0bd0717f24
fix(patch): Rename parent dir instead of moving individual dirs
2022-08-04 13:03:22 +05:30
Gavin D'souza
f734eef7a7
refactor: check_supervisord_config
2022-08-04 12:15:51 +05:30
Gavin D'souza
db13ce3732
fix!: Don't update supervisord conf - instead just suggest
2022-08-04 12:14:07 +05:30
Gavin D'souza
a3af905d92
feat: Allow skipping supervisord config check in setup supervisor
2022-08-04 12:13:10 +05:30
gavin
26e5630265
Merge pull request #1353 from gavindsouza/broken-import-path
...
fix: Broken import path
2022-08-03 16:48:17 +05:30
Ankush Menat
7e12108bc6
ci: automated release regex
...
ref: https://github.com/frappe/frappe/pull/17725
2022-08-03 16:16:30 +05:30
Gavin D'souza
4014f7349d
refactor: Exceptions, variables with pylint
2022-08-03 16:04:21 +05:30
Gavin D'souza
2c5c28bbe2
fix: Remove broken import path
2022-08-03 15:54:44 +05:30
gavin
18a954b88c
Merge pull request #1349 from gavindsouza/frappe-cmd-cache-bye
...
fix: Remove frappe cmd caching in .bench.cmd
2022-08-02 14:38:37 +05:30
gavin
a0af07356c
Merge pull request #1348 from gavindsouza/virtualenv-shenanigans
...
fix: Virtualenv shenanigans
2022-08-02 13:18:19 +05:30
Gavin D'souza
f77352966b
fix: Remove frappe cmd caching in .bench.cmd
2022-08-02 13:14:55 +05:30
Gavin D'souza
10473b6007
fix: Pass abs path from get_env_cmd
2022-08-02 12:46:03 +05:30
Gavin D'souza
6ae1997bff
fix(utils): Strip * from cmd via get_env_cmd
2022-08-02 12:18:40 +05:30
Gavin D'souza
78742b9546
refactor: Use specific lru_cache imports over entire module's
2022-08-02 12:00:08 +05:30
Gavin D'souza
24b9af605b
fix: Use python* to match any pattern in env
2022-08-02 11:59:34 +05:30
Gavin D'souza
b37135e5b1
refactor: get_env_cmd
...
* Use globbing first to identify cmd in env paths
* Unbound cache which clears on chdir
* Allow passing patterns like 'python*' as cmd to match
2022-08-02 11:57:38 +05:30
Gavin D'souza
f60c2d0def
fix: Use venv module instead of virtualenv
...
Only migrate-env requires virtualenv wrapper. However, it can be
installed and run manually too. Virtualenv wrapper is patched in debian
to change the path of bins - which venv is free from.
2022-08-02 11:54:00 +05:30
gavin
ec9d8588ca
Merge pull request #1347 from gavindsouza/ci-reduce-time
...
ci: Reduce test builds' runtimes
2022-08-01 18:30:49 +05:30
Gavin D'souza
01b77598ff
fix: Pass cwd for cmd subprocess execution
...
Also, use python instead of python3 hardcoded in env
2022-08-01 17:48:51 +05:30
Gavin D'souza
bff9dfd004
test: Skip asset building & resolving node deps
2022-08-01 17:37:30 +05:30
gavin
6d67502668
Merge pull request #1346 from gavindsouza/python-env-cmd
...
ci: travisCI => GHA
2022-08-01 17:06:52 +05:30
Gavin D'souza
7f4f1b9dc6
ci: Remove needs cond for tests job
2022-08-01 16:33:39 +05:30
Gavin D'souza
73719a26e2
test(init): Run exec_cmd without raise [bug]
2022-08-01 16:33:33 +05:30
Gavin D'souza
b4a6f7fea8
test(app_states): Set git committer info in config
2022-08-01 15:40:54 +05:30
Gavin D'souza
137c786f5e
ci: Add Bench linters action
2022-08-01 15:22:48 +05:30
Gavin D'souza
c9c6bf4512
fix: Use hardcoded python3 env cmd for Bench.python
2022-08-01 15:16:03 +05:30
Gavin D'souza
e7c0c264d9
ci: Migrate tests from Travis to GHA
2022-08-01 15:15:48 +05:30
Gavin D'souza
1a062263cf
ci: Bump to mariadb 10.6
2022-08-01 14:15:23 +05:30
Gavin D'souza
3b173f92c8
ci: Use Ubuntu focal for tests
2022-08-01 14:04:07 +05:30
Gavin D'souza
e5fa4df5f9
fix: Fetch env python if exists before returning fallback
2022-08-01 11:49:15 +05:30
gavin
0cd5fca322
fix: Remove backup command ( #1345 )
...
bench's backup command is redundant and acts as a wrapper over Frappe's
backup command. This caused a conflict with Frappe's CLI after the
resolution correction introduced via a6f196440a
ref: https://github.com/frappe/frappe/runs/7592331617
2022-07-31 22:28:32 +05:30
gavin
1ec17e40f3
Merge pull request #1344 from gavindsouza/dummy-release-trigger-2
...
fix: Use subscript instead of method for regex
2022-07-30 01:23:11 +05:30
Gavin D'souza
e126ff2439
fix: Use subscript instead of method for regex
...
This is another dumb attempt to trigger a release because it doesn't get
triggered without PRs linked or even if they're refactors!
2022-07-30 01:20:24 +05:30
gavin
66d41e5c3d
Merge pull request #1343 from frappe/dummy-release-trigger
...
refactor: Use Suppress instead of try-pass
2022-07-30 01:13:32 +05:30
Gavin D'souza
a5b7a101d2
refactor: Use Suppress instead of try-pass
2022-07-30 01:12:27 +05:30
Gavin D'souza
147aab1e4e
chore: Remove dead MANIFEST.in
2022-07-30 01:06:41 +05:30
Gavin D'souza
a0a8133032
build: Include for wheel target
2022-07-30 01:03:20 +05:30
Gavin D'souza
8736a2f3cf
docs: Update PY37 shield
2022-07-29 19:44:02 +05:30
Gavin D'souza
060e6b7cea
ci: Use hatch to build package
2022-07-29 19:23:39 +05:30
gavin
af05b4945a
Merge pull request #1341 from frappe/gavindsouza-readme-dark
...
chore: Add logo for Dark mode
2022-07-29 00:18:21 +05:30