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

25 Коммитов

Автор SHA1 Сообщение Дата
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
AllyW 09c0cb28b5
remove shell=True (#470)
* remove shell=True
* constrain profile options
2024-09-12 11:30:09 +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 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
AllyW fa202cd057
fix false positive rule and add ignore list (#401)
* add ignore list
 
* add type extraction

* add meta change whitelist
2023-07-10 11:14:56 +08:00
AllyW 746805004c
add rule link (#402) 2023-07-07 11:55:08 +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 8484a04991
add subgroups change detect (#374)
* add subgroups change detect
2023-05-16 13:33:39 +08:00
AllyW 1564a51761
Cmd meta generate and diff (#362)
* generate command meta and meta diff infos
2023-04-28 13:18:04 +08:00
Jiashuo Li cabbb3ef6e
Support Python 3.10 (#319) 2021-11-04 10:25:06 +08:00
Jiashuo Li a683765138
Remove `from __future__ import print_function` (#282) 2021-02-01 13:25:43 +08:00
Jiashuo Li 711ca36e3c
azdev setup: show error if pip command fails (#281) 2021-01-27 19:27:24 +08:00
Feiyue Yu 5ef9eb0315
Support --mark; Fix a bug of invoking external comand (#252)
* Support --mark

* update

* update

* style
2020-08-07 17:21:50 +08:00
Jianhui Harold 11e062749c
Enable azdev for Azure/azure-cli CI automation test (#188) 2020-04-24 14:16:06 +08:00
Jianhui Harold 13df7049e9
fix: azdev test cannot find core tests (#148) 2020-01-03 15:23:24 +08:00
Jianhui Harold c55ab028df
Add reasonable warning when command on wheel extentions without --include-whl-extensions (#133)
* Optimize help message of linter
* Add another warning for command runing on a wheel installed extension without --include-whl-extensions
* Clean code
* Partially fix Azure/azure-cli#11140
* Partially fix Azure/azure-cli-extensions#1078
2019-11-12 13:03:08 +08:00
Travis Prescott d3c663ebda
Azdev enhancement for working with CI. (#115)
* Azdev enhancement for working with CI.

* Enhance diffing mechanism.

* Remove unused test files.

* Fix issues when installed from edge build.
2019-08-06 14:26:10 -07:00
Travis Prescott 508849e6ef
Fix test discovery for simpler command modules. (#97) 2019-06-25 15:08:07 -07:00
Travis Prescott f119aed44e
Update azdev for Azure CLI 2.0.68 (#93)
* Progress on recognizing flattened CLI structure.

* Progress.

* Fix up azdev test discover

* Additional fixes.

* Fix up `azdev cli create` command.

* Code review feedback.
2019-06-20 13:15:49 -07:00
Travis Prescott 2de5818f37
Add `azdev extension build` and `publish` commands. (#61)
* Progress on publish commands.

* Update gitignore

* Finish azdev publish.

* Updates to work with configured defaults.

* Fix up extension flake8 file.
2019-04-02 10:54:36 -07:00
Travis Prescott 38a9d11aaf
Azdev Improvements. (#53)
* Tweak perf thresholds. Re-enable pylint.

* PyYAML fixes.

* Misc fixes.
2019-03-21 16:14:12 -07:00
Travis Prescott 8b99a54327
Fix up CI. (#25)
* Fix CI.

* Reduce dependencies. Fix pylint errors. Clean up TODOs.
2019-02-09 09:14:56 -08:00
Travis Prescott f3ffddcdac Test case groundwork. 2019-01-17 16:15:01 -08:00
Travis Prescott b3d649d6fa More fixes. 2019-01-11 10:41:02 -08:00
Travis Prescott cbeffdd608 Repo fix-up 2019-01-11 08:40:57 -08:00