Skip to content

Fix repo_upload failure handling#135

Merged
sepulworld merged 1 commit intosepulworld:masterfrom
msabramo:fix_repo_upload_failures
Jul 23, 2016
Merged

Fix repo_upload failure handling#135
sepulworld merged 1 commit intosepulworld:masterfrom
msabramo:fix_repo_upload_failures

Conversation

@msabramo
Copy link
Copy Markdown
Contributor

  • a 404 response previously would output a message to stdout but then
    continue to try to parse JSON, which would fail.
  • the FailedFiles and Warnings code never got executed because it
    was in rescue blocks that don't get triggered.

Comment thread test/test_aptly_repo.rb
name: 'repodoesnotexist',
dir: 'testdir/',
file: 'test_1.0_amd64.deb').to_s,
'local repo with name repodoesnotexist not found'
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Align the parameters of a method call if they span more than one line.

@coveralls
Copy link
Copy Markdown

coveralls commented Jul 23, 2016

Coverage Status

Coverage increased (+0.8%) to 98.878% when pulling 8a7b026 on msabramo:fix_repo_upload_failures into 197f518 on sepulworld:master.

- a 404 response previously would output a message to stdout but then
  continue to try to parse JSON, which would fail.

- the `FailedFiles` and `Warnings` code never got executed because it
  was in `rescue` blocks that don't get triggered.
@msabramo msabramo force-pushed the fix_repo_upload_failures branch from 8a7b026 to e957508 Compare July 23, 2016 16:51
@coveralls
Copy link
Copy Markdown

coveralls commented Jul 23, 2016

Coverage Status

Coverage increased (+0.8%) to 98.878% when pulling e957508 on msabramo:fix_repo_upload_failures into 197f518 on sepulworld:master.

@sepulworld sepulworld merged commit d3da7f2 into sepulworld:master Jul 23, 2016
@msabramo msabramo deleted the fix_repo_upload_failures branch July 23, 2016 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants