momocow / asuha Goto Github PK
View Code? Open in Web Editor NEWAsuha: the Webhook server for online git hosting services.
License: MIT License
Asuha: the Webhook server for online git hosting services.
License: MIT License
The changes
field in the payload of a push event is documented as follows.
An array with all the references that the push updated
(Source)
Currently the changes
is treated as an object and accessed with object path push.changes.commits
(Take commits
field for example).
It should be push.changes[0].commits
to retrieve the first change and so on.
Have asked on Atlassian forum to check if multiple changes should be handled.
A fix will be made if the meaning of changes
field is clear.
Valid IP addresses for bitbucket.org has been updated. ๐
Currently, repository scanning only uses the first remote tag in .git/config
as the only one valid remote.
TODO
Host Handler 'Bitbucket' failed to claim the request.
TypeError: Cannot read property 'filter' of undefined
at Bitbucket.claim (/***/asuha/lib/host/Host.js:68:12)
at Function.__call__ (/***/asuha/lib/midware.js:206:14)
at Server.__call__ (/***/callable-instance/index.js:3:40)
at Server.emit (events.js:182:13)
at Server.EventEmitter.emit (domain.js:442:20)
at parserOnIncoming (_http_server.js:658:12)
at HTTPParser.parserOnHeadersComplete (_http_common.js:109:17)
HTTP status 200
represents that the repository exists locally.
Otherwise 404
is returned to indicate that the git event from a remote repository hosted on an online host does not have a corresponding repository at local.
Instead of parsing .git/config
, try to call git ls-remote via simple-git
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.