Git Product home page Git Product logo

github-pivotal-sync's People

Contributors

chalettu avatar chriskacerguis avatar

Watchers

 avatar  avatar

github-pivotal-sync's Issues

Adding labels not working

Looks like there are still issues.

Added label to existing ticket (ticket did not exist in PT), I got the following:

2016 - 11 - 01 T00: 27: 27.323046 + 00: 00 app[web .1]: info: Failed to get pivotal ticket {
    "name": "StatusCodeError",
    "statusCode": 400,
    "message": "400 - {\"code\":\"invalid_parameter\",\"kind\":\"error\",\"error\":\"One or more request parameters was missing or invalid.\",\"general_problem\":\"Invalid resource ids\"}",
    "error": {
        "code": "invalid_parameter",
        "kind": "error",
        "error": "One or more request parameters was missing or invalid.",
        "general_problem": "Invalid resource ids"
    },
    "options": {
        "uri": "https://www.pivotaltracker.com/services/v5/projects/1876659/stories/null",
        "method": "GET",
        "headers": {
            "X-TrackerToken": "REMOVED"
        },
        "body": {},
        "json": true,
        "simple": true,
        "resolveWithFullResponse": false,
        "transform2xxOnly": false
    },
    "response": {
        "statusCode": 400,
        "body": {
            "code": "invalid_parameter",
            "kind": "error",
            "error": "One or more request parameters was missing or invalid.",
            "general_problem": "Invalid resource ids"
        },
        "headers": {
            "access-control-allow-credentials": "false",
            "access-control-allow-headers": "X-TrackerToken,DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,X-Tracker-Warn-Unless-Project-Version-Is",
            "access-control-allow-methods": "GET, POST, PUT, DELETE, OPTIONS",
            "access-control-allow-origin": "*",
            "cache-control": "no-cache",
            "content-type": "application/json; charset=utf-8",
            "date": "Tue, 01 Nov 2016 00:27:27 GMT",
            "server": "nginx + Phusion Passenger",
            "status": "400 Bad Request",
            "strict-transport-security": "max-age=31536000; includeSubDomains",
            "x-powered-by": "Phusion Passenger Enterprise",
            "x-rack-cache": "miss",
            "x-request-id": "b65b65119b2758ed0f12c35b790e35bf",
            "x-runtime": "0.025194",
            "x-tracker-client-pinger-interval": "20",
            "x-ua-compatible": "IE=Edge,chrome=1",
            "x-vcap-request-id": "a1fbdcbd-c11b-417e-7ab1-0f966f131493",
            "content-length": "149",
            "connection": "Close"
        },
        "request": {
            "uri": {
                "protocol": "https:",
                "slashes": true,
                "auth": null,
                "host": "www.pivotaltracker.com",
                "port": 443,
                "hostname": "www.pivotaltracker.com",
                "hash": null,
                "search": null,
                "query": null,
                "pathname": "/services/v5/projects/1876659/stories/null",
                "path": "/services/v5/projects/1876659/stories/null",
                "href": "https://www.pivotaltracker.com/services/v5/projects/1876659/stories/null"
            },
            "method": "GET",
            "headers": {
                "X-TrackerToken": "REMOVED",
                "accept": "application/json",
                "content-type": "application/json",
                "content-length": 2
            }
        }
    }
}

System should TRY to link PR's with the issues

If the system sees that there is a PR with the GH issue, then the state of the PT card should be set to "Finished", then when the PR is merged the PT card should be set to "Accepted"

Create /ping endpoint

Create a simple endpoint that Nagios can ping to make sure all is good. Return 200 on OK.

Map tags to card types in PT

We need to map tags in Github to card types in PT. Use the following mapping:

"bug" label = "Bug" type in PT
"enhancement" label = "Feature" type in PT
No label or any other label should go under "Chore"

Look for Pivotal Tracker links

Check in PRs for Pivotal Tracker links to the story, if the link doesn't exist add a comment telling the person to add it to the description (also make sure that the PT story has a link to the PR)

Follow Team flow

When a PR is put in (and it has the PT link in it) set the state to "Finished" in GitHub, when the PR is merged set the state to "Delivered"

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.