Giter Site home page Giter Site logo

supdls's Introduction

supdls

An OTP application

Build

$ rebar3 compile

WIP

supdls's People

Contributors

ts-klassen avatar

Watchers

 avatar

supdls's Issues

Example of using ghwhk_issue:await/2

Issue0 = ghwhk_issues:new(44333065, <<"ts-klassen">>, <<"supdls">>),
Issue1 = ghwhk_issues:await(opend, Issue0), % wait for webhook
{value, IssueTitle} = ghwhk_issues:title(Issue1),
{value, IssueUserLogin} = ghwhk_issues:login(Issue1),
CommentBody = <<"Hi ", IssueUserLogin/binary, ". Thank you for creating an issue `", IssueTitle/binary, "`.">>,
Comment0 = ghwhk_comments:new(Issue1),
Comment1 = ghwhk_comments:body(CommentBody, Comment0),
Comment2 = ghwhk_comments:create(Comment1).

test

Say this is a test

Example of using ghwhk_issue:await/2

Issue0 = ghwhk_issues:new(44333065, <<"ts-klassen">>, <<"supdls">>),
Issue1 = ghwhk_issues:await(opened, Issue0), % wait for webhook
{value, IssueTitle} = ghwhk_issues:title(Issue1),
{value, IssueUserLogin} = ghwhk_issues:login(Issue1),
CommentBody = <<"Hi ", IssueUserLogin/binary, ". Thank you for creating an issue `", IssueTitle/binary, "`.">>,
Comment0 = ghwhk_comments:new(Issue1),
Comment1 = ghwhk_comments:body(CommentBody, Comment0),
Comment2 = ghwhk_comments:create(Comment1).

Sample request for ghwhk_issue:await/1

Issue0 = ghwhk_issues:new(44333065, <<"ts-klassen">>, <<"supdls">>),
Issue1 = ghwhk_issues:await(Issue0), % wait for webhook
IssueTitle = ghwhk_issues:title(Issue1),
IssueUserLogin = ghwhk_issues:login(Issue1),
CommentBody = <<"Hi ", IssueUserLogin/binary, ". Thank you for creating an issue `", IssueTitle/binary, "`.">>,
Comment0 = ghwhk_comments:new(Issue1),
Comment1 = ghwhk_comments:body(CommentBody, Comment0),
Comment2 = ghwhk_comments:create(Comment1).

Sample request for ghwhk_issue:await/1

Issue0 = ghwhk_issues:new(44333065, <<"ts-klassen">>, <<"supdls">>),
Issue1 = ghwhk_issues:await(Issue0), % wait for webhook
{value, IssueTitle} = ghwhk_issues:title(Issue1),
{value, IssueUserLogin} = ghwhk_issues:login(Issue1),
CommentBody = <<"Hi ", IssueUserLogin/binary, ". Thank you for creating an issue `", IssueTitle/binary, "`.">>,
Comment0 = ghwhk_comments:new(Issue1),
Comment1 = ghwhk_comments:body(CommentBody, Comment0),
Comment2 = ghwhk_comments:create(Comment1).

Sample request for ghwhk_issue:await/1

Issue0 = ghwhk_issues:new(44333065, <<"ts-klassen">>, <<"supdls">>),
Issue1 = ghwhk_issues:await(Issue0), % wait for webhook
{value, IssueTitle} = ghwhk_issues:title(Issue1),
{value, IssueUserLogin} = ghwhk_issues:login(Issue1),
CommentBody = <<"Hi ", IssueUserLogin/binary, ". Thank you for creating an issue `", IssueTitle/binary, "`.">>,
Comment0 = ghwhk_comments:new(Issue1),
Comment1 = ghwhk_comments:body(CommentBody, Comment0),
Comment2 = ghwhk_comments:create(Comment1).

GitHub API 404 Error Handling Improvement

I encountered an issue where the GitHub API occasionally returns a 404 error for existing resources. The current implementation does not handle this error properly. I have made updates to the code to handle the 404 error using erlang:error/1 and provide more detailed error information in the spec. Please review the changes and consider incorporating them into the codebase. Thank you!

GitHub API 404 Error Issue

I have encountered an issue where the GitHub API occasionally returns a 404 error for existing resources. This seems to be a mistake on the part of the API. It would be great if this issue could be addressed and the 404 error handling improved to prevent such occurrences. Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.