Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package git-cola for openSUSE:Factory checked in at 2023-04-03 17:47:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/git-cola (Old) and /work/SRC/openSUSE:Factory/.git-cola.new.9019 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "git-cola" Mon Apr 3 17:47:29 2023 rev:41 rq:1077005 version:4.2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/git-cola/git-cola.changes 2023-03-28 17:49:19.054961035 +0200 +++ /work/SRC/openSUSE:Factory/.git-cola.new.9019/git-cola.changes 2023-04-03 17:47:41.242933156 +0200 @@ -1,0 +2,12 @@ +Mon Apr 3 13:38:36 UTC 2023 - Marcin Bajor <marcin.ba...@gmail.com> + +- Update to 4.2.1 +- Fixes +* Diffs for repositories with a single commit have been fixed. + https://github.com/git-cola/git-cola/issues/1306 +* The toolbars follow the Qt toolbar style, as they did prior to `v4.2.0`. + https://github.com/git-cola/git-cola/issues/1307 +* The "Checkout Branch" dialog was fixed to display all completions when first shown. + https://github.com/git-cola/git-cola/issues/1308 + +------------------------------------------------------------------- Old: ---- v4.2.0.tar.gz New: ---- v4.2.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ git-cola.spec ++++++ --- /var/tmp/diff_new_pack.w7vbN0/_old 2023-04-03 17:47:41.938938285 +0200 +++ /var/tmp/diff_new_pack.w7vbN0/_new 2023-04-03 17:47:41.938938285 +0200 @@ -18,7 +18,7 @@ Name: git-cola -Version: 4.2.0 +Version: 4.2.1 Release: 0 Summary: A GUI for Git License: GPL-2.0-or-later ++++++ v4.2.0.tar.gz -> v4.2.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-cola-4.2.0/.pylintrc new/git-cola-4.2.1/.pylintrc --- old/git-cola-4.2.0/.pylintrc 2023-03-19 10:10:39.000000000 +0100 +++ new/git-cola-4.2.1/.pylintrc 2023-03-26 12:26:37.000000000 +0200 @@ -58,10 +58,12 @@ duplicate-code, invalid-name, missing-docstring, + no-self-use, raise-missing-from, super-with-arguments, too-many-instance-attributes, useless-object-inheritance, + useless-option-value, [REPORTS] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-cola-4.2.0/CHANGES.rst new/git-cola-4.2.1/CHANGES.rst --- old/git-cola-4.2.0/CHANGES.rst 2023-03-26 11:13:37.000000000 +0200 +++ new/git-cola-4.2.1/CHANGES.rst 2023-04-01 08:19:20.000000000 +0200 @@ -1,3 +1,20 @@ +.. _v4.2.1: + +v4.2.1 +====== + +Fixes +----- +* Diffs for repositories with a single commit have been fixed. + (`#1306 <https://github.com/git-cola/git-cola/issues/1306>`_) + +* The toolbars follow the Qt toolbar style, as they did prior to `v4.2.0`. + (`#1307 <https://github.com/git-cola/git-cola/issues/1307>`_) + +* The "Checkout Branch" dialog was fixed to display all completions when first shown. + (`#1308 <https://github.com/git-cola/git-cola/issues/1308>`_) + + .. _v4.2.0: v4.2.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-cola-4.2.0/PKG-INFO new/git-cola-4.2.1/PKG-INFO --- old/git-cola-4.2.0/PKG-INFO 2023-03-26 12:01:45.349556000 +0200 +++ new/git-cola-4.2.1/PKG-INFO 2023-04-01 08:24:01.472372300 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: git-cola -Version: 4.2.0 +Version: 4.2.1 Summary: A sleek and powerful Git GUI Home-page: https://github.com/git-cola/git-cola Author-email: David Aguilar <dav...@gmail.com> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-cola-4.2.0/cola/_version.py new/git-cola-4.2.1/cola/_version.py --- old/git-cola-4.2.0/cola/_version.py 2023-03-26 11:13:37.000000000 +0200 +++ new/git-cola-4.2.1/cola/_version.py 2023-04-01 08:21:42.000000000 +0200 @@ -1 +1 @@ -VERSION = '4.2.0' +VERSION = '4.2.1' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-cola-4.2.0/cola/compat.py new/git-cola-4.2.1/cola/compat.py --- old/git-cola-4.2.0/cola/compat.py 2023-03-19 07:39:42.000000000 +0100 +++ new/git-cola-4.2.1/cola/compat.py 2023-04-01 08:05:48.000000000 +0200 @@ -24,6 +24,7 @@ def bstr(value, encoding=ENCODING): return bytes(value, encoding=encoding) + elif PY26_PLUS: bstr = bytes else: @@ -42,13 +43,13 @@ uchr = chr else: bchr = chr - maxsize = 2**31 + maxsize = 2 ** 31 ustr = unicode # noqa uchr = unichr # noqa int_types = (int, long) # noqa # Qt's max 32-bit signed integer range (-2147483648 to 2147483647) -maxint = (2**31) - 1 +maxint = (2 ** 31) - 1 def setenv(key, value): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-cola-4.2.0/cola/gitcmds.py new/git-cola-4.2.1/cola/gitcmds.py --- old/git-cola-4.2.0/cola/gitcmds.py 2023-03-19 08:09:32.000000000 +0100 +++ new/git-cola-4.2.1/cola/gitcmds.py 2023-04-01 08:05:48.000000000 +0200 @@ -392,7 +392,7 @@ # "git show" is clever enough to handle the root commit. args = [end + '^!'] _add_filename(args, filename) - _, out, _ = git.show(pretty='format:', _readonly=True, *args, **opts) + _, out, _ = git.show(pretty='format:', *args, **opts) out = out.lstrip() return out diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-cola-4.2.0/cola/polib.py new/git-cola-4.2.1/cola/polib.py --- old/git-cola-4.2.0/cola/polib.py 2023-03-19 11:12:08.000000000 +0100 +++ new/git-cola-4.2.1/cola/polib.py 2023-04-01 08:05:48.000000000 +0200 @@ -57,6 +57,7 @@ def u(s): return compat.ustr(s, "unicode_escape") + else: PY3 = True text_type = str diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-cola-4.2.0/cola/widgets/commitmsg.py new/git-cola-4.2.1/cola/widgets/commitmsg.py --- old/git-cola-4.2.0/cola/widgets/commitmsg.py 2023-03-19 07:58:07.000000000 +0100 +++ new/git-cola-4.2.1/cola/widgets/commitmsg.py 2023-04-01 08:05:48.000000000 +0200 @@ -229,7 +229,7 @@ QtCore.QTimer.singleShot(1, self.restore_size) def restore_size(self): - self.setMaximumHeight(2**13) + self.setMaximumHeight(2 ** 13) def focus_summary(self): self.summary.setFocus() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-cola-4.2.0/cola/widgets/completion.py new/git-cola-4.2.1/cola/widgets/completion.py --- old/git-cola-4.2.0/cola/widgets/completion.py 2023-03-19 08:16:08.000000000 +0100 +++ new/git-cola-4.2.1/cola/widgets/completion.py 2023-04-01 08:05:48.000000000 +0200 @@ -91,13 +91,16 @@ Qt.Key_Down: 'down', } - def __init__(self, context, model_factory, hint='', parent=None): + def __init__( + self, context, model_factory, hint='', show_all_completions=False, parent=None + ): HintedLineEdit.__init__(self, context, hint, parent=parent) # Tracks when the completion popup was active during key events self.context = context # The most recently selected completion item self._selection = None + self._show_all_completions = show_all_completions # Create a completion model completion_model = model_factory(context, self) @@ -208,7 +211,9 @@ def _completions_updated(self): popup = self.popup() if not popup.isVisible(): - return + if not self.hasFocus() or not self._show_all_completions: + return + popup.show() # Select the first item idx = self._completion_model.index(0, 0) selection = QtCore.QItemSelection(idx, idx) @@ -301,7 +306,7 @@ utils.catch_runtime_error(self.wait) def run(self): - text = '' + text = None items = [] self.running = True # Loop when the matched text changes between the start and end time. @@ -523,6 +528,7 @@ self._model = model self.setCompletionMode(QtWidgets.QCompleter.UnfilteredPopupCompletion) self.setCaseSensitivity(Qt.CaseInsensitive) + self.setFilterMode(QtCore.Qt.MatchContains) model.model_updated.connect(self.update, type=Qt.QueuedConnection) self.setModel(model) @@ -728,12 +734,19 @@ return (refs, paths, dirs) -def bind_lineedit(model, hint=''): +def bind_lineedit(model, hint='', show_all_completions=False): """Create a line edit bound against a specific model""" class BoundLineEdit(CompletionLineEdit): def __init__(self, context, hint=hint, parent=None): - CompletionLineEdit.__init__(self, context, model, hint=hint, parent=parent) + CompletionLineEdit.__init__( + self, + context, + model, + hint=hint, + show_all_completions=show_all_completions, + parent=parent, + ) self.context = context return BoundLineEdit @@ -743,7 +756,9 @@ GitLogLineEdit = bind_lineedit(GitLogCompletionModel, hint='<ref>') GitRefLineEdit = bind_lineedit(GitRefCompletionModel, hint='<ref>') GitCheckoutBranchLineEdit = bind_lineedit( - GitCheckoutBranchCompletionModel, hint='<branch>' + GitCheckoutBranchCompletionModel, + hint='<branch>', + show_all_completions=True, ) GitCreateBranchLineEdit = bind_lineedit(GitCreateBranchCompletionModel, hint='<branch>') GitBranchLineEdit = bind_lineedit(GitBranchCompletionModel, hint='<branch>') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-cola-4.2.0/cola/widgets/status.py new/git-cola-4.2.1/cola/widgets/status.py --- old/git-cola-4.2.0/cola/widgets/status.py 2023-03-19 08:31:13.000000000 +0100 +++ new/git-cola-4.2.1/cola/widgets/status.py 2023-04-01 08:05:48.000000000 +0200 @@ -98,7 +98,7 @@ def set_initial_size(self): """Set the initial size of the status widget""" self.setMaximumWidth(222) - QtCore.QTimer.singleShot(1, lambda: self.setMaximumWidth(2**13)) + QtCore.QTimer.singleShot(1, lambda: self.setMaximumWidth(2 ** 13)) def refresh(self): """Refresh the tree and rerun the diff to see updates""" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-cola-4.2.0/cola/widgets/toolbar.py new/git-cola-4.2.1/cola/widgets/toolbar.py --- old/git-cola-4.2.0/cola/widgets/toolbar.py 2023-03-19 05:59:10.000000000 +0100 +++ new/git-cola-4.2.1/cola/widgets/toolbar.py 2023-04-01 08:10:27.000000000 +0200 @@ -250,15 +250,16 @@ icon = getattr(icons, command_icon, None) if callable(icon): icon = icon() + if icon: + toolbar_action = self.addAction(icon, title, callback) + else: + toolbar_action = self.addAction(title, callback) - toolbar_item = qtutils.create_toolbutton_with_callback( - callback, - title, - icon, - tooltip, - ) - action = self.addWidget(toolbar_item) - action.setData(data) + toolbar_action.setData(data) + + tooltip = command.get('tooltip', None) + if tooltip: + toolbar_action.setToolTip('%s\n%s' % (title, tooltip)) def delete_toolbar(self): self.parent().removeToolBar(self) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-cola-4.2.0/docs/relnotes.rst new/git-cola-4.2.1/docs/relnotes.rst --- old/git-cola-4.2.0/docs/relnotes.rst 2023-03-26 11:13:37.000000000 +0200 +++ new/git-cola-4.2.1/docs/relnotes.rst 2023-04-01 08:21:42.000000000 +0200 @@ -5,7 +5,7 @@ Latest Release ============== -:ref:`v4.2.0 <v4.2.0>` is the latest stable release. +:ref:`v4.2.1 <v4.2.1>` is the latest stable release. Development version =================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-cola-4.2.0/git_cola.egg-info/PKG-INFO new/git-cola-4.2.1/git_cola.egg-info/PKG-INFO --- old/git-cola-4.2.0/git_cola.egg-info/PKG-INFO 2023-03-26 12:01:45.000000000 +0200 +++ new/git-cola-4.2.1/git_cola.egg-info/PKG-INFO 2023-04-01 08:24:01.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: git-cola -Version: 4.2.0 +Version: 4.2.1 Summary: A sleek and powerful Git GUI Home-page: https://github.com/git-cola/git-cola Author-email: David Aguilar <dav...@gmail.com> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-cola-4.2.0/pynsist.cfg new/git-cola-4.2.1/pynsist.cfg --- old/git-cola-4.2.0/pynsist.cfg 2023-03-26 11:13:37.000000000 +0200 +++ new/git-cola-4.2.1/pynsist.cfg 2023-04-01 08:21:42.000000000 +0200 @@ -2,7 +2,7 @@ [Application] name=git-cola -version=4.2.0 +version=4.2.1 entry_point=cola.main:shortcut_launch icon=cola/icons/git-cola.ico extra_preamble=contrib/win32/pynsist-preamble.py diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-cola-4.2.0/pyproject.toml new/git-cola-4.2.1/pyproject.toml --- old/git-cola-4.2.0/pyproject.toml 2023-03-26 11:47:38.000000000 +0200 +++ new/git-cola-4.2.1/pyproject.toml 2023-04-01 08:21:42.000000000 +0200 @@ -34,4 +34,4 @@ # "fallback_version" does not (currently) work when building from tarballs. # "fallback_version" should start working once this upstream issue is resolved: # https://github.com/pypa/setuptools_scm/issues/549 -fallback_version = "4.2.0" +fallback_version = "4.2.1" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-cola-4.2.0/setup.cfg new/git-cola-4.2.1/setup.cfg --- old/git-cola-4.2.0/setup.cfg 2023-03-26 12:01:45.349556000 +0200 +++ new/git-cola-4.2.1/setup.cfg 2023-04-01 08:24:01.472372300 +0200 @@ -27,7 +27,9 @@ cola cola.bin cola.i18n + cola.i18n.glossary cola.icons + cola.icons.dark cola.models cola.widgets include_package_data = true @@ -42,6 +44,7 @@ bin/* i18n/* icons/*.svg + icons/dark/*.svg [options.packages.find] exclude = diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-cola-4.2.0/share/metainfo/git-cola.appdata.xml new/git-cola-4.2.1/share/metainfo/git-cola.appdata.xml --- old/git-cola-4.2.0/share/metainfo/git-cola.appdata.xml 2023-03-26 11:13:37.000000000 +0200 +++ new/git-cola-4.2.1/share/metainfo/git-cola.appdata.xml 2023-04-01 08:21:42.000000000 +0200 @@ -17,6 +17,7 @@ </screenshots> <url type="homepage">https://git-cola.github.io/</url> <releases> + <release version="4.2.1" date="2023-03-31" /> <release version="4.2.0" date="2023-03-23" /> <release version="4.1.0" date="2022-12-23" /> <release version="4.0.4" date="2022-11-22" /> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-cola-4.2.0/share/metainfo/git-dag.appdata.xml new/git-cola-4.2.1/share/metainfo/git-dag.appdata.xml --- old/git-cola-4.2.0/share/metainfo/git-dag.appdata.xml 2023-03-26 11:13:37.000000000 +0200 +++ new/git-cola-4.2.1/share/metainfo/git-dag.appdata.xml 2023-04-01 08:21:42.000000000 +0200 @@ -11,6 +11,7 @@ </description> <url type="homepage">https://git-cola.github.io/</url> <releases> + <release version="4.2.1" date="2023-03-31" /> <release version="4.2.0" date="2023-03-23" /> <release version="4.1.0" date="2022-12-23" /> <release version="4.0.4" date="2022-11-22" />