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

Implement New Approach to DECAF Client #2

Merged
merged 13 commits into from
Jun 19, 2022
Merged

Implement New Approach to DECAF Client #2

merged 13 commits into from
Jun 19, 2022

Conversation

vst
Copy link
Contributor

@vst vst commented Jan 12, 2022

This PR is for adopting the new approach to DECAF API client implementations that we have employed in other language libraries.

This is going to allow us to extend the reach of DECAF API client beyond DECAF Barista. Furthermore, we are revisiting how profile configurations are defined, stored and retrieved.

Lastly, we are trying to catch-up with changing best-practices in R package development (tests, linters, static analysis, etc...).

Closes #1.

- Update the description of the package
- Upgrade Roxygen version and allow markdown markup
- Suggest testthat (to be used later)
- Use MIT license
- Update copyright holders
Roxygen has improved output formatting since we have last used it.
As a starter, let's rename all files to indicate that all current
functionality is deprecated (although some definitions may be reused
as is or with some changes).

This allows us a clean sheet for creating new definitions in their own
source files.
We will ignore all existing source files as we do not want to clutter
the change history for these files and they may be irrelevant as we
move on.
This commit provides us with the lowest-level HTTP client interface
that is ready to place HTTP requests to any DECAF Instance API.

New functionality is added with at least *some* meaningful
documentation. Furthermore, this commit also starts unit testing
practice for this library (based on testthat).
@vst vst added this to the v1.0.0 milestone Jan 12, 2022
@vst vst self-assigned this Jan 12, 2022
@vst vst requested review from beatnaut and fkoksal January 12, 2022 01:56
@vst vst marked this pull request as ready for review June 19, 2022 12:11
@vst vst merged commit 39d8016 into develop Jun 19, 2022
@vst vst deleted the new-approach branch June 19, 2022 12:15
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.

Rewrite codebase to adopt new APIs
2 participants