Accepting request 185667 from home:aspiers:branches:openSUSE:Tools

- Bump version to 0.3.0 and include git timestamp / SHA1 in version.
- Update to latest git (9de0986):
  + add git submodule update test
  + extract submodule_path() method
  + allow git commands to run from cwd
  + rename opts to args
  + annotate cwd
  + ensure all scm invocations succeed when expected
  + record revisions per repository path
  + allow creation of git submodules
  + Fixtures.create_commits(): add repository path parameter
  + GitFixtures.create_repo(): add repository path parameter
  + fix hg tests when run in timezone east of UTC
  + add hint about running tests quicker
  + don't hardcode revision in helper method
  + quoting tweak
  + make test output more consistent
  + get line spacing right
  + Travis: also test with Python 2.6
  + tweak debugging for mv invocations
  + a bit more info on the test suite
  + leave temporary files behind on failure, for debugging
  + add some docstrings to a few of the more complex tests
  + make switching to a given git revision more robust
  + try to make test output a little easier to understand
  + improve README.md
  + switch README to markdown and add Travis build status icon
  + replace XML entities with dollar-curlies
  + Properly encode XML reserved entities (&,<,>)
  + add better revision description/documentation for git
  + We are still not allowed to have dashes inside version. Fix for mercurial.
  + allow-different-naming-schemes-for-resulting-tar-files
  + Fix breakage when LANG is not English (issue #8)
  + Make test.py executable
  + README: add information about the test suite
  + Don't rely on git error codes for "git describe", catch all
  + Better error handling for @PARENT_TAG@ expansion
  + the correct tag is 'param', 'parameter' won't work
  + Tell Travis where to find the tests
  + Cleanup testing tmp_dir afterwards
  + Add description for @PARENT_TAG@
  + Ignore .coverage
  + Move tests into sub-directory
  + Last change for some bonus points
  + Naa, typo
  + Update package database before installing dependencies
  + Add initial Travis-CI configuration
  + Add .gitignore file
  + Add test for @PARENT_TAG@

OBS-URL: https://build.opensuse.org/request/show/185667
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=61
This commit is contained in:
Tomáš Chvátal 2013-08-07 08:07:13 +00:00 committed by Git OBS Bridge
parent 30038b6818
commit 6fea8eb8cc
5 changed files with 60 additions and 7 deletions

View File

@ -4,7 +4,7 @@
<param name="scm">git</param>
<param name="exclude">.git</param>
<param name="version">git-master</param>
<param name="versionformat">0.2.3</param>
<param name="versionformat">0.3.0.%ct.%h</param>
<param name="revision">master</param>
</service>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3e33f497f525b6b4287075323de9cf726b034c0608ff89c634d006df7ef42ac9
size 14594

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e4852d89ea944b9a76ada6947a047b2634d3a875620e7a408ef5e3da8a27872f
size 18477

View File

@ -1,3 +1,56 @@
-------------------------------------------------------------------
Fri Aug 2 16:54:18 BST 2013 - aspiers@suse.com
- Bump version to 0.3.0 and include git timestamp / SHA1 in version.
- Update to latest git (9de0986):
+ add git submodule update test
+ extract submodule_path() method
+ allow git commands to run from cwd
+ rename opts to args
+ annotate cwd
+ ensure all scm invocations succeed when expected
+ record revisions per repository path
+ allow creation of git submodules
+ Fixtures.create_commits(): add repository path parameter
+ GitFixtures.create_repo(): add repository path parameter
+ fix hg tests when run in timezone east of UTC
+ add hint about running tests quicker
+ don't hardcode revision in helper method
+ quoting tweak
+ make test output more consistent
+ get line spacing right
+ Travis: also test with Python 2.6
+ tweak debugging for mv invocations
+ a bit more info on the test suite
+ leave temporary files behind on failure, for debugging
+ add some docstrings to a few of the more complex tests
+ make switching to a given git revision more robust
+ try to make test output a little easier to understand
+ improve README.md
+ switch README to markdown and add Travis build status icon
+ replace XML entities with dollar-curlies
+ Properly encode XML reserved entities (&,<,>)
+ add better revision description/documentation for git
+ We are still not allowed to have dashes inside version. Fix for mercurial.
+ allow-different-naming-schemes-for-resulting-tar-files
+ Fix breakage when LANG is not English (issue #8)
+ Make test.py executable
+ README: add information about the test suite
+ Don't rely on git error codes for "git describe", catch all
+ Better error handling for @PARENT_TAG@ expansion
+ the correct tag is 'param', 'parameter' won't work
+ Tell Travis where to find the tests
+ Cleanup testing tmp_dir afterwards
+ Add description for @PARENT_TAG@
+ Ignore .coverage
+ Move tests into sub-directory
+ Last change for some bonus points
+ Naa, typo
+ Update package database before installing dependencies
+ Add initial Travis-CI configuration
+ Add .gitignore file
+ Add test for @PARENT_TAG@
-------------------------------------------------------------------
Tue Dec 4 09:29:48 UTC 2012 - saschpe@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package obs-service-tar_scm
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,7 +19,7 @@
%define service tar_scm
Name: obs-service-%{service}
Version: 0.2.3
Version: 0.3.0.1375457512.9de0986
Release: 0
Summary: An OBS source service: checkout or update a tar ball from svn/git/hg
License: GPL-2.0+
@ -59,7 +59,7 @@ install -m 0644 tar_scm.rc %{buildroot}%{_sysconfdir}/obs/services/%{service}
%if 0%{?suse_version} >= 1220
%check
: Running the test suite. Please be patient - this takes a few minutes ...
python test.py
python tests/test.py
%endif
%files