Skip to content

Conversation

@MrCreosote
Copy link
Member

No description provided.

@MrCreosote MrCreosote requested review from Xiangs18 and briehl April 19, 2024 20:11
@codecov
Copy link

codecov bot commented Apr 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.38%. Comparing base (7323fda) to head (c6a731f).
Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main      #15   +/-   ##
=========================================
  Coverage     92.38%   92.38%           
  Complexity      111      111           
=========================================
  Files             9        9           
  Lines           289      289           
  Branches         48       48           
=========================================
  Hits            267      267           
  Misses           20       20           
  Partials          2        2           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@briehl briehl left a comment

Choose a reason for hiding this comment

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

Looks good, just a comment about some of the text of the readme that could be more clear.

README.md Outdated

## Usage

If backwards compatibility with old code is required, use the
Copy link
Member

Choose a reason for hiding this comment

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

How old? Got a date estimate? Or other way of saying how old?

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed

Copy link
Member

@briehl briehl left a comment

Choose a reason for hiding this comment

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

Looks good, all the jitpack links seem to work fine, too. LGTM!


## Usage

If backwards compatibility with versions of the client prior to 0.5.0 is required, use the
Copy link
Member

Choose a reason for hiding this comment

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

👍


For example:

https://javadoc.jitpack.io/com/github/kbase/auth2_client_java/0.5.0/javadoc/
Copy link
Contributor

Choose a reason for hiding this comment

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

I got Tag or commit '0.5.0' not found. Rechecking.

Copy link
Member Author

@MrCreosote MrCreosote Apr 23, 2024

Choose a reason for hiding this comment

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

Yep, there's no 0.5.0 release yet - that'll be the first release.

Copy link
Contributor

Choose a reason for hiding this comment

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

👍


## Prior version

The prior version of the client is available at https://github.com/kbase/auth for source code
Copy link
Contributor

@Xiangs18 Xiangs18 Apr 23, 2024

Choose a reason for hiding this comment

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

I thought auth2 is a more recent version of auth. Both auth2 and auth contain client code as well as server code?

Copy link
Member Author

Choose a reason for hiding this comment

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

auth contains (mostly out of date) client code and no server code.
auth2 contains the auth server code

Copy link
Contributor

Choose a reason for hiding this comment

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

👍

/**
* Set the lifetime of a string in the cache.
* @param seconds the lifetime of a string
* @param seconds the lifetime of a string.
Copy link
Contributor

@Xiangs18 Xiangs18 Apr 23, 2024

Choose a reason for hiding this comment

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

Some of java docs end with . while others don't.

Copy link
Member Author

Choose a reason for hiding this comment

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

I'll fix that the next time I make changes

Copy link
Contributor

Choose a reason for hiding this comment

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

👍

Copy link
Contributor

@Xiangs18 Xiangs18 left a comment

Choose a reason for hiding this comment

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

LGTM!

@MrCreosote MrCreosote merged commit 7e43944 into main Apr 23, 2024
@MrCreosote MrCreosote deleted the dev-new_client branch April 23, 2024 16:47
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