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

Add Unit Test Coverage for artifact_name_to_package_ident_regex function #27

Open
jkerry opened this issue Aug 16, 2018 · 1 comment
Open
Assignees

Comments

@jkerry
Copy link

jkerry commented Aug 16, 2018

artifact_name_to_package_ident_regex was utilized in #25 and there is no unit test coverage. Cover cases:

  • .hart file with - in the package and origin names
  • .hart file without - in the package and origin names
@jkerry jkerry self-assigned this Aug 16, 2018
@kmott
Copy link

kmott commented Sep 13, 2018

I can confirm I am running into an issue with the regex using my origin kmott-test and creating a pkg mypkg, I get this from kitchen when I try to converge my environment:

       No services loaded.
       » Installing kmott/test/mypkg/0.1.0
       ↓ Downloading kmott/test/mypkg/0.1.0
       ↓ Downloading kmott/test/mypkg/0.1.0
       ↓ Downloading kmott/test/mypkg/0.1.0
       ↓ Downloading kmott/test/mypkg/0.1.0
       ↓ Downloading kmott/test/mypkg/0.1.0
       ✗✗✗
       ✗✗✗ [Err: 0] hab-sup(ER)[components/sup/src/error.rs:464:9]: We tried 5 times but could not download kmott/test/mypkg/0.1.0. Giving up.
       ✗✗✗

Additionally, I am running this pointing at a local .hart file package from my results dir.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants