Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Normal Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      We never did really figure out the best way to integrate with GitHub development, and we are missing out because of it.

      Many people had opened up pull requests on GitHub, and I didn't see them since we don't have full JIRA<->GitHub integration.

      We do have the ability to link git commits to JIRA issues. What we are missing and need is the ability to have an issue be created whenever someone opens an issue or submits a pull request on GitHub. This will "close the loop" and allow true GitHub-style development for Funtoo.

      1. config.json
        0.3 kB
        Francisc Simon
      2. jira_github.py
        9 kB
        Francisc Simon

        Activity

        Hide
        Daniel Robbins added a comment -

        I have started testing this out – converting to python3. It looks like the github authentication code doesn't work with the current version of their API. I think we should use a third-party github API module to make it simpler.

        Maybe this one:

        https://github.com/sigmavirus24/github3.py

        Show
        Daniel Robbins added a comment - I have started testing this out – converting to python3. It looks like the github authentication code doesn't work with the current version of their API. I think we should use a third-party github API module to make it simpler. Maybe this one: https://github.com/sigmavirus24/github3.py
        Hide
        Francisc Simon added a comment -

        Hi Daniel,
        I've reviewed the code and fixed it, that it can run now with python3.
        It still need some testing, which I'll do in the next 1-2 days on my funtoo container which has py version 3.3.5 installed.
        There are a lot of improvements in python3 standard libs which makes the usage of a third-party lib in our case unnecessary.
        That means that the code will run out of the box without the need to care about lib dependencies.
        That's why I would prefer to use the standard libs.

        Show
        Francisc Simon added a comment - Hi Daniel, I've reviewed the code and fixed it, that it can run now with python3. It still need some testing, which I'll do in the next 1-2 days on my funtoo container which has py version 3.3.5 installed. There are a lot of improvements in python3 standard libs which makes the usage of a third-party lib in our case unnecessary. That means that the code will run out of the box without the need to care about lib dependencies. That's why I would prefer to use the standard libs.
        Hide
        Daniel Robbins added a comment -

        Yes, I tend to prefer that as well, if it is possible

        Show
        Daniel Robbins added a comment - Yes, I tend to prefer that as well, if it is possible
        Hide
        Francisc Simon added a comment - - edited

        Hi,
        I've uploaded the 2 new files fixed for python version 3.x.
        You have to be patient because there is a new entry in config.json.
        "project":"" that should be set to the project you want to import the issues/pull requests to

        tested python version was today: 3.3.6

        Show
        Francisc Simon added a comment - - edited Hi, I've uploaded the 2 new files fixed for python version 3.x. You have to be patient because there is a new entry in config.json. "project":"" that should be set to the project you want to import the issues/pull requests to tested python version was today: 3.3.6
        Hide
        Daniel Robbins added a comment -

        Thanks for your work Francisc I made a few improvements, and GitHub integration is now active in beta

        Show
        Daniel Robbins added a comment - Thanks for your work Francisc I made a few improvements, and GitHub integration is now active in beta

          People

          • Assignee:
            Francisc Simon
            Reporter:
            Daniel Robbins
          • Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development

                Structure Helper Panel