Hello community, here is the log from the commit of package ranger for openSUSE:Factory checked in at 2018-02-23 15:29:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ranger (Old) and /work/SRC/openSUSE:Factory/.ranger.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ranger" Fri Feb 23 15:29:39 2018 rev:4 rq:579091 version:1.9.1 Changes: -------- --- /work/SRC/openSUSE:Factory/ranger/ranger.changes 2018-01-29 15:00:44.089335170 +0100 +++ /work/SRC/openSUSE:Factory/.ranger.new/ranger.changes 2018-02-23 15:29:42.858704155 +0100 @@ -1,0 +2,15 @@ +Thu Feb 22 16:10:05 UTC 2018 - [email protected] + +- Update to version 1.9.1 + * Fixed the rifle config backwards compatibility (regression in + 1.9.0) + * Fixed the POSIX compatibility of `Makefile` + * Fixed `--choosefile`, `--choosefiles` and `--choosedir` so + they work with the process substitution (`>(...)` in Bash) + * Changed the default `gt` binding to `gp` due to a conflict + * Changed the help message for `--choosefile`, `--choosefiles` + and `--choosedir` to avoid confusion + * Changed the behavior of `:reset` to reload the tags too + * Added `geeqie` to the default `rifle.conf` + +------------------------------------------------------------------- Old: ---- ranger-1.9.0.tar.gz New: ---- ranger-1.9.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ranger.spec ++++++ --- /var/tmp/diff_new_pack.VOpYrp/_old 2018-02-23 15:29:45.042625251 +0100 +++ /var/tmp/diff_new_pack.VOpYrp/_new 2018-02-23 15:29:45.046625107 +0100 @@ -18,12 +18,12 @@ Name: ranger -Version: 1.9.0 +Version: 1.9.1 Release: 0 Summary: Console File Manager License: GPL-3.0 Group: Productivity/File utilities -URL: https://ranger.github.io +Url: https://ranger.github.io Source: https://github.com/ranger/ranger/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source99: ranger-rpmlintrc # PATCH-FIX-UPSTREAM ranger.desktop.patch -- Add missing GenericName ++++++ ranger-1.9.0.tar.gz -> ranger-1.9.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ranger-1.9.0/AUTHORS new/ranger-1.9.1/AUTHORS --- old/ranger-1.9.0/AUTHORS 2018-01-28 20:02:32.000000000 +0100 +++ new/ranger-1.9.1/AUTHORS 2018-02-22 14:19:28.000000000 +0100 @@ -22,8 +22,8 @@ Copyright 2015 anekos <[email protected]> Copyright 2015 bastorran Copyright 2015-2017 nfnty <[email protected]> -Copyright 2015-2017 Wojciech Siewierski <[email protected]> -Copyright 2016-2017 Toon Nolten <[email protected]> +Copyright 2015-2018 Wojciech Siewierski <[email protected]> +Copyright 2016-2018 Toon Nolten <[email protected]> Ideally, all contributors of non-trivial code are named here to the extent that a name and email address is available. Please send an email to [email protected] if diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ranger-1.9.0/CHANGELOG.md new/ranger-1.9.1/CHANGELOG.md --- old/ranger-1.9.0/CHANGELOG.md 2018-01-28 20:02:32.000000000 +0100 +++ new/ranger-1.9.1/CHANGELOG.md 2018-02-22 14:19:28.000000000 +0100 @@ -1,5 +1,16 @@ This log documents changes between stable versions. +# 2018-02-22: version 1.9.1 +* Fixed the rifle config backwards compatibility (regression in 1.9.0) +* Fixed the POSIX compatibility of `Makefile` +* Fixed `--choosefile`, `--choosefiles` and `--choosedir` so they work + with the process substitution (`>(...)` in Bash) +* Changed the default `gt` binding to `gp` due to a conflict +* Changed the help message for `--choosefile`, `--choosefiles` and + `--choosedir` to avoid confusion +* Changed the behavior of `:reset` to reload the tags too +* Added `geeqie` to the default `rifle.conf` + # 2018-01-25: version 1.9.0 * Fixed memory leak in w3m image preview * Fixed `Q` binding, map it to `quitall` instead of `quit!` @@ -75,6 +86,7 @@ * Added support for `$XDG_DATA_HOME` * Avoid exiting ranger while copying. Use `:quit!` to quit while copying. * Improved scope.sh (better performance & readability) +* Improved logs handling by migrating to the python standard logging library (PR #725) * Changed `ranger --choosefiles` to return all selected files in all paths * Changed interpretation of commands: treat tabs as argument separators * Changed `<C-n>` to open new tab in current directory rather than `$HOME` diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ranger-1.9.0/Makefile new/ranger-1.9.1/Makefile --- old/ranger-1.9.0/Makefile 2018-01-28 20:02:32.000000000 +0100 +++ new/ranger-1.9.1/Makefile 2018-02-22 14:19:28.000000000 +0100 @@ -67,9 +67,9 @@ TEST_PATHS_MAIN = \ $(shell find ./ranger -mindepth 1 -maxdepth 1 -type d \ - -and -not -name '__pycache__' \ - -and -not -path './ranger/config' \ - -and -not -path './ranger/data' \ + ! -name '__pycache__' \ + ! -path './ranger/config' \ + ! -path './ranger/data' \ ) \ ./ranger/__init__.py \ $(shell find ./doc/tools ./examples -type f -name '*.py') \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ranger-1.9.0/README.md new/ranger-1.9.1/README.md --- old/ranger-1.9.0/README.md 2018-01-28 20:02:32.000000000 +0100 +++ new/ranger-1.9.1/README.md 2018-02-22 14:19:28.000000000 +0100 @@ -1,4 +1,4 @@ -ranger 1.9.0 +ranger 1.9.1 ============ [](https://travis-ci.org/ranger/ranger) @@ -29,10 +29,10 @@ ----- * Authors: see `AUTHORS` file * License: GNU General Public License Version 3 -* Website: http://ranger.nongnu.org/ -* Download: http://ranger.nongnu.org/ranger-stable.tar.gz +* Website: https://ranger.github.io/ +* Download: https://ranger.github.io/ranger-stable.tar.gz * Bug reports: https://github.com/ranger/ranger/issues -* git clone http://git.sv.gnu.org/r/ranger.git +* git clone https://github.com/ranger/ranger.git Design Goals diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ranger-1.9.0/doc/cheatsheet.svg new/ranger-1.9.1/doc/cheatsheet.svg --- old/ranger-1.9.0/doc/cheatsheet.svg 2018-01-28 20:02:32.000000000 +0100 +++ new/ranger-1.9.1/doc/cheatsheet.svg 2018-02-22 14:19:28.000000000 +0100 @@ -4059,7 +4059,7 @@ sodipodi:role="line">ranger cheatsheet</tspan></text> <a id="a5535" - xlink:href="http://ranger.nongnu.org" + xlink:href="https://ranger.github.io" style="fill:#0000ff" transform="translate(10,-296.00002)"> <text @@ -4073,7 +4073,7 @@ sodipodi:role="line" x="230" y="567.36218" - style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:15px;line-height:100%;font-family:Sans;-inkscape-font-specification:'Sans, Normal';text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#0000ff">http://ranger.nongnu.org</tspan></text> + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:15px;line-height:100%;font-family:Sans;-inkscape-font-specification:'Sans, Normal';text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#0000ff">https://ranger.github.io</tspan></text> </a> <text xml:space="preserve" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ranger-1.9.0/doc/ranger.1 new/ranger-1.9.1/doc/ranger.1 --- old/ranger-1.9.0/doc/ranger.1 2018-01-28 20:02:32.000000000 +0100 +++ new/ranger-1.9.1/doc/ranger.1 2018-02-22 14:19:28.000000000 +0100 @@ -1,4 +1,4 @@ -.\" Automatically generated by Pod::Man 4.09 (Pod::Simple 3.35) +.\" Automatically generated by Pod::Man 4.07 (Pod::Simple 3.32) .\" .\" Standard preamble: .\" ======================================================================== @@ -129,7 +129,7 @@ .\" ======================================================================== .\" .IX Title "RANGER 1" -.TH RANGER 1 "ranger-1.9.0" "2018-01-28" "ranger manual" +.TH RANGER 1 "ranger-1.9.1" "02/22/2018" "ranger manual" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -599,7 +599,7 @@ .IP "V" 14 .IX Item "V" Starts the visual mode, which selects all files between the starting point and -the cursor until you press \s-1ESC.\s0 To unselect files in the same way, use \*(L"uV\*(R". +the cursor until you press \s-1ESC. \s0 To unselect files in the same way, use \*(L"uV\*(R". .IP "/" 14 Search for files in the current directory. .IP ":" 14 @@ -1533,13 +1533,13 @@ \&\s-1GNU\s0 General Public License 3 or (at your option) any later version. .SH "LINKS" .IX Header "LINKS" -.IP "Download: <http://ranger.nongnu.org/ranger\-stable.tar.gz>" 4 -.IX Item "Download: <http://ranger.nongnu.org/ranger-stable.tar.gz>" +.IP "Download: <https://ranger.github.io/ranger\-stable.tar.gz>" 4 +.IX Item "Download: <https://ranger.github.io/ranger-stable.tar.gz>" .PD 0 -.IP "The project page: <http://ranger.nongnu.org/>" 4 -.IX Item "The project page: <http://ranger.nongnu.org/>" -.IP "The mailing list: <http://savannah.nongnu.org/mail/?group=ranger>" 4 -.IX Item "The mailing list: <http://savannah.nongnu.org/mail/?group=ranger>" +.IP "The project page: <https://ranger.github.io/>" 4 +.IX Item "The project page: <https://ranger.github.io/>" +.IP "The mailing list: <https://savannah.nongnu.org/mail/?group=ranger>" 4 +.IX Item "The mailing list: <https://savannah.nongnu.org/mail/?group=ranger>" .IP "\s-1IRC\s0 channel: #ranger on freenode.net" 4 .IX Item "IRC channel: #ranger on freenode.net" .PD diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ranger-1.9.0/doc/ranger.pod new/ranger-1.9.1/doc/ranger.pod --- old/ranger-1.9.0/doc/ranger.pod 2018-01-28 20:02:32.000000000 +0100 +++ new/ranger-1.9.1/doc/ranger.pod 2018-02-22 14:19:28.000000000 +0100 @@ -1670,11 +1670,11 @@ =over -=item Download: L<http://ranger.nongnu.org/ranger-stable.tar.gz> +=item Download: L<https://ranger.github.io/ranger-stable.tar.gz> -=item The project page: L<http://ranger.nongnu.org/> +=item The project page: L<https://ranger.github.io/> -=item The mailing list: L<http://savannah.nongnu.org/mail/?group=ranger> +=item The mailing list: L<https://savannah.nongnu.org/mail/?group=ranger> =item IRC channel: #ranger on freenode.net diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ranger-1.9.0/doc/rifle.1 new/ranger-1.9.1/doc/rifle.1 --- old/ranger-1.9.0/doc/rifle.1 2018-01-28 20:02:32.000000000 +0100 +++ new/ranger-1.9.1/doc/rifle.1 2018-02-22 14:19:28.000000000 +0100 @@ -1,4 +1,4 @@ -.\" Automatically generated by Pod::Man 4.09 (Pod::Simple 3.35) +.\" Automatically generated by Pod::Man 4.07 (Pod::Simple 3.32) .\" .\" Standard preamble: .\" ======================================================================== @@ -129,7 +129,7 @@ .\" ======================================================================== .\" .IX Title "RIFLE 1" -.TH RIFLE 1 "rifle-1.9.0" "2018-01-25" "rifle manual" +.TH RIFLE 1 "rifle-1.9.1" "02/22/2018" "rifle manual" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ranger-1.9.0/ranger/__init__.py new/ranger-1.9.1/ranger/__init__.py --- old/ranger-1.9.0/ranger/__init__.py 2018-01-28 20:02:32.000000000 +0100 +++ new/ranger-1.9.1/ranger/__init__.py 2018-02-22 14:19:28.000000000 +0100 @@ -14,7 +14,7 @@ # Information __license__ = 'GPL3' -__version__ = '1.9.0' +__version__ = '1.9.1' __author__ = __maintainer__ = 'Roman Zimbelmann' __email__ = '[email protected]' @@ -27,7 +27,7 @@ MACRO_DELIMITER_ESC = '%%' DEFAULT_PAGER = 'less' USAGE = '%prog [options] [path]' -VERSION = 'ranger-stable {0}'.format(__version__) +VERSION = 'ranger-master {0}'.format(__version__) # These variables are ignored if the corresponding # XDG environment variable is non-empty and absolute diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ranger-1.9.0/ranger/config/rc.conf new/ranger-1.9.1/ranger/config/rc.conf --- old/ranger-1.9.0/ranger/config/rc.conf 2018-01-28 20:02:32.000000000 +0100 +++ new/ranger-1.9.1/ranger/config/rc.conf 2018-02-22 14:19:28.000000000 +0100 @@ -387,7 +387,7 @@ map gm cd /media map gM cd /mnt map gs cd /srv -map gt cd /tmp +map gp cd /tmp map gr cd / map gR eval fm.cd(ranger.RANGERDIR) map g/ cd / diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ranger-1.9.0/ranger/config/rifle.conf new/ranger-1.9.1/ranger/config/rifle.conf --- old/ranger-1.9.0/ranger/config/rifle.conf 2018-01-28 20:02:32.000000000 +0100 +++ new/ranger-1.9.1/ranger/config/rifle.conf 2018-02-22 14:19:28.000000000 +0100 @@ -182,6 +182,7 @@ mime ^image, has eog, X, flag f = eog -- "$@" mime ^image, has eom, X, flag f = eom -- "$@" mime ^image, has nomacs, X, flag f = nomacs -- "$@" +mime ^image, has geeqie, X, flag f = geeqie -- "$@" mime ^image, has gimp, X, flag f = gimp -- "$@" ext xcf, X, flag f = gimp -- "$@" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ranger-1.9.0/ranger/core/actions.py new/ranger-1.9.1/ranger/core/actions.py --- old/ranger-1.9.0/ranger/core/actions.py 2018-01-28 20:02:32.000000000 +0100 +++ new/ranger-1.9.1/ranger/core/actions.py 2018-02-22 14:19:28.000000000 +0100 @@ -74,6 +74,7 @@ if self.metadata: self.metadata.reset() self.rifle.reload_config() + self.fm.tags.sync() def change_mode(self, mode=None): """:change_mode <mode> @@ -837,11 +838,11 @@ self.ui.redraw_main_column() - def tag_remove(self, paths=None, movedown=None): - self.tag_toggle(paths=paths, value=False, movedown=movedown) + def tag_remove(self, paths=None, movedown=None, tag=None): + self.tag_toggle(paths=paths, value=False, movedown=movedown, tag=tag) - def tag_add(self, paths=None, movedown=None): - self.tag_toggle(paths=paths, value=True, movedown=movedown) + def tag_add(self, paths=None, movedown=None, tag=None): + self.tag_toggle(paths=paths, value=True, movedown=movedown, tag=tag) # -------------------------- # -- Bookmarks diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ranger-1.9.0/ranger/core/main.py new/ranger-1.9.1/ranger/core/main.py --- old/ranger-1.9.0/ranger/core/main.py 2018-01-28 20:02:32.000000000 +0100 +++ new/ranger-1.9.1/ranger/core/main.py 2018-02-22 14:19:28.000000000 +0100 @@ -267,17 +267,17 @@ parser.add_option('--copy-config', type='string', metavar='which', help="copy the default configs to the local config directory. " "Possible values: all, rc, rifle, commands, commands_full, scope") - parser.add_option('--choosefile', type='string', metavar='PATH', + parser.add_option('--choosefile', type='string', metavar='OUTFILE', help="Makes ranger act like a file chooser. When opening " "a file, it will quit and write the name of the selected " - "file to PATH.") - parser.add_option('--choosefiles', type='string', metavar='PATH', + "file to OUTFILE.") + parser.add_option('--choosefiles', type='string', metavar='OUTFILE', help="Makes ranger act like a file chooser for multiple files " "at once. When opening a file, it will quit and write the name " - "of all selected files to PATH.") - parser.add_option('--choosedir', type='string', metavar='PATH', + "of all selected files to OUTFILE.") + parser.add_option('--choosedir', type='string', metavar='OUTFILE', help="Makes ranger act like a directory chooser. When ranger quits" - ", it will write the name of the last visited directory to PATH") + ", it will write the name of the last visited directory to OUTFILE") parser.add_option('--selectfile', type='string', metavar='filepath', help="Open ranger with supplied file selected.") parser.add_option('--show-only-dirs', action='store_true', @@ -299,7 +299,7 @@ def path_init(option): argval = args.__dict__[option] try: - path = os.path.realpath(argval) + path = os.path.abspath(argval) except OSError as ex: sys.stderr.write( '--{0} is not accessible: {1}\n{2}\n'.format(option, argval, str(ex))) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ranger-1.9.0/ranger/data/scope.sh new/ranger-1.9.1/ranger/data/scope.sh --- old/ranger-1.9.0/ranger/data/scope.sh 2018-01-28 20:02:32.000000000 +0100 +++ new/ranger-1.9.1/ranger/data/scope.sh 2018-02-22 14:19:28.000000000 +0100 @@ -31,7 +31,7 @@ PV_IMAGE_ENABLED="${5}" # 'True' if image previews are enabled, 'False' otherwise. FILE_EXTENSION="${FILE_PATH##*.}" -FILE_EXTENSION_LOWER="${FILE_EXTENSION,,}" +FILE_EXTENSION_LOWER=$(echo ${FILE_EXTENSION} | tr '[:upper:]' '[:lower:]') # Settings HIGHLIGHT_SIZE_MAX=262143 # 256KiB diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ranger-1.9.0/ranger/ext/rifle.py new/ranger-1.9.1/ranger/ext/rifle.py --- old/ranger-1.9.0/ranger/ext/rifle.py 2018-01-28 20:02:32.000000000 +0100 +++ new/ranger-1.9.1/ranger/ext/rifle.py 2018-02-22 14:19:28.000000000 +0100 @@ -21,7 +21,7 @@ from subprocess import Popen, PIPE import sys -__version__ = 'rifle 1.9.0' +__version__ = 'rifle 1.9.1' # Options and constants that a user might want to change: DEFAULT_PAGER = 'less' @@ -343,10 +343,8 @@ else: if 'PAGER' not in os.environ: os.environ['PAGER'] = DEFAULT_PAGER - if 'VISUAL' not in os.environ and 'EDITOR' not in os.environ: - os.environ['VISUAL'] = DEFAULT_EDITOR - # necessary for compatibility with old rifle.conf - os.environ['EDITOR'] = DEFAULT_EDITOR + if 'EDITOR' not in os.environ: + os.environ['EDITOR'] = os.environ.get('VISUAL', DEFAULT_EDITOR) command = self.hook_command_postprocessing(command) self.hook_before_executing(command, self._mimetype, self._app_flags) try: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ranger-1.9.0/setup.py new/ranger-1.9.1/setup.py --- old/ranger-1.9.0/setup.py 2018-01-28 20:02:32.000000000 +0100 +++ new/ranger-1.9.1/setup.py 2018-02-22 14:19:28.000000000 +0100 @@ -72,7 +72,7 @@ author=ranger.__author__, author_email=ranger.__email__, license=ranger.__license__, - url='http://ranger.nongnu.org', + url='https://ranger.github.io', keywords='file-manager vim console file-launcher file-preview', classifiers=[ 'Environment :: Console',
