-
Notifications
You must be signed in to change notification settings - Fork 87
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
Expose config to non org-wide admins #45
Comments
Hello @bsipocz, Thank you for trying it out ! PEP8 Speaks is a native GitHub integration and I think as of now installing or removing the integration can only be done by the org admins. However any possible configuration is read from the Travis, RTD, etc. do require the org admin to install the service for the org, but other configurations can sure be managed by other maintainers. So basically, org-admin is required to install/remove any GitHub integration as of now. I will surely ask GitHub support for any possibility of change as the integration is a new feature of GitHub and they are still working a lot on it. |
@OrkoHunter - Thanks for the quick response. We do have the |
Would it be okay if I create a PR on the repository for testing it out? I might find a new bug. |
@bsipocz There was indeed a bug (a version mismatch between pycodestyle and autopep8). Thank you for reporting. I've pushed the latest version and now it's working. :) |
I assumed that it needed a rebase, so astropy/astroquery#894 was rebased for that purpose :) Thank you very much for finding the bug and fixing it! I first say pep8speaks in sunpy, and changed my mind about these bots (really disliked the coveralls bot that leaves useless comments for every commit). I think this bot will be very useful for us on the long term to teach all our new contributors our coding guides in a friendly tone. The plan is to eventually use it in more repos, astroquery is out test case. If everyone is happy with the experiences, I will push to get this enabled for our other packages as well. |
@bsipocz I'm always thankful to sunpy, the current and improved version of PEP8Speaks would not have been possible by the efforts of @Cadair et al. I can see a lot of astropy repositories in my users list for which pep8speaks is installed, including |
I believe we have enabled that for everything, but don't yet have the yml file, so in my understanding it should not run yet. |
Oh! But pep8speaks does not need the yml file to work (unlike travis). It will eventually run with the default PEP8 configurations. I'm sorry that it was not clear in the readme. So, I think the org admin will need to take the pain of removing it if it is not intended to run on repositories other than astroquery. |
Would the config understand a list of errors, or should I list them one at a line?
|
@OrkoHunter - Below is what I see. That looks to me like only astroquery is activated? Or am I misunderstanding? |
This is correct ! It's only working on astroquery now. Maybe the "for all"
option was accidently clicked before and GitHub sent me a bunch of other
repositories' names.
On Fri, May 12, 2017 at 7:03 PM Erik Tollerud ***@***.***> wrote:
@OrkoHunter <https://github.com/orkohunter> - Below is what I see. That
looks to me like *only* astroquery is activated? Or am I misunderstanding?
[image: image]
<https://cloud.githubusercontent.com/assets/346587/26000163/2f32371a-3728-11e7-8d96-51b78e51b7f8.png>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#45 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHsTeYLva0pedMumRY4Pp6pasQaEtkiqks5r5F-UgaJpZM4NZCzS>
.
--
Himanshu Mishra
Fourth Year Undergraduate
Mathematics and Computing
IIT Kharagpur
https://orkohunter.net
|
Ah, yes, that's exactly what happened: I turned it on momentarily just to see if that would make it speak, but that must have been just when you looked. |
@OrkoHunter - it appeared when we turned it on astroquery the first time, nothing happened (until you tried pinging |
@eteq The reason why it didn't work was a bug which I have mentioned in the comments above. The correct step is simple, you just choose one of the two options in the repository access menu, and then GitHub will start triggering pep8speaks for those repositories. :) |
@bsipocz Sorry for the late response.
The
|
@OrkoHunter - |
Yes, I believe that is correct.
On Wed, 28 Jun 2017, 19:57 Brigitta Sipocz, ***@***.***> wrote:
@OrkoHunter <https://github.com/orkohunter> - exclude also expects the
list to be in yml format, right?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#45 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHsTedF7IcayV0deSGwpiyEiv5_8XnlDks5sImLHgaJpZM4NZCzS>
.
--
Himanshu Mishra
Fourth Year Undergraduate
Mathematics and Computing
IIT Kharagpur
https://orkohunter.net
|
Thanks @OrkoHunter for the heads up. I haven't noticed any issues, those file excluded are hardly ever touched (as being copied there from upstream packages or generated on the fly). |
Please re-open if any comment/query has not been addressed. :) |
I'm trying to set up pep8speaks for astroquery.
However it's rather inconvenient that it requires an org-wide admin to do any of the configuration rather than someone who has write access to the given repo. E.g. all the CI services, RTD etc.
The text was updated successfully, but these errors were encountered: