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

Fix issues related to parsing of package name. #164

Merged
merged 4 commits into from
May 14, 2020

Conversation

rabbah
Copy link
Contributor

@rabbah rabbah commented May 9, 2020

Description

Fix issues related to parsing of package name.

Action list, package delete/bind/get now properly parse the package name of
the format [[/]ns/]pkg.

Also fixes --verbose/-v flags on package get.

Related Issue

Closes #123.

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@codecov
Copy link

codecov bot commented May 9, 2020

Codecov Report

Merging #164 into master will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #164   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           57        57           
  Lines         1833      1847   +14     
  Branches       334       337    +3     
=========================================
+ Hits          1833      1847   +14     
Impacted Files Coverage Δ
src/commands/runtime/action/list.js 100.00% <100.00%> (ø)
src/commands/runtime/package/bind.js 100.00% <100.00%> (ø)
src/commands/runtime/package/delete.js 100.00% <100.00%> (ø)
src/commands/runtime/package/get.js 100.00% <100.00%> (ø)
src/runtime-helpers.js 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cd3331d...57cbefa. Read the comment docs.

@rabbah rabbah changed the title Packages Fix issues related to parsing of package name. May 9, 2020
@meryllblanchet meryllblanchet added the bug Something isn't working label May 12, 2020
Copy link
Member

@purplecabbage purplecabbage left a comment

Choose a reason for hiding this comment

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

This looks good @rabbah
Can you remove the package.json change to update the openwhisk client dep? this already updated in master.

Action list, package delete/bind/get now properly parse the package name of
the format [[/]ns/]pkg.

Also fixes --verbose/-v flags on package get.
@rabbah
Copy link
Contributor Author

rabbah commented May 13, 2020

Updated to master.

@purplecabbage purplecabbage merged commit 62808bf into adobe:master May 14, 2020
@rabbah rabbah deleted the packages branch January 25, 2021 17:29
bhageena pushed a commit to bhageena/aio-cli-plugin-runtime that referenced this pull request Jul 21, 2021
* Fix issues related to parsing of package name.
Action list, package delete/bind/get now properly parse the package name of
the format [[/]ns/]pkg.
Also fixes --verbose/-v flags on package get.
* Fix and update package tests.
* Fix and update action list tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bugs in package command
3 participants