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

244 Коммитов

Автор SHA1 Сообщение Дата
Hang ce50e93138
Drop Python 3.8 in CI (#484) 2024-11-05 16:31:52 +08:00
Qinkai Wu e4017fb263
Fix import dependencies on azure.cli.core in breaking change collect (#482) 2024-10-12 13:00:19 +08:00
Qinkai Wu 8aa045a249
Fix setup.py to include breaking-change module (#481) 2024-10-11 17:54:57 +08:00
Qinkai Wu dd2540c882
`azdev generate-breaking-change-report`: New command to collect Upcoming Breaking Changes from codebase (#446)
* Add command that collects upcoming breaking changes

* Fix when specifying version. Add version

* Add license header

* Fix style

* Fix style

* Fix style

* Fix style

* Align with the design in doc.
bar foo:NAME => bar foo.NAME

* Add new parameter --source to filter only deprecation info or only custom bc

* Update version after merging

* Update version number

* Abstract common calc_selected_mod_names log

* Rename the new command & change argument source since we could not distinguish the deprecate_info generated by pre-announcement

* Adjust the pre-announcement extraction from `deprecation_info`

* Fix style

* Fix style

* Add Help Message

* Fix style

* Update Version in init
2024-09-23 17:18:29 +08:00
ZelinWang dc5a4e16c2
{CI} Disable too-many-positional-arguments R0917 (#479) 2024-09-23 16:42:14 +08:00
Yishi Wang 562883b587
Add confidence level (#478)
* add confidence level for secret rules

* update version

* mask command
2024-09-23 15:09:18 +08:00
AllyW f9d9e2f00e
Adjust python exe for consistence cross subprocess (#477)
* adjust python exe
2024-09-19 14:48:35 +08:00
ZelinWang edd98b04b4
Fix cmdcov issues (#475) 2024-09-18 16:12:31 +08:00
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 8b3c66905a
add dynamic dict for whitelist (#471)
* add dynamic dict
2024-09-09 11:13:16 +08:00
AllyW 47f58f633b
add mock for versioning test (#468) 2024-09-04 14:49:53 +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
AllyW 8738442fd2
set deepdiff version (#463) 2024-08-28 13:16:59 +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
Hang cff8f5f51a
Bump pylint to 3 (#458) 2024-07-25 16:21:22 +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 c13544ad2a
`azdev command-change tree-export`: Add help message (#449)
* Add help message for `command-change tree-export`
2024-05-17 14:07:43 +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 6b2b1509a7
remove verbose logs from development (#447) 2024-05-06 17:00:16 +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
ZelinWang 4705b15c85
Fix two issues (#439)
* update

* Update regex.py
2024-03-22 17:17:10 +08:00
Yishi Wang 47a316a037
Disable sending cli telemetry for azdev test (#437) 2024-03-20 15:31:10 +08:00
AllyW fb8116a08c
add param deprecate expire info (#436)
* add param deprecate expir info
2024-03-13 13:28:21 +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
AllyW c1cecebe0a
add diff level to meta changes (#425)
* add diff level to meta changes
2024-01-02 15:38:15 +08:00
ZelinWang 8a073977fc
ignore tested_command.txt to fix security issue (#427) 2023-12-06 15:10:51 +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
AllyW 28159e054f
add prop update warn list (#420) 2023-09-21 16:20:34 +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
AllyW 9b75cab855
adjust cli-diff-tool log and name (#409) 2023-07-20 10:06:28 +08:00
ZelinWang 9375065ce6
[CICD] Fix cmdcov bug (#410)
* update

* update

* update

* update

* update
2023-07-14 11:06:44 +08:00
Daniel Ciborowski 65c5e9c5fb
Bump Pylint to 2.17 and flake8 to 6.0 (#359) 2023-07-14 10:06:24 +08:00
AllyW f49d291b86
fix desc style (#408) 2023-07-11 11:25:46 +08:00
AllyW e2e5fb4386
add cli meta tool pkg and build job (#384)
* add cli meta tool pkg and build job
2023-07-10 17:59:33 +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