Uploaded image for project: 'Infrastructure'
  1. Infrastructure
  2. INFRA-100

Add "delete component" and "rename component" IRC Bot Commands

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      These command will be useful for the smooth refactoring of Jenkins JIRA components (see https://wiki.jenkins-ci.org/display/JENKINS/2014+JIRA+Components+Refactoring)

      TODO:

      • modify JIRA scraper
      • modify IRC Bot library

        Attachments

          Issue Links

            Activity

            Show
            oleg_nenashev Oleg Nenashev added a comment - https://github.com/jenkins-infra/ircbot/pull/11 https://github.com/jenkinsci/lib-jira-scraper/pull/1
            Hide
            danielbeck Daniel Beck added a comment -

            FYI I have a script that bulk-renames via Jira API, so at least the foo -> foo-plugin transition is easier.

            Show
            danielbeck Daniel Beck added a comment - FYI I have a script that bulk-renames via Jira API, so at least the foo -> foo-plugin transition is easier.
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            Yes, such script would be helpful if somebody with JIRA.Administer permissions starts working on the components refactoring.
            BTW, seems that the activity hangs

            Show
            oleg_nenashev Oleg Nenashev added a comment - Yes, such script would be helpful if somebody with JIRA.Administer permissions starts working on the components refactoring. BTW, seems that the activity hangs
            Hide
            danielbeck Daniel Beck added a comment -

            Put it on the agenda for the Sep 3 governance meeting. The last two meetings were canceled.

            Show
            danielbeck Daniel Beck added a comment - Put it on the agenda for the Sep 3 governance meeting. The last two meetings were canceled.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oleg Nenashev
            Path:
            pom.xml
            src/main/java/org/jenkinsci/jira_scraper/JiraScraper.java
            http://jenkins-ci.org/commit/lib-jira-scraper/1ab8354062365a2240196581facbeafd078169e4
            Log:
            INFRA-100 - Added support of API methods for the deletion and renaming of JIRA components

            Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: pom.xml src/main/java/org/jenkinsci/jira_scraper/JiraScraper.java http://jenkins-ci.org/commit/lib-jira-scraper/1ab8354062365a2240196581facbeafd078169e4 Log: INFRA-100 - Added support of API methods for the deletion and renaming of JIRA components Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oleg Nenashev
            Path:
            src/main/java/org/jenkinsci/jira_scraper/JiraScraper.java
            http://jenkins-ci.org/commit/lib-jira-scraper/19bf9d907e7675968e194ed708431503620968d8
            Log:
            INFRA-100 - Do not rename components to existing names

            Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: src/main/java/org/jenkinsci/jira_scraper/JiraScraper.java http://jenkins-ci.org/commit/lib-jira-scraper/19bf9d907e7675968e194ed708431503620968d8 Log: INFRA-100 - Do not rename components to existing names Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Kohsuke Kawaguchi
            Path:
            pom.xml
            src/main/java/org/jenkinsci/jira_scraper/JiraScraper.java
            http://jenkins-ci.org/commit/lib-jira-scraper/ae63e43a40e41a13120c192241ff8a93e57fb992
            Log:
            Merge pull request #1 from oleg-nenashev/INFRA-100

            INFRA-100 - New API methods: components deletion and renaming

            Compare: https://github.com/jenkinsci/lib-jira-scraper/compare/bbebc3ea4abe...ae63e43a40e4

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: pom.xml src/main/java/org/jenkinsci/jira_scraper/JiraScraper.java http://jenkins-ci.org/commit/lib-jira-scraper/ae63e43a40e41a13120c192241ff8a93e57fb992 Log: Merge pull request #1 from oleg-nenashev/ INFRA-100 INFRA-100 - New API methods: components deletion and renaming Compare: https://github.com/jenkinsci/lib-jira-scraper/compare/bbebc3ea4abe...ae63e43a40e4
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oleg Nenashev
            Path:
            src/main/java/org/jenkinsci/backend/ircbot/IrcBotImpl.java
            http://jenkins-ci.org/commit/ircbot/5aa85ef7aafad1b70e96f5f659a84fbc6a173620
            Log:
            INFRA-100 - New IRCBot commands: renaming and deletion of components

            Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: src/main/java/org/jenkinsci/backend/ircbot/IrcBotImpl.java http://jenkins-ci.org/commit/ircbot/5aa85ef7aafad1b70e96f5f659a84fbc6a173620 Log: INFRA-100 - New IRCBot commands: renaming and deletion of components Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Kohsuke Kawaguchi
            Path:
            src/main/java/org/jenkinsci/backend/ircbot/IrcBotImpl.java
            http://jenkins-ci.org/commit/ircbot/f48b415bd6fbc0ae5d7e1654c6062f127715f4f2
            Log:
            Merge pull request #11 from oleg-nenashev/INFRA-100

            INFRA-100 - New IRCBot commands: renaming and deletion of components

            Compare: https://github.com/jenkins-infra/ircbot/compare/5126fe7af403...f48b415bd6fb

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: src/main/java/org/jenkinsci/backend/ircbot/IrcBotImpl.java http://jenkins-ci.org/commit/ircbot/f48b415bd6fbc0ae5d7e1654c6062f127715f4f2 Log: Merge pull request #11 from oleg-nenashev/ INFRA-100 INFRA-100 - New IRCBot commands: renaming and deletion of components Compare: https://github.com/jenkins-infra/ircbot/compare/5126fe7af403...f48b415bd6fb
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Kohsuke Kawaguchi
            Path:
            src/main/java/org/jenkinsci/backend/ircbot/IrcBotImpl.java
            http://jenkins-ci.org/commit/ircbot/75ec3a982f71f151776f3b80083f53018870b3b5
            Log:
            Merge pull request #12 from oleg-nenashev/INFRA-100

            Added missing "to" to the delete component text

            Compare: https://github.com/jenkins-infra/ircbot/compare/f4f58c25a938...75ec3a982f71

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: src/main/java/org/jenkinsci/backend/ircbot/IrcBotImpl.java http://jenkins-ci.org/commit/ircbot/75ec3a982f71f151776f3b80083f53018870b3b5 Log: Merge pull request #12 from oleg-nenashev/ INFRA-100 Added missing "to" to the delete component text Compare: https://github.com/jenkins-infra/ircbot/compare/f4f58c25a938...75ec3a982f71
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            Does anybody know how to update IRC Bot?

            https://ci.jenkins-ci.org/view/All/job/infra_ircbot/13/console passed, but the bot have not been updated after ~3 days.
            According to GitHub "This repo is containerized, then deployed to our infrastructure via Puppet.". I suppose it should be updated automagically

            Show
            oleg_nenashev Oleg Nenashev added a comment - Does anybody know how to update IRC Bot? https://ci.jenkins-ci.org/view/All/job/infra_ircbot/13/console passed, but the bot have not been updated after ~3 days. According to GitHub "This repo is containerized, then deployed to our infrastructure via Puppet.". I suppose it should be updated automagically
            Hide
            rtyler R. Tyler Croy added a comment -

            Oleg Nenashev two things have to happen for the new IRC bot to be deployed.

            1. We need to build a new docker container with the IRC bot inside of it. Unfortunately I've never done this so I'll need some help from Kohsuke Kawaguchi do accomplish this.
            2. We need to update jenkins-infra to use the new version of the Docker container.

            Once those are done, we can roll the Puppet code to production and everything should "just work"

            Show
            rtyler R. Tyler Croy added a comment - Oleg Nenashev two things have to happen for the new IRC bot to be deployed. We need to build a new docker container with the IRC bot inside of it. Unfortunately I've never done this so I'll need some help from Kohsuke Kawaguchi do accomplish this. We need to update jenkins-infra to use the new version of the Docker container. Once those are done, we can roll the Puppet code to production and everything should "just work"
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            1) Seems that ci.jenkins-ci.org builds the docker container on each commit.
            2) Kohsuke updated IRC Bot about two weeks ago, but there's no relevant commits in https://github.com/jenkins-infra/jenkins-infra

            When we have a full info, I'll put it to IRC Bot's main page on GitHub. The current process is very mysterious

            Show
            oleg_nenashev Oleg Nenashev added a comment - 1) Seems that ci.jenkins-ci.org builds the docker container on each commit. 2) Kohsuke updated IRC Bot about two weeks ago, but there's no relevant commits in https://github.com/jenkins-infra/jenkins-infra When we have a full info, I'll put it to IRC Bot's main page on GitHub. The current process is very mysterious
            Hide
            rtyler R. Tyler Croy added a comment -

            Oleg Nenashev good catch on the Jenkins-on-Jenkins build, I forgot about that!

            it looks like we've only got the robobutler (aka meetingbot) Puppetized properly. I'll have to get that ircbot container deployed

            Show
            rtyler R. Tyler Croy added a comment - Oleg Nenashev good catch on the Jenkins-on-Jenkins build, I forgot about that! it looks like we've only got the robobutler (aka meetingbot) Puppetized properly. I'll have to get that ircbot container deployed
            Hide
            oleg_nenashev Oleg Nenashev added a comment -
            Show
            oleg_nenashev Oleg Nenashev added a comment - Added command descriptions to Wiki: https://wiki.jenkins-ci.org/pages/diffpages.action?pageId=41877717&originalId=74416280 Added the deployment process description to https://github.com/jenkins-infra/ircbot (see README.MD)

              People

              Assignee:
              oleg_nenashev Oleg Nenashev
              Reporter:
              oleg_nenashev Oleg Nenashev
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: