Comments (6)
Correct, that's what the go-github PR is for, just working out how to best make https://github.com/bradleyfalzon/gopherci/blob/master/internal/github/handlers.go#L67 a little more generic (move to event method which accepts statuses url, analyser.config and installationID), so a small refactor is needed but I think it's all relatively straight forward.
To begin with, I'll just hit the statuses API and in the near future, we can organise email notifications (and other notifications customisation in general), but the first step is having us check the push request.
from gopherci.
We'll need to also support sending an email notification to the user on failure, but it's not clear to me exactly how to get the user's permission. I presume only members of the user/organisation can push directly to a branch, and in which case I may or may not have access to their private email address.
Discovering email is related to #3
from gopherci.
Additionally, gopherCI seems to only build a PR on the first opening of it, not for subsequent commits on the same PR (not sure if I'm misreading this though)
from gopherci.
Yeah and I'm tracking that in #24 it's a really simple fix so will address soon.
from gopherci.
This is now being blocked by google/go-github#533 but I don't think I'll have an implementation before that's merged in anyway.
from gopherci.
Note many people would push to their repository then make a PR, this workflow should ideally not cause GopherCI to run on push and then on PR creation.
Hehe, Travis does that and it's indeed suboptimal. But the fact they haven't resolved it makes me unsure if it's viable to solve it well (maybe it is, maybe it isn't).
Are you planning on using commit statuses to report CI result on pushed commits? I guess so based on google/go-github#533. That's what Travis does too, and I think it'll be great. Just wanted to give the approach a 👍.
from gopherci.
Related Issues (20)
- Build Failure: panic: http: multiple registrations for /debug/requests HOT 2
- Consider replacing staticcheck, gosimple, unused with a faster equivalent megacheck. HOT 10
- In-progress analysis screen is hard to read. HOT 1
- When Go 1.9 is released update .travis.yml HOT 4
- Limit virtual memory for linters
- Show environment information in analysis output to users
- PR comments should use Pull Request Reviews
- WIP: Structured and Levelled Logging HOT 3
- If it doesn't build, don't check package for issues
- Remove hardcoded tool name from issue message
- https://gci.gopherci.io/ is 404, doesn't seem to be intentional. HOT 1
- Cannot view diff for commits on a new branch
- Pull Request Reviews to not approve PR by default HOT 4
- Not possible to tell which repo an analysis applies for, when looking at heading.
- Comments on commits that can't be seen. HOT 10
- Add unconvert tool. HOT 5
- Fatal error from a tool results in "Success with 0 issues found." HOT 3
- Ability to restart a build. HOT 1
- Update Go version to 1.10. HOT 5
- apicompat could not import a dependency in another repo.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gopherci.