Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension Management Commands #476

Merged
merged 30 commits into from
Mar 12, 2019
Merged

Extension Management Commands #476

merged 30 commits into from
Mar 12, 2019

Conversation

gauravsaralMs
Copy link
Contributor

Please make sure the code is following contribution guidelines in CONTRIBUTING.md

  • : This PR has a corresponding issue open in the Repository.
  • : Approach is signed off on the issue.

These are in line with issue #103

@gauravsaralMs gauravsaralMs added the in progress Development in progress label Mar 6, 2019
@gauravsaralMs gauravsaralMs self-assigned this Mar 11, 2019
@gauravsaralMs gauravsaralMs added new command and removed in progress Development in progress labels Mar 11, 2019
azure-devops/azext_devops/dev/common/format.py Outdated Show resolved Hide resolved
table_row['Name'] = trim_for_display(row['extensionName'], 20)
table_row['Version '] = trim_for_display(row['version'], 20)
table_row['Last Updated '] = date_time_to_only_date(row['lastPublished'])
table_row['States'] = trim_for_display(row['installState']['flags'], 20)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest:
Can do more intelligent trimming like add number of flags e.g. 'disabled +2 other'.
Atleast that is how I was planning to do for some pipelines/environment commands.

Open to suggestions even for my own case.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kind of border line in this case..
even with this info user will have to switch to json view to get the exact string. This will help only when count is a useful information for the user
and I don't think count is a useful information at least in this case..
(this is more of a case to case thing)

azure-devops/azext_devops/dev/team/arguments.py Outdated Show resolved Hide resolved
azure-devops/azext_devops/test/team/test_extension.py Outdated Show resolved Hide resolved
azure-devops/azext_devops/test/team/test_extension.py Outdated Show resolved Hide resolved
@gauravsaralMs gauravsaralMs merged commit 36f27f8 into Azure:master Mar 12, 2019
@gauravsaralMs gauravsaralMs deleted the users/gsaral/extensionManagement branch March 12, 2019 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants