att / rcloud

Collaborative data analysis and visualization
http://rcloud.social
MIT License
432 stars 142 forks source link

rcloud.conf option github.use.query.token #2734

Closed gordonwoodhull closed 4 years ago

gordonwoodhull commented 4 years ago

Hi @s-u, here is the RCloud part of att/rgithub#3.

I have tested

I have not tested this change with rcloud-gist-services.

gordonwoodhull commented 4 years ago

Based on feedback from @s-u, I changed the name from github.use.basic.auth to github.use.query.token, with the opposite meaning and opposite default; see also att/rgithub#4.

It also defaults the flag based on rational.githubgist.

Currently this requires one of those two to be set, since github.use.query.token defaults true like the rgithub setting.

We default it false at the RCloud level (even though defaulted true in rgithub for backward compatibility). So rcloud.conf is by default compatible with GitHub, although rgithub can’t be.

gordonwoodhull commented 4 years ago

@s-u, I think this and att/rgithub#4 satisfy your concerns.

If you have time to review, please give them a look.

gordonwoodhull commented 4 years ago

I'm merging this because I think it satisfies the concerns raised (and I got the deprecation warning again).

We can always revisit before release.