Permalink
Commits on May 23, 2013
  1. - fetch.OscFileGrabber: fix for commit 9ab5a37

    We still have to support older urlgrabber versions where the class
    "URLGrabber" is an old-style class and therefore we cannot use a "super(...)"
    call. This fixes issue #32
    marcus-h committed May 23, 2013
Commits on May 21, 2013
  1. Make completion for osc smart

    that is more commands, more options, and backgrounding the update
    of the project cache.
    
    Signed-off-by: Werner Fink <werner@suse.de>
    bitstreamout committed with marcus-h Apr 23, 2013
Commits on May 17, 2013
Commits on May 14, 2013
  1. fix OscFileGrabber missing 'opts' attribute issue

    given urlgrabber version 3.9.1, MirrorGroup trys to access
    grabber.opts, but the derived grabber OscFileGrabber hasn't
    this attribute
    
    Signed-off-by: Gui Chen <gui.chen@intel.com>
    Gui Chen committed with adrianschroeter May 2, 2013
Commits on May 10, 2013
Commits on May 7, 2013
  1. Fix typo in help

    nijel committed May 7, 2013
Commits on May 6, 2013
Commits on May 2, 2013
  1. - do_submitrequest: --diff is not supported in a project working copy

    This (partly) fixes issue #29.
    marcus-h committed May 2, 2013
  2. - fix print syntax

    adrianschroeter committed May 2, 2013
  3. - fix spelling typo

    adrianschroeter committed May 2, 2013
Commits on Apr 30, 2013
  1. - pass a str to exec() instead of an open file object

    An open file object isn't supported anymore by python3.
    This fixes issue #26.
    marcus-h committed Apr 30, 2013
Commits on Apr 26, 2013
  1. - Serviceinfo.execute: always cleanup (remove) tmpdir

    This fixes issue #24.
    marcus-h committed Apr 26, 2013
Commits on Apr 22, 2013
  1. - build: fixed typo (patch by darix)

    typo was introduced in commit d3648be
    marcus-h committed Apr 22, 2013
  2. - fetch: check if errno == 14 before accessing the URLGrabError's cod…

    …e attribute
    
    Unfortunately the class URLGrabError does not define constants for the
    different error codes therefore we have to hardcode the errno (alternatively
    we can define them in our fetch module).
    marcus-h committed Apr 22, 2013
  3. - util.ar: do not import StringIO from the cStringIO module

    The class ArFile inherits from StringIO but StringIO from cStringIO
    is just a function (this got broken by commit 87d354e).
    marcus-h committed Apr 22, 2013
Commits on Apr 18, 2013
  1. - use a buffer instead of a memoryview if python version < 2.7

    (forgot to remove this code in commit 034d2e4)
    marcus-h committed Apr 18, 2013
  2. - http_request: do not use a memoryview for python27

    python27's mmap does not behave like a bytearray therefore we
    cannot directly pass it to the memoryview.
    marcus-h committed Apr 18, 2013
Commits on Apr 16, 2013
  1. python3 compatibility: fix osc-wrapper

    the sys reload trick does not work in python 3 and it is not needed, so
    let's remove that
    mvyskocil committed with adrianschroeter Apr 12, 2013
  2. python3 compatibility: make all unit test pass

    There are many places can't be covered by 2to3, especially the
    str/unicode -> str/bytes change done in python3. This is a big patch
    incorporating all changes made in order to make python3 suite.py run
    without any single failure.
    
    It
    
     * adapt the introspect_handler_3 for case there are no __defaults__
     * adds the ET_ENCODING variable for ET.fromstring ("unicode" in py3,
      "utf-8" in py2)
     * (re)adds various builtins to both python versions
        - memoryview to python 2.6
        - bytes compatible with py3 to 2.6 and 2.7
    
    and it changes few parts of tests/common.py in order to be compatible
    with python3
    
     * new urlcompare method compares all components or url + parsed query
       string in a dictionary, so the ordering, neither quoting does not matter
     * bytes builtin has been added to 2.x and used in assertEqualMultiline
    mvyskocil committed with adrianschroeter Apr 10, 2013
  3. python3 compatibility: urllib

    fixes all renames in urllib, urllib2, urlparse modules in python3
    mvyskocil committed with adrianschroeter Apr 9, 2013
  4. python3 compatibility: unicode

    reintroduce unicode function - despite the fact I am pretty sure the
    usage is plain wrong, because code says - return a unicode string from
    utf-8 encoded one, which is probably not what was intended. I bet
    something like encode the input as utf-8 was wanted.
    mvyskocil committed with adrianschroeter Apr 9, 2013