Hello community,

here is the log from the commit of package nautilus-dropbox for 
openSUSE:Factory checked in at 2015-11-11 10:32:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nautilus-dropbox (Old)
 and      /work/SRC/openSUSE:Factory/.nautilus-dropbox.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nautilus-dropbox"

Changes:
--------
--- /work/SRC/openSUSE:Factory/nautilus-dropbox/nautilus-dropbox.changes        
2015-02-16 07:36:40.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.nautilus-dropbox.new/nautilus-dropbox.changes   
2015-11-11 10:36:19.000000000 +0100
@@ -1,0 +2,6 @@
+Sun Nov  8 11:23:45 UTC 2015 - idon...@suse.com
+
+- Update to version 2015.20.18:
+  + Support for sharelink, proxy, and throttle CLI commands.
+
+-------------------------------------------------------------------

Old:
----
  nautilus-dropbox-2.10.0.tar.bz2

New:
----
  nautilus-dropbox-2015.10.28.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ nautilus-dropbox.spec ++++++
--- /var/tmp/diff_new_pack.rP3nNt/_old  2015-11-11 10:36:20.000000000 +0100
+++ /var/tmp/diff_new_pack.rP3nNt/_new  2015-11-11 10:36:20.000000000 +0100
@@ -20,7 +20,7 @@
 %global nautilus_extdir %( pkg-config libnautilus-extension --variable 
extensiondir )
 
 Name:           nautilus-dropbox
-Version:        2.10.0
+Version:        2015.10.28
 Release:        0
 Summary:        Dropbox client integrated into Nautilus
 License:        GPL-3.0+ and CC-BY-ND-3.0

++++++ nautilus-dropbox-2.10.0.tar.bz2 -> nautilus-dropbox-2015.10.28.tar.bz2 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nautilus-dropbox-2.10.0/AUTHORS 
new/nautilus-dropbox-2015.10.28/AUTHORS
--- old/nautilus-dropbox-2.10.0/AUTHORS 2010-04-09 01:21:32.000000000 +0200
+++ new/nautilus-dropbox-2015.10.28/AUTHORS     2015-10-28 22:45:02.000000000 
+0100
@@ -1,3 +1,9 @@
-Rian Hunter <r...@dropbox.com>
-Mike Haimes <m...@dropbox.com>
-David Euresti <da...@dropbox.com>
\ No newline at end of file
+Rian Hunter
+Mike Haimes
+David Euresti
+Andrew Drake
+Dwayne Litzenberger
+Jie Tang
+Josiah Boning
+Max Belanger
+Ryan J. Kaplan
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nautilus-dropbox-2.10.0/ChangeLog 
new/nautilus-dropbox-2015.10.28/ChangeLog
--- old/nautilus-dropbox-2.10.0/ChangeLog       2011-11-11 22:13:56.000000000 
+0100
+++ new/nautilus-dropbox-2015.10.28/ChangeLog   2015-10-28 22:48:27.000000000 
+0100
@@ -1,5 +1,24 @@
-This file isn't a real ChangeLog, we use our code commits for details on 
technical changes.
-This changelog is a list of logical changes and bug fixes.
+# Change Log
+All notable changes to this project will be documented in this file.
+Date based versioning is now used in this project.  This is so that it doesn't 
get confused with the Dropbox desktop client.
+
+## [Unreleased]
+
+## [2015.10.28]
+### Added
+- Support for `sharelink`, `proxy`, and `throttle` CLI commands.
+- Support for Fedora 22
+- Support for Ubuntu 15.10
+
+## [2015.02.12]
+### Added
+- Support for Fedora 21
+- Support for Ubuntu 15.04 and 14.10
+
+### Changed
+- New version numbering format
+
+## Old Change Log.
 
 Version 0.7.1 (11/11/11):
 ------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nautilus-dropbox-2.10.0/README 
new/nautilus-dropbox-2015.10.28/README
--- old/nautilus-dropbox-2.10.0/README  2013-01-23 23:20:59.000000000 +0100
+++ new/nautilus-dropbox-2015.10.28/README      2015-10-28 22:45:02.000000000 
+0100
@@ -8,7 +8,7 @@
 Check us out at https://www.dropbox.com/
 
 <3,
-Rian Hunter and the rest of the Dropbox Team
+The Dropbox Team
 
 Building Dropbox Nautilus Extension From Source Tarball
 --------------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nautilus-dropbox-2.10.0/configure 
new/nautilus-dropbox-2015.10.28/configure
--- old/nautilus-dropbox-2.10.0/configure       2014-11-17 22:50:50.000000000 
+0100
+++ new/nautilus-dropbox-2015.10.28/configure   2015-10-28 22:49:45.000000000 
+0100
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.64 for nautilus-dropbox 2.10.0.
+# Generated by GNU Autoconf 2.64 for nautilus-dropbox 2015.10.28.
 #
 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
@@ -695,8 +695,8 @@
 # Identity of this package.
 PACKAGE_NAME='nautilus-dropbox'
 PACKAGE_TARNAME='nautilus-dropbox'
-PACKAGE_VERSION='2.10.0'
-PACKAGE_STRING='nautilus-dropbox 2.10.0'
+PACKAGE_VERSION='2015.10.28'
+PACKAGE_STRING='nautilus-dropbox 2015.10.28'
 PACKAGE_BUGREPORT=''
 PACKAGE_URL=''
 
@@ -1426,7 +1426,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures nautilus-dropbox 2.10.0 to adapt to many kinds of 
systems.
+\`configure' configures nautilus-dropbox 2015.10.28 to adapt to many kinds of 
systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1497,7 +1497,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of nautilus-dropbox 2.10.0:";;
+     short | recursive ) echo "Configuration of nautilus-dropbox 2015.10.28:";;
    esac
   cat <<\_ACEOF
 
@@ -1606,7 +1606,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-nautilus-dropbox configure 2.10.0
+nautilus-dropbox configure 2015.10.28
 generated by GNU Autoconf 2.64
 
 Copyright (C) 2009 Free Software Foundation, Inc.
@@ -1884,7 +1884,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by nautilus-dropbox $as_me 2.10.0, which was
+It was created by nautilus-dropbox $as_me 2015.10.28, which was
 generated by GNU Autoconf 2.64.  Invocation command line was
 
   $ $0 $@
@@ -2693,7 +2693,7 @@
 
 # Define the identity of the package.
  PACKAGE=nautilus-dropbox
- VERSION=2.10.0
+ VERSION=2015.10.28
 
 
 cat >>confdefs.h <<_ACEOF
@@ -11466,7 +11466,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by nautilus-dropbox $as_me 2.10.0, which was
+This file was extended by nautilus-dropbox $as_me 2015.10.28, which was
 generated by GNU Autoconf 2.64.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -11530,7 +11530,7 @@
 _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_version="\\
-nautilus-dropbox config.status 2.10.0
+nautilus-dropbox config.status 2015.10.28
 configured by $0, generated by GNU Autoconf 2.64,
   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nautilus-dropbox-2.10.0/configure.in 
new/nautilus-dropbox-2015.10.28/configure.in
--- old/nautilus-dropbox-2.10.0/configure.in    2014-11-17 22:45:36.000000000 
+0100
+++ new/nautilus-dropbox-2015.10.28/configure.in        2015-10-28 
22:45:02.000000000 +0100
@@ -1,6 +1,6 @@
 # Initialization
 
-AC_INIT([nautilus-dropbox],2.10.0)
+AC_INIT([nautilus-dropbox],2015.10.28)
 
 AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nautilus-dropbox-2.10.0/dropbox.in 
new/nautilus-dropbox-2015.10.28/dropbox.in
--- old/nautilus-dropbox-2.10.0/dropbox.in      2014-04-18 20:27:39.000000000 
+0200
+++ new/nautilus-dropbox-2015.10.28/dropbox.in  2015-10-28 22:45:02.000000000 
+0100
@@ -995,10 +995,10 @@
 @command
 @requires_dropbox_running
 def puburl(args):
-    u"""get public url of a file in your dropbox
+    u"""get public url of a file in your dropbox's public folder
 dropbox puburl FILE
 
-Prints out a public url for FILE.
+Prints out a public url for FILE (which must be in your public folder).
 """
     if len(args) != 1:
         console_print(puburl.__doc__,linebreak=False)
@@ -1013,6 +1013,153 @@
             except DropboxCommand.BadConnectionError, e:
                 console_print(u"Dropbox isn't responding!")
             except DropboxCommand.EOFError:
+                console_print(u"Dropbox daemon stopped.")
+    except DropboxCommand.CouldntConnectError, e:
+        console_print(u"Dropbox isn't running!")
+
+@command
+@requires_dropbox_running
+def sharelink(args):
+    u"""get a shared link for a file in your dropbox
+dropbox sharelink FILE
+
+Prints out a shared link for FILE.
+"""
+    if len(args) != 1:
+        console_print(sharelink.__doc__, linebreak=False)
+        return
+
+    try:
+        with closing(DropboxCommand()) as dc:
+            try:
+                path = 
unicode_abspath(args[0].decode(sys.getfilesystemencoding()))
+                link = dc.get_shared_link(path=path).get('link', [u'No 
link'])[0]
+                console_print(link)
+            except DropboxCommand.CommandError, e:
+                console_print(u"Couldn't get shared link: " + str(e))
+            except DropboxCommand.BadConnectionError, e:
+                console_print(u"Dropbox isn't responding!")
+            except DropboxCommand.EOFError:
+                console_print(u"Dropbox daemon stopped.")
+    except DropboxCommand.CouldntConnectError, e:
+        console_print(u"Dropbox isn't running!")
+
+@command
+@requires_dropbox_running
+def proxy(args):
+    u"""set proxy settings for Dropbox
+dropbox proxy MODE [TYPE] [HOST] [PORT] [USERNAME] [PASSWORD]
+
+Set proxy settings for Dropbox.
+
+MODE - one of "none", "auto", "manual"
+TYPE - one of "http", "socks4", "socks5" (only valid with "manual" mode)
+HOST - proxy hostname (only valid with "manual" mode)
+PORT - proxy port (only valid with "manual" mode)
+USERNAME - (optional) proxy username (only valid with "manual" mode)
+PASSWORD - (optional) proxy password (only valid with "manual" mode)
+"""
+    mode = None
+    type_ = None
+    if len(args) >= 1:
+        mode = args[0].decode(sys.getfilesystemencoding()).lower()
+    if len(args) >= 2:
+        type_ = args[1].decode(sys.getfilesystemencoding()).lower()
+
+    if (len(args) == 0 or
+        mode not in [u'none', u'auto', u'manual'] or
+        (mode == 'manual' and len(args) not in (4, 6)) or
+        (mode != 'manual' and len(args) != 1) or
+        (mode == 'manual' and type_ not in [u'http', u'socks4', u'socks5'])):
+        # Print help
+        console_print(proxy.__doc__, linebreak=False)
+        return
+
+    ARGS = ['mode', 'type', 'host', 'port', 'username', 'password']
+
+    # Load the args into a dictionary
+    kwargs = dict(zip(ARGS, [a.decode(sys.getfilesystemencoding()) for a in 
args]))
+
+    # Re-set these two because they were coerced to lower case
+    kwargs['mode'] = mode
+    if type_:
+        kwargs['type'] = type_
+
+    try:
+        with closing(DropboxCommand()) as dc:
+            try:
+                dc.set_proxy_settings(**kwargs)
+                console_print(u'set')
+            except DropboxCommand.CommandError, e:
+                console_print(u"Couldn't set proxy: " + str(e))
+            except DropboxCommand.BadConnectionError, e:
+                console_print(u"Dropbox isn't responding!")
+            except DropboxCommand.EOFError:
+                console_print(u"Dropbox daemon stopped.")
+    except DropboxCommand.CouldntConnectError, e:
+        console_print(u"Dropbox isn't running!")
+
+@command
+@requires_dropbox_running
+def throttle(args):
+    u"""set bandwidth limits for Dropbox
+dropbox throttle DOWNLOAD UPLOAD
+
+Set bandwidth limits for file sync.
+
+DOWNLOAD - either "unlimited" or a manual limit in KB/s
+UPLOAD - one of "unlimited", "auto", or a manual limit in KB/s
+"""
+    if len(args) != 2:
+        console_print(throttle.__doc__, linebreak=False)
+        return
+
+    downlimit = args[0].decode(sys.getfilesystemencoding()).lower()
+    uplimit = args[1].decode(sys.getfilesystemencoding()).lower()
+
+    download_limit = None
+    download_mode = None
+    if downlimit == u'unlimited':
+        download_mode = downlimit
+    else:
+        try:
+            download_limit = int(downlimit)
+            download_mode = u'manual'
+        except ValueError:
+            console_print(throttle.__doc__, linebreak=False)
+            return
+
+    upload_limit = None
+    upload_mode = None
+    if uplimit in [u'unlimited', u'auto']:
+        upload_mode = uplimit
+    else:
+        try:
+            upload_limit = int(uplimit)
+            upload_mode = u'manual'
+        except ValueError:
+            console_print(throttle.__doc__, linebreak=False)
+            return
+
+    kwargs = {
+        u'download_mode': download_mode,
+        u'upload_mode': upload_mode,
+    }
+    if download_limit:
+        kwargs[u'download_limit'] = unicode(download_limit)
+    if upload_limit:
+        kwargs[u'upload_limit'] = unicode(upload_limit)
+
+    try:
+        with closing(DropboxCommand()) as dc:
+            try:
+                dc.set_bandwidth_limits(**kwargs)
+                console_print(u'set')
+            except DropboxCommand.CommandError, e:
+                console_print(u"Couldn't set bandwidth limits: " + str(e))
+            except DropboxCommand.BadConnectionError, e:
+                console_print(u"Dropbox isn't responding!")
+            except DropboxCommand.EOFError:
                 console_print(u"Dropbox daemon stopped.")
     except DropboxCommand.CouldntConnectError, e:
         console_print(u"Dropbox isn't running!")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nautilus-dropbox-2.10.0/src/nautilus-dropbox-hooks.c 
new/nautilus-dropbox-2015.10.28/src/nautilus-dropbox-hooks.c
--- old/nautilus-dropbox-2.10.0/src/nautilus-dropbox-hooks.c    2010-04-09 
01:21:32.000000000 +0200
+++ new/nautilus-dropbox-2015.10.28/src/nautilus-dropbox-hooks.c        
2015-10-28 22:45:02.000000000 +0100
@@ -158,7 +158,7 @@
   
   /* set native non-blocking, for connect timeout */
   {
-    unsigned int flags;
+    int flags;
 
     if ((flags = fcntl(hookserv->socket, F_GETFL, 0)) < 0) {
       goto FAIL_CLEANUP;


Reply via email to