Граф коммитов

88 Коммитов

Автор SHA1 Сообщение Дата
AllyW b29b9473b3
fix profile options (#473) 2024-09-12 17:36:02 +08:00
AllyW 09c0cb28b5
remove shell=True (#470)
* remove shell=True
* constrain profile options
2024-09-12 11:30:09 +08:00
AllyW 5d9ca38b60
reset pre num for tagged version (#467) 2024-08-30 11:17:08 +08:00
AllyW 562ad15473
fix stable version cal (#466) 2024-08-29 16:10:25 +08:00
Yishi Wang 917ca544f1
`azdev scan/mask`: Add `--include-pattern` and `--exclude-pattern` (#465)
* add scan/mask command

* code implementation

* refine code and add tests

* pylint

* flake8

* address comments

* Add --include-pattern and --exclude-pattern

* tox

* Apply suggestions from code review

Co-authored-by: ZelinWang <zelinwang@microsoft.com>

---------

Co-authored-by: ZelinWang <zelinwang@microsoft.com>
2024-08-29 14:58:13 +08:00
Yishi Wang e128deb899
New commands: `azdev scan/mask` for secrets scanning and redaction (#460)
* add scan/mask command

* code implementation

* refine code and add tests

* pylint

* flake8

* address comments
2024-08-26 15:01:42 +08:00
AllyW 4f5a0b676b
Fix cmd help extracting and add `has_completer` in command-change meta-export (#461)
* add completer

* set help and example from helpfiles
2024-08-21 14:28:55 +08:00
Hang db1212ac06
Release azdev (#459) 2024-07-25 17:03:11 +08:00
AllyW 78af72c8c6
add extension show (#456)
* add extension show
* fix extension index name
2024-07-03 12:01:15 +08:00
Qi Pan 8f5eb981f2
{CI} Fix cmdcov issue: remove `tested_command.txt` reference (#455)
* Remove tested_command.txt

* Remove extra blank line

* add release
2024-06-21 15:42:54 +08:00
AllyW f5e22564ce
release azdev (#450) 2024-05-21 16:07:20 +08:00
Qinkai Wu 3b507dc340
Add new command `command-change tree-export` to export command tree (#448)
* Add new command `command-change tree-export` to export command tree

* Fix style

* apply suggestions

* Update version

* Extract tree build and add test
2024-05-17 11:02:02 +08:00
AllyW f95014f74e
add exp/preview tag operation based on last and next version's tag (#445) 2024-04-11 16:29:39 +08:00
ZelinWang 9767acba8c
{CI} `azdev style`: Use azdev config files when .flake8 and pylintrc are not found in azure cli/ext repo. (#442)
* Update style.py

* update

* Update test_style.py

* Update test_style.py

* Update test_style.py
2024-04-03 15:34:03 +08:00
AllyW 202fd8a52d
add deprecate diff support (#438)
* add deprecate diff and test data
2024-03-25 16:58:17 +08:00
AllyW e370b9a931
fix module name index for extension json (#432)
* fix module name index
2024-01-30 15:12:31 +08:00
AllyW 82a1c3bdf2
Update requires for azure-cli-diff-tool (#431) 2024-01-15 13:53:58 +08:00
AllyW 4693ff26bb
add version upgrade (#426)
* add new cmd `cal-next-version` for calculating new extension module versions
2024-01-08 11:20:57 +08:00
ZelinWang 47539ef4fc
Optimize azdev test and azdev style (#424)
* update

* Update path.py

* Update path.py

* update

* Update help.py

* bug fixes

* update

* Update linter.py
2023-12-04 16:04:19 +08:00
necusjz f414c3f646
`azdev statistics list-command-table`: Handle exceptions when source code cannot be retrieved (#421)
* handle exception

* update changelog

* fix lint
2023-09-14 10:55:16 +08:00
AllyW d4e9490071
add prop value, norm type value and ignore add type (#418)
* add prop value, norm type value and ignore add type

---------

Co-authored-by: Li Wang <liwang3@microsoft.com>
2023-08-10 13:57:09 +08:00
ZelinWang 64f4b0f756
{CI} Fix cmdcov issue: Any name of a parameter has been tested, the parameter should be considered as passing the parameter test coverage. (#417)
* Update linter.py

* update

* Update HISTORY.rst
2023-08-09 11:40:12 +08:00
AllyW beb183f757
remove dup codes (#411)
* remove dup codes

* add cli diff unittest job

* update python matrix

* release v0.1.57
2023-08-04 18:36:56 +08:00
ZelinWang 9375065ce6
[CICD] Fix cmdcov bug (#410)
* update

* update

* update

* update

* update
2023-07-14 11:06:44 +08:00
AllyW 6acd26a2a5
fix command-change data file pkg (#405)
* fix command-change data file pkg
2023-07-10 14:22:17 +08:00
AllyW df1b1e4a62
release v0.1.54 (#404) 2023-07-10 11:33:10 +08:00
AllyW 9d1d760660
release v0.1.53 (#403) 2023-07-07 13:36:01 +08:00
ZelinWang 09c59849f3
[CICD] Fix cmdcov (#396)
* update

* update
2023-06-27 14:14:10 +08:00
ZelinWang cc45a6ffd2
Release v0.1.51 (#394) 2023-06-27 11:44:47 +08:00
ZelinWang bf50a1fe0c
[CICD] Fix cmdcov issue (#385) 2023-06-19 18:04:11 +08:00
ZelinWang f82d95fe21
[CICD] Add CLI Extensions Command Test Coverage (#383)
* add command coverage

* commit

* regex

* command coverage 1.0

* upload html

* modify report

* refactor

* add annotation

* Update test_cmdcov.py

* modify detect command function

* detect from live test file

* update func _get_all_commands

* Update __init__.py

* update sort function

* update sort function

* add level argument

* add cli own

* add EXCLUDE MODULES

* Update component.css

* delete unused code

* delete unused file

* modify regex

* add help info

* add description

* exclude command wait

* detect from recording file

* delete exception already fixed

* add newline

* add license headers

* fix tox

* refactoring

* fix bug

* exclude deprecated commands

* fix tox

* fix tox

* add network exclude commands

* add number sign exclude

* add comment

* add linter rule comcov

* update

* regex

* add log add exec_state

* add rule type command_coverage

* update diff branches

* support exclusion

* linter refactoring

* move constant and regex out

* suppport linter_exclusion.yml in cmdcov

* add license headers

* fix pylint

* fix flake8

* Update test_cmdcov.py

* fix bug for linter rule

* add resource skip commands

* update

1. Change the selected color to pink
2. Mouse hover shows percentage details
3. Modify Coverage Report description

* role commands exclusion

* modify HISTORY.rst and setup.py

* resource skip two commands - hard to test

* bug fixes: search argument

* modify command coverage to command test coverage

* bug fixes: Add three new scenarios

* update CLI own and exclude commands

* move private dns out of cli own

* add log for exclusions

* exclude vm host restart

* config

* Update test_config.py

* Add Extension Command Coverage Report

* Update __init__.py

* Update __init__.py

* Update __init__.py

* update

* update

* Update test_config.py

* Update constant.py

* Update constant.py
2023-06-19 16:26:10 +08:00
ZelinWang 276b24a124
[CICD] Add CLI Command Test Coverage (#323)
* add command coverage

* commit

* regex

* command coverage 1.0

* upload html

* modify report

* refactor

* add annotation

* Update test_cmdcov.py

* modify detect command function

* detect from live test file

* update func _get_all_commands

* Update __init__.py

* update sort function

* update sort function

* add level argument

* add cli own

* add EXCLUDE MODULES

* Update component.css

* delete unused code

* delete unused file

* modify regex

* add help info

* add description

* exclude command wait

* detect from recording file

* delete exception already fixed

* add newline

* add license headers

* fix tox

* refactoring

* fix bug

* exclude deprecated commands

* fix tox

* fix tox

* add network exclude commands

* add number sign exclude

* add comment

* add linter rule comcov

* update

* regex

* add log add exec_state

* add rule type command_coverage

* update diff branches

* support exclusion

* linter refactoring

* move constant and regex out

* suppport linter_exclusion.yml in cmdcov

* add license headers

* fix pylint

* fix flake8

* Update test_cmdcov.py

* fix bug for linter rule

* add resource skip commands

* update

1. Change the selected color to pink
2. Mouse hover shows percentage details
3. Modify Coverage Report description

* role commands exclusion

* modify HISTORY.rst and setup.py

* resource skip two commands - hard to test

* bug fixes: search argument

* modify command coverage to command test coverage

* bug fixes: Add three new scenarios

* update CLI own and exclude commands

* move private dns out of cli own

* add log for exclusions

* exclude vm host restart

* config

* Update test_config.py

* update

* update

* update
2023-06-19 10:06:08 +08:00
AllyW 64cd348d24
release v0.1.48 (#382) 2023-06-05 12:46:54 +08:00
AllyW 9b5893049b
release v0.1.47 (#379) 2023-06-02 10:44:53 +08:00
AllyW 4dd3939b84
release v0.1.46 (#375) 2023-05-17 11:27:25 +08:00
AllyW 2014bc8bbe
release v0.1.45 (#373) 2023-05-11 17:20:06 +08:00
AllyW 524d427d7e
release v0.1.44 (#371) 2023-05-10 15:56:53 +08:00
necusjz c997ab7fc6
release v0.1.43 (#369)
Co-authored-by: kai ru <69238381+kairu-ms@users.noreply.github.com>
2023-05-08 14:59:35 +08:00
AllyW c793925fd2
release v0.1.42 (#367) 2023-05-06 16:45:37 +08:00
necusjz 19d6c426a9
release v0.1.41 (#364) 2023-04-10 15:48:44 +08:00
ZelinWang eee6d32a66
release 0.1.40 (#348) 2022-10-26 15:12:23 +08:00
kai ru d91239f294
release v0.1.39 (#346)
* release v0.1.39

* Update HISTORY.rst
2022-10-11 13:09:41 +08:00
kai ru 92ab20eb5a
release v0.1.38 (#344) 2022-10-10 15:58:24 +08:00
kai ru 2e4693ea24
release v0.1.37 (#335) 2022-06-06 12:03:19 +08:00
Jiashuo Li 267b3bcce8
Remove colorama reference (#321) 2021-11-04 17:31:25 +08:00
Jiashuo Li 97af99f5fa
Release 0.1.35 (#320) 2021-11-04 14:16:56 +08:00
kai ru 04ba21816e
linter check full command group names (#308)
* linter check full command group names

* Update azdev/operations/linter/linter.py

* add release history

* Update azdev/operations/linter/linter.py

* Update azdev/operations/linter/linter.py
2021-07-05 13:38:47 +08:00
Jiashuo Li 81644b4d06
Move `--ignore` to `pylintrc` file (#301) 2021-05-11 16:54:59 +08:00
Jiashuo Li d87a851185
Bump `pylint` to 2.8.0 (#295) 2021-04-26 16:31:38 +08:00
Jiashuo Li d60e6205d1
release 0.1.31 (#296) 2021-04-26 13:51:29 +08:00