#19 Use the project name as a prefix instead of the forge.
Merged 6 years ago by mprahl. Opened 6 years ago by ralph.

file modified
+1 -1
@@ -135,7 +135,7 @@ 

  

  

  def sync_with_jira(issue, config):

-     log.info("Considering upstream %s", issue.url)

+     log.info("Considering upstream %s, %s", issue.url, issue.title)

  

      # First, check to see if we have a matching issue using the new method.

      # If we do, then just bail out.  No sync needed.

file modified
+1 -1
@@ -29,7 +29,7 @@ 

  

      @property

      def title(self):

-         return u'[%s] %s' % (self.source, self._title)

+         return u'[%s] %s' % (self.upstream, self._title)

  

      @classmethod

      def from_pagure(cls, upstream, issue, config):

This will change issue titles from:

[pagure] Use the project name

to:

[sync-to-jira] Use the project name

Which should be much more useful.

This fixes #17.

Pull-Request has been merged by mprahl

6 years ago