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

[Python] Migrate applications/scripts to import sonic-py-common package #1008

Merged
merged 18 commits into from
Aug 8, 2020
Merged

[Python] Migrate applications/scripts to import sonic-py-common package #1008

merged 18 commits into from
Aug 8, 2020

Conversation

jleveque
Copy link
Contributor

@jleveque jleveque commented Jul 27, 2020

As part of consolidating all common Python-based functionality into the new sonic-py-common package, this pull request redirects all Python applications/scripts in sonic-utilities repo to point to sonic-py-common and removes multiple duplicate definitions of common functions in the process. This is the next step toward resolving sonic-net/sonic-buildimage#4999.

  • Also reorganize imports for consistency
  • Also align some style

@lgtm-com

This comment has been minimized.

@sonic-net sonic-net deleted a comment from lgtm-com bot Jul 27, 2020
@sonic-net sonic-net deleted a comment from lgtm-com bot Jul 27, 2020
@jleveque
Copy link
Contributor Author

Check build is expected to fail until the latest vs image created by Jenkins includes the commit from sonic-net/sonic-buildimage#5003

@jleveque
Copy link
Contributor Author

Removed "Request for 201911 Branch" label, as backporting this change and the related changes will most likely be better performed by creating new PRs against the 201911 branch.

@lgtm-com

This comment has been minimized.

@lgtm-com

This comment has been minimized.

lguohan
lguohan previously approved these changes Aug 3, 2020
@lgtm-com

This comment has been minimized.

@lgtm-com

This comment has been minimized.

@lgtm-com

This comment has been minimized.

@lgtm-com

This comment has been minimized.

@lgtm-com

This comment has been minimized.

@lgtm-com

This comment has been minimized.

@lgtm-com

This comment has been minimized.

@lgtm-com

This comment has been minimized.

@lgtm-com
Copy link

lgtm-com bot commented Aug 8, 2020

This pull request fixes 3 alerts when merging d82ea2c into a80826d - view on LGTM.com

fixed alerts:

  • 3 for Unused import

@jleveque
Copy link
Contributor Author

jleveque commented Aug 8, 2020

Retest this please

@jleveque jleveque merged commit 621aad0 into sonic-net:master Aug 8, 2020
@jleveque jleveque deleted the use_sonic-py-common branch August 8, 2020 18:08
jleveque added a commit that referenced this pull request Aug 14, 2020
…on package (#1040)

As part of consolidating all common Python-based functionality into the new sonic-py-common package, this pull request redirects all Python applications/scripts in sonic-utilities repo to point to sonic-py-common and removes multiple duplicate definitions of common functions in the process. This is the next step toward resolving sonic-net/sonic-buildimage#4999.

- Also reorganize imports for consistency
- Also align some style

This is a port of #1008 to the 201911 branch
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.

2 participants