* added checking 429 and Faraday exception checking in all methods
* modified some points
* fixed condition
* fixed robocop warning
* continue with work
* continue
* small big refactor
* reset retry interval
* Enable support fo EdDSA signatures in addition to DSA
* Support EdDSA as an optional parameter
* Updated README to include information about EdDSA signature
* Improve EdDSA and DSA signature handling to allow both
* Work in progress - update url to new release uploads
* Added error messaging to new calls
* Some parameter fixes
* update parameters, added release status polling, working functional tests
* Progress on updating unit tests for new release flow
* Nearly working unit tests
* Fix another test
* Fix all but 1 test
* remove linter offenses
* fix last offense
* remove pry
* Move constants
* Fix test logic for zip
* Add debugging the get payload for polling upload status
* Use content types constant
* Do not patch release on upload error
It is not supported by the service.
The error enum value is used only for extraction error.
* remove unsupported error calls
* Handle finish 200 error
* Handle error on 200 upload
* Revert accidental changes
* Fix upload in chunks
* Added helpful comments
* Added some error condition tests
* Added error tests for polling
* Added test for not getting an integer for as release id
* Add chunk verification in tests
* Fix linter issues from last commit
* change set_metadata name and fix some review requests
* Rename finish
* remove a debug statement of post
* Add retries to upload chunk
* Add tests for retries
* Add another test
* Add sleep between tries
* Add a note on request timeout
* Retry connection/network errors in upload chunk
Co-authored-by: Michael Smith <mismith@microsoft.com>
* Implement adding app to distribution in helper
* Add step to add new app to distribution
* remove unnecessary method
* fix tests and typo in params name
* UI.error instead of puts
* Add testcase for skipping add to distribution step
* update test after rebase
* rename method and fix variable typo
* Adding not found case
Co-authored-by: ajaykn <ajaykn@microsoft.com>
Fixes#203
* Move test specific env variable to allow test to pass when running rspec on individual specs
* Reuse stubs to allow to run individual tests
* Allow to run individual tests. The shared context was broken and only allowed to run the full appcenter_upload_spec
* initial commit to move structture and helpers over from 'latest_appcenter_build_number' plugin
* updating fetch_version_spec to match appcenter spec style
* adding AppcenterFetchVersionNumber methods
* add test lane to Fastfile for `appcenter_fetch_version_number`
* tweaks in preparation for PR
* don't check name validity
* PR comments and simplification
* update README with appcenter_fetch_version_number action
* make owner_name and app_name non-optional
* fixing specs
* return hash of id, version, and build
* removing some unused code
* rubocop fixes
* Updating README with response example and removing unused nil owner checks
* Changing variable name to more accurate name: latest_release. Also updating messaging in error to make this clearer