Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jan 30, 2013
  1. test get_upstream_commit

  2. test parse_changelog

Commits on Jan 23, 2013
Commits on Jan 17, 2013
  1. fix pep8 issues

  2. fix first run as different from no changes

    If there are no changes, the .spec file should not be updated so as not
    to change the timestamp in the Version field. On the first run however,
    we have to set the Version field to the specific format which
    git_tarballs uses
  3. @vuntz

    Add a version-regexp option to customize how to extract version

    vuntz authored
    We get versions like "2.1.28.gd935757" from OpenStack tarballs, with
    d935757 being a commit id. This has two issues: this means new versions
    can increase or decrease (since there's no guarantee the commit id
    always go up), and we already put the commit id elsewhere in the rpm
    By specifying a custom regexp ('.*-([^-]+)\.g[a-zA-Z0-9]{7}'), we can
    avoid this.
    Note that the default ('.*-([^-]+)') matches the old behavior.
Commits on Jan 2, 2013
  1. remove commented code

Commits on Dec 19, 2012
  1. @vuntz

    Do not use utcnow() if formatting time as %s

    vuntz authored
    %s is already giving time in UTC. If we use utcnow() on top of that,
    then we don't get the real time, but a time with a timezone difference.
  2. @saschpe

    Replace 'with' statement with 'try ... finally' clauses.

    saschpe authored
    We need Python-2.6 compatibility to run on SLE-11-SP2
  3. @saschpe
  4. @saschpe

    Don't quit if there are no new changes.

    saschpe authored
    We still want to generate a proper spec file. This happens when
    migrating to obs-service-git_tarballs.
  5. @saschpe

    Get rid of macro %majorversion.

    saschpe authored
    Instead, we can directly modify the %setup line in the spec file to
    "%setup -q -n $PARENT_FOLDER_IN_TARBALL".
  6. @saschpe

    Make sure get_version_from_tarball really gets the correct version.

    saschpe authored
    Client package tarballs contain multiple '-' characters, we want to
    split from the last one.
Commits on Dec 11, 2012
  1. @saschpe

    Use the same version string in changes file entry that is found in the

    saschpe authored
    spec file.
    Not having "Update to latest git" will also reduce some unease of the
    maintenance folks :-)
  2. @saschpe
  3. @saschpe
Something went wrong with that request. Please try again.