-
Notifications
You must be signed in to change notification settings - Fork 25
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
Rework box-auth functions #109
Conversation
- deprecate box_attach_on_auth() - deprecate write.Renv arg to box_auth() - write environment variables to console instead - refactor box_auth(), box_fresh_auth(): - import glue and fs (both low depencency) Also, fix typo in box_read() documentation
Hi @nathancday - I don't know how much of an issue this may cause your JWT PR - please let me know if you think there will be an interference. As well, in the context of #96, I have proposed bigger changes rather than smaller changes. From the users' perpsective the biggest change will be that they will have to update their |
Codecov Report
@@ Coverage Diff @@
## master #109 +/- ##
=========================================
- Coverage 1.73% 1.67% -0.06%
=========================================
Files 22 22
Lines 1500 1552 +52
=========================================
Hits 26 26
- Misses 1474 1526 +52
Continue to review full report at Codecov.
|
Looks good! I can mirror the new .Renviron behavior in Two small questions:
|
I'll be happy to move As for the I can adapt my code to use only Thanks! |
I don't think it's worth changing things to readline() only, that was more
for my knowledge going forward. I'll use that pattern too for consistency.
The PR looks good to merge, after is_void() gets its new home
…On Sun, Jul 21, 2019 at 1:27 PM Ian Lyttle ***@***.***> wrote:
I'll be happy to move is_void() to boxr__internal_misc.R.
As for the readline() vs. message()/readline(), I (think) I was just
using the existing code as a template. Looking at the documentation the
prompt for readline cuts off at 256 characters.
I can adapt my code to use only readline() - in the longer run, I
understand usethis will be spinning off the ui_*() functions to its own
package, which I think could be useful to us.
Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#109?email_source=notifications&email_token=AAGFKIMZ2GHTBWVMQTXG5MLQASMALA5CNFSM4IFSXWI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2OH56I#issuecomment-513572601>,
or mute the thread
</~https://github.com/notifications/unsubscribe-auth/AAGFKILRXRQITYZPNLOSYG3QASMALANCNFSM4IFSXWIQ>
.
|
Just to note, the Will merge once checks pass, thanks! |
This will fix #96
box_attach_on_auth()
write.Renv
arg tobox_auth()
box_auth()
,box_fresh_auth()
:Also, fix typo in
box_read()
documentation