commit obs-service-tar_scm for openSUSE:Factory

2020-07-26 Thread root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2020-07-26 16:17:19

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new.3592 (New)


Package is "obs-service-tar_scm"

Sun Jul 26 16:17:19 2020 rev:61 rq:822116 version:0.10.16.1595245235.15a0df2

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2020-06-08 23:43:33.953278197 +0200
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new.3592/obs-service-tar_scm.changes
2020-07-26 16:18:25.428756653 +0200
@@ -1,0 +2,7 @@
+Mon Jul 20 12:05:22 UTC 2020 - fschrei...@suse.com
+
+- Update to version 0.10.16.1595245235.15a0df2:
+  * Build with python 3 for Debian and Ubuntu
+  * [doc] added allowed urls in documentation of tar_scm.service
+
+---

Old:

  obs-service-tar_scm-0.10.16.1590752286.5c27247.tar.gz

New:

  obs-service-tar_scm-0.10.16.1595245235.15a0df2.tar.gz



Other differences:
--
++ obs-service-tar_scm.spec ++
--- /var/tmp/diff_new_pack.OsPQlE/_old  2020-07-26 16:18:26.824757958 +0200
+++ /var/tmp/diff_new_pack.OsPQlE/_new  2020-07-26 16:18:26.828757962 +0200
@@ -111,8 +111,8 @@
 
 %define pkg_name obs-service-tar_scm
 Name:   %{pkg_name}%{nsuffix}
-%define version_unconverted 0.10.16.1590752286.5c27247
-Version:0.10.16.1590752286.5c27247
+%define version_unconverted 0.10.16.1595245235.15a0df2
+Version:0.10.16.1595245235.15a0df2
 Release:0
 Summary:An OBS source service: create tar ball from svn/git/hg
 License:GPL-2.0-or-later
@@ -131,6 +131,7 @@
 BuildRequires:  %{use_python}-keyrings.alt
 BuildRequires:  %{use_python}-mock
 BuildRequires:  %{use_python}-six
+BuildRequires:  %{use_python}-unittest2
 BuildRequires:  bzr
 BuildRequires:  git-core
 BuildRequires:  mercurial

++ PKGBUILD ++
--- /var/tmp/diff_new_pack.OsPQlE/_old  2020-07-26 16:18:26.864757996 +0200
+++ /var/tmp/diff_new_pack.OsPQlE/_new  2020-07-26 16:18:26.864757996 +0200
@@ -1,5 +1,5 @@
 pkgname=obs-service-tar_scm
-pkgver=0.10.16.1590752286.5c27247
+pkgver=0.10.16.1595245235.15a0df2
 pkgrel=0
 pkgdesc="Source Service for the OpenSUSE Build Service (OBS)"
 arch=('any')

++ _servicedata ++
--- /var/tmp/diff_new_pack.OsPQlE/_old  2020-07-26 16:18:26.900758029 +0200
+++ /var/tmp/diff_new_pack.OsPQlE/_new  2020-07-26 16:18:26.900758029 +0200
@@ -7,4 +7,4 @@
   9e8b88b088778c44db56781e6a908a0e82e27cf2
 
 git://github.com/openSUSE/obs-service-tar_scm.git
-  5c2724775d16e61177625a7c0d4a28d9e1c95070
\ No newline at end of file
+  15a0df276c186a9cd77447414f4d9a19f0078e9a
\ No newline at end of file

++ debian.dsc ++
--- /var/tmp/diff_new_pack.OsPQlE/_old  2020-07-26 16:18:26.920758048 +0200
+++ /var/tmp/diff_new_pack.OsPQlE/_new  2020-07-26 16:18:26.920758048 +0200
@@ -1,17 +1,17 @@
 Format: 1.0
 Source: obs-service-tar-scm
-Version: 0.10.16.1590752286.5c27247
+Version: 0.10.16.1595245235.15a0df2
 Provides: obs-service-obs_scm, obs-service-tar
 Binary: obs-service-tar_scm
 Maintainer: Adrian Schroeter 
 Architecture: all
 Standards-Version: 3.7.2
-Build-Depends: debhelper (>= 8.0.0), python (>= 2.6), python-argparse | python 
(>= 2.7), python-dateutil
+Build-Depends: debhelper (>= 8.0.0), python3, python-argparse, 
python3-dateutil, dh-python
 
 Package: obs-service-tar-scm
 Architecture: all
 Provides: obs-service-obs-scm, obs-service-tar
-Depends: ${misc:Depends}, ${python:Depends}, bzr, git, subversion, cpio, 
python-dateutil, python-yaml
+Depends: ${misc:Depends}, ${python3:Depends}, bzr, git, subversion, cpio, 
python3-dateutil, python3-yaml
 Recommends: mercurial
 Description: An OBS source service: fetches SCM tarballs
  This is a source service for openSUSE Build Service.

++ obs-service-tar_scm-0.10.16.1590752286.5c27247.tar.gz -> 
obs-service-tar_scm-0.10.16.1595245235.15a0df2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/obs-service-tar_scm-0.10.16.1590752286.5c27247/debian/control 
new/obs-service-tar_scm-0.10.16.1595245235.15a0df2/debian/control
--- old/obs-service-tar_scm-0.10.16.1590752286.5c27247/debian/control   
2020-05-29 13:38:06.0 +0200
+++ new/obs-service-tar_scm-0.10.16.1595245235.15a0df2/debian/control   
2020-07-20 13:40:35.0 +0200
@@ -2,7 +2,7 @@
 Section: devel
 Priority: extra
 Maintainer: Daniel Gollub 
-Build-Depends: debhelper (>= 7.0.0), python (>= 2.6), python-argparse | python 
(>= 2.7), python-dateutil
+Build-Depends: debhelper (>= 7.0.0), python3, python3-d

commit obs-service-tar_scm for openSUSE:Factory

2020-06-08 Thread root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2020-06-08 23:43:31

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new.3606 (New)


Package is "obs-service-tar_scm"

Mon Jun  8 23:43:31 2020 rev:60 rq:811252 version:0.10.16.1590752286.5c27247

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2020-05-09 19:52:18.796832586 +0200
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new.3606/obs-service-tar_scm.changes
2020-06-08 23:43:33.953278197 +0200
@@ -1,0 +2,12 @@
+Wed Jun  3 12:38:35 UTC 2020 - pgaj...@suse.com
+
+- remove unused unittest2 dependency
+
+---
+Fri May 29 11:41:50 UTC 2020 - fschrei...@suse.com
+
+- Update to version 0.10.16.1590752286.5c27247:
+  * [dist] fix for gbp/fedora (python*-base)
+  * fix situation when revision has been modified in _service
+
+---

Old:

  obs-service-tar_scm-0.10.15.1588842879.5c43eef.tar.gz

New:

  obs-service-tar_scm-0.10.16.1590752286.5c27247.tar.gz



Other differences:
--
++ obs-service-tar_scm.spec ++
--- /var/tmp/diff_new_pack.C6fvOw/_old  2020-06-08 23:43:34.549280035 +0200
+++ /var/tmp/diff_new_pack.C6fvOw/_new  2020-06-08 23:43:34.553280047 +0200
@@ -16,6 +16,12 @@
 #
 
 
+%if 0%{?fedora}
+%define _pkg_base %nil
+%else
+%define _pkg_base -base
+%endif
+
 %define flavor @BUILD_FLAVOR@%nil
 %if "%{flavor}" == ""
 %define nsuffix %nil
@@ -105,8 +111,8 @@
 
 %define pkg_name obs-service-tar_scm
 Name:   %{pkg_name}%{nsuffix}
-%define version_unconverted 0.10.15.1588842879.5c43eef
-Version:0.10.15.1588842879.5c43eef
+%define version_unconverted 0.10.16.1590752286.5c27247
+Version:0.10.16.1590752286.5c27247
 Release:0
 Summary:An OBS source service: create tar ball from svn/git/hg
 License:GPL-2.0-or-later
@@ -125,7 +131,6 @@
 BuildRequires:  %{use_python}-keyrings.alt
 BuildRequires:  %{use_python}-mock
 BuildRequires:  %{use_python}-six
-BuildRequires:  %{use_python}-unittest2
 BuildRequires:  bzr
 BuildRequires:  git-core
 BuildRequires:  mercurial
@@ -142,7 +147,7 @@
 BuildRequires:  %{use_python}-lxml
 
 %if %{with python3}
-BuildRequires:  %{use_python}-base
+BuildRequires:  %{use_python}%{_pkg_base}
 # Fix missing Requires in python3-pbr in Leap42.3
 BuildRequires:  %{use_python}-setuptools
 %else
@@ -227,7 +232,9 @@
 Group:  Development/Tools/Building
 Requires:   git-buildpackage >= 0.6.0
 Requires:   obs-service-obs_scm-common = %version-%release
+%if 0%{?enable_gbp}
 Provides:   obs-service-tar_scm:/usr/lib/obs/service/obs_gbp.service
+%endif
 
 %description -n obs-service-gbp
 Debian git-buildpackage workflow support: uses gbp to create Debian
@@ -241,7 +248,7 @@
 
 %install
 %if %{without obs_scm_testsuite}
-make install DESTDIR="%{buildroot}" PREFIX="%{_prefix}" 
SYSCFG="%{_sysconfdir}" PYTHON="%{_bindir}/%{use_python}"
+make install DESTDIR="%{buildroot}" PREFIX="%{_prefix}" 
SYSCFG="%{_sysconfdir}" PYTHON="%{_bindir}/%{use_python}" 
WITH_GBP="%{enable_gbp}"
 
 %else
 # moved conditional to the top as it helps to have it all in one place and 
only rely on the bcond_with here.
@@ -266,7 +273,8 @@
 %dir %{_sysconfdir}/obs
 %dir %{_sysconfdir}/obs/services
 %verify (not user group) %dir %{_sysconfdir}/obs/services/tar_scm.d
-%config(noreplace) %{_sysconfdir}/obs/services/*
+%config(noreplace) %{_sysconfdir}/obs/services/
+%ghost %dir %{_sysconfdir}/obs/services/tar_scm.d/python_keyring
 
 %files -n obs-service-tar
 %defattr(-,root,root)

++ PKGBUILD ++
--- /var/tmp/diff_new_pack.C6fvOw/_old  2020-06-08 23:43:34.581280134 +0200
+++ /var/tmp/diff_new_pack.C6fvOw/_new  2020-06-08 23:43:34.581280134 +0200
@@ -1,5 +1,5 @@
 pkgname=obs-service-tar_scm
-pkgver=0.10.15.1588842879.5c43eef
+pkgver=0.10.16.1590752286.5c27247
 pkgrel=0
 pkgdesc="Source Service for the OpenSUSE Build Service (OBS)"
 arch=('any')

++ _servicedata ++
--- /var/tmp/diff_new_pack.C6fvOw/_old  2020-06-08 23:43:34.621280257 +0200
+++ /var/tmp/diff_new_pack.C6fvOw/_new  2020-06-08 23:43:34.621280257 +0200
@@ -7,4 +7,4 @@
   9e8b88b088778c44db56781e6a908a0e82e27cf2
 
 git://github.com/openSUSE/obs-service-tar_scm.git
-  3fd7b0fa6bec9adb01500a59cc5424d34cb1b005
\ No newline at end of file
+  5c2724775d16e61177625a7c0d4a28d9e1c95070
\ No newline at end of file

++ debian.dsc ++
--- /var/tmp/diff_new_pack.C6fvOw/_old  2020-06-08 23:43:34.637280307 +0200
+++ /var/tmp/diff_new_pack.

commit obs-service-tar_scm for openSUSE:Factory

2020-05-09 Thread root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2020-05-09 19:52:11

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new.2738 (New)


Package is "obs-service-tar_scm"

Sat May  9 19:52:11 2020 rev:59 rq:801101 version:0.10.15.1588842879.5c43eef

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2020-03-25 23:41:29.607958217 +0100
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new.2738/obs-service-tar_scm.changes
2020-05-09 19:52:18.796832586 +0200
@@ -1,0 +2,16 @@
+Thu May 07 09:33:04 UTC 2020 - fschrei...@suse.com
+
+- Update to version 0.10.15.1588842879.5c43eef:
+  * dist: Convert to multibuild; run test suite in a separate flavor
+
+---
+Wed Apr 29 13:48:30 UTC 2020 - fschrei...@suse.com
+
+- Update to version 0.10.15.1588146746.5cfeeb8:
+  * fix #boo 1168573 (obsservicerun,obsrun) not exists in client side 
installation
+  * Update debian/changelog for latest version
+  * Helpers: when a command fail, print the command itself too with its output
+  * git: add support for @PARENT_TAG@ in revision
+  * Fix build on non-openSUSE distro
+
+---

Old:

  obs-service-tar_scm-0.10.14.1584463383.06b0455.tar.gz

New:

  _multibuild
  obs-service-tar_scm-0.10.15.1588842879.5c43eef.tar.gz



Other differences:
--
++ obs-service-tar_scm.spec ++
--- /var/tmp/diff_new_pack.mfwnT9/_old  2020-05-09 19:52:19.832834810 +0200
+++ /var/tmp/diff_new_pack.mfwnT9/_new  2020-05-09 19:52:19.832834810 +0200
@@ -16,12 +16,24 @@
 #
 
 
-%if 0%{?suse_version} && 0%{?suse_version} >= 1220
+%define flavor @BUILD_FLAVOR@%nil
+%if "%{flavor}" == ""
+%define nsuffix %nil
+%else
+%define nsuffix -test
+%endif
+
+%if 0%{?suse_version} && 0%{?suse_version} >= 1220 && "%{flavor}" == "test"
 %bcond_without obs_scm_testsuite
 %else
 %bcond_withobs_scm_testsuite
 %endif
 
+# special guard for flavor test, yet --without test being specified
+%if "%{flavor}" == "test" && %{without obs_scm_testsuite}
+ExclusiveArch:  skip-build
+%endif
+
 %if 0%{?suse_version} >= 1315 || 0%{?fedora_version} >= 29
 %bcond_without python3
 %else
@@ -84,20 +96,23 @@
 Recommends: mercurial   \
 Recommends: subversion  \
 Recommends: obs-service-download_files  \
+Recommends: %{use_python}-keyring   \
+Recommends: %{use_python}-keyrings.alt  \
 %endif  \
 %{nil}
 
  END OF MACROS AND FUN ###
 
-Name:   obs-service-tar_scm
-%define version_unconverted 0.10.14.1584463383.06b0455
-Version:0.10.14.1584463383.06b0455
+%define pkg_name obs-service-tar_scm
+Name:   %{pkg_name}%{nsuffix}
+%define version_unconverted 0.10.15.1588842879.5c43eef
+Version:0.10.15.1588842879.5c43eef
 Release:0
 Summary:An OBS source service: create tar ball from svn/git/hg
 License:GPL-2.0-or-later
 Group:  Development/Tools/Building
 URL:https://github.com/openSUSE/obs-service-tar_scm
-Source: %{name}-%{version}.tar.gz
+Source: %{pkg_name}-%{version}.tar.gz
 
 # Fix build on Ubuntu by disabling mercurial tests, not applied in rpm
 # based distributions
@@ -105,6 +120,9 @@
 
 %if %{with obs_scm_testsuite}
 BuildRequires:  %{locale_package}
+BuildRequires:  %{pkg_name} = %{version}
+BuildRequires:  %{use_python}-keyring
+BuildRequires:  %{use_python}-keyrings.alt
 BuildRequires:  %{use_python}-mock
 BuildRequires:  %{use_python}-six
 BuildRequires:  %{use_python}-unittest2
@@ -124,7 +142,7 @@
 BuildRequires:  %{use_python}-lxml
 
 %if %{with python3}
-BuildRequires:  %{use_python}
+BuildRequires:  %{use_python}-base
 # Fix missing Requires in python3-pbr in Leap42.3
 BuildRequires:  %{use_python}-setuptools
 %else
@@ -222,9 +240,10 @@
 %build
 
 %install
+%if %{without obs_scm_testsuite}
 make install DESTDIR="%{buildroot}" PREFIX="%{_prefix}" 
SYSCFG="%{_sysconfdir}" PYTHON="%{_bindir}/%{use_python}"
 
-%if %{with obs_scm_testsuite}
+%else
 # moved conditional to the top as it helps to have it all in one place and 
only rely on the bcond_with here.
 %check
 # No need to run PEP8 tests here; that would require a potentially
@@ -233,6 +252,7 @@
 make %{use_test}
 %endif
 
+%if %{without obs_scm_testsuite}
 %files
 %defattr(-,root,root)
 %{_prefix}/lib/obs/service/tar_scm.service
@@ -245,

commit obs-service-tar_scm for openSUSE:Factory

2020-03-25 Thread root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2020-03-25 23:41:28

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new.3160 (New)


Package is "obs-service-tar_scm"

Wed Mar 25 23:41:28 2020 rev:58 rq:786001 version:0.10.14.1584463383.06b0455

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2020-02-03 11:11:08.309778827 +0100
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new.3160/obs-service-tar_scm.changes
2020-03-25 23:41:29.607958217 +0100
@@ -1,0 +2,37 @@
+Tue Mar 17 16:44:31 UTC 2020 - fschrei...@suse.com
+
+- Update to version 0.10.14.1584435160.d912143:
+  * [dist] don't install gbp files by default
+  * [dist] remove python-keyring* from dependcies
+  * [dist] make gbp switchable in spec file
+
+---
+Tue Mar 10 15:22:18 UTC 2020 - fschrei...@suse.com
+
+- Update to version 0.10.14.1583853599.ccbb399:
+  * support server side credentials for SCM repos
+
+---
+Fri Feb 28 14:50:17 UTC 2020 - adr...@suse.de
+
+- Update to version 0.10.12.1582901608.a1c02c1:
+  * simplify osc git update case a lot
+  * fixing revision usage on a commit hash
+
+---
+Wed Feb 26 09:45:28 UTC 2020 - fschrei...@suse.com
+
+- Update to version 0.10.12.1582709176.d82a692:
+  * fix lost commits on local run
+  * fix breakage when working on a specific tag/commit
+  * git-lfs should not be mandatory as tar_scm will never use it
+  * Allow use of git-lfs only when running obs_scm
+  * Document _none_ special version in .service
+  * Version cleanup: don't strip hyphen when building Debian packages
+  * Add new archive option for Debian: git-buildpackage
+  * call git stash with LANG=C
+  * improved comment for method get_changesrevision
+  * Add debian package dep to git-lfs
+  * Implement git LFS blobs retrieval
+
+---

Old:

  obs-service-tar_scm-0.10.11.1579870213.888e79c.tar.gz

New:

  obs-service-tar_scm-0.10.14.1584463383.06b0455.tar.gz



Other differences:
--
++ obs-service-tar_scm.spec ++
--- /var/tmp/diff_new_pack.QItJGu/_old  2020-03-25 23:41:31.395958802 +0100
+++ /var/tmp/diff_new_pack.QItJGu/_new  2020-03-25 23:41:31.431958814 +0100
@@ -90,8 +90,8 @@
  END OF MACROS AND FUN ###
 
 Name:   obs-service-tar_scm
-%define version_unconverted 0.10.11.1579870213.888e79c
-Version:0.10.11.1579870213.888e79c
+%define version_unconverted 0.10.14.1584463383.06b0455
+Version:0.10.14.1584463383.06b0455
 Release:0
 Summary:An OBS source service: create tar ball from svn/git/hg
 License:GPL-2.0-or-later
@@ -203,6 +203,18 @@
 Experimental snapcraft support: This parses snapcraft.yaml files for SCM
 resources and packages them.
 
+%if 0%{?enable_gbp}
+%package -n obs-service-gbp
+Summary:Creates Debian source artefacts from a Git repository
+Group:  Development/Tools/Building
+Requires:   git-buildpackage >= 0.6.0
+Requires:   obs-service-obs_scm-common = %version-%release
+Provides:   obs-service-tar_scm:/usr/lib/obs/service/obs_gbp.service
+
+%description -n obs-service-gbp
+Debian git-buildpackage workflow support: uses gbp to create Debian
+source artefacts (.dsc, .origin.tar.gz and .debian.tar.gz if non-native).
+%endif
 
 %prep
 %setup -q -n obs-service-tar_scm-%version
@@ -233,6 +245,7 @@
 %{_prefix}/lib/obs/service/tar_scm
 %dir %{_sysconfdir}/obs
 %dir %{_sysconfdir}/obs/services
+%attr(-,obsservicerun,obsrun) %dir %{_sysconfdir}/obs/services/tar_scm.d
 %config(noreplace) %{_sysconfdir}/obs/services/*
 
 %files -n obs-service-tar
@@ -253,4 +266,10 @@
 %defattr(-,root,root)
 %{_prefix}/lib/obs/service/snapcraft*
 
+%if 0%{?enable_gbp}
+%files -n obs-service-gbp
+%defattr(-,root,root)
+%{_prefix}/lib/obs/service/obs_gbp*
+%endif
+
 %changelog

++ PKGBUILD ++
--- /var/tmp/diff_new_pack.QItJGu/_old  2020-03-25 23:41:31.847958949 +0100
+++ /var/tmp/diff_new_pack.QItJGu/_new  2020-03-25 23:41:31.863958955 +0100
@@ -1,5 +1,5 @@
 pkgname=obs-service-tar_scm
-pkgver=0.10.11.1579870213.888e79c
+pkgver=0.10.14.1584463383.06b0455
 pkgrel=0
 pkgdesc="Source Service for the OpenSUSE Build Service (OBS)"
 arch=('any')

++ _servicedata ++
--- /var/tmp/diff_new_pack.QItJGu/_old  2020-03-25 23:41:32.103959033 +0100
+++ /var/tmp/diff_new_pack.QItJGu/_new  2020-03-25 23:41:32.119959039 +0100
@@ -1,8 +1,10 @@
 

commit obs-service-tar_scm for openSUSE:Factory

2020-02-03 Thread root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2020-02-03 11:10:54

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new.26092 (New)


Package is "obs-service-tar_scm"

Mon Feb  3 11:10:54 2020 rev:57 rq:769085 version:0.10.11.1579870213.888e79c

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2019-10-22 15:43:40.621595771 +0200
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new.26092/obs-service-tar_scm.changes
   2020-02-03 11:11:08.309778827 +0100
@@ -1,0 +2,15 @@
+Fri Jan 24 15:46:08 UTC 2020 - fschrei...@suse.com
+
+- Update to version 0.10.11.1579870213.888e79c:
+  * Add testcase for appimage with empty build section
+  * Handle missing build entry in appimage.yml
+  * Fix --mirror argument position for git clone
+  * Re-enable compatibility with Python 2.6
+  * fix decoding for locale -a containg non-ASCII
+  * update_cache in git now does merge
+  * prefer local branch over remote
+  * added UnicodeDecodeError to exeption list in archive.py
+  * fetch rev explicitly if using CACHEDIRECTORY and rev could not be found
+  * tar_scm.service.in: Add example to match-tag.
+
+---

Old:

  obs-service-tar_scm-0.10.10.1566390389.9f923f8.tar.gz

New:

  obs-service-tar_scm-0.10.11.1579870213.888e79c.tar.gz



Other differences:
--
++ obs-service-tar_scm.spec ++
--- /var/tmp/diff_new_pack.prj9YJ/_old  2020-02-03 11:11:10.041779702 +0100
+++ /var/tmp/diff_new_pack.prj9YJ/_new  2020-02-03 11:11:10.045779704 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package obs-service-tar_scm
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -22,7 +22,7 @@
 %bcond_withobs_scm_testsuite
 %endif
 
-%if 0%{?suse_version} >= 1315 || 0%{?fedora_version} >= 29 || 
0%{?rhel_version} >= 800 || 0%{?centos_version} >= 800 || 0%{?rhel} >= 8
+%if 0%{?suse_version} >= 1315 || 0%{?fedora_version} >= 29
 %bcond_without python3
 %else
 %bcond_withpython3
@@ -53,14 +53,14 @@
 %endif
 %endif
 
-%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version} || 
0%{?scientificlinux_version} || 0%{?rhel}
-%if 0%{?fedora_version} >= 29 || 0%{?rhel_version} >= 800 || 
0%{?centos_version} >= 800 || 0%{?rhel} >= 8
+%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version} || 
0%{?scientificlinux_version}
+%if 0%{?fedora_version} >= 29 || 0%{?rhel_version} >= 800 || 
0%{?centos_version} >= 800
 %define pyyaml_package %{use_python}-PyYAML
 %else
 %define pyyaml_package PyYAML
 %endif
 
-%if 0%{?fedora_version} >= 24 || 0%{?rhel_version} >= 800 || 
0%{?centos_version} >= 800 || 0%{?rhel} >= 8
+%if 0%{?fedora_version} >= 24 || 0%{?rhel_version} >= 800 || 
0%{?centos_version} >= 800
 %define locale_package glibc-langpack-en
 %else
 %define locale_package glibc-common
@@ -90,13 +90,13 @@
  END OF MACROS AND FUN ###
 
 Name:   obs-service-tar_scm
-%define version_unconverted 0.10.10.1566390389.9f923f8
-Version:0.10.10.1566390389.9f923f8
+%define version_unconverted 0.10.11.1579870213.888e79c
+Version:0.10.11.1579870213.888e79c
 Release:0
 Summary:An OBS source service: create tar ball from svn/git/hg
 License:GPL-2.0-or-later
 Group:  Development/Tools/Building
-Url:https://github.com/openSUSE/obs-service-tar_scm
+URL:https://github.com/openSUSE/obs-service-tar_scm
 Source: %{name}-%{version}.tar.gz
 
 # Fix build on Ubuntu by disabling mercurial tests, not applied in rpm

++ PKGBUILD ++
--- /var/tmp/diff_new_pack.prj9YJ/_old  2020-02-03 11:11:10.069779717 +0100
+++ /var/tmp/diff_new_pack.prj9YJ/_new  2020-02-03 11:11:10.069779717 +0100
@@ -1,5 +1,5 @@
 pkgname=obs-service-tar_scm
-pkgver=0.10.10.1566390389.9f923f8
+pkgver=0.10.11.1579870213.888e79c
 pkgrel=0
 pkgdesc="Source Service for the OpenSUSE Build Service (OBS)"
 arch=('any')

++ _servicedata ++
--- /var/tmp/diff_new_pack.prj9YJ/_old  2020-02-03 11:11:10.097779730 +0100
+++ /var/tmp/diff_new_pack.prj9YJ/_new  2020-02-03 11:11:10.097779730 +0100
@@ -5,4 +5,4 @@
 git://github.com/M0ses/obs-service-tar_scm.git
   b742dfc0e12755cf306a95439494b5bdde7c0c61
 git://github.com/openSUSE/obs-service-tar_scm.git
-  9f923f8a0442e1a140c059807b4afebb8b6988d2
\ No newline at end of file
+  888

commit obs-service-tar_scm for openSUSE:Factory

2019-10-22 Thread root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2019-10-22 15:43:37

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new.2352 (New)


Package is "obs-service-tar_scm"

Tue Oct 22 15:43:37 2019 rev:56 rq:741502 version:0.10.10.1566390389.9f923f8

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2019-09-02 13:22:20.021346492 +0200
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new.2352/obs-service-tar_scm.changes
2019-10-22 15:43:40.621595771 +0200
@@ -1,0 +2,5 @@
+Tue Oct  1 10:12:16 UTC 2019 - Julio González Gil 
+
+- Fix building and installation for CentOS8, RHEL8 and RES8
+
+---



Other differences:
--
++ obs-service-tar_scm.spec ++
--- /var/tmp/diff_new_pack.Iwzg8D/_old  2019-10-22 15:43:41.837597157 +0200
+++ /var/tmp/diff_new_pack.Iwzg8D/_new  2019-10-22 15:43:41.837597157 +0200
@@ -22,7 +22,7 @@
 %bcond_withobs_scm_testsuite
 %endif
 
-%if 0%{?suse_version} >= 1315 || 0%{?fedora_version} >= 29
+%if 0%{?suse_version} >= 1315 || 0%{?fedora_version} >= 29 || 
0%{?rhel_version} >= 800 || 0%{?centos_version} >= 800 || 0%{?rhel} >= 8
 %bcond_without python3
 %else
 %bcond_withpython3
@@ -53,14 +53,14 @@
 %endif
 %endif
 
-%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version} || 
0%{?scientificlinux_version}
-%if 0%{?fedora_version} >= 29 || 0%{?rhel_version} >= 800 || 
0%{?centos_version} >= 800
+%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version} || 
0%{?scientificlinux_version} || 0%{?rhel}
+%if 0%{?fedora_version} >= 29 || 0%{?rhel_version} >= 800 || 
0%{?centos_version} >= 800 || 0%{?rhel} >= 8
 %define pyyaml_package %{use_python}-PyYAML
 %else
 %define pyyaml_package PyYAML
 %endif
 
-%if 0%{?fedora_version} >= 24 || 0%{?rhel_version} >= 800 || 
0%{?centos_version} >= 800
+%if 0%{?fedora_version} >= 24 || 0%{?rhel_version} >= 800 || 
0%{?centos_version} >= 800 || 0%{?rhel} >= 8
 %define locale_package glibc-langpack-en
 %else
 %define locale_package glibc-common




commit obs-service-tar_scm for openSUSE:Factory

2019-09-02 Thread root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2019-09-02 13:22:15

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new.7948 (New)


Package is "obs-service-tar_scm"

Mon Sep  2 13:22:15 2019 rev:55 rq:727035 version:0.10.10.1566390389.9f923f8

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2019-06-26 16:01:01.675380453 +0200
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new.7948/obs-service-tar_scm.changes
2019-09-02 13:22:20.021346492 +0200
@@ -1,0 +2,14 @@
+Thu Aug 22 11:25:57 UTC 2019 - fschrei...@suse.com
+
+- Update to version 0.10.10.1566390389.9f923f8:
+  * Revert "Merge pull request #323 from e4t/master"
+  * Make service 'tar' work with a cachedir as well
+  * Fix unit tests for modified scm directory handling
+  * Append '_service' to repository directory
+  * separate language and encoding
+  * git: really print the error message
+  * tar_scm.service: fix exclude documentation
+  * Don`t break testsuite if cwd contains colons
+  * disabling hg tests in travis
+
+---

Old:

  obs-service-tar_scm-0.10.9.1559745964.22c86cd.tar.gz

New:

  obs-service-tar_scm-0.10.10.1566390389.9f923f8.tar.gz



Other differences:
--
++ obs-service-tar_scm.spec ++
--- /var/tmp/diff_new_pack.O8gsq4/_old  2019-09-02 13:22:22.421346040 +0200
+++ /var/tmp/diff_new_pack.O8gsq4/_new  2019-09-02 13:22:22.425346040 +0200
@@ -90,8 +90,8 @@
  END OF MACROS AND FUN ###
 
 Name:   obs-service-tar_scm
-%define version_unconverted 0.10.9.1559745964.22c86cd
-Version:0.10.9.1559745964.22c86cd
+%define version_unconverted 0.10.10.1566390389.9f923f8
+Version:0.10.10.1566390389.9f923f8
 Release:0
 Summary:An OBS source service: create tar ball from svn/git/hg
 License:GPL-2.0-or-later

++ PKGBUILD ++
--- /var/tmp/diff_new_pack.O8gsq4/_old  2019-09-02 13:22:22.441346036 +0200
+++ /var/tmp/diff_new_pack.O8gsq4/_new  2019-09-02 13:22:22.445346036 +0200
@@ -1,5 +1,5 @@
 pkgname=obs-service-tar_scm
-pkgver=0.10.9.1559745964.22c86cd
+pkgver=0.10.10.1566390389.9f923f8
 pkgrel=0
 pkgdesc="Source Service for the OpenSUSE Build Service (OBS)"
 arch=('any')

++ _servicedata ++
--- /var/tmp/diff_new_pack.O8gsq4/_old  2019-09-02 13:22:22.461346033 +0200
+++ /var/tmp/diff_new_pack.O8gsq4/_new  2019-09-02 13:22:22.461346033 +0200
@@ -5,4 +5,4 @@
 git://github.com/M0ses/obs-service-tar_scm.git
   b742dfc0e12755cf306a95439494b5bdde7c0c61
 git://github.com/openSUSE/obs-service-tar_scm.git
-  136e6bf6ac30d7e035d4e1f407b3bf56b9f7bcf1
\ No newline at end of file
+  9f923f8a0442e1a140c059807b4afebb8b6988d2
\ No newline at end of file

++ debian.dsc ++
--- /var/tmp/diff_new_pack.O8gsq4/_old  2019-09-02 13:22:22.473346031 +0200
+++ /var/tmp/diff_new_pack.O8gsq4/_new  2019-09-02 13:22:22.473346031 +0200
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: obs-service-tar-scm
-Version: 0.10.9.1559745964.22c86cd
+Version: 0.10.10.1566390389.9f923f8
 Provides: obs-service-obs_scm, obs-service-tar
 Binary: obs-service-tar_scm
 Maintainer: Adrian Schroeter 

++ obs-service-tar_scm-0.10.9.1559745964.22c86cd.tar.gz -> 
obs-service-tar_scm-0.10.10.1566390389.9f923f8.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/obs-service-tar_scm-0.10.9.1559745964.22c86cd/.travis.yml 
new/obs-service-tar_scm-0.10.10.1566390389.9f923f8/.travis.yml
--- old/obs-service-tar_scm-0.10.9.1559745964.22c86cd/.travis.yml   
2019-06-05 16:46:04.0 +0200
+++ new/obs-service-tar_scm-0.10.10.1566390389.9f923f8/.travis.yml  
2019-08-21 14:26:29.0 +0200
@@ -4,11 +4,12 @@
   - "3.6"
 before_install:
   - sudo apt-get update -qq
-  - sudo apt-get install -qq bzr git mercurial subversion tar
+  - sudo apt-get install -qq bzr git subversion tar
   - sudo locale-gen en_US.UTF-8
 install:
   - pip install -r requirements.txt
   - mkdir bin
   - ln -s /usr/bin/true bin/obs-service-download_files # we don't test other 
services here
   - export PATH="$PWD/bin:$PATH"
+  - export 
TAR_SCM_TC=UnitTestCases,TasksTestCases,SCMBaseTestCases,GitTests,SvnTests,TarTestCases
 script: PV=${TRAVIS_PYTHON_VERSION:0:1};echo $PV;make check$PV
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/obs-service-tar_scm-0.10.9.1559745964.22c86cd/GNUmakefile 
new/obs-service-tar_scm-0.10.10.1566390389.9f923f8/GNUmakefile
--- old/ob

commit obs-service-tar_scm for openSUSE:Factory

2019-06-26 Thread root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2019-06-26 16:01:00

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new.4615 (New)


Package is "obs-service-tar_scm"

Wed Jun 26 16:01:00 2019 rev:54 rq:709510 version:0.10.9.1559745964.22c86cd

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2019-05-28 09:40:10.285907532 +0200
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new.4615/obs-service-tar_scm.changes
2019-06-26 16:01:01.675380453 +0200
@@ -1,0 +2,12 @@
+Wed Jun 05 14:47:42 UTC 2019 - fschrei...@suse.com
+
+- Update to version 0.10.9.1559745964.22c86cd:
+  * [dist] python3 for SLE12 and openSUSE 42.3
+
+---
+Tue Jun 04 11:42:50 UTC 2019 - fschrei...@suse.com
+
+- Update to version 0.10.9.1559647449.d965035:
+  * [dist] enable python3 in SLE >= 12
+
+---

Old:

  obs-service-tar_scm-0.10.9.1557261720.32a1cdb.tar.gz

New:

  obs-service-tar_scm-0.10.9.1559745964.22c86cd.tar.gz



Other differences:
--
++ obs-service-tar_scm.spec ++
--- /var/tmp/diff_new_pack.Tx2rmH/_old  2019-06-26 16:01:02.455381461 +0200
+++ /var/tmp/diff_new_pack.Tx2rmH/_new  2019-06-26 16:01:02.455381461 +0200
@@ -22,7 +22,7 @@
 %bcond_withobs_scm_testsuite
 %endif
 
-%if 0%{?suse_version} >= 1500 || 0%{?fedora_version} >= 29
+%if 0%{?suse_version} >= 1315 || 0%{?fedora_version} >= 29
 %bcond_without python3
 %else
 %bcond_withpython3
@@ -30,7 +30,7 @@
 
 # This list probably needs to be extended
 # logic seems to be if python < 2.7 ; then needs_external_argparse ; fi
-%if (0%{?centos_version} == 6) || (0%{?rhel_version} == 600) || 
(0%{?suse_version} && 0%{?suse_version} < 1315) || (0%{?fedora_version} && 
0%{?fedora_version} < 26)
+%if (0%{?centos_version} == 6) || (0%{?suse_version} && 0%{?suse_version} < 
1315) || (0%{?fedora_version} && 0%{?fedora_version} < 26)
 %bcond_without needs_external_argparse
 %else
 %bcond_withneeds_external_argparse
@@ -90,8 +90,8 @@
  END OF MACROS AND FUN ###
 
 Name:   obs-service-tar_scm
-%define version_unconverted 0.10.9.1557261720.32a1cdb
-Version:0.10.9.1557261720.32a1cdb
+%define version_unconverted 0.10.9.1559745964.22c86cd
+Version:0.10.9.1559745964.22c86cd
 Release:0
 Summary:An OBS source service: create tar ball from svn/git/hg
 License:GPL-2.0-or-later
@@ -125,6 +125,8 @@
 
 %if %{with python3}
 BuildRequires:  %{use_python}
+# Fix missing Requires in python3-pbr in Leap42.3
+BuildRequires:  %{use_python}-setuptools
 %else
 BuildRequires:  python >= 2.6
 %endif

++ PKGBUILD ++
--- /var/tmp/diff_new_pack.Tx2rmH/_old  2019-06-26 16:01:02.491381507 +0200
+++ /var/tmp/diff_new_pack.Tx2rmH/_new  2019-06-26 16:01:02.491381507 +0200
@@ -1,5 +1,5 @@
 pkgname=obs-service-tar_scm
-pkgver=0.10.9.1557261720.32a1cdb
+pkgver=0.10.9.1559745964.22c86cd
 pkgrel=0
 pkgdesc="Source Service for the OpenSUSE Build Service (OBS)"
 arch=('any')

++ _servicedata ++
--- /var/tmp/diff_new_pack.Tx2rmH/_old  2019-06-26 16:01:02.523381548 +0200
+++ /var/tmp/diff_new_pack.Tx2rmH/_new  2019-06-26 16:01:02.527381554 +0200
@@ -5,4 +5,4 @@
 git://github.com/M0ses/obs-service-tar_scm.git
   b742dfc0e12755cf306a95439494b5bdde7c0c61
 git://github.com/openSUSE/obs-service-tar_scm.git
-  d35048f2cac019c9f452fe8fac2fe1eab5018e6e
\ No newline at end of file
+  136e6bf6ac30d7e035d4e1f407b3bf56b9f7bcf1
\ No newline at end of file

++ debian.dsc ++
--- /var/tmp/diff_new_pack.Tx2rmH/_old  2019-06-26 16:01:02.547381580 +0200
+++ /var/tmp/diff_new_pack.Tx2rmH/_new  2019-06-26 16:01:02.547381580 +0200
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: obs-service-tar-scm
-Version: 0.10.9.1557261720.32a1cdb
+Version: 0.10.9.1559745964.22c86cd
 Provides: obs-service-obs_scm, obs-service-tar
 Binary: obs-service-tar_scm
 Maintainer: Adrian Schroeter 

++ obs-service-tar_scm-0.10.9.1557261720.32a1cdb.tar.gz -> 
obs-service-tar_scm-0.10.9.1559745964.22c86cd.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/obs-service-tar_scm-0.10.9.1557261720.32a1cdb/dist/obs-service-tar_scm.spec 
new/obs-service-tar_scm-0.10.9.1559745964.22c86cd/dist/obs-service-tar_scm.spec
--- 
old/obs-service-tar_scm-0.10.9.1557261720.32a1cdb/dist/obs-service-tar_scm.spec 
2019-05-07 22:42:00.0 +0200
+++ 
new/obs-service-tar_scm-0.10.9.1559745964.22c

commit obs-service-tar_scm for openSUSE:Factory

2019-05-28 Thread root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2019-05-28 09:40:05

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new.5148 (New)


Package is "obs-service-tar_scm"

Tue May 28 09:40:05 2019 rev:53 rq:705415 version:0.10.9.1557261720.32a1cdb

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2019-03-14 14:53:15.827780052 +0100
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new.5148/obs-service-tar_scm.changes
2019-05-28 09:40:10.285907532 +0200
@@ -1,0 +2,57 @@
+Wed May  8 13:26:40 UTC 2019 - Julio González Gil 
+
+- Require external argparse for RHEL6 
+
+---
+Tue May 07 22:41:38 UTC 2019 - fschrei...@suse.com
+
+- Update to version 0.10.9.1557261720.32a1cdb:
+  * fix encoding error for surrogates
+  * glibc-common was used up to FC23 and RHEL7
+
+---
+Fri May 03 15:24:40 UTC 2019 - fschrei...@suse.com
+
+- Update to version 0.10.8.1556896538.0693a62:
+  * Compile python files before install
+  * change order in GNUMakefile to prefer python3
+  * More thorought spec file cleanup
+  * predefine python version in spec file for GNUMAkefile
+
+---
+Fri Apr 26 19:00:00 UTC 2019 - Marcus Rueckert 
+
+- the current guessing code is finding python2 and then uses that,
+  because python2 still seems to be available in the build env,
+  as we already know which python version we want we can just pass
+  the path to make and skip the whole guessing.
+
+---
+Fri Apr 26 12:40:14 UTC 2019 - fschrei...@suse.com
+
+- Update to version 0.10.7.1556277536.7e9915a:
+  * [dist] spec file: python3 only and multidist
+  * Git also uses the LANGUAGE variable
+  * centos_version and rhel_version are triple digits
+  * Minimize diff with the version in openSUSE:Tools
+  * Fix the logic to pick the locale package on Fedora
+  * Forgot the guard 0 in one conditional
+
+---
+Tue Apr  9 17:18:09 UTC 2019 - Marcus Rueckert 
+
+- centos_version and rhel_version are triple digits
+
+---
+Tue Apr  9 17:03:08 UTC 2019 - Marcus Rueckert 
+
+- locally apply fixes from
+  https://github.com/openSUSE/obs-service-tar_scm/pull/298
+
+---
+Fri Mar 29 13:49:15 UTC 2019 - Julio González Gil 
+
+- Change requirement locale_package to glibc-common to fix building
+  for CentOS6 and CentOS7
+
+---

Old:

  obs-service-tar_scm-0.10.6.1551887937.e42c270.tar.gz

New:

  obs-service-tar_scm-0.10.9.1557261720.32a1cdb.tar.gz



Other differences:
--
++ obs-service-tar_scm.spec ++
--- /var/tmp/diff_new_pack.4KcJgf/_old  2019-05-28 09:40:11.465907143 +0200
+++ /var/tmp/diff_new_pack.4KcJgf/_new  2019-05-28 09:40:11.469907142 +0200
@@ -16,65 +16,123 @@
 #
 
 
+%if 0%{?suse_version} && 0%{?suse_version} >= 1220
+%bcond_without obs_scm_testsuite
+%else
+%bcond_withobs_scm_testsuite
+%endif
+
+%if 0%{?suse_version} >= 1500 || 0%{?fedora_version} >= 29
+%bcond_without python3
+%else
+%bcond_withpython3
+%endif
+
+# This list probably needs to be extended
+# logic seems to be if python < 2.7 ; then needs_external_argparse ; fi
+%if (0%{?centos_version} == 6) || (0%{?rhel_version} == 600) || 
(0%{?suse_version} && 0%{?suse_version} < 1315) || (0%{?fedora_version} && 
0%{?fedora_version} < 26)
+%bcond_without needs_external_argparse
+%else
+%bcond_withneeds_external_argparse
+%endif
+
+%if %{with python3}
+%define use_python python3
+%define use_test   test3
+%else
+%define use_python python
+%define use_test   test
+%endif
+
 %if 0%{?suse_version}
-%if 0%{?suse_version} >= 1550
+%define pyyaml_package %{use_python}-PyYAML
+%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150100
 %define locale_package glibc-locale-base
 %else
 %define locale_package glibc-locale
 %endif
 %endif
-%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version}
+
+%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version} || 
0%{?scientificlinux_version}
+%if 0%{?fedora_version} >= 29 || 0%{?rhel_version} >= 800 || 
0%{?centos_version} >= 800
+%define pyyaml_package %{use_python}-PyYAML
+%else
+%define pyyaml_package PyYAML
+%endif
+
+%if 0%{?fedora_version} >= 24 || 0%{?rhel_version} >= 800 || 
0%{?centos_ve

commit obs-service-tar_scm for openSUSE:Factory

2019-03-14 Thread root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2019-03-14 14:53:05

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new.28833 (New)


Package is "obs-service-tar_scm"

Thu Mar 14 14:53:05 2019 rev:52 rq:683897 version:0.10.6.1551887937.e42c270

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2019-02-28 21:25:49.557884492 +0100
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new.28833/obs-service-tar_scm.changes
   2019-03-14 14:53:15.827780052 +0100
@@ -1,0 +2,13 @@
+Wed Mar 06 15:59:39 UTC 2019 - adr...@suse.de
+
+- Update to version 0.10.6.1551887937.e42c270:
+  * Require packages to get the en_US.UTF-8 locales
+
+---
+Fri Mar 01 14:01:54 UTC 2019 - fschrei...@suse.com
+
+- Update to version 0.10.6.1551448746.2759df2:
+  * enforce bytes for cpio file list
+  * fixes boo#1127907
+
+---

Old:

  obs-service-tar_scm-0.10.5.1551309990.79898c7.tar.gz

New:

  obs-service-tar_scm-0.10.6.1551887937.e42c270.tar.gz



Other differences:
--
++ obs-service-tar_scm.spec ++
--- /var/tmp/diff_new_pack.oIcKbZ/_old  2019-03-14 14:53:16.923779883 +0100
+++ /var/tmp/diff_new_pack.oIcKbZ/_new  2019-03-14 14:53:16.927779882 +0100
@@ -16,11 +16,22 @@
 #
 
 
+%if 0%{?suse_version}
+%if 0%{?suse_version} >= 1550
+%define locale_package glibc-locale-base
+%else
+%define locale_package glibc-locale
+%endif
+%endif
+%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version}
+%define locale_package glibc-langpack-en
+%endif
+
 %bcond_without obs_scm_testsuite
 
 Name:   obs-service-tar_scm
-%define version_unconverted 0.10.5.1551309990.79898c7
-Version:0.10.5.1551309990.79898c7
+%define version_unconverted 0.10.6.1551887937.e42c270
+Version:0.10.6.1551887937.e42c270
 Release:0
 Summary:An OBS source service: create tar ball from svn/git/hg
 License:GPL-2.0-or-later
@@ -31,12 +42,12 @@
 # based distributions
 #Patch0: 0001-Debianization-disable-running-mercurial-tests.patch
 %if %{with obs_scm_testsuite}
+BuildRequires:  %{locale_package}
 BuildRequires:  bzr
 BuildRequires:  git-core
 BuildRequires:  mercurial
 BuildRequires:  subversion
 %if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version}
-BuildRequires:  glibc-common
 %define py_compile(O)  \
 find %1 -name '*.pyc' -exec rm -f {} \\; \
 python -c "import sys, os, compileall; br='%{buildroot}'; 
compileall.compile_dir(sys.argv[1], ddir=br and 
(sys.argv[1][len(os.path.abspath(br)):]+'/') or None)" %1 \
@@ -47,7 +58,6 @@
 
 BuildRequires:  PyYAML
 %else
-BuildRequires:  glibc-locale
 BuildRequires:  python-PyYAML
 %endif
 BuildRequires:  python-dateutil
@@ -63,7 +73,6 @@
 Recommends: bzr
 Recommends: mercurial
 Recommends: subversion
-Recommends: glibc-locale
 %endif
 Requires:   obs-service-obs_scm-common = %version-%release
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -77,6 +86,7 @@
 %package -n obs-service-obs_scm-common
 Summary:Common parts of SCM handling services
 Group:  Development/Tools/Building
+Requires:   %{locale_package}
 Requires:   python-dateutil
 %if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version}
 Requires:   PyYAML

++ PKGBUILD ++
--- /var/tmp/diff_new_pack.oIcKbZ/_old  2019-03-14 14:53:16.955779878 +0100
+++ /var/tmp/diff_new_pack.oIcKbZ/_new  2019-03-14 14:53:16.955779878 +0100
@@ -1,5 +1,5 @@
 pkgname=obs-service-tar_scm
-pkgver=0.10.5.1551309990.79898c7
+pkgver=0.10.6.1551887937.e42c270
 pkgrel=0
 pkgdesc="Source Service for the OpenSUSE Build Service (OBS)"
 arch=('any')

++ _servicedata ++
--- /var/tmp/diff_new_pack.oIcKbZ/_old  2019-03-14 14:53:16.983779874 +0100
+++ /var/tmp/diff_new_pack.oIcKbZ/_new  2019-03-14 14:53:16.983779874 +0100
@@ -5,4 +5,4 @@
 git://github.com/M0ses/obs-service-tar_scm.git
   b742dfc0e12755cf306a95439494b5bdde7c0c61
 git://github.com/openSUSE/obs-service-tar_scm.git
-  47927074693a870b63d2be378f01c83dc80abc28
\ No newline at end of file
+  689f06bdad912d238ee2714eeae9f53218953b9a
\ No newline at end of file

++ debian.dsc ++
--- /var/tmp/diff_new_pack.oIcKbZ/_old  2019-03-14 14:53:16.995779873 +0100
+++ /var/tmp/diff_new_pack.oIcKbZ/_new  2019-03-14 14:53:16.995779873 +0100
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: obs-service-tar-scm
-Version: 0.10.5.1551309990.79898c7
+Version: 0.10.6.1551887937.e42c270
 Provides: obs-s

commit obs-service-tar_scm for openSUSE:Factory

2019-02-28 Thread root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2019-02-28 21:25:44

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new.28833 (New)


Package is "obs-service-tar_scm"

Thu Feb 28 21:25:44 2019 rev:51 rq:679987 version:0.10.5.1551309990.79898c7

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2018-10-11 11:41:53.431058789 +0200
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new.28833/obs-service-tar_scm.changes
   2019-02-28 21:25:49.557884492 +0100
@@ -1,0 +2,117 @@
+Wed Feb 27 23:29:17 UTC 2019 - fschrei...@suse.com
+
+- Update to version 0.10.5.1551309990.79898c7:
+  * Prefer UTF-8 locale as output format for changes
+
+---
+Wed Feb 27 17:33:26 UTC 2019 - fschrei...@suse.com
+
+- Update to version 0.10.4.1551193322.b7a79f4:
+  * added KankuFile
+  * fix problems with unicode source files
+  * added python-six to Requires in specfile
+  * better encoding handling
+
+---
+Thu Feb 21 14:18:32 UTC 2019 - fschrei...@suse.com
+
+- Update to version 0.10.1.1550758451.f88bd41:
+  * fixes bsc#1082696 and bsc#1076410
+  * more fixes py3 unicode
+  * fix unicode in containers
+
+---
+Wed Feb 20 07:42:19 UTC 2019 - fschrei...@suse.com
+
+- Update to version 0.10.0.1550647779.25999e8:
+  * fix spec for RH/Fedora - glibc-locale -> glibc-common
+
+---
+Tue Feb 19 15:52:07 UTC 2019 - fschrei...@suse.com
+
+- Update to version 0.10.0.1550589094.e2ae17d:
+  * move to python3
+  * add python 3.6 and 3.7 to testing
+  * added logging for better debugging changesgenerate
+  * raise exception if no changesauthor given
+  * removed python 2.6 from travis
+
+---
+Fri Feb 01 07:44:04 UTC 2019 - fschrei...@suse.com
+
+- Update to version 0.9.5.1548407358.b62685b:
+  * Stop using @opensuse.org addresses to indicate a missing address
+  * move argparse dep to -common package
+  * allow submodule and ssl options in appimage
+  * sync spec file as used in openSUSE:Tools project
+
+---
+Mon Dec 17 21:29:43 UTC 2018 - opensuse-packag...@opensuse.org
+
+- Update to version 0.9.5.1545082095.8dbc95f:
+  * [dist] fix service files installation in Makefile
+
+---
+Mon Dec 17 20:42:11 UTC 2018 - opensuse-packag...@opensuse.org
+
+- Update to version 0.9.5.1545064321.5c10ac0:
+  * check encoding problems for svn and print proper error msg
+  * added new param '--locale'
+  * separate service file installation in GNUmakefile
+  * added glibc as Recommends in spec file
+  * cleanup for broken svn caches
+  * another fix for unicode problem in obs_scm
+
+---
+Thu Dec 06 12:26:01 UTC 2018 - opensuse-packag...@opensuse.org
+
+- Update to version 0.9.5.1544099104.f52adb7:
+  * Final fix for unicode in filenames
+  * Another attempt to fix unicode filenames in prep_tree_for_archive
+
+---
+Wed Dec 05 13:19:04 UTC 2018 - opensuse-packag...@opensuse.org
+
+- Update to version 0.9.5.1544015491.08dd948:
+  * Another attempt to fix unicode filenames in prep_tree_for_archive
+
+---
+Mon Dec 03 19:31:44 UTC 2018 - opensuse-packag...@opensuse.org
+
+- Update to version 0.9.5.1543865445.4e2fbad:
+  * fix bug with unicode filenames in prep_tree_for_archive
+  * reuse _service*_servicedata/changes files from previous service runs
+
+---
+Fri Nov 30 14:35:34 UTC 2018 - opensuse-packag...@opensuse.org
+
+- Update to version 0.9.5.1543588452.b19491f:
+  * fix problems with  unicode characters in commit messages for 
changeloggenerate
+
+---
+Thu Nov 29 14:37:35 UTC 2018 - opensuse-packag...@opensuse.org
+
+- Update to version 0.9.5.1543502111.e576bd6:
+  * fix encoding issues if commit message contains utf8 char
+
+---
+Wed Nov 28 17:06:15 UTC 2018 - opensuse-packag...@opensuse.org
+
+- Update to version 0.9.5.1543424658.8740ef1:
+  * revert encoding for old changes file
+
+---
+Wed Nov 28 16:29:06 UTC 2018 - opensuse-packag...@opensuse.org
+

commit obs-service-tar_scm for openSUSE:Factory

2018-10-11 Thread root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2018-10-11 11:41:49

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new (New)


Package is "obs-service-tar_scm"

Thu Oct 11 11:41:49 2018 rev:50 rq:639875 version:0.9.4.1537959361.56833cb

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2018-09-04 22:49:06.611549334 +0200
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new/obs-service-tar_scm.changes 
2018-10-11 11:41:53.431058789 +0200
@@ -1,0 +2,42 @@
+Wed Sep 26 11:35:09 UTC 2018 - opensuse-packag...@opensuse.org
+
+- Update to version 0.9.4.1537959361.56833cb:
+  * enable flake8 in hound
+  * cleanup for pylint and flake8
+  * split pylint2 in GNUmakefile
+  * fix check for "--reproducible"
+  * create reproducible obscpio archives
+  * fix flake warning
+
+---
+Tue Sep 25 10:05:18 UTC 2018 - opensuse-packag...@opensuse.org
+
+- Update to version 0.9.3.1537869751.51a17c5:
+  * fix regression from 44b3bee
+  * Support also SSH urls for Git
+
+---
+Mon Sep 24 12:22:40 UTC 2018 - opensuse-packag...@opensuse.org
+
+- Update to version 0.9.2.1537788075.fefaa74:
+  * fix CVE-2018-12474
+  * check name/version option in obsinfo for slashes
+  * check url for remote url
+  * check symlinks in subdir parameter
+  * check filename for slashes
+  * disable follow_symlinks in extract feature
+
+---
+Wed Sep 19 08:18:36 UTC 2018 - Adrian Schröter 
+
+- switch to obs_scm for this package
+
+---
+Wed Sep 19 08:18:09 UTC 2018 - adr...@suse.de
+
+- Update to version 0.9.1.1537341862.5348694:
+  * run download_files in appimage and snapcraft case
+  * check --extract file path for parent dir
+  * Fix parameter descriptions
+
+---

Old:

  obs-service-tar_scm-0.9.1.1534504824.0732756.tar.gz

New:

  obs-service-tar_scm-0.9.4.1537959361.56833cb.obscpio
  obs-service-tar_scm.obsinfo



Other differences:
--
++ obs-service-tar_scm.spec ++
--- /var/tmp/diff_new_pack.WNG1fQ/_old  2018-10-11 11:41:54.895056926 +0200
+++ /var/tmp/diff_new_pack.WNG1fQ/_new  2018-10-11 11:41:54.899056921 +0200
@@ -12,15 +12,15 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %bcond_without obs_scm_testsuite
 
 Name:   obs-service-tar_scm
-%define version_unconverted 0.9.1.1534504824.0732756
-Version:0.9.1.1534504824.0732756
+%define version_unconverted 0.9.4.1537959361.56833cb
+Version:0.9.4.1537959361.56833cb
 Release:0
 Summary:An OBS source service: create tar ball from svn/git/hg
 License:GPL-2.0-or-later
@@ -123,6 +123,7 @@
 Recommends: bzr
 Recommends: mercurial
 Recommends: subversion
+Recommends: obs-service-download_files
 %endif
 Requires:   obs-service-obs_scm-common = %version-%release
 
@@ -139,6 +140,7 @@
 Recommends: bzr
 Recommends: mercurial
 Recommends: subversion
+Recommends: obs-service-download_files
 %endif
 Requires:   obs-service-obs_scm-common = %version-%release
 

++ PKGBUILD ++
--- /var/tmp/diff_new_pack.WNG1fQ/_old  2018-10-11 11:41:54.927056885 +0200
+++ /var/tmp/diff_new_pack.WNG1fQ/_new  2018-10-11 11:41:54.927056885 +0200
@@ -1,5 +1,5 @@
 pkgname=obs-service-tar_scm
-pkgver=0.9.1.1534504824.0732756
+pkgver=0.9.4.1537959361.56833cb
 pkgrel=0
 pkgdesc="Source Service for the OpenSUSE Build Service (OBS)"
 arch=('any')

++ _service ++
--- /var/tmp/diff_new_pack.WNG1fQ/_old  2018-10-11 11:41:54.943056865 +0200
+++ /var/tmp/diff_new_pack.WNG1fQ/_new  2018-10-11 11:41:54.947056860 +0200
@@ -1,5 +1,5 @@
 
-  
+  
 git://github.com/openSUSE/obs-service-tar_scm.git
 git
 .git
@@ -9,11 +9,13 @@
 dist/obs-service-tar_scm.spec
 v(.*)
   
-  
-*.tar
-gz
-  
   
 obs-service-tar_scm
   
+
+  
+  
+*.tar
+gz
+  
 

++ _servicedata ++
--- /var/tmp/diff_new_pack.WNG1fQ/_old  2018-10-11 11:41:54.963056839 +0200
+++ /var/tmp/diff_new_pack.WNG1fQ/_new  2018-10-11 11:41:54.967056834 +0200
@@ -5,4 +5,4 @@
 git://github.com/M0ses/obs-service-tar_scm.git
   b742dfc0e12755cf306a95439494b5bdde7c0c61
   

commit obs-service-tar_scm for openSUSE:Factory

2018-09-04 Thread root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2018-09-04 22:49:03

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new (New)


Package is "obs-service-tar_scm"

Tue Sep  4 22:49:03 2018 rev:49 rq:632451 version:0.9.1.1534504824.0732756

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2018-07-07 21:53:15.907708890 +0200
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new/obs-service-tar_scm.changes 
2018-09-04 22:49:06.611549334 +0200
@@ -1,0 +2,8 @@
+Fri Aug 24 06:46:28 UTC 2018 - adr...@suse.de
+
+- Update to version 0.9.1.1534504824.0732756:
+  * changed os.removedirs -> shutil.rmtree
+  * Adding information regarding the *package-metadata* option for the *tar* 
service The tar service is highly useful in combination with the *obscpio* 
service. After the fix for the metadata for the latter one, it is important to 
inform the users of the *tar* service that metadata is kept only if the flag 
*package-metadata* is enabled. Add the flag to the .service file for mentioning 
that.
+  * Allow metadata packing for CPIO archives when desired As of now, metadata 
are always excluded from *obscpio* packages. This is because the 
*package-metadata* flag is ignored; this change (should) make *obscpio* aware 
of it.
+
+---

Old:

  obs-service-tar_scm-0.9.1.1530616709.1329314.tar.gz

New:

  obs-service-tar_scm-0.9.1.1534504824.0732756.tar.gz



Other differences:
--
++ obs-service-tar_scm.spec ++
--- /var/tmp/diff_new_pack.RYYI3r/_old  2018-09-04 22:49:07.047550834 +0200
+++ /var/tmp/diff_new_pack.RYYI3r/_new  2018-09-04 22:49:07.047550834 +0200
@@ -19,8 +19,8 @@
 %bcond_without obs_scm_testsuite
 
 Name:   obs-service-tar_scm
-%define version_unconverted 0.9.1.1530616709.1329314
-Version:0.9.1.1530616709.1329314
+%define version_unconverted 0.9.1.1534504824.0732756
+Version:0.9.1.1534504824.0732756
 Release:0
 Summary:An OBS source service: create tar ball from svn/git/hg
 License:GPL-2.0-or-later

++ PKGBUILD ++
--- /var/tmp/diff_new_pack.RYYI3r/_old  2018-09-04 22:49:07.079550944 +0200
+++ /var/tmp/diff_new_pack.RYYI3r/_new  2018-09-04 22:49:07.079550944 +0200
@@ -1,5 +1,5 @@
 pkgname=obs-service-tar_scm
-pkgver=0.9.0.1523267117.de861d8
+pkgver=0.9.1.1534504824.0732756
 pkgrel=0
 pkgdesc="Source Service for the OpenSUSE Build Service (OBS)"
 arch=('any')

++ _service ++
--- /var/tmp/diff_new_pack.RYYI3r/_old  2018-09-04 22:49:07.099551012 +0200
+++ /var/tmp/diff_new_pack.RYYI3r/_new  2018-09-04 22:49:07.099551012 +0200
@@ -15,6 +15,5 @@
   
   
 obs-service-tar_scm
-obs-service-tar_scm.spec
   
 

++ _servicedata ++
--- /var/tmp/diff_new_pack.RYYI3r/_old  2018-09-04 22:49:07.111551053 +0200
+++ /var/tmp/diff_new_pack.RYYI3r/_new  2018-09-04 22:49:07.111551053 +0200
@@ -5,4 +5,4 @@
 git://github.com/M0ses/obs-service-tar_scm.git
   b742dfc0e12755cf306a95439494b5bdde7c0c61
 git://github.com/openSUSE/obs-service-tar_scm.git
-  e6cc8b8ac6fdba7cf6fb9671d3ccc4bffb10bb0e
\ No newline at end of file
+  0732756ab35114049c5fb79c483d91e96217bcd8
\ No newline at end of file

++ debian.dsc ++
--- /var/tmp/diff_new_pack.RYYI3r/_old  2018-09-04 22:49:07.123551095 +0200
+++ /var/tmp/diff_new_pack.RYYI3r/_new  2018-09-04 22:49:07.127551109 +0200
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: obs-service-tar-scm
-Version: 0.6.1
+Version: 0.9.1.1534504824.0732756
 Provides: obs-service-obs_scm, obs-service-tar
 Binary: obs-service-tar_scm
 Maintainer: Adrian Schroeter 

++ obs-service-tar_scm-0.9.1.1530616709.1329314.tar.gz -> 
obs-service-tar_scm-0.9.1.1534504824.0732756.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/obs-service-tar_scm-0.9.1.1530616709.1329314/TarSCM/archive.py 
new/obs-service-tar_scm-0.9.1.1534504824.0732756/TarSCM/archive.py
--- old/obs-service-tar_scm-0.9.1.1530616709.1329314/TarSCM/archive.py  
2018-07-03 13:18:29.0 +0200
+++ new/obs-service-tar_scm-0.9.1.1534504824.0732756/TarSCM/archive.py  
2018-08-17 13:20:24.0 +0200
@@ -41,11 +41,12 @@
 def create_archive(self, scm_object, **kwargs):
 """Create an OBS cpio archive of repodir in destination directory.
 """
-basename = kwargs['basename']
-dstname  = kwargs['dstname']
-version  = kwargs['version']
-args = kwargs['cli']
-commit   = scm_object.get_current_commit()
+  

commit obs-service-tar_scm for openSUSE:Factory

2018-07-07 Thread root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2018-07-07 21:53:08

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new (New)


Package is "obs-service-tar_scm"

Sat Jul  7 21:53:08 2018 rev:48 rq:620565 version:0.9.1.1530616709.1329314

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2018-04-27 15:59:57.318911063 +0200
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new/obs-service-tar_scm.changes 
2018-07-07 21:53:15.907708890 +0200
@@ -1,0 +2,14 @@
+Tue Jul 03 19:31:48 UTC 2018 - opensuse-packag...@opensuse.org
+
+- Update to version 0.9.1.1530616709.1329314:
+  * improve handling of corrupt git cache directories
+  * only do git stash save/pop if we have a non-empty working tree (#228)
+  * sort imports
+  * don't allow DEBUG_TAR_SCM to change behaviour (#240)
+  * add stub user docs in lieu of something proper (#238)
+  * [dist] fix build for distros not yet supporting Recommends tag
+  * Remove clone_dir if clone fails
+  * python-unittest2 is only required for the optional make check
+  * move python-unittest2 dep to test suite only part (submission by olh)
+
+---

Old:

  obs-service-tar_scm-0.9.0.1523267117.de861d8.tar.gz

New:

  obs-service-tar_scm-0.9.1.1530616709.1329314.tar.gz



Other differences:
--
++ obs-service-tar_scm.spec ++
--- /var/tmp/diff_new_pack.A5JTEk/_old  2018-07-07 21:53:16.355708320 +0200
+++ /var/tmp/diff_new_pack.A5JTEk/_new  2018-07-07 21:53:16.355708320 +0200
@@ -19,8 +19,8 @@
 %bcond_without obs_scm_testsuite
 
 Name:   obs-service-tar_scm
-%define version_unconverted 0.9.0.1523267117.de861d8
-Version:0.9.0.1523267117.de861d8
+%define version_unconverted 0.9.1.1530616709.1329314
+Version:0.9.1.1530616709.1329314
 Release:0
 Summary:An OBS source service: create tar ball from svn/git/hg
 License:GPL-2.0-or-later
@@ -51,13 +51,15 @@
 BuildRequires:  python-dateutil
 BuildRequires:  python-lxml
 BuildRequires:  python-mock
+BuildRequires:  python-unittest2
 %endif
 BuildRequires:  python >= 2.6
-BuildRequires:  python-unittest2
 Requires:   git-core
+%if 0%{?suse_version} >= 1315
 Recommends: bzr
 Recommends: mercurial
 Recommends: subversion
+%endif
 Requires:   obs-service-obs_scm-common = %version-%release
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
@@ -100,9 +102,11 @@
 Group:  Development/Tools/Building
 Provides:   obs-service-tar_scm:/usr/lib/obs/service/obs_scm.service
 Requires:   git-core
+%if 0%{?suse_version} >= 1315
 Recommends: bzr
 Recommends: mercurial
 Recommends: subversion
+%endif
 Requires:   obs-service-obs_scm-common = %version-%release
 
 %description -n obs-service-obs_scm
@@ -115,9 +119,11 @@
 Summary:Handles source downloads defined in appimage.yml files
 Group:  Development/Tools/Building
 Requires:   git-core
+%if 0%{?suse_version} >= 1315
 Recommends: bzr
 Recommends: mercurial
 Recommends: subversion
+%endif
 Requires:   obs-service-obs_scm-common = %version-%release
 
 %description -n obs-service-appimage
@@ -129,9 +135,11 @@
 Group:  Development/Tools/Building
 Provides:   obs-service-tar_scm:/usr/lib/obs/service/snapcraft.service
 Requires:   git-core
+%if 0%{?suse_version} >= 1315
 Recommends: bzr
 Recommends: mercurial
 Recommends: subversion
+%endif
 Requires:   obs-service-obs_scm-common = %version-%release
 
 %description -n obs-service-snapcraft

++ PKGBUILD ++
--- /var/tmp/diff_new_pack.A5JTEk/_old  2018-07-07 21:53:16.383708285 +0200
+++ /var/tmp/diff_new_pack.A5JTEk/_new  2018-07-07 21:53:16.383708285 +0200
@@ -1,5 +1,5 @@
 pkgname=obs-service-tar_scm
-pkgver=0.8.0.1507129410.0cb2d44
+pkgver=0.9.0.1523267117.de861d8
 pkgrel=0
 pkgdesc="Source Service for the OpenSUSE Build Service (OBS)"
 arch=('any')
@@ -8,7 +8,7 @@
 groups=('base-devel')
 makedepends=('python2' 'python2-yaml' 'python2-dateutil' 'python2-lxml' 
'python2-mock' 'python2-unittest2' 'bzr' 'git' 'mercurial' 'subversion' )
 depends=('python2' 'python2-yaml' 'python2-dateutil' 'python2-argparse' 'cpio' 
'git' 'bzr' 'mercurial' 'subversion' )
-source=("obs-service-tar_scm-${pkgver}.tar.gz::https://github.com/openSUSE/obs-service-tar_scm/archive/v${pkgver}.tar.gz";)
+source=("obs-service-tar_scm-${pkgver}.tar.gz")
 provides=('obs-service-tar')
 sha256sums=('SKIP')
 

++ _servicedata ++
--- /var/tmp/diff_new_pack.A5JTEk/_old  2018-07-07 21:53:16.411708249

commit obs-service-tar_scm for openSUSE:Factory

2018-04-27 Thread root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2018-04-27 15:59:50

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new (New)


Package is "obs-service-tar_scm"

Fri Apr 27 15:59:50 2018 rev:47 rq:600981 version:0.9.0.1523267117.de861d8

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2018-04-22 14:30:58.539780282 +0200
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new/obs-service-tar_scm.changes 
2018-04-27 15:59:57.318911063 +0200
@@ -1,0 +2,10 @@
+Thu Apr 19 09:52:18 UTC 2018 - fschrei...@suse.de
+
+- Update to version v0.9.0.1523267117.de861d8:
+  * Removing redundant pass statement
+  * fixing indentation warnings from flake8
+  * fixing flake8 warnings, missing imports
+  * missing import for logging functions.
+  * [backend] Adding http proxy support
+
+---

Old:

  obs-service-tar_scm-0.8.0.1520581079.e26b0ae.tar.gz

New:

  obs-service-tar_scm-0.9.0.1523267117.de861d8.tar.gz



Other differences:
--
++ obs-service-tar_scm.spec ++
--- /var/tmp/diff_new_pack.bnCgn5/_old  2018-04-27 15:59:58.002885959 +0200
+++ /var/tmp/diff_new_pack.bnCgn5/_new  2018-04-27 15:59:58.006885812 +0200
@@ -19,8 +19,8 @@
 %bcond_without obs_scm_testsuite
 
 Name:   obs-service-tar_scm
-%define version_unconverted 0.8.0.1520581079.e26b0ae
-Version:0.8.0.1520581079.e26b0ae
+%define version_unconverted 0.9.0.1523267117.de861d8
+Version:0.9.0.1523267117.de861d8
 Release:0
 Summary:An OBS source service: create tar ball from svn/git/hg
 License:GPL-2.0-or-later
@@ -51,9 +51,9 @@
 BuildRequires:  python-dateutil
 BuildRequires:  python-lxml
 BuildRequires:  python-mock
-BuildRequires:  python-unittest2
 %endif
 BuildRequires:  python >= 2.6
+BuildRequires:  python-unittest2
 Requires:   git-core
 Recommends: bzr
 Recommends: mercurial

++ _service ++
--- /var/tmp/diff_new_pack.bnCgn5/_old  2018-04-27 15:59:58.058883903 +0200
+++ /var/tmp/diff_new_pack.bnCgn5/_new  2018-04-27 15:59:58.062883757 +0200
@@ -4,9 +4,10 @@
 git
 .git
 git-master
-0.8.0.%ct.%h
+@PARENT_TAG@.%ct.%h
 enable
 dist/obs-service-tar_scm.spec
+v(.*)
   
   
 *.tar

++ _servicedata ++
--- /var/tmp/diff_new_pack.bnCgn5/_old  2018-04-27 15:59:58.086882875 +0200
+++ /var/tmp/diff_new_pack.bnCgn5/_new  2018-04-27 15:59:58.086882875 +0200
@@ -5,4 +5,4 @@
 git://github.com/M0ses/obs-service-tar_scm.git
   b742dfc0e12755cf306a95439494b5bdde7c0c61
 git://github.com/openSUSE/obs-service-tar_scm.git
-  1d2c3354f318bec26ba21df0c6b2218776a9dc05
\ No newline at end of file
+  092ed79e144abbfee97fef9aebf1e93bc40ab3fa
\ No newline at end of file

++ obs-service-tar_scm-0.8.0.1520581079.e26b0ae.tar.gz -> 
obs-service-tar_scm-0.9.0.1523267117.de861d8.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/obs-service-tar_scm-0.8.0.1520581079.e26b0ae/TarSCM/changes.py 
new/obs-service-tar_scm-0.9.0.1523267117.de861d8/TarSCM/changes.py
--- old/obs-service-tar_scm-0.8.0.1520581079.e26b0ae/TarSCM/changes.py  
2018-03-09 08:37:59.0 +0100
+++ new/obs-service-tar_scm-0.9.0.1523267117.de861d8/TarSCM/changes.py  
2018-04-09 11:45:17.0 +0200
@@ -202,6 +202,7 @@
 shutil.move(tmp_fp.name, changes_filename)
 
 def get_changesauthor(self, args):
+changesauthor = None
 # return changesauthor if given as cli option
 if args.changesauthor:
 return args.changesauthor
@@ -211,7 +212,6 @@
 files = [[os.path.join(os.environ['HOME'], '.oscrc'), False]]
 cfg = Config(files)
 
-changesauthor = None
 section = cfg.get('general', 'apiurl')
 if section:
 changesauthor = cfg.get(section, 'email')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/obs-service-tar_scm-0.8.0.1520581079.e26b0ae/TarSCM/scm/base.py 
new/obs-service-tar_scm-0.9.0.1523267117.de861d8/TarSCM/scm/base.py
--- old/obs-service-tar_scm-0.8.0.1520581079.e26b0ae/TarSCM/scm/base.py 
2018-03-09 08:37:59.0 +0100
+++ new/obs-service-tar_scm-0.9.0.1523267117.de861d8/TarSCM/scm/base.py 
2018-04-09 11:45:17.0 +0200
@@ -47,6 +47,12 @@
 self._calc_repocachedir()
 self._final_rename_needed = False
 
+# proxy support
+self.httpproxy  = None
+self.httpsproxy = None
+

commit obs-service-tar_scm for openSUSE:Factory

2018-04-22 Thread root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2018-04-22 14:30:47

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new (New)


Package is "obs-service-tar_scm"

Sun Apr 22 14:30:47 2018 rev:46 rq:596964 version:0.8.0.1520581079.e26b0ae

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2017-10-18 12:49:45.061273674 +0200
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new/obs-service-tar_scm.changes 
2018-04-22 14:30:58.539780282 +0200
@@ -1,0 +2,26 @@
+Fri Apr 13 08:49:56 UTC 2018 - o...@aepfle.de
+
+- python-unittest2 is only required for the optional make check
+
+---
+Fri Mar 09 07:39:08 UTC 2018 - opensuse-packag...@opensuse.org
+
+- Update to version 0.8.0.1520581079.e26b0ae:
+  * make installation of scm's optional
+  * add a lot more detail to README
+  * Git clone with --no-checkout in prepare_working_copy
+  * Refactor and simplify git prepare_working_copy
+  * Cleanup flake8 checks
+  * Only use current dir if it actually looks like git (Fixes #202)
+  * reactivate test_obscpio_extract_d
+  * fix broken test create_archive
+  * fix broken tests for broken-links
+  * changed PREFIX in Gnumakefile to /usr
+  * new cli option --skip-cleanup
+  * fix for broken links
+  * fix reference to snapcraft YAML file
+  * fix docstring typo in TarSCM.scm.tar.fetch_upstream
+  * acknowledge deficiencies in dev docs
+  * wrap long lines in README
+
+---

Old:

  obs-service-tar_scm-0.8.0.1507129410.0cb2d44.tar.gz

New:

  obs-service-tar_scm-0.8.0.1520581079.e26b0ae.tar.gz



Other differences:
--
++ obs-service-tar_scm.spec ++
--- /var/tmp/diff_new_pack.5kw76W/_old  2018-04-22 14:30:59.135758712 +0200
+++ /var/tmp/diff_new_pack.5kw76W/_new  2018-04-22 14:30:59.139758567 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package obs-service-tar_scm
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX 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,11 +19,11 @@
 %bcond_without obs_scm_testsuite
 
 Name:   obs-service-tar_scm
-%define version_unconverted 0.8.0.1507129410.0cb2d44
-Version:0.8.0.1507129410.0cb2d44
+%define version_unconverted 0.8.0.1520581079.e26b0ae
+Version:0.8.0.1520581079.e26b0ae
 Release:0
 Summary:An OBS source service: create tar ball from svn/git/hg
-License:GPL-2.0+
+License:GPL-2.0-or-later
 Group:  Development/Tools/Building
 Url:https://github.com/openSUSE/obs-service-tar_scm
 Source: %{name}-%{version}.tar.gz
@@ -34,6 +34,7 @@
 BuildRequires:  bzr
 BuildRequires:  git-core
 BuildRequires:  mercurial
+BuildRequires:  subversion
 %if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version}
 %define py_compile(O)  \
 find %1 -name '*.pyc' -exec rm -f {} \\; \
@@ -50,15 +51,14 @@
 BuildRequires:  python-dateutil
 BuildRequires:  python-lxml
 BuildRequires:  python-mock
-BuildRequires:  subversion
+BuildRequires:  python-unittest2
 %endif
 BuildRequires:  python >= 2.6
-BuildRequires:  python-unittest2
-Requires:   bzr
 Requires:   git-core
-Requires:   mercurial
+Recommends: bzr
+Recommends: mercurial
+Recommends: subversion
 Requires:   obs-service-obs_scm-common = %version-%release
-Requires:   subversion
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
 
@@ -99,11 +99,11 @@
 Summary:Creates a OBS cpio from a remote SCM resource
 Group:  Development/Tools/Building
 Provides:   obs-service-tar_scm:/usr/lib/obs/service/obs_scm.service
-Requires:   bzr
 Requires:   git-core
-Requires:   mercurial
+Recommends: bzr
+Recommends: mercurial
+Recommends: subversion
 Requires:   obs-service-obs_scm-common = %version-%release
-Requires:   subversion
 
 %description -n obs-service-obs_scm
 Creates a OBS cpio from a remote SCM resource.
@@ -114,11 +114,11 @@
 %package -n obs-service-appimage
 Summary:Handles source downloads defined in appimage.yml files
 Group:  Development/Tools/Building
-Requires:   bzr
 Requires:   git-core
-Requires:   mercurial
+Recommends: bzr
+Recommends: mercurial
+Recommends: subversion
 Requires:   obs-service-obs_scm-common = %version-%release
-Requires:   subversion
 
 %description -n

commit obs-service-tar_scm for openSUSE:Factory

2017-10-18 Thread root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2017-10-18 12:49:38

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new (New)


Package is "obs-service-tar_scm"

Wed Oct 18 12:49:38 2017 rev:45 rq:533590 version:0.8.0.1507129410.0cb2d44

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2017-07-21 22:48:48.245765548 +0200
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new/obs-service-tar_scm.changes 
2017-10-18 12:49:45.061273674 +0200
@@ -1,0 +2,12 @@
+Wed Oct 11 06:48:27 UTC 2017 - adr...@suse.de
+
+- Update to version 0.8.0.1507129410.0cb2d44:
+  * mention _none_ version string for people who need it for kiwi root 
archives for example
+  * git: Support url change
+  * change ordering so that latest change is on top
+  * also override timestamps of files in cpio
+  * Sort cpio file list
+  * [dist] fix spec file py_compile for fedora
+  * Sort tar file list
+
+---

Old:

  obs-service-tar_scm-0.8.0.1499787575.2419460.tar.gz

New:

  PKGBUILD
  obs-service-tar_scm-0.8.0.1507129410.0cb2d44.tar.gz



Other differences:
--
++ obs-service-tar_scm.spec ++
--- /var/tmp/diff_new_pack.6PhSZL/_old  2017-10-18 12:49:47.169174949 +0200
+++ /var/tmp/diff_new_pack.6PhSZL/_new  2017-10-18 12:49:47.173174761 +0200
@@ -19,8 +19,8 @@
 %bcond_without obs_scm_testsuite
 
 Name:   obs-service-tar_scm
-%define version_unconverted 0.8.0.1499787575.2419460
-Version:0.8.0.1499787575.2419460
+%define version_unconverted 0.8.0.1507129410.0cb2d44
+Version:0.8.0.1507129410.0cb2d44
 Release:0
 Summary:An OBS source service: create tar ball from svn/git/hg
 License:GPL-2.0+
@@ -35,6 +35,14 @@
 BuildRequires:  git-core
 BuildRequires:  mercurial
 %if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version}
+%define py_compile(O)  \
+find %1 -name '*.pyc' -exec rm -f {} \\; \
+python -c "import sys, os, compileall; br='%{buildroot}'; 
compileall.compile_dir(sys.argv[1], ddir=br and 
(sys.argv[1][len(os.path.abspath(br)):]+'/') or None)" %1 \
+%{-O: \
+find %1 -name '*.pyo' -exec rm -f {} \\; \
+python -O -c "import sys, os, compileall; br='%{buildroot}'; 
compileall.compile_dir(sys.argv[1], ddir=br and 
(sys.argv[1][len(os.path.abspath(br)):]+'/') or None)" %1 \
+}
+
 BuildRequires:  PyYAML
 %else
 BuildRequires:  python-PyYAML
@@ -135,7 +143,11 @@
 %setup -q -n obs-service-tar_scm-%version
 
 %build
+%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version}
+%py_compile .
+%else
 %py_compile %{buildroot}
+%endif
 
 %install
 make install DESTDIR="%{buildroot}" PREFIX="%{_prefix}" SYSCFG="%{_sysconfdir}"

++ PKGBUILD ++
pkgname=obs-service-tar_scm
pkgver=0.8.0.1507129410.0cb2d44
pkgrel=0
pkgdesc="Source Service for the OpenSUSE Build Service (OBS)"
arch=('any')
url="https://github.com/openSUSE/obs-service-tar_scm";
license=('GPL3')
groups=('base-devel')
makedepends=('python2' 'python2-yaml' 'python2-dateutil' 'python2-lxml' 
'python2-mock' 'python2-unittest2' 'bzr' 'git' 'mercurial' 'subversion' )
depends=('python2' 'python2-yaml' 'python2-dateutil' 'python2-argparse' 'cpio' 
'git' 'bzr' 'mercurial' 'subversion' )
source=("obs-service-tar_scm-${pkgver}.tar.gz::https://github.com/openSUSE/obs-service-tar_scm/archive/v${pkgver}.tar.gz";)
provides=('obs-service-tar')
sha256sums=('SKIP')

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" PREFIX=/usr install
}

++ _servicedata ++
--- /var/tmp/diff_new_pack.6PhSZL/_old  2017-10-18 12:49:47.237171764 +0200
+++ /var/tmp/diff_new_pack.6PhSZL/_new  2017-10-18 12:49:47.237171764 +0200
@@ -5,4 +5,4 @@
 git://github.com/M0ses/obs-service-tar_scm.git
   b742dfc0e12755cf306a95439494b5bdde7c0c61
 git://github.com/openSUSE/obs-service-tar_scm.git
-  af556cadb955aa9872293ea8d738d60f065e592c
\ No newline at end of file
+  750affe3712d0fccfbc7b9cab03d278de28f5543
\ No newline at end of file

++ obs-service-tar_scm-0.8.0.1499787575.2419460.tar.gz -> 
obs-service-tar_scm-0.8.0.1507129410.0cb2d44.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/obs-service-tar_scm-0.8.0.1499787575.2419460/TarSCM/archive.py 
new/obs-service-tar_scm-0.8.0.1507129410.0cb2d44/TarSCM/archive.py
--- old/obs-service-tar_scm-0.8.0.1499787575.2419460/TarSCM/archive.py  
2017-07-11 17:39:35.0 +0200
+++ new/obs-service-tar_scm-0.8.0.1507129410.0cb2d44/TarSCM/archive.py  
2017-10-04 17:03:30.0

commit obs-service-tar_scm for openSUSE:Factory

2017-07-21 Thread root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2017-07-21 22:48:47

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new (New)


Package is "obs-service-tar_scm"

Fri Jul 21 22:48:47 2017 rev:44 rq:511358 version:0.8.0.1499787575.2419460

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2017-06-27 10:21:44.423225941 +0200
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new/obs-service-tar_scm.changes 
2017-07-21 22:48:48.245765548 +0200
@@ -1,0 +2,37 @@
+Wed Jul 12 05:58:08 UTC 2017 - opensuse-packag...@opensuse.org
+
+- Update to version 0.8.0.1499787575.2419460:
+  * [test] refactor of fake classes
+  * [bugfix] fix UnboundLocalError: local variable 'parent_tag'
+
+---
+Tue Jul 11 15:59:10 UTC 2017 - opensuse-packag...@opensuse.org
+
+- Update to version 0.8.0.1499787575.2419460:
+  * [dist] changed to %py_compile in spec file
+  * [bugfix] fixes issue #173
+  * [bugfix] Decoupled self.scm from class name in TarSCM/scm/*
+  * [lint] make tests/unittestcases.py flake8 ready
+  * [lint] more fixes for pylint readiness
+  * [lint] refactor unittestcases.py
+  * [test] increase cov for TarSCM.archive from 61% to 92%
+  * [doc] added comment to --use-obs-scm
+  * [test] refactor of fake classes
+  * [bugfix] fix UnboundLocalError: local variable 'parent_tag'
+
+---
+Sun Jul  9 11:08:37 UTC 2017 - adr...@suse.de
+
+- hotfix runtime of obs_scm
+
+---
+Sat Jul 01 09:44:17 UTC 2017 - opensuse-packag...@opensuse.org
+
+- Update to version 0.8.0.1498846582.8799787:
+  * fix for gh issue #169
+  * new version placeholder for empty version string
+  * fix for bzr locale problem in testsuite
+  * pylint and flake8 in testsuite for better code quality
+  * code cleanup to be more pylint and flake8 compatible
+
+---

Old:

  obs-service-tar_scm-0.7.0.1497870887.fa1750b.tar.gz

New:

  obs-service-tar_scm-0.8.0.1499787575.2419460.tar.gz



Other differences:
--
++ obs-service-tar_scm.spec ++
--- /var/tmp/diff_new_pack.DbYdkg/_old  2017-07-21 22:48:48.985661177 +0200
+++ /var/tmp/diff_new_pack.DbYdkg/_new  2017-07-21 22:48:48.989660612 +0200
@@ -19,8 +19,8 @@
 %bcond_without obs_scm_testsuite
 
 Name:   obs-service-tar_scm
-%define version_unconverted 0.7.0.1497870887.fa1750b
-Version:0.7.0.1497870887.fa1750b
+%define version_unconverted 0.8.0.1499787575.2419460
+Version:0.8.0.1499787575.2419460
 Release:0
 Summary:An OBS source service: create tar ball from svn/git/hg
 License:GPL-2.0+
@@ -135,12 +135,14 @@
 %setup -q -n obs-service-tar_scm-%version
 
 %build
+%py_compile %{buildroot}
 
 %install
 make install DESTDIR="%{buildroot}" PREFIX="%{_prefix}" SYSCFG="%{_sysconfdir}"
 
 %if %{with obs_scm_testsuite}
 %if 0%{?suse_version} >= 1220
+
 %check
 # No need to run PEP8 tests here; that would require a potentially
 # brittle BuildRequires: python-pep8, and any style issues are already

++ _service ++
--- /var/tmp/diff_new_pack.DbYdkg/_old  2017-07-21 22:48:49.069649328 +0200
+++ /var/tmp/diff_new_pack.DbYdkg/_new  2017-07-21 22:48:49.073648764 +0200
@@ -4,7 +4,7 @@
 git
 .git
 git-master
-0.7.0.%ct.%h
+0.8.0.%ct.%h
 enable
 dist/obs-service-tar_scm.spec
   

++ _servicedata ++
--- /var/tmp/diff_new_pack.DbYdkg/_old  2017-07-21 22:48:49.097645379 +0200
+++ /var/tmp/diff_new_pack.DbYdkg/_new  2017-07-21 22:48:49.097645379 +0200
@@ -5,4 +5,4 @@
 git://github.com/M0ses/obs-service-tar_scm.git
   b742dfc0e12755cf306a95439494b5bdde7c0c61
 git://github.com/openSUSE/obs-service-tar_scm.git
-  fa1750b7f620aee1f85304514daf712f18bb035b
\ No newline at end of file
+  af556cadb955aa9872293ea8d738d60f065e592c
\ No newline at end of file

++ obs-service-tar_scm-0.7.0.1497870887.fa1750b.tar.gz -> 
obs-service-tar_scm-0.8.0.1499787575.2419460.tar.gz ++
 3429 lines of diff (skipped)




commit obs-service-tar_scm for openSUSE:Factory

2017-06-27 Thread root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2017-06-27 10:21:29

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new (New)


Package is "obs-service-tar_scm"

Tue Jun 27 10:21:29 2017 rev:43 rq:506248 version:0.7.0.1497870887.fa1750b

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2017-06-16 10:54:17.731619562 +0200
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new/obs-service-tar_scm.changes 
2017-06-27 10:21:44.423225941 +0200
@@ -1,0 +2,6 @@
+Mon Jun 19 11:16:11 UTC 2017 - adr...@suse.de
+
+- Update to version 0.7.0.1497261741.b1aa4cb:
+  * Move spec file to git
+
+---
@@ -6,6 +11,0 @@
-  * [lint] improve inline doc in TarSCM/tasks.py
-  * [lint] refactor attribute dataMap in TarSCM.tasks
-  * [lint] refactor invalid variable names in TarSCM.tasks
-  * [lint] remove variable helpers from TarSCM.tasks
-  * [lint] rename variable changes -> detected_changes in TarSCM.tasks
-  * [lint] fixed 'line-to-long' error in TarSCM.tasks

Old:

  obs-service-tar_scm-0.7.0.1496831936.d960322.tar.gz

New:

  obs-service-tar_scm-0.7.0.1497870887.fa1750b.tar.gz



Other differences:
--
++ obs-service-tar_scm.spec ++
--- /var/tmp/diff_new_pack.VX43Sb/_old  2017-06-27 10:21:45.323098757 +0200
+++ /var/tmp/diff_new_pack.VX43Sb/_new  2017-06-27 10:21:45.327098192 +0200
@@ -19,8 +19,8 @@
 %bcond_without obs_scm_testsuite
 
 Name:   obs-service-tar_scm
-%define version_unconverted 0.7.0.1496831936.d960322
-Version:0.7.0.1496831936.d960322
+%define version_unconverted 0.7.0.1497870887.fa1750b
+Version:0.7.0.1497870887.fa1750b
 Release:0
 Summary:An OBS source service: create tar ball from svn/git/hg
 License:GPL-2.0+

++ _service ++
--- /var/tmp/diff_new_pack.VX43Sb/_old  2017-06-27 10:21:45.359093670 +0200
+++ /var/tmp/diff_new_pack.VX43Sb/_new  2017-06-27 10:21:45.363093104 +0200
@@ -6,6 +6,7 @@
 git-master
 0.7.0.%ct.%h
 enable
+dist/obs-service-tar_scm.spec
   
   
 *.tar

++ _servicedata ++
--- /var/tmp/diff_new_pack.VX43Sb/_old  2017-06-27 10:21:45.383090278 +0200
+++ /var/tmp/diff_new_pack.VX43Sb/_new  2017-06-27 10:21:45.383090278 +0200
@@ -5,4 +5,4 @@
 git://github.com/M0ses/obs-service-tar_scm.git
   b742dfc0e12755cf306a95439494b5bdde7c0c61
 git://github.com/openSUSE/obs-service-tar_scm.git
-  03230fdf240addb3dd1ba3201beef50722cc87ac
\ No newline at end of file
+  fa1750b7f620aee1f85304514daf712f18bb035b
\ No newline at end of file

++ obs-service-tar_scm-0.7.0.1496831936.d960322.tar.gz -> 
obs-service-tar_scm-0.7.0.1497870887.fa1750b.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/obs-service-tar_scm-0.7.0.1496831936.d960322/TarSCM/__init__.py 
new/obs-service-tar_scm-0.7.0.1497870887.fa1750b/TarSCM/__init__.py
--- old/obs-service-tar_scm-0.7.0.1496831936.d960322/TarSCM/__init__.py 
2017-06-07 12:38:56.0 +0200
+++ new/obs-service-tar_scm-0.7.0.1497870887.fa1750b/TarSCM/__init__.py 
2017-06-19 13:14:47.0 +0200
@@ -1,3 +1,5 @@
+from __future__ import print_function
+
 import sys
 import os
 
@@ -31,8 +33,8 @@
 
 try:
 task_list.process_list()
-except OptionsError as e:
-print(e)
+except OptionsError as exc:
+print(exc)
 sys.exit(1)
 
 task_list.finalize(_cli)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/obs-service-tar_scm-0.7.0.1496831936.d960322/TarSCM/tasks.py 
new/obs-service-tar_scm-0.7.0.1497870887.fa1750b/TarSCM/tasks.py
--- old/obs-service-tar_scm-0.7.0.1496831936.d960322/TarSCM/tasks.py
2017-06-07 12:38:56.0 +0200
+++ new/obs-service-tar_scm-0.7.0.1497870887.fa1750b/TarSCM/tasks.py
2017-06-19 13:14:47.0 +0200
@@ -104,7 +104,7 @@
 process tasks from the task_list
 '''
 for task in self.task_list:
-self._process_single_task(task)
+self.process_single_task(task)
 
 def finalize(self, args):
 '''
@@ -119,7 +119,7 @@
 outfile.write(yaml.dump(self.data_map,
 default_flow_style=False))
 
-def _process_single_task(self, args):
+def process_single_task(self, args):
 '''
 do the work for a single task
 '''
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/obs-service-tar_scm-0.7

commit obs-service-tar_scm for openSUSE:Factory

2017-06-16 Thread root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2017-06-16 10:54:16

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new (New)


Package is "obs-service-tar_scm"

Fri Jun 16 10:54:16 2017 rev:42 rq:503658 version:0.7.0.1496831936.d960322

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2017-05-16 14:45:44.762148253 +0200
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new/obs-service-tar_scm.changes 
2017-06-16 10:54:17.731619562 +0200
@@ -1,0 +2,19 @@
+Wed Jun 07 10:40:27 UTC 2017 - adr...@suse.de
+
+- Update to version 0.7.0.1496831936.d960322:
+  * fix for nonexistant build section in appimage.yml
+  * [lint] improve inline doc in TarSCM/tasks.py
+  * [lint] refactor attribute dataMap in TarSCM.tasks
+  * [lint] refactor invalid variable names in TarSCM.tasks
+  * [lint] remove variable helpers from TarSCM.tasks
+  * [lint] rename variable changes -> detected_changes in TarSCM.tasks
+  * [lint] fixed 'line-to-long' error in TarSCM.tasks
+  * more documentation for README.md
+  * Update control
+
+---
+Wed Jun  7 08:53:48 UTC 2017 - adr...@suse.de
+
+- add python-yaml for debian distros
+
+---

Old:

  obs-service-tar_scm-0.7.0.1492101301.747de50.tar.gz

New:

  obs-service-tar_scm-0.7.0.1496831936.d960322.tar.gz



Other differences:
--
++ obs-service-tar_scm.spec ++
--- /var/tmp/diff_new_pack.nDWpCp/_old  2017-06-16 10:54:19.015438835 +0200
+++ /var/tmp/diff_new_pack.nDWpCp/_new  2017-06-16 10:54:19.019438271 +0200
@@ -19,8 +19,8 @@
 %bcond_without obs_scm_testsuite
 
 Name:   obs-service-tar_scm
-%define version_unconverted 0.7.0.1492101301.747de50
-Version:0.7.0.1492101301.747de50
+%define version_unconverted 0.7.0.1496831936.d960322
+Version:0.7.0.1496831936.d960322
 Release:0
 Summary:An OBS source service: create tar ball from svn/git/hg
 License:GPL-2.0+
@@ -45,6 +45,7 @@
 BuildRequires:  subversion
 %endif
 BuildRequires:  python >= 2.6
+BuildRequires:  python-unittest2
 Requires:   bzr
 Requires:   git-core
 Requires:   mercurial

++ _servicedata ++
--- /var/tmp/diff_new_pack.nDWpCp/_old  2017-06-16 10:54:19.091428137 +0200
+++ /var/tmp/diff_new_pack.nDWpCp/_new  2017-06-16 10:54:19.095427575 +0200
@@ -5,4 +5,4 @@
 git://github.com/M0ses/obs-service-tar_scm.git
   b742dfc0e12755cf306a95439494b5bdde7c0c61
 git://github.com/openSUSE/obs-service-tar_scm.git
-  8c65b8acb16e46f25c5b11d2a16378346d821923
\ No newline at end of file
+  03230fdf240addb3dd1ba3201beef50722cc87ac
\ No newline at end of file

++ debian.dsc ++
--- /var/tmp/diff_new_pack.nDWpCp/_old  2017-06-16 10:54:19.115424759 +0200
+++ /var/tmp/diff_new_pack.nDWpCp/_new  2017-06-16 10:54:19.115424759 +0200
@@ -11,7 +11,7 @@
 Package: obs-service-tar-scm
 Architecture: all
 Provides: obs-service-obs-scm, obs-service-tar
-Depends: ${misc:Depends}, ${python:Depends}, bzr, git, subversion, cpio, 
python-dateutil
+Depends: ${misc:Depends}, ${python:Depends}, bzr, git, subversion, cpio, 
python-dateutil, python-yaml
 Recommends: mercurial
 Description: An OBS source service: fetches SCM tarballs
  This is a source service for openSUSE Build Service.

++ obs-service-tar_scm-0.7.0.1492101301.747de50.tar.gz -> 
obs-service-tar_scm-0.7.0.1496831936.d960322.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/obs-service-tar_scm-0.7.0.1492101301.747de50/README.md 
new/obs-service-tar_scm-0.7.0.1496831936.d960322/README.md
--- old/obs-service-tar_scm-0.7.0.1492101301.747de50/README.md  2017-04-13 
18:35:01.0 +0200
+++ new/obs-service-tar_scm-0.7.0.1496831936.d960322/README.md  2017-06-07 
12:38:56.0 +0200
@@ -10,6 +10,38 @@
 
 The service can be used in combination with other services like 
[download_files](https://github.com/openSUSE/obs-service-download_files), 
[extract_file](https://github.com/openSUSE/obs-service-extract_file), 
[recompress](https://github.com/openSUSE/obs-service-recompress) or 
[set_version](https://github.com/openSUSE/obs-service-set_version) e.g. within 
the [GIT 
integration](https://en.opensuse.org/openSUSE:Build_Service_Concept_SourceService#Example_2:_GIT_integration)
 workflow.
 
+## Archive Formats
+
+### obscpio
+The `obscpio` archive format is the new OBS specific archive format based on 
`cpio` which can be consumed and generated by the [OBS

commit obs-service-tar_scm for openSUSE:Factory

2017-05-16 Thread root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2017-05-16 14:44:19

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new (New)


Package is "obs-service-tar_scm"

Tue May 16 14:44:19 2017 rev:41 rq:494609 version:0.7.0.1492101301.747de50

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2017-04-20 20:59:24.660174982 +0200
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new/obs-service-tar_scm.changes 
2017-05-16 14:45:44.762148253 +0200
@@ -1,0 +2,5 @@
+Thu May 11 11:49:37 UTC 2017 - marco.str...@suse.com
+
+- added Requires: python2 for Fedora >= 25 
+
+---



Other differences:
--
++ obs-service-tar_scm.spec ++
--- /var/tmp/diff_new_pack.Zx3Z8y/_old  2017-05-16 14:45:45.726012820 +0200
+++ /var/tmp/diff_new_pack.Zx3Z8y/_new  2017-05-16 14:45:45.730012257 +0200
@@ -62,13 +62,17 @@
 Summary:Common parts of SCM handling services
 Group:  Development/Tools/Building
 Requires:   python-dateutil
-%if 0%{?suse_version} < 1315
-Requires:   python-argparse
-%endif
 %if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version}
 Requires:   PyYAML
 %else
 Requires:   python-PyYAML
+%if 0%{?suse_version} < 1315
+Requires:   python-argparse
+%endif
+%endif
+
+%if 0%{?fedora_version} >= 25
+Requires:   python2
 %endif
 
 %description -n obs-service-obs_scm-common




commit obs-service-tar_scm for openSUSE:Factory

2017-04-20 Thread root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2017-04-20 20:59:21

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new (New)


Package is "obs-service-tar_scm"

Thu Apr 20 20:59:21 2017 rev:40 rq:489538 version:0.7.0.1492101301.747de50

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2017-04-11 09:34:21.376678036 +0200
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new/obs-service-tar_scm.changes 
2017-04-20 20:59:24.660174982 +0200
@@ -2 +2,66 @@
-Fri Mar 24 12:55:48 UTC 2017 - opensuse-packag...@opensuse.org
+Tue Apr 18 07:17:45 UTC 2017 - fv...@suse.com
+
+- Only BuildRequire packages needed for testsuite if the testsuite
+  is enabled
+
+---
+Thu Apr 13 16:35:38 UTC 2017 - adr...@suse.de
+
+- Update to version 0.7.0.1492101301.747de50:
+  * skip broken tests temporarily
+
+---
+Thu Apr 13 15:11:44 UTC 2017 - adr...@suse.de
+
+- Update to version 0.7.0.1492095435.eda090e:
+  * revision, repodir and repocachedir as attribute for TarSCM.
+  * new class TarSCM.cli to make testing easier
+  * testing script name more reliable
+  * fixed arguments for singletask in case of snapcraft
+  * refactored snapcraft code + first tests for snapcraft
+  * added testcase for snapcraft finalize
+  * split classes into several files
+  * track module dependencies in requirements.txt
+  * use unittest2 in Python 2.6
+  * more testing for TarSCM.tasks
+  * clone_dir/repodir/arch_dir(tar_dir)/args now attributes of scm objects
+  * test case for save_run
+  * major refactor of git cache handling
+  * consolidation of archive.obscpio and archive.tar parameters
+  * next test cases
+  * unset CACHEDIRECTORY env variable in unit tests
+  * update atime/mtime of repocachedir if already exists
+  * prevent key errors when $HOME is not set
+  * fix PEP8 problems and reenable PEP8 testing
+  * keep checkout while running with osc
+  * fix local checkout when running in osc
+  * force remove of files while 'make clean'
+  * fix: also exclude directories when called .git
+  * fix problems with generatechanges when ~/.obs/tar_scm exists
+  * initial appimage support
+  * Provide version rewrite using a regex pattern and replacement.
+  * new parameter --match-tag to filter tags
+  * keep .gitlab/.github directories
+
+---
+Thu Apr 13 15:07:10 UTC 2017 - adr...@suse.de
+
+- Update to version 0.7.0.1491998613.3890456:
+  * refactor of detect_changes into classes
+  * url as attribute of TarSCM.scm
+  * run_cmd and safe_run moved into class helpers
+  * combine os.path.join statement
+  * refactoring fetch_upstream to be part of TarSCM.scm
+  * new classes for archives
+  * common method 'get_current_commit' to get rid of exception for git
+  * refactored detect_changes to get rid of changesgenerate exception
+  * get_repocachedir -> TarSCM.scm
+  * Add description to the README.md file
+
+---
+Wed Apr 12 14:04:07 UTC 2017 - adr...@suse.de
+
+- split services into own rpms
+
+---
+Fri Mar 24 12:55:48 UTC 2017 - adr...@suse.de
@@ -8 +73 @@
-Thu Mar 23 10:09:38 UTC 2017 - opensuse-packag...@opensuse.org
+Thu Mar 23 10:09:38 UTC 2017 - adr...@suse.de

Old:

  obs-service-tar_scm-0.7.0.1490358243.8de854e.tar.gz

New:

  obs-service-tar_scm-0.7.0.1492101301.747de50.tar.gz



Other differences:
--
++ obs-service-tar_scm.spec ++
--- /var/tmp/diff_new_pack.6TCCQ8/_old  2017-04-20 20:59:25.768018306 +0200
+++ /var/tmp/diff_new_pack.6TCCQ8/_new  2017-04-20 20:59:25.768018306 +0200
@@ -1,5 +1,5 @@
 #
-# spec file for package obs-service
+# spec file for package obs-service-tar_scm
 #
 # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
@@ -16,35 +16,24 @@
 #
 
 
-%define service tar_scm
-%define seperate_build 0
+%bcond_without obs_scm_testsuite
 
-%if "%seperate_build" == "1"
-%define version_unconverted 0.7.0.1490358243.8de854e
-
-Name:   obs-service-obs_scm
-%else
-%define version_unconverted 0.7.0.1490358243.8de854e
-
-Name:   obs-service-%{service}
-#Obsoletes:  obs-service-obs_scm
-Provides:   obs-service-obs_scm = %version-%release
-%endif
-Provides:   obs-service-tar = %version-%release
-Version:0.7.0.1490358243.8de854e
+Name:   obs-service-tar_scm
+%define version_unconverted 0.7.0.1492101301.747de50
+Version:0.7.0.14921

commit obs-service-tar_scm for openSUSE:Factory

2017-04-11 Thread root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2017-04-11 09:34:16

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new (New)


Package is "obs-service-tar_scm"

Tue Apr 11 09:34:16 2017 rev:39 rq:483229 version:0.7.0.1490358243.8de854e

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2017-02-28 23:51:29.077523579 +0100
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new/obs-service-tar_scm.changes 
2017-04-11 09:34:21.376678036 +0200
@@ -1,0 +2,16 @@
+Fri Mar 24 12:55:48 UTC 2017 - opensuse-packag...@opensuse.org
+
+- Update to version 0.7.0.1490358243.8de854e:
+  * keep .gitlab/.github directories
+
+---
+Thu Mar 23 10:09:38 UTC 2017 - opensuse-packag...@opensuse.org
+
+- Update to version 0.7.0.1490263157.682db30:
+  * Provide version rewrite using a regex pattern and replacement.
+  * initial appimage support
+  * make pep8 happy again
+  * test cases for version rewrite
+  * new parameter --match-tag to filter tags
+
+---

Old:

  obs-service-tar_scm-0.7.0.1484082405.7671be8.tar.gz

New:

  obs-service-tar_scm-0.7.0.1490358243.8de854e.tar.gz



Other differences:
--
++ obs-service-tar_scm.spec ++
--- /var/tmp/diff_new_pack.VUMlFB/_old  2017-04-11 09:34:23.436387076 +0200
+++ /var/tmp/diff_new_pack.VUMlFB/_new  2017-04-11 09:34:23.436387076 +0200
@@ -20,18 +20,18 @@
 %define seperate_build 0
 
 %if "%seperate_build" == "1"
-%define version_unconverted 0.7.0.1484082405.7671be8
+%define version_unconverted 0.7.0.1490358243.8de854e
 
 Name:   obs-service-obs_scm
 %else
-%define version_unconverted 0.7.0.1484082405.7671be8
+%define version_unconverted 0.7.0.1490358243.8de854e
 
 Name:   obs-service-%{service}
 #Obsoletes:  obs-service-obs_scm
 Provides:   obs-service-obs_scm = %version-%release
 %endif
 Provides:   obs-service-tar = %version-%release
-Version:0.7.0.1484082405.7671be8
+Version:0.7.0.1490358243.8de854e
 Release:0
 Summary:An OBS source service: checkout or update a tar ball from 
svn/git/hg
 License:GPL-2.0+
@@ -45,7 +45,11 @@
 BuildRequires:  git-core
 BuildRequires:  mercurial
 BuildRequires:  python >= 2.6
+%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version}
+BuildRequires:  PyYAML
+%else
 BuildRequires:  python-PyYAML
+%endif
 BuildRequires:  python-dateutil
 BuildRequires:  python-lxml
 BuildRequires:  python-mock
@@ -53,7 +57,11 @@
 Requires:   bzr
 Requires:   git-core
 Requires:   mercurial
+%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version}
+Requires:   PyYAML
+%else
 Requires:   python-PyYAML
+%endif
 Requires:   python-dateutil
 Requires:   subversion
 %if 0%{?suse_version} < 1315

++ _servicedata ++
--- /var/tmp/diff_new_pack.VUMlFB/_old  2017-04-11 09:34:23.476381426 +0200
+++ /var/tmp/diff_new_pack.VUMlFB/_new  2017-04-11 09:34:23.480380861 +0200
@@ -3,4 +3,4 @@
 git://github.com/adrianschroeter/obs-service-tar_scm.git
   d44d677cf006d48b261f5e2054ba2126bed64ae1
 git://github.com/M0ses/obs-service-tar_scm.git
-  7671be8f317658daec2bb24970bcba791396d9bd
\ No newline at end of file
+  b742dfc0e12755cf306a95439494b5bdde7c0c61
\ No newline at end of file

++ obs-service-tar_scm-0.7.0.1484082405.7671be8.tar.gz -> 
obs-service-tar_scm-0.7.0.1490358243.8de854e.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/obs-service-tar_scm-0.7.0.1484082405.7671be8/GNUmakefile 
new/obs-service-tar_scm-0.7.0.1490358243.8de854e/GNUmakefile
--- old/obs-service-tar_scm-0.7.0.1484082405.7671be8/GNUmakefile
2017-01-10 22:06:45.0 +0100
+++ new/obs-service-tar_scm-0.7.0.1490358243.8de854e/GNUmakefile
2017-03-24 13:24:03.0 +0100
@@ -36,7 +36,7 @@
echo "pep8 not installed!  Cannot check PEP8 compliance; 
aborting." >&2; \
exit 1; \
fi
-   find -name \*.py | xargs pep8 --ignore=E221,E251,E272,E241,E731 $<
+   find -name \*.py | xargs pep8 --ignore=E221,E251,E272,E241,E731,E402
 
 .PHONY: test
 test:
@@ -68,10 +68,13 @@
ln -s tar_scm $(DESTDIR)$(mylibdir)/obs_scm
[ ! -L $(DESTDIR)$(mylibdir)/tar ] || rm $(DESTDIR)$(mylibdir)/tar
ln -s tar_scm $(DESTDIR)$(mylibdir)/tar
+   [ ! -L $(DESTDIR)$(mylibdir)/appimage ] || rm 
$(DESTDIR)$(mylibdir)/appimage
+   ln -s tar_scm $(DESTDIR)$(mylibdir)

commit obs-service-tar_scm for openSUSE:Factory

2017-02-28 Thread root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2017-02-28 23:51:26

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new (New)


Package is "obs-service-tar_scm"

Tue Feb 28 23:51:26 2017 rev:38 rq:460913 version:0.7.0.1484082405.7671be8

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2017-01-23 11:40:39.410076940 +0100
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new/obs-service-tar_scm.changes 
2017-02-28 23:51:29.077523579 +0100
@@ -1,0 +2,6 @@
+Tue Feb 28 13:45:43 UTC 2017 - dims...@opensuse.org
+
+- Replayce python-yaml Requires/Buildrequires with python-PyYAML,
+  which is actually its correct name.
+
+---



Other differences:
--
++ obs-service-tar_scm.spec ++
--- /var/tmp/diff_new_pack.BLSrJn/_old  2017-02-28 23:51:29.773425358 +0100
+++ /var/tmp/diff_new_pack.BLSrJn/_new  2017-02-28 23:51:29.777424793 +0100
@@ -45,16 +45,16 @@
 BuildRequires:  git-core
 BuildRequires:  mercurial
 BuildRequires:  python >= 2.6
+BuildRequires:  python-PyYAML
 BuildRequires:  python-dateutil
 BuildRequires:  python-lxml
 BuildRequires:  python-mock
-BuildRequires:  python-yaml
 BuildRequires:  subversion
 Requires:   bzr
 Requires:   git-core
 Requires:   mercurial
+Requires:   python-PyYAML
 Requires:   python-dateutil
-Requires:   python-yaml
 Requires:   subversion
 %if 0%{?suse_version} < 1315
 Requires:   python-argparse




commit obs-service-tar_scm for openSUSE:Factory

2017-01-23 Thread root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2017-01-23 11:39:59

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new (New)


Package is "obs-service-tar_scm"

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2017-01-09 10:55:14.611899740 +0100
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new/obs-service-tar_scm.changes 
2017-01-23 11:40:39.410076940 +0100
@@ -1,0 +2,6 @@
+Tue Jan 10 21:07:47 UTC 2017 - opensuse-packag...@opensuse.org
+
+- Update to version 0.7.0.1484082405.7671be8:
+  * fix problems with generatechanges when ~/.obs/tar_scm exists
+
+---

Old:

  obs-service-tar_scm-0.7.0.1481203567.804351a.tar.gz

New:

  obs-service-tar_scm-0.7.0.1484082405.7671be8.tar.gz



Other differences:
--
++ obs-service-tar_scm.spec ++
--- /var/tmp/diff_new_pack.RMP4A5/_old  2017-01-23 11:40:39.806020780 +0100
+++ /var/tmp/diff_new_pack.RMP4A5/_new  2017-01-23 11:40:39.810020213 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package obs-service
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,18 +20,18 @@
 %define seperate_build 0
 
 %if "%seperate_build" == "1"
-%define version_unconverted 0.7.0.1481203567.804351a
+%define version_unconverted 0.7.0.1484082405.7671be8
 
 Name:   obs-service-obs_scm
 %else
-%define version_unconverted 0.7.0.1481203567.804351a
+%define version_unconverted 0.7.0.1484082405.7671be8
 
 Name:   obs-service-%{service}
 #Obsoletes:  obs-service-obs_scm
 Provides:   obs-service-obs_scm = %version-%release
 %endif
 Provides:   obs-service-tar = %version-%release
-Version:0.7.0.1481203567.804351a
+Version:0.7.0.1484082405.7671be8
 Release:0
 Summary:An OBS source service: checkout or update a tar ball from 
svn/git/hg
 License:GPL-2.0+

++ _servicedata ++
--- /var/tmp/diff_new_pack.RMP4A5/_old  2017-01-23 11:40:39.862012838 +0100
+++ /var/tmp/diff_new_pack.RMP4A5/_new  2017-01-23 11:40:39.862012838 +0100
@@ -3,4 +3,4 @@
 git://github.com/adrianschroeter/obs-service-tar_scm.git
   d44d677cf006d48b261f5e2054ba2126bed64ae1
 git://github.com/M0ses/obs-service-tar_scm.git
-  804351ac0ab324442d3be0a830fa8b15e2adc31c
\ No newline at end of file
+  7671be8f317658daec2bb24970bcba791396d9bd
\ No newline at end of file

++ obs-service-tar_scm-0.7.0.1481203567.804351a.tar.gz -> 
obs-service-tar_scm-0.7.0.1484082405.7671be8.tar.gz ++
Binary files 
old/obs-service-tar_scm-0.7.0.1481203567.804351a/TarSCM/__init__.pyc and 
new/obs-service-tar_scm-0.7.0.1484082405.7671be8/TarSCM/__init__.pyc differ
Binary files 
old/obs-service-tar_scm-0.7.0.1481203567.804351a/TarSCM/archive.pyc and 
new/obs-service-tar_scm-0.7.0.1484082405.7671be8/TarSCM/archive.pyc differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/obs-service-tar_scm-0.7.0.1481203567.804351a/TarSCM/changes.py 
new/obs-service-tar_scm-0.7.0.1484082405.7671be8/TarSCM/changes.py
--- old/obs-service-tar_scm-0.7.0.1481203567.804351a/TarSCM/changes.py  
2016-12-08 14:26:07.0 +0100
+++ new/obs-service-tar_scm-0.7.0.1484082405.7671be8/TarSCM/changes.py  
2017-01-10 22:06:45.0 +0100
@@ -210,8 +210,8 @@
 
 # find changesauthor in $HOME/.oscrc
 try:
-files = [os.path.join(os.environ['HOME'], '.oscrc')]
-cfg = config(files, False)
+files = [[os.path.join(os.environ['HOME'], '.oscrc'),False]]
+cfg = config(files)
 
 changesauthor = None
 section = cfg.get('general', 'apiurl')
Binary files 
old/obs-service-tar_scm-0.7.0.1481203567.804351a/TarSCM/changes.pyc and 
new/obs-service-tar_scm-0.7.0.1484082405.7671be8/TarSCM/changes.pyc differ
Binary files old/obs-service-tar_scm-0.7.0.1481203567.804351a/TarSCM/cli.pyc 
and new/obs-service-tar_scm-0.7.0.1484082405.7671be8/TarSCM/cli.pyc differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/obs-service-tar_scm-0.7.0.1481203567.804351a/TarSCM/config.py 
new/obs-service-tar_scm-0.7.0.1484082405.7671be8/TarSCM/config.py
--- old/obs-service-tar_scm-0.7.0.1481203567.804351a/TarSCM/config.py   
2016-12-08 14:26:07.0 +0100
+++ new/obs-service-tar_scm-0.7.0.148408240

commit obs-service-tar_scm for openSUSE:Factory

2016-12-02 Thread h_root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2016-12-02 16:43:49

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new (New)


Package is "obs-service-tar_scm"

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2016-09-16 11:02:09.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new/obs-service-tar_scm.changes 
2016-12-02 16:43:50.0 +0100
@@ -1,0 +2,116 @@
+Thu Nov 24 15:07:29 UTC 2016 - opensuse-packag...@opensuse.org
+
+- Update to version 0.7.0.148004.4027270:
+  * fixed pip8 problems
+  * keep checkout while running with osc
+
+---
+Fri Nov 04 08:48:53 UTC 2016 - opensuse-packag...@opensuse.org
+
+- Update to version 0.7.0.1478249268.e162c66:
+  * prevent key errors when $HOME is not set
+
+---
+Sun Oct 30 20:48:49 UTC 2016 - opensuse-packag...@opensuse.org
+
+- Update to version 0.7.0.1477858520.51a62fb:
+  * added locking for cachedir in jailed mode
+  * removed setup_tracking_branches and '--dissociate'
+  * inital version of TarSCM classes
+  * scm_object generation moved to singletask
+  * FETCH_UPSTREAM_COMMANDS into classes
+  * moved update_cache_* to classes
+  * moved detect_version into classes and refactored calls of get_timestamp_*
+  * moved get_timestamp functions into scm classes
+  * git_ref_exists -> TarSCM.git._ref_exists
+  * fetch_upstream_git_submodules -> fetch_submodules to get rid of exceptions 
for git
+  * just moved some functions for better overview
+  * refactor of detect_changes into classes
+  * url as attribute of TarSCM.scm
+  * run_cmd and safe_run moved into class helpers
+  * combine os.path.join statement
+  * refactoring fetch_upstream to be part of TarSCM.scm
+  * new classes for archives
+  *  common method 'get_current_commit' to get rid of execption for git
+  * refactored detect_changes to get rid of changesgenerate exception
+  * get_repocachedir -> TarSCM.scm
+  * revision, repodir and repocachedir as attribute for TarSCM.
+  * new class TarSCM.cli to make testing easier
+  * testing script name more reliable
+  * fixed arguments for singletask in case of snapcraft
+  * refactored snapcraft code + first tests for snapcraft
+  * added testcase for snapcraft finalize
+  * split classes into serveral files
+  * more testing for TarSCM.tasks
+  * clone_dir/repodir/arch_dir(tar_dir) now attributes of scm objects
+  * test case for save_run
+  * major refactor of git cache handling
+  * consolidation of archive.obscpio and archive.tar parameters
+  * next test cases
+  * sytnax fix for "tar" service
+  * fixed tests for tar
+  * unset CACHEDIRECTORY env variable in unit tests
+  * update atime/mtime of repocachedir if already exists
+
+---
+Sun Oct 30 20:45:47 UTC 2016 - opensuse-packag...@opensuse.org
+
+- Update to version 0.7.0.1474270818.3e05f80:
+  * 
+
+---
+Thu Oct 27 11:23:36 UTC 2016 - opensuse-packag...@opensuse.org
+
+- Update to version 0.7.0.1477567374.d44d677:
+  * use '--dissociate' for git if package-meta is set
+  * added locking for cachedir in jailed mode
+  * removed setup_tracking_branches and '--dissociate'
+  * inital version of TarSCM classes
+  * scm_object generation moved to singletask
+  * FETCH_UPSTREAM_COMMANDS into classes
+  * moved update_cache_* to classes
+  * moved detect_version into classes and refactored calls of get_timestamp_*
+  * moved get_timestamp functions into scm classes
+  * git_ref_exists -> TarSCM.git._ref_exists
+  * fetch_upstream_git_submodules -> fetch_submodules to get rid of exceptions 
for git
+  * just moved some functions for better overview
+  * refactor of detect_changes into classes
+  * url as attribute of TarSCM.scm
+  * run_cmd and safe_run moved into class helpers
+  * combine os.path.join statement
+  * refactoring fetch_upstream to be part of TarSCM.scm
+  * new classes for archives
+  *  common method 'get_current_commit' to get rid of execption for git
+  * refactored detect_changes to get rid of changesgenerate exception
+  * get_repocachedir -> TarSCM.scm
+  * revision, repodir and repocachedir as attribute for TarSCM.
+  * new class TarSCM.cli to make testing easier
+  * testing script name more reliable
+  * fixed arguments for singletask in case of snapcraft
+  * refactored snapcraft code + first tests for snapcraft
+  * added testcase for snapcraft finalize
+  * split classes into serveral files
+  * more testing for TarSCM.tasks
+  * clone_dir/repodir/arch_dir(tar_dir) 

commit obs-service-tar_scm for openSUSE:Factory

2016-09-16 Thread h_root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2016-09-16 11:02:08

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new (New)


Package is "obs-service-tar_scm"

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2016-09-12 13:25:28.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new/obs-service-tar_scm.changes 
2016-09-16 11:02:09.0 +0200
@@ -1,0 +2,10 @@
+Thu Sep 15 07:49:06 UTC 2016 - adr...@suse.de
+
+- Update to version 0.6.1.1473925745.c5264bb:
+  * jailed mode for docker integration
+  * added setup of remote branches in jailed mode
+  * new handling for remote/local branches when caching
+  * fix permission problem of .changes files when running jailed in docker
+  * fix problem with outdated git refs in cache
+
+---

Old:

  obs-service-tar_scm-0.6.1.1472657181.ff9a5ca.tar.gz

New:

  obs-service-tar_scm-0.6.1.1473925745.c5264bb.tar.gz



Other differences:
--
++ obs-service-tar_scm.spec ++
--- /var/tmp/diff_new_pack.3pXyG0/_old  2016-09-16 11:02:10.0 +0200
+++ /var/tmp/diff_new_pack.3pXyG0/_new  2016-09-16 11:02:10.0 +0200
@@ -20,18 +20,18 @@
 %define seperate_build 0
 
 %if "%seperate_build" == "1"
-%define version_unconverted 0.6.1.1472657181.ff9a5ca
+%define version_unconverted 0.6.1.1473925745.c5264bb
 
 Name:   obs-service-obs_scm
 %else
-%define version_unconverted 0.6.1.1472657181.ff9a5ca
+%define version_unconverted 0.6.1.1473925745.c5264bb
 
 Name:   obs-service-%{service}
 #Obsoletes:  obs-service-obs_scm
 Provides:   obs-service-obs_scm = %version-%release
 %endif
 Provides:   obs-service-tar = %version-%release
-Version:0.6.1.1472657181.ff9a5ca
+Version:0.6.1.1473925745.c5264bb
 Release:0
 Summary:An OBS source service: checkout or update a tar ball from 
svn/git/hg
 License:GPL-2.0+

++ _servicedata ++
--- /var/tmp/diff_new_pack.3pXyG0/_old  2016-09-16 11:02:11.0 +0200
+++ /var/tmp/diff_new_pack.3pXyG0/_new  2016-09-16 11:02:11.0 +0200
@@ -1,4 +1,4 @@
 
 
 git://github.com/adrianschroeter/obs-service-tar_scm.git
-  ff9a5ca9d38691524048733ec6d070bfba6d4747
\ No newline at end of file
+  75dff0d53ee6c25a928b1afcdac4367cad90bf7e
\ No newline at end of file

++ obs-service-tar_scm-0.6.1.1472657181.ff9a5ca.tar.gz -> 
obs-service-tar_scm-0.6.1.1473925745.c5264bb.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/obs-service-tar_scm-0.6.1.1472657181.ff9a5ca/tar_scm.py 
new/obs-service-tar_scm-0.6.1.1473925745.c5264bb/tar_scm.py
--- old/obs-service-tar_scm-0.6.1.1472657181.ff9a5ca/tar_scm.py 2016-08-31 
17:26:21.0 +0200
+++ new/obs-service-tar_scm-0.6.1.1473925745.c5264bb/tar_scm.py 2016-09-15 
09:49:05.0 +0200
@@ -29,6 +29,7 @@
 import tarfile
 import tempfile
 import dateutil.parser
+import stat
 
 try:
 # not possible to test this on travis atm
@@ -40,6 +41,38 @@
 
 DEFAULT_AUTHOR = 'opensuse-packag...@opensuse.org'
 
+def setup_tracking_branches(git_dir):
+output = subprocess.Popen(["git", "-C", git_dir, "branch", "-a"], 
stdout=subprocess.PIPE).communicate()[0]
+
+p = re.compile('.* ->\s+(.*)')
+p2 = re.compile('.?\s*((remotes/(.*)/)?(.+))')
+
+remote_branches = {}
+local_branches  = {}
+local2remove= {}
+
+for line in output.split("\n"):
+m = p.match(line)
+if not m:
+m2 = p2.match(line)
+if m2:
+if m2.group(2):
+if m2.group(3) == 'origin':
+remote_branches[m2.group(4)] = m2.group(1)
+else:
+local_branches[m2.group(4)] = 1
+
+for branch in local_branches:
+try:
+del remote_branches[branch]
+except KeyError:
+local2remove[branch] = 1
+
+for branch in remote_branches:
+subprocess.Popen(["git", "-C", git_dir, "branch", "--track", branch, 
remote_branches[branch]], stdout=subprocess.PIPE)
+
+for branch in local2remove:
+subprocess.Popen(["git", "-C", git_dir, "branch", "-D", branch])
 
 def run_cmd(cmd, cwd, interactive=False, raisesysexit=False):
 """Execute the command cmd in the working directory cwd and check return
@@ -100,15 +133,38 @@
 
 def fetch_upstream_git(url, clone_dir, revision, cwd, kwargs):
 """Fetch sources via git."""
-command = ['git', 'clone', url, clone_dir]
-if not is_sslverify_ena

commit obs-service-tar_scm for openSUSE:Factory

2016-09-12 Thread h_root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2016-09-12 13:25:22

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new (New)


Package is "obs-service-tar_scm"

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2016-08-29 15:42:18.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new/obs-service-tar_scm.changes 
2016-09-12 13:25:28.0 +0200
@@ -1,0 +2,57 @@
+Wed Aug 31 15:26:51 UTC 2016 - adr...@suse.de
+
+- Update to version 0.6.1.1472657181.ff9a5ca:
+  * make yaml dependency optional for travis
+  * Add an option 'master' to submodules to fetch the latest mater branch.
+  * tar_scm.py: Always use an absolute path for the 'output' directory
+  * do not set files back to 1970...
+  * transfer mtime via obsinfo
+  * create needed sub directories for cache handling
+  * prefer local cache directory
+  * - weak dependency to mercurial for debian
+  * add python-dateutil require for debian
+  * testing on debian is broken atm
+
+---
+Wed Aug 31 15:10:37 UTC 2016 - adr...@suse.de
+
+- Update to version 0.6.1.1472656157.58c52d8:
+  * make yaml dependency optional for travis
+  * Add an option 'master' to submodules to fetch the latest mater branch.
+  * tar_scm.py: Always use an absolute path for the 'output' directory
+  * do not set files back to 1970...
+  * transfer mtime via obsinfo
+  * create needed sub directories for cache handling
+  * prefer local cache directory
+  * - weak dependency to mercurial for debian
+  * add python-dateutil require for debian
+  * testing on debian is broken atm
+
+---
+Wed Aug 31 14:55:10 UTC 2016 - adr...@suse.de
+
+- Update to version 0.6.1.1472655284.4930b81:
+  * add python-dateutil require for debian
+  * testing on debian is broken atm
+
+---
+Wed Aug 31 09:53:37 UTC 2016 - adr...@suse.de
+
+- fix debian builds
+
+---
+Wed Aug 31 09:53:23 UTC 2016 - adr...@suse.de
+
+- Update to version 0.6.1.1472636708.355b59a:
+  * fix some more merge regressions
+  * pep8 fixes/workarounds
+  * make yaml dependency optional for travis
+  * Add an option 'master' to submodules to fetch the latest mater branch.
+  * tar_scm.py: Always use an absolute path for the 'output' directory
+  * do not set files back to 1970...
+  * transfer mtime via obsinfo
+  * create needed sub directories for cache handling
+  * prefer local cache directory
+  * - weak dependency to mercurial for debian
+
+---

Old:

  obs-service-tar_scm-0.6.1.1471594222.d257927.tar.gz

New:

  obs-service-tar_scm-0.6.1.1472657181.ff9a5ca.tar.gz



Other differences:
--
++ obs-service-tar_scm.spec ++
--- /var/tmp/diff_new_pack.73kzfg/_old  2016-09-12 13:25:29.0 +0200
+++ /var/tmp/diff_new_pack.73kzfg/_new  2016-09-12 13:25:29.0 +0200
@@ -20,18 +20,18 @@
 %define seperate_build 0
 
 %if "%seperate_build" == "1"
-%define version_unconverted 0.6.1.1471594222.d257927
+%define version_unconverted 0.6.1.1472657181.ff9a5ca
 
 Name:   obs-service-obs_scm
 %else
-%define version_unconverted 0.6.1.1471594222.d257927
+%define version_unconverted 0.6.1.1472657181.ff9a5ca
 
 Name:   obs-service-%{service}
 #Obsoletes:  obs-service-obs_scm
 Provides:   obs-service-obs_scm = %version-%release
 %endif
 Provides:   obs-service-tar = %version-%release
-Version:0.6.1.1471594222.d257927
+Version:0.6.1.1472657181.ff9a5ca
 Release:0
 Summary:An OBS source service: checkout or update a tar ball from 
svn/git/hg
 License:GPL-2.0+

++ 0001-Debianization-disable-running-mercurial-tests.patch ++
--- /var/tmp/diff_new_pack.73kzfg/_old  2016-09-12 13:25:29.0 +0200
+++ /var/tmp/diff_new_pack.73kzfg/_new  2016-09-12 13:25:29.0 +0200
@@ -14,19 +14,6 @@
  tests/test.py  | 2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)
 
-diff --git a/debian/control b/debian/control
-index a45fa04..6f3551d 100644
 a/debian/control
-+++ b/debian/control
-@@ -2,7 +2,7 @@ Source: obs-service-tar-scm
- Section: devel
- Priority: extra
- Maintainer: Daniel Gollub 
--Build-Depends: debhelper (>= 8.0.0), bzr, git, mercurial, pep8, python (>= 
2.6), python-argparse | python (>= 2.7), python-unittest2, subversion
-+Build-Depends: debhelper (>= 8.0.0), bzr, git, pep8, python (>= 2.6), 

commit obs-service-tar_scm for openSUSE:Factory

2016-08-29 Thread h_root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2016-08-29 15:39:12

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new (New)


Package is "obs-service-tar_scm"

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2016-08-05 18:17:35.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new/obs-service-tar_scm.changes 
2016-08-29 15:42:18.0 +0200
@@ -1,0 +2,11 @@
+Fri Aug 19 08:11:24 UTC 2016 - adr...@suse.de
+
+- Update to version 0.6.1.1471594222.d257927:
+  * prefer local cache directory
+  * jailed mode for docker integration
+  * added setup of remote branches in jailed mode
+  * new handling for remote/local branches when caching
+- cache handling will be refactored to have only one implementation
+  in future.
+
+---

Old:

  obs-service-tar_scm-0.6.0.1469628830.67456b7.tar.gz

New:

  obs-service-tar_scm-0.6.1.1471594222.d257927.tar.gz



Other differences:
--
++ obs-service-tar_scm.spec ++
--- /var/tmp/diff_new_pack.YsFhkq/_old  2016-08-29 15:42:23.0 +0200
+++ /var/tmp/diff_new_pack.YsFhkq/_new  2016-08-29 15:42:23.0 +0200
@@ -20,18 +20,18 @@
 %define seperate_build 0
 
 %if "%seperate_build" == "1"
-%define version_unconverted 0.6.0.1469628830.67456b7
+%define version_unconverted 0.6.1.1471594222.d257927
 
 Name:   obs-service-obs_scm
 %else
-%define version_unconverted 0.6.0.1469628830.67456b7
+%define version_unconverted 0.6.1.1471594222.d257927
 
 Name:   obs-service-%{service}
 #Obsoletes:  obs-service-obs_scm
 Provides:   obs-service-obs_scm = %version-%release
 %endif
 Provides:   obs-service-tar = %version-%release
-Version:0.6.0.1469628830.67456b7
+Version:0.6.1.1471594222.d257927
 Release:0
 Summary:An OBS source service: checkout or update a tar ball from 
svn/git/hg
 License:GPL-2.0+

++ _service ++
--- /var/tmp/diff_new_pack.YsFhkq/_old  2016-08-29 15:42:23.0 +0200
+++ /var/tmp/diff_new_pack.YsFhkq/_new  2016-08-29 15:42:23.0 +0200
@@ -4,7 +4,7 @@
 git
 .git
 git-master
-0.6.0.%ct.%h
+0.6.1.%ct.%h
 master
 enable
   

++ _servicedata ++
--- /var/tmp/diff_new_pack.YsFhkq/_old  2016-08-29 15:42:23.0 +0200
+++ /var/tmp/diff_new_pack.YsFhkq/_new  2016-08-29 15:42:23.0 +0200
@@ -1,6 +1,6 @@
 
 
 git://github.com/adrianschroeter/obs-service-tar_scm.git
-  67456b7400afa5c2c03d7701682470296497751a
+  309b68f96203645af093c0c2285655f2cf8f1aee
 git://github.com/openSUSE/obs-service-tar_scm.git
   49c9462599650ab6a6d122b9156c732187cf99ea
\ No newline at end of file

++ obs-service-tar_scm-0.6.0.1469628830.67456b7.tar.gz -> 
obs-service-tar_scm-0.6.1.1471594222.d257927.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/obs-service-tar_scm-0.6.0.1469628830.67456b7/tar_scm.py 
new/obs-service-tar_scm-0.6.1.1471594222.d257927/tar_scm.py
--- old/obs-service-tar_scm-0.6.0.1469628830.67456b7/tar_scm.py 2016-07-27 
16:13:50.0 +0200
+++ new/obs-service-tar_scm-0.6.1.1471594222.d257927/tar_scm.py 2016-08-19 
10:10:22.0 +0200
@@ -40,6 +40,38 @@
 
 DEFAULT_AUTHOR = 'opensuse-packag...@opensuse.org'
 
+def setup_tracking_branches(git_dir):
+output = subprocess.Popen(["git", "-C", git_dir, "branch", "-a"], 
stdout=subprocess.PIPE).communicate()[0]
+
+p = re.compile('.* ->\s+(.*)')
+p2 = re.compile('.?\s*((remotes/(.*)/)?(.+))')
+
+remote_branches = {}
+local_branches  = {}
+local2remove= {}
+
+for line in output.split("\n"):
+m = p.match(line)
+if not m:
+m2 = p2.match(line)
+if m2:
+if m2.group(2):
+if m2.group(3) == 'origin':
+remote_branches[m2.group(4)] = m2.group(1)
+else:
+local_branches[m2.group(4)] = 1
+
+for branch in local_branches:
+try:
+del remote_branches[branch]
+except KeyError:
+local2remove[branch] = 1
+
+for branch in remote_branches:
+subprocess.Popen(["git", "-C", git_dir, "branch", "--track", branch, 
remote_branches[branch]], stdout=subprocess.PIPE)
+
+for branch in local2remove:
+subprocess.Popen(["git", "-C", git_dir, "branch", "-D", branch])
 
 def run_cmd(cmd, cwd, interactive=False, raisesysexit=False):
 """Execute the command cmd in the working di

commit obs-service-tar_scm for openSUSE:Factory

2016-08-05 Thread h_root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2016-08-05 18:17:31

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new (New)


Package is "obs-service-tar_scm"

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2016-07-12 23:52:06.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new/obs-service-tar_scm.changes 
2016-08-05 18:17:35.0 +0200
@@ -1,0 +2,16 @@
+Wed Jul 27 15:33:18 UTC 2016 - adr...@suse.de
+
+- fix mtime handling
+
+---
+Wed Jul 27 15:31:10 UTC 2016 - adr...@suse.de
+
+- Update to version 0.6.0.1469628830.67456b7:
+  * pep8 fixes/workarounds
+  * make yaml dependency optional for travis
+  * Add an option 'master' to submodules to fetch the latest mater branch.
+  * do not set files back to 1970...
+  * transfer mtime via obsinfo
+  * create needed sub directories for cache handling
+
+---

Old:

  obs-service-tar_scm-0.6.0.1467889501.49c9462.tar.gz

New:

  obs-service-tar_scm-0.6.0.1469628830.67456b7.tar.gz



Other differences:
--
++ obs-service-tar_scm.spec ++
--- /var/tmp/diff_new_pack.jSIHDT/_old  2016-08-05 18:17:36.0 +0200
+++ /var/tmp/diff_new_pack.jSIHDT/_new  2016-08-05 18:17:36.0 +0200
@@ -20,18 +20,18 @@
 %define seperate_build 0
 
 %if "%seperate_build" == "1"
-%define version_unconverted 0.6.0~pre.1467360725.f4aaf50
+%define version_unconverted 0.6.0.1469628830.67456b7
 
 Name:   obs-service-obs_scm
 %else
-%define version_unconverted 0.6.0~pre.1467360725.f4aaf50
+%define version_unconverted 0.6.0.1469628830.67456b7
 
 Name:   obs-service-%{service}
 #Obsoletes:  obs-service-obs_scm
 Provides:   obs-service-obs_scm = %version-%release
 %endif
 Provides:   obs-service-tar = %version-%release
-Version:0.6.0.1467889501.49c9462
+Version:0.6.0.1469628830.67456b7
 Release:0
 Summary:An OBS source service: checkout or update a tar ball from 
svn/git/hg
 License:GPL-2.0+
@@ -40,7 +40,7 @@
 Source: obs-service-tar_scm-%{version}.tar.gz
 # Fix build on Ubuntu by disabling mercurial tests, not applied in rpm
 # based distributions
-Patch0: 0001-Debianization-disable-running-mercurial-tests.patch
+#Patch0: 0001-Debianization-disable-running-mercurial-tests.patch
 BuildRequires:  bzr
 BuildRequires:  git-core
 BuildRequires:  mercurial

++ _service ++
--- /var/tmp/diff_new_pack.jSIHDT/_old  2016-08-05 18:17:36.0 +0200
+++ /var/tmp/diff_new_pack.jSIHDT/_new  2016-08-05 18:17:36.0 +0200
@@ -1,6 +1,6 @@
 
   
-git://github.com/openSUSE/obs-service-tar_scm.git
+git://github.com/adrianschroeter/obs-service-tar_scm.git
 git
 .git
 git-master

++ _servicedata ++
--- /var/tmp/diff_new_pack.jSIHDT/_old  2016-08-05 18:17:36.0 +0200
+++ /var/tmp/diff_new_pack.jSIHDT/_new  2016-08-05 18:17:36.0 +0200
@@ -1,6 +1,6 @@
 
 
 git://github.com/adrianschroeter/obs-service-tar_scm.git
-  f4aaf50fd98105daf0405a0d0f7824fbb723e1ac
+  67456b7400afa5c2c03d7701682470296497751a
 git://github.com/openSUSE/obs-service-tar_scm.git
   49c9462599650ab6a6d122b9156c732187cf99ea
\ No newline at end of file

++ obs-service-tar_scm-0.6.0.1467889501.49c9462.tar.gz -> 
obs-service-tar_scm-0.6.0.1469628830.67456b7.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/obs-service-tar_scm-0.6.0.1467889501.49c9462/tar_scm.py 
new/obs-service-tar_scm-0.6.0.1469628830.67456b7/tar_scm.py
--- old/obs-service-tar_scm-0.6.0.1467889501.49c9462/tar_scm.py 2016-07-07 
13:32:21.0 +0200
+++ new/obs-service-tar_scm-0.6.0.1469628830.67456b7/tar_scm.py 2016-07-27 
16:13:50.0 +0200
@@ -113,9 +113,12 @@
 
 def fetch_upstream_git_submodules(clone_dir, kwargs):
 """Recursively initialize git submodules."""
-if 'submodules' in kwargs and kwargs['submodules']:
+if 'submodules' in kwargs and kwargs['submodules'] == 'enable':
 safe_run(['git', 'submodule', 'update', '--init', '--recursive'],
  cwd=clone_dir)
+elif 'submodules' in kwargs and kwargs['submodules'] == 'master':
+safe_run(['git', 'submodule', 'update', '--init', '--recursive',
+ '--remote'], cwd=clone_dir)
 
 
 def fetch_upstream_svn(url, clone_dir, revision, cwd, kwargs):
@@ -406,6 +409,7 @@
 metafile = open(os.path.join(args.outdir, basename +

commit obs-service-tar_scm for openSUSE:Factory

2016-07-12 Thread h_root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2016-07-12 23:52:03

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new (New)


Package is "obs-service-tar_scm"

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2016-05-23 16:39:11.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new/obs-service-tar_scm.changes 
2016-07-12 23:52:06.0 +0200
@@ -1,0 +2,47 @@
+Thu Jul  7 11:32:29 UTC 2016 - adr...@suse.de
+
+- update to official version 0.6.0
+  (latest package became official)
+
+---
+Thu Jul 07 11:32:21 UTC 2016 - adr...@suse.de
+
+- Update to version 0.6.0.1467889501.49c9462:
+  + very first obs_scm implementation
+  + allow extracting of (spec) files
+  + allow to include local changes when using "obs_scm" service via local osc 
commands.
+  + make obsinfo parameter for tar service optional
+  + support filtering on creation of cpio archives
+  + - add debian provides
+  + - make cleaning message a debug message
+  + report error when specified revision got not found
+  + add snapcraft.yaml support
+  + merge upstream
+  + minor cleanup
+  + fix typo, wrong file name of new snapcraft.yaml
+  + fix some more merge regressions
+  + pep8 fixes/workarounds
+  + make yaml dependency optional for travis
+
+---
+Fri Jul 01 08:12:40 UTC 2016 - adr...@suse.de
+
+- added snapcraft support via own service
+
+---
+Wed Jun 29 06:06:18 UTC 2016 - adr...@suse.de
+
+- Update to version 0.6.0~pre.1467126663.ec976d1:
+  * Allow to manually specify a base for @TAG_OFFSET@
+  * - make cleaning message a debug message
+  * Honour "subdir" param for changesgenerate
+  * report error when specified revision got not found
+  * Extend fixture to create commits with a specific timestamp
+  * Use commit timestamp as mtime for files and directories in tarball
+  * Workaround bug in Mercurial localdate filter
+  * fix breakage from conflict of #63 and #85
+  * Provide test for git tag fetching
+  * Add ability to generate changes file when using svn
+  * add snapcraft.yaml support
+
+---

Old:

  obs-service-tar_scm-0.6.0~pre.1461681073.57c0bab.tar.gz

New:

  obs-service-tar_scm-0.6.0.1467889501.49c9462.tar.gz



Other differences:
--
++ obs-service-tar_scm.spec ++
--- /var/tmp/diff_new_pack.dBuyoa/_old  2016-07-12 23:52:07.0 +0200
+++ /var/tmp/diff_new_pack.dBuyoa/_new  2016-07-12 23:52:07.0 +0200
@@ -20,18 +20,18 @@
 %define seperate_build 0
 
 %if "%seperate_build" == "1"
-%define version_unconverted 0.6.0~pre.1461681073.57c0bab
+%define version_unconverted 0.6.0~pre.1467360725.f4aaf50
 
 Name:   obs-service-obs_scm
 %else
-%define version_unconverted 0.6.0~pre.1461681073.57c0bab
+%define version_unconverted 0.6.0~pre.1467360725.f4aaf50
 
 Name:   obs-service-%{service}
 #Obsoletes:  obs-service-obs_scm
 Provides:   obs-service-obs_scm = %version-%release
 %endif
 Provides:   obs-service-tar = %version-%release
-Version:0.6.0~pre.1461681073.57c0bab
+Version:0.6.0.1467889501.49c9462
 Release:0
 Summary:An OBS source service: checkout or update a tar ball from 
svn/git/hg
 License:GPL-2.0+
@@ -45,11 +45,16 @@
 BuildRequires:  git-core
 BuildRequires:  mercurial
 BuildRequires:  python >= 2.6
+BuildRequires:  python-dateutil
 BuildRequires:  python-lxml
+BuildRequires:  python-mock
+BuildRequires:  python-yaml
 BuildRequires:  subversion
 Requires:   bzr
 Requires:   git-core
 Requires:   mercurial
+Requires:   python-dateutil
+Requires:   python-yaml
 Requires:   subversion
 %if 0%{?suse_version} < 1315
 Requires:   python-argparse

++ _service ++
--- /var/tmp/diff_new_pack.dBuyoa/_old  2016-07-12 23:52:07.0 +0200
+++ /var/tmp/diff_new_pack.dBuyoa/_new  2016-07-12 23:52:07.0 +0200
@@ -1,10 +1,10 @@
 
   
-git://github.com/adrianschroeter/obs-service-tar_scm.git
+git://github.com/openSUSE/obs-service-tar_scm.git
 git
 .git
 git-master
-0.6.0~pre.%ct.%h
+0.6.0.%ct.%h
 master
 enable
   

++ _servicedata ++
--- /var/tmp/diff_new_pack.dBuyoa/_old  2016-07-12 23:52:07.0 +0200
+++ /var/tmp/diff_new_pack.dBuyoa/_new  2016-07-12 23:52:07.0 +0200
@@ -1,4 +1,6 @@
 
 
 git://github.com/adrianschroeter/obs-service-tar_scm.git

commit obs-service-tar_scm for openSUSE:Factory

2016-05-23 Thread h_root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2016-05-23 16:39:09

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new (New)


Package is "obs-service-tar_scm"

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2015-06-24 21:02:01.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new/obs-service-tar_scm.changes 
2016-05-23 16:39:11.0 +0200
@@ -1,0 +2,65 @@
+Tue Apr 26 13:44:48 UTC 2016 - adr...@suse.de
+
+- Update to version 0.6.0~pre.1461678268.e8b5d73:
+  * fix TESTING.md link in CONTRIBUTING.md
+  * Use correct level 2 bullet point (*)
+  * very first obs_scm implementation
+  * allow extracting of (spec) files
+  * allow to include local changes when using "obs_scm" service via local osc 
commands.
+  * make obsinfo parameter for tar service optional
+  * support filtering on creation of cpio archives
+  * - add debian provides
+
+---
+Tue Apr 26 13:17:44 UTC 2016 - adr...@suse.de
+
+- add debian provides
+
+---
+Fri Apr 15 08:16:32 UTC 2016 - adr...@suse.de
+
+- fix dependency on SLE 11 to python-argparse
+
+---
+Mon Apr 11 15:09:29 UTC 2016 - mplus...@suse.com
+
+- Correctly reference patch in previous entry
+
+---
+Mon Apr 11 12:19:54 UTC 2016 - adr...@suse.de
+
+- Update to version 0.6.0~pre.1460377105.35a4ea4:
+  * support filtering on creation of cpio archives
+
+---
+Fri Apr 08 07:00:48 UTC 2016 - adr...@suse.de
+
+- Update to version 0.6.0~pre.1460098798.dda5411:
+  + make obsinfo parameter for tar service optional
+
+---
+Thu Apr 07 09:21:55 UTC 2016 - adr...@suse.de
+
+- Update to version 0.6.0.1460017418.4e4b2d6:
+  + Correct error message about lack of git tags
+  + GNUmakefile: Use default python in $PATH unless it is a python 3.
+  + fix TESTING.md link in CONTRIBUTING.md
+  + Use correct level 2 bullet point (*)
+  + very first obs_scm implementation
+  + allow extracting of (spec) files
+  + allow to include local changes when using "obs_scm" service via local osc 
commands.
+- building this pre-version currently from private branch
+  as discussed with Adam
+
+---
+Wed Jul  8 14:04:53 UTC 2015 - bwiedem...@suse.com
+
+- only require git-core to not pull in git-web and gitk
+
+---
+Wed Jun 24 08:07:29 UTC 2015 - h...@hiberis.nl
+
+- Fix build on Ubuntu by disabling mercurial tests
+  * 0001-Debianization-disable-running-mercurial-tests.patch
+
+---

Old:

  obs-service-tar_scm-0.5.3.1434983686.0b4ce51.tar.gz

New:

  0001-Debianization-disable-running-mercurial-tests.patch
  debian.series
  obs-service-tar_scm-0.6.0~pre.1461681073.57c0bab.tar.gz



Other differences:
--
++ obs-service-tar_scm.spec ++
--- /var/tmp/diff_new_pack.tPkYtA/_old  2016-05-23 16:39:12.0 +0200
+++ /var/tmp/diff_new_pack.tPkYtA/_new  2016-05-23 16:39:12.0 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package obs-service-tar_scm
+# spec file for package obs-service
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,25 +17,43 @@
 
 
 %define service tar_scm
+%define seperate_build 0
+
+%if "%seperate_build" == "1"
+%define version_unconverted 0.6.0~pre.1461681073.57c0bab
+
+Name:   obs-service-obs_scm
+%else
+%define version_unconverted 0.6.0~pre.1461681073.57c0bab
 
 Name:   obs-service-%{service}
-Version:0.5.3.1434983686.0b4ce51
+#Obsoletes:  obs-service-obs_scm
+Provides:   obs-service-obs_scm = %version-%release
+%endif
+Provides:   obs-service-tar = %version-%release
+Version:0.6.0~pre.1461681073.57c0bab
 Release:0
 Summary:An OBS source service: checkout or update a tar ball from 
svn/git/hg
 License:GPL-2.0+
 Group:  Development/Tools/Building
 Url:https://github.com/openSUSE/obs-service-%{service}
-Source: %{name}-%{version}.tar.gz
+Source:

commit obs-service-tar_scm for openSUSE:Factory

2015-06-24 Thread h_root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2015-06-24 21:02:00

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new (New)


Package is "obs-service-tar_scm"

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2015-06-06 09:54:38.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new/obs-service-tar_scm.changes 
2015-06-24 21:02:01.0 +0200
@@ -1,0 +2,7 @@
+Mon Jun 22 14:41:27 UTC 2015 - h...@hiberis.nl
+
+- Update to version 0.5.3.1434983686.0b4ce51:
+  + Add missing extension parameter to service file
+  + Fix build on Debian 7.0/8.0
+
+---

Old:

  obs-service-tar_scm-0.5.3.1433158390.b0e72e1.tar.gz

New:

  obs-service-tar_scm-0.5.3.1434983686.0b4ce51.tar.gz



Other differences:
--
++ obs-service-tar_scm.spec ++
--- /var/tmp/diff_new_pack.qD1wte/_old  2015-06-24 21:02:02.0 +0200
+++ /var/tmp/diff_new_pack.qD1wte/_new  2015-06-24 21:02:02.0 +0200
@@ -19,7 +19,7 @@
 %define service tar_scm
 
 Name:   obs-service-%{service}
-Version:0.5.3.1433158390.b0e72e1
+Version:0.5.3.1434983686.0b4ce51
 Release:0
 Summary:An OBS source service: checkout or update a tar ball from 
svn/git/hg
 License:GPL-2.0+

++ _servicedata ++
--- /var/tmp/diff_new_pack.qD1wte/_old  2015-06-24 21:02:02.0 +0200
+++ /var/tmp/diff_new_pack.qD1wte/_new  2015-06-24 21:02:02.0 +0200
@@ -1,6 +1,6 @@
 
   
 git://github.com/openSUSE/obs-service-tar_scm.git
-b0e72e1b153c6eef6ea16aa9d120cc1d5bcdd962
+0b4ce51db91837c27e69912a2e7ec56fb0c863e4
   
 
\ No newline at end of file

++ debian.dsc ++
--- /var/tmp/diff_new_pack.qD1wte/_old  2015-06-24 21:02:02.0 +0200
+++ /var/tmp/diff_new_pack.qD1wte/_new  2015-06-24 21:02:02.0 +0200
@@ -5,13 +5,4 @@
 Maintainer: Adrian Schroeter 
 Architecture: all
 Standards-Version: 3.7.2
-Build-Depends: debhelper (>= 7),
- bzr,
- git,
- mercurial,
- python (>= 2.6),
- python-argparse | python (>= 2.7),
- subversion,
- python-unittest2,
- pep8,
- python-lxml
+Build-Depends: debhelper (>= 7), bzr, git, mercurial, python (>= 2.6), 
python-argparse | python (>= 2.7), subversion, python-unittest2, pep8, 
python-lxml

++ obs-service-tar_scm-0.5.3.1433158390.b0e72e1.tar.gz -> 
obs-service-tar_scm-0.5.3.1434983686.0b4ce51.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/obs-service-tar_scm-0.5.3.1433158390.b0e72e1/debian/rules 
new/obs-service-tar_scm-0.5.3.1434983686.0b4ce51/debian/rules
--- old/obs-service-tar_scm-0.5.3.1433158390.b0e72e1/debian/rules   
2015-06-01 13:34:28.0 +0200
+++ new/obs-service-tar_scm-0.5.3.1434983686.0b4ce51/debian/rules   
2015-06-22 16:41:27.0 +0200
@@ -5,7 +5,7 @@
 DESTDIR=debian/obs-service-tar-scm
 
 %:
-   dh $@ 
+   dh $@ --with python2
 
 override_dh_auto_build: ;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/obs-service-tar_scm-0.5.3.1433158390.b0e72e1/tar_scm.service 
new/obs-service-tar_scm-0.5.3.1434983686.0b4ce51/tar_scm.service
--- old/obs-service-tar_scm-0.5.3.1433158390.b0e72e1/tar_scm.service
2015-06-01 13:34:28.0 +0200
+++ new/obs-service-tar_scm-0.5.3.1434983686.0b4ce51/tar_scm.service
2015-06-22 16:41:27.0 +0200
@@ -79,6 +79,9 @@
   
 Specify name of package, which is used together with version 
to determine tarball name.
   
+  
+Specify suffix name of package, which is used together with 
filename to determine tarball name.
+  
   
 Specify regexp to exclude when creating the 
tarball.
   




commit obs-service-tar_scm for openSUSE:Factory

2015-06-06 Thread h_root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2015-06-06 09:54:34

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new (New)


Package is "obs-service-tar_scm"

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2015-03-25 21:33:19.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new/obs-service-tar_scm.changes 
2015-06-06 09:54:38.0 +0200
@@ -1,0 +2,29 @@
+Mon Jun 01 11:34:28 UTC 2015 - aspi...@suse.com
+
+- Update to version 0.5.3.1433158390.b0e72e1:
+  + use the same Python interpreter for testing tar_scm
+  + Split up the steps of git cloning and submodule initialization
+  + fix Makefile test runner for Debian
+
+---
+Wed May 27 09:35:08 UTC 2015 - aspi...@suse.com
+
+- Update to version 0.5.2.1432717816.cff60cf:
+  + be explicit about python2, python may be python3
+  + Fix newline at the end of @PARENT_TAG@
+  + Fix Mercurial version format strings in unittest
+  + Refactoring of package metadata regex matching
+  + Refactor resetting of uid/gid so that it is reusable
+  + Fix handling of --include option
+  + Fix handling of --exclude option
+  + Refactor subdir handling of tarchecker's to prevent code duplication
+  + ignore PEP8's E731 check for lambdas
+  + PEP8 E402 fix: set PYTHONPATH outside code
+  + add @TAG_OFFSET@ support in versionformat for git
+  + fix inconsistencies in tar_scm.service
+  + - fix .service file syntax (OBS 2.6.1 is checking now)
+  + mention need to set PYTHONPATH when running tests
+  + keep STDERR separate
+  + don't allow --subdir to wander outside repo (bsc#927120, #71)
+
+---

Old:

  obs-service-tar_scm-0.5.1.1426664483.de67b88.tar.gz

New:

  obs-service-tar_scm-0.5.3.1433158390.b0e72e1.tar.gz



Other differences:
--
++ obs-service-tar_scm.spec ++
--- /var/tmp/diff_new_pack.ZIZy49/_old  2015-06-06 09:54:38.0 +0200
+++ /var/tmp/diff_new_pack.ZIZy49/_new  2015-06-06 09:54:38.0 +0200
@@ -19,7 +19,7 @@
 %define service tar_scm
 
 Name:   obs-service-%{service}
-Version:0.5.1.1426664483.de67b88
+Version:0.5.3.1433158390.b0e72e1
 Release:0
 Summary:An OBS source service: checkout or update a tar ball from 
svn/git/hg
 License:GPL-2.0+

++ _service ++
--- /var/tmp/diff_new_pack.ZIZy49/_old  2015-06-06 09:54:38.0 +0200
+++ /var/tmp/diff_new_pack.ZIZy49/_new  2015-06-06 09:54:38.0 +0200
@@ -4,7 +4,7 @@
 git
 .git
 git-master
-0.5.1.%ct.%h
+0.5.3.%ct.%h
 master
 enable
   

++ _servicedata ++
--- /var/tmp/diff_new_pack.ZIZy49/_old  2015-06-06 09:54:38.0 +0200
+++ /var/tmp/diff_new_pack.ZIZy49/_new  2015-06-06 09:54:38.0 +0200
@@ -1,6 +1,6 @@
 
   
 git://github.com/openSUSE/obs-service-tar_scm.git
-de67b88320ca42dbd145c7f14ca062739917dc61
+b0e72e1b153c6eef6ea16aa9d120cc1d5bcdd962
   
 
\ No newline at end of file

++ obs-service-tar_scm-0.5.1.1426664483.de67b88.tar.gz -> 
obs-service-tar_scm-0.5.3.1433158390.b0e72e1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/obs-service-tar_scm-0.5.1.1426664483.de67b88/GNUmakefile 
new/obs-service-tar_scm-0.5.3.1433158390.b0e72e1/GNUmakefile
--- old/obs-service-tar_scm-0.5.1.1426664483.de67b88/GNUmakefile
2015-03-18 08:44:40.0 +0100
+++ new/obs-service-tar_scm-0.5.3.1433158390.b0e72e1/GNUmakefile
2015-06-01 13:34:28.0 +0200
@@ -2,6 +2,21 @@
 PREFIX   = /usr/local
 SYSCFG   = /etc
 
+define first_in_path
+$(or \
+$(firstword $(wildcard \
+$(foreach p,$(1),$(addsuffix /$(p),$(subst :, ,$(PATH \
+)), \
+$(error Need one of: $(1)) \
+)
+endef
+
+# On ArchLinux, /usr/bin/python is Python 3, and other distros
+# will switch to the same at various points.  So until we support
+# Python 3, we need to do our best to ensure we have Python 2.
+PYTHONS = python2.7 python-2.7 python2.6 python-2.6 python
+PYTHON = $(call first_in_path,$(PYTHONS))
+
 mylibdir = $(PREFIX)/lib/obs/service
 mycfgdir = $(SYSCFG)/obs/services
 
@@ -21,12 +36,19 @@
 .PHONY: test
 test:
: Running the test suite.  Please be patient - this takes a few minutes 
...
-   PYTHONPATH=. python2 tests/test.py
+   PYTHONPATH=. $(PYTHON) tests/test.py
+
+tar_scm: tar_scm.py
+   @echo "Creating $@ which uses $(PYTHON) ..."
+   sed 's,^\#!/usr/bin/.*,#!$(PYTHON),' $< > $@
 
 .PHONY: install
-install:
+in

commit obs-service-tar_scm for openSUSE:Factory

2015-03-25 Thread h_root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2015-03-25 21:05:46

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new (New)


Package is "obs-service-tar_scm"

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2014-10-09 12:52:34.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new/obs-service-tar_scm.changes 
2015-03-25 21:33:19.0 +0100
@@ -1,0 +2,18 @@
+Wed Mar 18 07:44:18 UTC 2015 - adr...@suse.de
+
+- Update to version 0.5.1.1426664483.de67b88:
+  + be explicit about python2, python may be python3
+  + Fix newline at the end of @PARENT_TAG@
+  + Fix Mercurial version format strings in unittest
+  + Refactoring of package metadata regex matching
+  + Refactor resetting of uid/gid so that it is reusable
+  + Fix handling of --include option
+  + Fix handling of --exclude option
+  + Refactor subdir handling of tarchecker's to prevent code duplication
+  + ignore PEP8's E731 check for lambdas
+  + PEP8 E402 fix: set PYTHONPATH outside code
+  + add @TAG_OFFSET@ support in versionformat for git
+  + fix inconsistencies in tar_scm.service
+  + - fix .service file syntax (OBS 2.6.1 is checking now)
+
+---

Old:

  obs-service-tar_scm-0.5.0.1412769870.6cda976.tar.gz

New:

  obs-service-tar_scm-0.5.1.1426664483.de67b88.tar.gz



Other differences:
--
++ obs-service-tar_scm.spec ++
--- /var/tmp/diff_new_pack.n1GeIV/_old  2015-03-25 21:33:19.0 +0100
+++ /var/tmp/diff_new_pack.n1GeIV/_new  2015-03-25 21:33:19.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package obs-service-tar_scm
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX 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.5.0.1412769870.6cda976
+Version:0.5.1.1426664483.de67b88
 Release:0
 Summary:An OBS source service: checkout or update a tar ball from 
svn/git/hg
 License:GPL-2.0+

++ _service ++
--- /var/tmp/diff_new_pack.n1GeIV/_old  2015-03-25 21:33:20.0 +0100
+++ /var/tmp/diff_new_pack.n1GeIV/_new  2015-03-25 21:33:20.0 +0100
@@ -4,7 +4,7 @@
 git
 .git
 git-master
-0.5.0.%ct.%h
+0.5.1.%ct.%h
 master
 enable
   

++ _servicedata ++
--- /var/tmp/diff_new_pack.n1GeIV/_old  2015-03-25 21:33:20.0 +0100
+++ /var/tmp/diff_new_pack.n1GeIV/_new  2015-03-25 21:33:20.0 +0100
@@ -1,6 +1,6 @@
 
   
 git://github.com/openSUSE/obs-service-tar_scm.git
-6cda976777de4e38ee88efe97353dec92f609614
+de67b88320ca42dbd145c7f14ca062739917dc61
   
 
\ No newline at end of file

++ obs-service-tar_scm-0.5.0.1412769870.6cda976.tar.gz -> 
obs-service-tar_scm-0.5.1.1426664483.de67b88.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/obs-service-tar_scm-0.5.0.1412769870.6cda976/GNUmakefile 
new/obs-service-tar_scm-0.5.1.1426664483.de67b88/GNUmakefile
--- old/obs-service-tar_scm-0.5.0.1412769870.6cda976/GNUmakefile
2014-10-08 14:13:42.0 +0200
+++ new/obs-service-tar_scm-0.5.1.1426664483.de67b88/GNUmakefile
2015-03-18 08:44:40.0 +0100
@@ -16,12 +16,12 @@
echo "pep8 not installed!  Cannot check PEP8 compliance; 
aborting." >&2; \
exit 1; \
fi
-   find -name \*.py | xargs pep8 --ignore=E221,E272,E241 $<
+   find -name \*.py | xargs pep8 --ignore=E221,E272,E241,E731 $<
 
 .PHONY: test
 test:
: Running the test suite.  Please be patient - this takes a few minutes 
...
-   python tests/test.py
+   PYTHONPATH=. python2 tests/test.py
 
 .PHONY: install
 install:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/obs-service-tar_scm-0.5.0.1412769870.6cda976/TESTING.md 
new/obs-service-tar_scm-0.5.1.1426664483.de67b88/TESTING.md
--- old/obs-service-tar_scm-0.5.0.1412769870.6cda976/TESTING.md 2014-10-08 
14:13:42.0 +0200
+++ new/obs-service-tar_scm-0.5.1.1426664483.de67b88/TESTING.md 2015-03-18 
08:44:40.0 +0100
@@ -4,7 +4,7 @@
 
 Run the unit test suite via:
 
-python tests/test.py
+python2 tests/test.py
 
 The output may become easier to understand if you uncomment the
 'failfast' option in `test.py`.  This requires Python 2

commit obs-service-tar_scm for openSUSE:Factory

2014-10-09 Thread h_root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2014-10-09 12:52:20

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new (New)


Package is "obs-service-tar_scm"

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2014-10-05 20:34:04.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new/obs-service-tar_scm.changes 
2014-10-09 12:52:34.0 +0200
@@ -1,0 +2,10 @@
+Wed Oct 08 12:13:42 UTC 2014 - aspi...@suse.com
+
+- Update to version 0.5.0.1412769870.6cda976:
+  + change default git versionformat to %ct.%h
+  + fix changes generation when version is blank
+  + lots of refactoring
+  + add info and caveats about data persisting between tests
+  + gittests: give default author test a unique name
+
+---

Old:

  obs-service-tar_scm-0.4.2.1412467141.df3329e.tar.gz

New:

  obs-service-tar_scm-0.5.0.1412769870.6cda976.tar.gz



Other differences:
--
++ obs-service-tar_scm.spec ++
--- /var/tmp/diff_new_pack.C9gwsO/_old  2014-10-09 12:52:34.0 +0200
+++ /var/tmp/diff_new_pack.C9gwsO/_new  2014-10-09 12:52:34.0 +0200
@@ -19,7 +19,7 @@
 %define service tar_scm
 
 Name:   obs-service-%{service}
-Version:0.4.2.1412467141.df3329e
+Version:0.5.0.1412769870.6cda976
 Release:0
 Summary:An OBS source service: checkout or update a tar ball from 
svn/git/hg
 License:GPL-2.0+

++ _service ++
--- /var/tmp/diff_new_pack.C9gwsO/_old  2014-10-09 12:52:34.0 +0200
+++ /var/tmp/diff_new_pack.C9gwsO/_new  2014-10-09 12:52:34.0 +0200
@@ -4,7 +4,7 @@
 git
 .git
 git-master
-0.4.2.%ct.%h
+0.5.0.%ct.%h
 master
 enable
   

++ _servicedata ++
--- /var/tmp/diff_new_pack.C9gwsO/_old  2014-10-09 12:52:34.0 +0200
+++ /var/tmp/diff_new_pack.C9gwsO/_new  2014-10-09 12:52:34.0 +0200
@@ -1,6 +1,6 @@
 
   
 git://github.com/openSUSE/obs-service-tar_scm.git
-df3329e67fec7cfe40e59a17329079357bad94a0
+6cda976777de4e38ee88efe97353dec92f609614
   
 
\ No newline at end of file

++ debian.dsc ++
--- /var/tmp/diff_new_pack.C9gwsO/_old  2014-10-09 12:52:34.0 +0200
+++ /var/tmp/diff_new_pack.C9gwsO/_new  2014-10-09 12:52:34.0 +0200
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: obs-service-tar-scm
-Version: 0.4.2
+Version: 0.5.0
 Binary: obs-service-tar-scm
 Maintainer: Adrian Schroeter 
 Architecture: all

++ obs-service-tar_scm-0.4.2.1412467141.df3329e.tar.gz -> 
obs-service-tar_scm-0.5.0.1412769870.6cda976.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/obs-service-tar_scm-0.4.2.1412467141.df3329e/TESTING.md 
new/obs-service-tar_scm-0.5.0.1412769870.6cda976/TESTING.md
--- old/obs-service-tar_scm-0.4.2.1412467141.df3329e/TESTING.md 2014-10-05 
02:02:16.0 +0200
+++ new/obs-service-tar_scm-0.5.0.1412769870.6cda976/TESTING.md 2014-10-08 
14:13:42.0 +0200
@@ -32,6 +32,27 @@
 `$PATH` it actually invokes `scm-wrapper`, which logs the VCS
 invocation before continuing.
 
+### Persistence between test runs
+
+The test fixtures create working directories for each test
+representing a (fake) check-out of a build service package, and each
+test invokes `tar_scm` on this working directory.  The directory
+persists between tests to simulate real world use.
+
+Similarly, a fake `$HOME` directory is created, in which source
+repositories may be cached upon cloning from the (fake) upstream
+repository, and again, this `$HOME` directory is persisted between
+tests in order to simulate real world use.
+
+All these directories can be found under `tests/tmp/`.
+
+Upon a successful test run, these persisted directories are cleaned
+up.  However, if the run fails, they are left behind for debugging.
+In this case, you may need to `rm -rf tests/tmp` prior to the next
+test run, otherwise you may get errors like `Invalid revision range`
+when a brand new repository history is constructed which conflicts
+with the previous run.
+
 ## PEP8 checking
 
 There's also a `pep8` rule for checking
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/obs-service-tar_scm-0.4.2.1412467141.df3329e/debian/changelog 
new/obs-service-tar_scm-0.5.0.1412769870.6cda976/debian/changelog
--- old/obs-service-tar_scm-0.4.2.1412467141.df3329e/debian/changelog   
2014-10-05 02:02:16.0 +0200
+++ new/obs-service-tar_scm-0.5.0.1412769870.6cda976/debian/changelog   
2014-10-08 14:13:42.0

commit obs-service-tar_scm for openSUSE:Factory

2014-10-05 Thread h_root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2014-10-05 20:32:18

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new (New)


Package is "obs-service-tar_scm"

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2014-09-10 17:03:14.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new/obs-service-tar_scm.changes 
2014-10-05 20:34:04.0 +0200
@@ -1,0 +2,25 @@
+Sun Oct 05 00:02:16 UTC 2014 - aspi...@suse.com
+
+- Update to version 0.4.2.1412467141.df3329e.  Many changes,
+  including:
+  + Retrieve tags for a cached git repo
+  + Add PEP8 checking everywhere
+  + Significantly improved tests
+  + Fixed checkout of a hg url that ends with a trailing slash
+  + Fix Debian build dependencies for python
+  + Change Debian package format to 3.0 (native)
+  + Install into /usr on Debian
+  + Honor submodules=disable as before (fixes #38)
+  + Fix directory name of repository clone
+  + Fix handling of symbolic links
+  + Fix crash when changesrevision  is missing
+  + Improved usage text
+  + Store git and hg hashes in full
+  + Fix crash during copy of _servicedata
+  + Fix format of new changes to match old shell tar_scm
+  + Fix bug when temp file is on a different filesystem
+  + Fix change generation bug introduced by Python rewrite
+  + Fix retrieval of email address from ~/.oscrc
+  + Refactor changesgenerate code
+
+---

Old:

  obs-service-tar_scm-0.4.0.1410288598.7f38281.tar.gz

New:

  obs-service-tar_scm-0.4.2.1412467141.df3329e.tar.gz



Other differences:
--
++ obs-service-tar_scm.spec ++
--- /var/tmp/diff_new_pack.Eh8bVT/_old  2014-10-05 20:34:05.0 +0200
+++ /var/tmp/diff_new_pack.Eh8bVT/_new  2014-10-05 20:34:05.0 +0200
@@ -19,7 +19,7 @@
 %define service tar_scm
 
 Name:   obs-service-%{service}
-Version:0.4.0.1410288598.7f38281
+Version:0.4.2.1412467141.df3329e
 Release:0
 Summary:An OBS source service: checkout or update a tar ball from 
svn/git/hg
 License:GPL-2.0+
@@ -30,6 +30,7 @@
 BuildRequires:  git
 BuildRequires:  mercurial
 BuildRequires:  python >= 2.6
+BuildRequires:  python-lxml
 BuildRequires:  subversion
 Requires:   bzr
 Requires:   git
@@ -53,7 +54,10 @@
 
 %if 0%{?suse_version} >= 1220
 %check
-make check
+# No need to run PEP8 tests here; that would require a potentially
+# brittle BuildRequires: python-pep8, and any style issues are already
+# caught by Travis CI.
+make test
 %endif
 
 %files

++ _service ++
--- /var/tmp/diff_new_pack.Eh8bVT/_old  2014-10-05 20:34:05.0 +0200
+++ /var/tmp/diff_new_pack.Eh8bVT/_new  2014-10-05 20:34:05.0 +0200
@@ -4,7 +4,7 @@
 git
 .git
 git-master
-0.4.0.%ct.%h
+0.4.2.%ct.%h
 master
 enable
   

++ _servicedata ++
--- /var/tmp/diff_new_pack.Eh8bVT/_old  2014-10-05 20:34:05.0 +0200
+++ /var/tmp/diff_new_pack.Eh8bVT/_new  2014-10-05 20:34:05.0 +0200
@@ -1,6 +1,6 @@
 
   
 git://github.com/openSUSE/obs-service-tar_scm.git
-7f382817c6
+df3329e67fec7cfe40e59a17329079357bad94a0
   
 
\ No newline at end of file

++ debian.dsc ++
--- /var/tmp/diff_new_pack.Eh8bVT/_old  2014-10-05 20:34:05.0 +0200
+++ /var/tmp/diff_new_pack.Eh8bVT/_new  2014-10-05 20:34:05.0 +0200
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: obs-service-tar-scm
-Version: 0.4.0
+Version: 0.4.2
 Binary: obs-service-tar-scm
 Maintainer: Adrian Schroeter 
 Architecture: all
@@ -12,4 +12,6 @@
  python (>= 2.6),
  python-argparse | python (>= 2.7),
  subversion,
- python-unittest2
+ python-unittest2,
+ pep8,
+ python-lxml

++ obs-service-tar_scm-0.4.0.1410288598.7f38281.tar.gz -> 
obs-service-tar_scm-0.4.2.1412467141.df3329e.tar.gz ++
 3310 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit obs-service-tar_scm for openSUSE:Factory

2014-09-10 Thread h_root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2014-09-10 17:02:34

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new (New)


Package is "obs-service-tar_scm"

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2014-07-11 06:47:01.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new/obs-service-tar_scm.changes 
2014-09-10 17:03:14.0 +0200
@@ -1,0 +2,14 @@
+Tue Sep  9 19:01:29 UTC 2014 -  jblu...@infradead.org
+
+- Update to version 0.4.0.1410288598.7f38281:
+  + Python rewrite of tar_scm
+  + Make pep8 happy (except for regex in tar_scm:299)
+  + Address some feedback from pylint
+  + make Python version PEP8-compliant
+  + Let Travis execute pep8
+  + Strip newline ('\n') characters from safe_run output in detect_version()
+  + Make potentially long-running tasks print output in real-time
+  + Improve efficiency of stdout handling in safe_run()
+  + Release obs-service-tar_scm 0.4.0
+
+---

Old:

  obs-service-tar_scm-0.3.2.1404723797.745a470.tar.gz

New:

  obs-service-tar_scm-0.4.0.1410288598.7f38281.tar.gz



Other differences:
--
++ obs-service-tar_scm.spec ++
--- /var/tmp/diff_new_pack.OSYESt/_old  2014-09-10 17:03:15.0 +0200
+++ /var/tmp/diff_new_pack.OSYESt/_new  2014-09-10 17:03:15.0 +0200
@@ -19,7 +19,7 @@
 %define service tar_scm
 
 Name:   obs-service-%{service}
-Version:0.3.2.1404723797.745a470
+Version:0.4.0.1410288598.7f38281
 Release:0
 Summary:An OBS source service: checkout or update a tar ball from 
svn/git/hg
 License:GPL-2.0+
@@ -49,17 +49,11 @@
 %build
 
 %install
-mkdir -p %{buildroot}%{_prefix}/lib/obs/service
-install -m 0755 tar_scm %{buildroot}%{_prefix}/lib/obs/service
-install -m 0644 tar_scm.service %{buildroot}%{_prefix}/lib/obs/service
-
-mkdir -p %{buildroot}%{_sysconfdir}/obs/services
-install -m 0644 tar_scm.rc %{buildroot}%{_sysconfdir}/obs/services/%{service}
+make install DESTDIR="%{buildroot}" PREFIX="%{_prefix}" SYSCFG="%{_sysconfdir}"
 
 %if 0%{?suse_version} >= 1220
 %check
-: Running the test suite.  Please be patient - this takes a few minutes ...
-python tests/test.py
+make check
 %endif
 
 %files

++ _service ++
--- /var/tmp/diff_new_pack.OSYESt/_old  2014-09-10 17:03:15.0 +0200
+++ /var/tmp/diff_new_pack.OSYESt/_new  2014-09-10 17:03:15.0 +0200
@@ -4,7 +4,7 @@
 git
 .git
 git-master
-0.3.2.%ct.%h
+0.4.0.%ct.%h
 master
 enable
   

++ _servicedata ++
--- /var/tmp/diff_new_pack.OSYESt/_old  2014-09-10 17:03:15.0 +0200
+++ /var/tmp/diff_new_pack.OSYESt/_new  2014-09-10 17:03:15.0 +0200
@@ -1,6 +1,6 @@
 
   
 git://github.com/openSUSE/obs-service-tar_scm.git
-745a470cfb
+7f382817c6
   
 
\ No newline at end of file

++ debian.dsc ++
--- /var/tmp/diff_new_pack.OSYESt/_old  2014-09-10 17:03:15.0 +0200
+++ /var/tmp/diff_new_pack.OSYESt/_new  2014-09-10 17:03:15.0 +0200
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: obs-service-tar-scm
-Version: 0.2.3
+Version: 0.4.0
 Binary: obs-service-tar-scm
 Maintainer: Adrian Schroeter 
 Architecture: all
@@ -9,5 +9,7 @@
  bzr,
  git,
  mercurial,
+ python (>= 2.6),
+ python-argparse | python (>= 2.7),
  subversion,
  python-unittest2

++ obs-service-tar_scm-0.3.2.1404723797.745a470.tar.gz -> 
obs-service-tar_scm-0.4.0.1410288598.7f38281.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/obs-service-tar_scm-0.3.2.1404723797.745a470/.travis.yml 
new/obs-service-tar_scm-0.4.0.1410288598.7f38281/.travis.yml
--- old/obs-service-tar_scm-0.3.2.1404723797.745a470/.travis.yml
2014-07-09 11:15:58.0 +0200
+++ new/obs-service-tar_scm-0.4.0.1410288598.7f38281/.travis.yml
2014-09-09 21:01:29.0 +0200
@@ -5,4 +5,6 @@
 before_install:
   - sudo apt-get update -qq
   - sudo apt-get install -qq bzr git mercurial subversion
+install: pip install pep8 --use-mirrors
+before_script: pep8 tar_scm
 script: python tests/test.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/obs-service-tar_scm-0.3.2.1404723797.745a470/GNUmakefile 
new/obs-service-tar_scm-0.4.0.1410288598.7f38281/GNUmakefile
--- old/obs-service-tar_scm-0.3.2.1404723797.745a470/GNUmakefile
1970-01-01 01:00:00.0 +0100
+++ new/obs-service-tar_scm-0.4.0.1410288598.7f38281/GNUmakefile
2014-09-09 21:01:29.0 +0200
@@ -0,0 +1,19 @@
+D

commit obs-service-tar_scm for openSUSE:Factory

2014-07-10 Thread h_root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2014-07-11 06:46:13

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new (New)


Package is "obs-service-tar_scm"

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2013-12-16 07:08:31.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new/obs-service-tar_scm.changes 
2014-07-11 06:47:01.0 +0200
@@ -1,0 +2,14 @@
+Wed Jul  9 08:43:06 UTC 2014 - jblu...@infradead.org
+
+- Update to version 0.3.2.1404723797.745a470:
+  + Initial debianization
+  + switch git submodule versions correctly
+  + add some basic documentation to the tests
+  + split off info into TESTING.md
+  + add CONTRIBUTING.md
+  + improve formatting
+  + whitelist accepted chars in arguments.
+  + Correct/update install information
+  + Reverse changes lines again with tac
+
+---

Old:

  obs-service-tar_scm-0.3.2.1386694317.b85b342.tar.gz

New:

  debian.dsc
  obs-service-tar_scm-0.3.2.1404723797.745a470.tar.gz



Other differences:
--
++ obs-service-tar_scm.spec ++
--- /var/tmp/diff_new_pack.glvsQv/_old  2014-07-11 06:47:02.0 +0200
+++ /var/tmp/diff_new_pack.glvsQv/_new  2014-07-11 06:47:02.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package obs-service-tar_scm
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 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.3.2.1386694317.b85b342
+Version:0.3.2.1404723797.745a470
 Release:0
 Summary:An OBS source service: checkout or update a tar ball from 
svn/git/hg
 License:GPL-2.0+

++ _service ++
--- /var/tmp/diff_new_pack.glvsQv/_old  2014-07-11 06:47:02.0 +0200
+++ /var/tmp/diff_new_pack.glvsQv/_new  2014-07-11 06:47:02.0 +0200
@@ -14,5 +14,6 @@
   
   
 obs-service-tar_scm
+obs-service-tar_scm.spec
   
 

++ _servicedata ++
--- /var/tmp/diff_new_pack.glvsQv/_old  2014-07-11 06:47:02.0 +0200
+++ /var/tmp/diff_new_pack.glvsQv/_new  2014-07-11 06:47:02.0 +0200
@@ -1,6 +1,6 @@
 
   
 git://github.com/openSUSE/obs-service-tar_scm.git
-b85b342f80
+745a470cfb
   
 
\ No newline at end of file

++ debian.dsc ++
Format: 1.0
Source: obs-service-tar-scm
Version: 0.2.3
Binary: obs-service-tar-scm
Maintainer: Adrian Schroeter 
Architecture: all
Standards-Version: 3.7.2
Build-Depends: debhelper (>= 7),
 bzr,
 git,
 mercurial,
 subversion,
 python-unittest2
++ obs-service-tar_scm-0.3.2.1386694317.b85b342.tar.gz -> 
obs-service-tar_scm-0.3.2.1404723797.745a470.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/obs-service-tar_scm-0.3.2.1386694317.b85b342/CONTRIBUTING.md 
new/obs-service-tar_scm-0.3.2.1404723797.745a470/CONTRIBUTING.md
--- old/obs-service-tar_scm-0.3.2.1386694317.b85b342/CONTRIBUTING.md
1970-01-01 01:00:00.0 +0100
+++ new/obs-service-tar_scm-0.3.2.1404723797.745a470/CONTRIBUTING.md
2014-07-09 11:15:58.0 +0200
@@ -0,0 +1,20 @@
+# Contributing to `tar_scm`
+
+If you notice an issue, please first check [the list of known 
issues](https://github.com/openSUSE/obs-service-tar_scm/issues?state=open).
+
+## Pull requests
+
+[Pull requests](https://help.github.com/articles/using-pull-requests)
+are extremely welcome, but will not be accepted unless they contain
+corresponding additions/modifications to the test suite - test suite
+bit-rot is the path to gloom and despair :-)
+
+Before starting work on a pull request, please read about this article
+describing [7 principles for contributing patches to software 
projects](http://blog.adamspiers.org/2012/11/10/7-principles-for-contributing-patches-to-software-projects/).
+
+## Bug reports
+
+If you are unable to provide a fix via a pull request, please
+[submit an issue](https://github.com/openSUSE/obs-service-tar_scm/issues/new).
+
+Many thanks in advance!
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/obs-service-tar_scm-0.3.2.1386694317.b85b342/README.md 
new/obs-service-tar_scm-0.3.2.1404723797.745a470/README.md
--- old/obs-service-tar_scm-0.3.2.1386694317.b85b342/README.md  2013-12-11 
10:22:29.0 +0100
+++ new/obs-service-tar_scm-0.3

commit obs-service-tar_scm for openSUSE:Factory

2013-12-15 Thread h_root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2013-12-16 07:08:30

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new (New)


Package is "obs-service-tar_scm"

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2013-11-26 19:21:44.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new/obs-service-tar_scm.changes 
2013-12-16 07:08:31.0 +0100
@@ -1,0 +2,10 @@
+Wed Dec 11 09:24:30 UTC 2013 - speili...@suse.com
+
+- Update to version 0.3.2.1386694317.b85b342:
+  + Fix adding to already existing _servicedata case
+  + Don't reverse changes lines with 'tac'
+  + Fix Python FutureWarning about comparison with None
+  + Improve description of the versionformat parameter.
+- Enable changes generation
+
+---

Old:

  obs-service-tar_scm-0.3.2.1384855776.cc62c54.tar.gz

New:

  _servicedata
  obs-service-tar_scm-0.3.2.1386694317.b85b342.tar.gz



Other differences:
--
++ obs-service-tar_scm.spec ++
--- /var/tmp/diff_new_pack.XcY3q9/_old  2013-12-16 07:08:32.0 +0100
+++ /var/tmp/diff_new_pack.XcY3q9/_new  2013-12-16 07:08:32.0 +0100
@@ -19,7 +19,7 @@
 %define service tar_scm
 
 Name:   obs-service-%{service}
-Version:0.3.2.1384855776.cc62c54
+Version:0.3.2.1386694317.b85b342
 Release:0
 Summary:An OBS source service: checkout or update a tar ball from 
svn/git/hg
 License:GPL-2.0+

++ _service ++
--- /var/tmp/diff_new_pack.XcY3q9/_old  2013-12-16 07:08:32.0 +0100
+++ /var/tmp/diff_new_pack.XcY3q9/_new  2013-12-16 07:08:32.0 +0100
@@ -6,13 +6,12 @@
 git-master
 0.3.2.%ct.%h
 master
+enable
   
-
   
 *.tar
 gz
   
-
   
 obs-service-tar_scm
   

++ _servicedata ++

  
git://github.com/openSUSE/obs-service-tar_scm.git
b85b342f80
  
++ obs-service-tar_scm-0.3.2.1384855776.cc62c54.tar.gz -> 
obs-service-tar_scm-0.3.2.1386694317.b85b342.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/obs-service-tar_scm-0.3.2.1384855776.cc62c54/tar_scm 
new/obs-service-tar_scm-0.3.2.1386694317.b85b342/tar_scm
--- old/obs-service-tar_scm-0.3.2.1384855776.cc62c54/tar_scm2013-11-19 
11:16:32.0 +0100
+++ new/obs-service-tar_scm-0.3.2.1386694317.b85b342/tar_scm2013-12-11 
10:22:29.0 +0100
@@ -189,6 +189,7 @@
 xml_parser = None
 create_servicedata, tar_scm_service = False, None
 tar_scm_xmlstring = "  \n${MYURL}\n  \n"
+root=None
 try:
 tree = ET.parse(os.path.join("$SRCDIR", "_servicedata"), parser=xml_parser)
 root = tree.getroot()
@@ -197,25 +198,27 @@
 if param.text == "${MYURL}":
 tar_scm_service = service
 break
-if tar_scm_service:
+if tar_scm_service is not None:
 changerev_params = 
tar_scm_service.findall("param[@name='changesrevision']")
 if len(changerev_params) == 1:
 print(changerev_params[0].text)  # Found what we searched for!
 else:
 # File exists, is well-formed but does not contain the service we 
search
 root.append(ET.fromstring(tar_scm_xmlstring))
-tree.write(os.path.join("$MYOUTDIR", "_servicedata"))
+create_servicedata = True
 except IOError as e:
+root = ET.fromstring("\n%s\n" % 
tar_scm_xmlstring)
 create_servicedata = True  # File doesnt exist
 except ET.ParseError as e:
 if e.message.startswith("Document is empty"):
+root = ET.fromstring("\n%s\n" % 
tar_scm_xmlstring)
 create_servicedata = True  # File is empty
 else:
 print("error: %s" % e) # File is mal-formed, bail out.
 except Exception as e:
 print("error: %s" % e)  # Catch-all, since we are in a here-document
+
 if create_servicedata:
-root = ET.fromstring("\n%s\n" % 
tar_scm_xmlstring)
 ET.ElementTree(root).write(os.path.join("$MYOUTDIR", "_servicedata"))
 else:
 shutil.copy(os.path.join("$SRCDIR", "_servicedata"), 
os.path.join("$MYOUTDIR", "_servicedata"))
@@ -243,7 +246,7 @@
 return
   fi
   debug "Generate changes between $CHANGES_REVISION and $CURRENT_REVISION"
-  lines=`safe_run git log --pretty=format:%s --no-merges 
${CHANGES_REVISION}..${CURRENT_REVISION} | tac`
+  lines=`safe_run git log --pretty=format:%s --no-merges 
${CHANGES_REVISION}..${CURRENT_REVISION}`
   ;;
 svn|hg|bzr)
   debug "Unable to generate changes for subversion, mercurial or bazaar, 
skipping changes file generation"
@@ -2

commit obs-service-tar_scm for openSUSE:Factory

2013-11-26 Thread h_root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2013-11-26 19:21:43

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new (New)


Package is "obs-service-tar_scm"

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2013-11-01 14:38:37.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new/obs-service-tar_scm.changes 
2013-11-26 19:21:44.0 +0100
@@ -1,0 +2,6 @@
+Tue Nov 19 10:15:53 UTC 2013 - adr...@suse.de
+
+- Bump version to 0.3.2
+  * changes file generation support written by Sascha
+
+---

Old:

  obs-service-tar_scm-0.3.1.1383144507.58d1af8.tar.gz

New:

  obs-service-tar_scm-0.3.2.1384855776.cc62c54.tar.gz



Other differences:
--
++ obs-service-tar_scm.spec ++
--- /var/tmp/diff_new_pack.Asx8X1/_old  2013-11-26 19:21:44.0 +0100
+++ /var/tmp/diff_new_pack.Asx8X1/_new  2013-11-26 19:21:44.0 +0100
@@ -19,7 +19,7 @@
 %define service tar_scm
 
 Name:   obs-service-%{service}
-Version:0.3.1.1383144507.58d1af8
+Version:0.3.2.1384855776.cc62c54
 Release:0
 Summary:An OBS source service: checkout or update a tar ball from 
svn/git/hg
 License:GPL-2.0+

++ _service ++
--- /var/tmp/diff_new_pack.Asx8X1/_old  2013-11-26 19:21:44.0 +0100
+++ /var/tmp/diff_new_pack.Asx8X1/_new  2013-11-26 19:21:44.0 +0100
@@ -1,10 +1,10 @@
 
   
-g...@github.com:openSUSE/obs-service-tar_scm.git
+git://github.com/openSUSE/obs-service-tar_scm.git
 git
 .git
 git-master
-0.3.1.%ct.%h
+0.3.2.%ct.%h
 master
   
 

++ obs-service-tar_scm-0.3.1.1383144507.58d1af8.tar.gz -> 
obs-service-tar_scm-0.3.2.1384855776.cc62c54.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/obs-service-tar_scm-0.3.1.1383144507.58d1af8/tar_scm 
new/obs-service-tar_scm-0.3.2.1384855776.cc62c54/tar_scm
--- old/obs-service-tar_scm-0.3.1.1383144507.58d1af8/tar_scm2013-10-30 
15:58:20.0 +0100
+++ new/obs-service-tar_scm-0.3.2.1384855776.cc62c54/tar_scm2013-11-19 
11:16:32.0 +0100
@@ -23,6 +23,9 @@
   MYPACKAGEMETA=""
   USE_SUBMODULES=enable
 #  MYHISTORYDEPTH=""
+  CHANGES_GENERATE=disable
+  CHANGES_REVISION=""
+  CHANGES_AUTHOR=""
   INCLUDES=""
 }
 
@@ -96,6 +99,14 @@
 USE_SUBMODULES="$2"
 shift
   ;;
+  *-changesgenerate)
+CHANGES_GENERATE="$2"
+shift
+  ;;
+  *-changesauthor)
+CHANGES_AUTHOR="$2"
+shift
+  ;;
   *)
 echo "Unknown parameter: $1"
 echo 'Usage: $SERVICE --scm $SCM --url $URL [--subdir $SUBDIR] 
[--revision $REVISION] [--version $VERSION] [--include $INCLUDE]* [--exclude 
$EXCLUDE]* [--versionformat $FORMAT] [--versionprefix $PREFIX] [--filename 
$FILENAME] [--package-meta $META] [--submodules disable] --outdir $OUT'
@@ -165,6 +176,156 @@
   esac
 }
 
+detect_changes () {
+  # Try to load from _servicedata. We have to change $PWD, ET.parse() seems to 
be relative...
+  CHANGES_REVISION=$(python <<-EOF
+import os, shutil
+try:
+# If lxml is available, we can use a parser that doesnt destroy comments
+import lxml.etree as ET
+xml_parser = ET.XMLParser(remove_comments=False)
+except ImportError:
+import xml.etree.ElementTree as ET
+xml_parser = None
+create_servicedata, tar_scm_service = False, None
+tar_scm_xmlstring = "  \n${MYURL}\n  \n"
+try:
+tree = ET.parse(os.path.join("$SRCDIR", "_servicedata"), parser=xml_parser)
+root = tree.getroot()
+for service in root.findall("service[@name='tar_scm']"):
+for param in service.findall("param[@name='url']"):
+if param.text == "${MYURL}":
+tar_scm_service = service
+break
+if tar_scm_service:
+changerev_params = 
tar_scm_service.findall("param[@name='changesrevision']")
+if len(changerev_params) == 1:
+print(changerev_params[0].text)  # Found what we searched for!
+else:
+# File exists, is well-formed but does not contain the service we 
search
+root.append(ET.fromstring(tar_scm_xmlstring))
+tree.write(os.path.join("$MYOUTDIR", "_servicedata"))
+except IOError as e:
+create_servicedata = True  # File doesnt exist
+except ET.ParseError as e:
+if e.message.startswith("Document is empty"):
+create_servicedata = True  # File is empty
+else:
+print("error: %s" % e) # File is mal-formed, bail out.
+except Exception as e:
+prin

commit obs-service-tar_scm for openSUSE:Factory

2013-11-01 Thread h_root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2013-11-01 14:38:37

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new (New)


Package is "obs-service-tar_scm"

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2013-08-07 20:46:06.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new/obs-service-tar_scm.changes 
2013-11-01 14:38:37.0 +0100
@@ -1,0 +2,6 @@
+Wed Oct 30 14:02:27 UTC 2013 - adr...@suse.de
+
+- Bump version to 0.3.1
+  * do not execute tar base file name
+
+---

Old:

  obs-service-tar_scm-0.3.0.1375457512.9de0986.tar.gz

New:

  obs-service-tar_scm-0.3.1.1383144507.58d1af8.tar.gz



Other differences:
--
++ obs-service-tar_scm.spec ++
--- /var/tmp/diff_new_pack.R8MhWe/_old  2013-11-01 14:38:39.0 +0100
+++ /var/tmp/diff_new_pack.R8MhWe/_new  2013-11-01 14:38:39.0 +0100
@@ -19,7 +19,7 @@
 %define service tar_scm
 
 Name:   obs-service-%{service}
-Version:0.3.0.1375457512.9de0986
+Version:0.3.1.1383144507.58d1af8
 Release:0
 Summary:An OBS source service: checkout or update a tar ball from 
svn/git/hg
 License:GPL-2.0+

++ _service ++
--- /var/tmp/diff_new_pack.R8MhWe/_old  2013-11-01 14:38:39.0 +0100
+++ /var/tmp/diff_new_pack.R8MhWe/_new  2013-11-01 14:38:39.0 +0100
@@ -4,7 +4,7 @@
 git
 .git
 git-master
-0.3.0.%ct.%h
+0.3.1.%ct.%h
 master
   
 

++ obs-service-tar_scm-0.3.0.1375457512.9de0986.tar.gz -> 
obs-service-tar_scm-0.3.1.1383144507.58d1af8.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/obs-service-tar_scm-0.3.0.1375457512.9de0986/tar_scm 
new/obs-service-tar_scm-0.3.1.1383144507.58d1af8/tar_scm
--- old/obs-service-tar_scm-0.3.0.1375457512.9de0986/tar_scm2013-08-02 
17:47:31.0 +0200
+++ new/obs-service-tar_scm-0.3.1.1383144507.58d1af8/tar_scm2013-10-30 
15:58:20.0 +0100
@@ -24,7 +24,6 @@
   USE_SUBMODULES=enable
 #  MYHISTORYDEPTH=""
   INCLUDES=""
-  MYTARFILENAME='${NAME}-${VERSION}'
 }
 
 get_config_options () {
@@ -97,13 +96,9 @@
 USE_SUBMODULES="$2"
 shift
   ;;
-  *-tarfilename)
-MYTARFILENAME="$2"
-shift
-  ;;
   *)
 echo "Unknown parameter: $1"
-echo 'Usage: $SERVICE --scm $SCM --url $URL [--subdir $SUBDIR] 
[--revision $REVISION] [--version $VERSION] [--include $INCLUDE]* [--exclude 
$EXCLUDE]* [--versionformat $FORMAT] [--versionprefix $PREFIX] [--filename 
$FILENAME] [--package-meta $META] [--submodules disable] [--tarfilename 
"${NAME}-${VERSION}"] --outdir $OUT'
+echo 'Usage: $SERVICE --scm $SCM --url $URL [--subdir $SUBDIR] 
[--revision $REVISION] [--version $VERSION] [--include $INCLUDE]* [--exclude 
$EXCLUDE]* [--versionformat $FORMAT] [--versionprefix $PREFIX] [--filename 
$FILENAME] [--package-meta $META] [--submodules disable] --outdir $OUT'
 exit 1
   ;;
 esac
@@ -396,18 +391,23 @@
   TAR_VERSION="$MYPREFIX$version"
 }
 
+ISO_CLEANUP_RE='s@([0-9]{4})-([0-9]{2})-([0-9]{2}) 
+([0-9]{2})([:]([0-9]{2})([:]([0-9]{2}))?)?( +[-+][0-9]{3,4})?@\1\2\3T\4\6\8@g'
+
 get_version () {
   case "$MYSCM" in
 git)
   #version=`safe_run git show --pretty=format:"$MYFORMAT" | head -n 1`
   if [[ "$MYFORMAT" =~ .*@PARENT_TAG@.*  ]] ; then
-  MYFORMAT=${MYFORMAT/@PARENT_TAG@/$(git describe --tags --abbrev=0)}
+  PARENT_TAG=$(git describe --tags --abbrev=0)
+  PARENT_TAG=${PARENT_TAG/-/.}
+  MYFORMAT=${MYFORMAT/@PARENT_TAG@/$PARENT_TAG}
+  echo "MYFORMAT: $MYFORMAT"
   if [ $? -gt 0 ] ; then
   echo -e "\e[0;31mThe git repository has no tags, thus 
@PARENT_TAG@ can not be expanded\e[0m"
   exit 1
   fi
   fi
-  version=`safe_run git log -n1 --date=short 
--pretty=format:"$MYFORMAT"|sed 's@-@@g'`
+  version=`safe_run git log -n1 --date=short --pretty=format:"$MYFORMAT" | 
sed -r -e "$ISO_CLEANUP_RE" -e 's@[-:]@@g'`
   ;;
 svn)
   #rev=`LC_ALL=C safe_run svn info | awk '/^Revision:/ { print $2 }'`
@@ -441,7 +441,7 @@
   # extract only the first value from the tuple, except for maybe
   # 'sub(...)' which is only available since 2.4 (first introduced
   # in openSUSE 12.3).
-  version=`safe_run hg log -l1 -r$rev --template "$MYFORMAT"|sed 's@-@@g'`
+  version=`safe_run hg log -l1 -r$rev --template "$MYFORMAT" | sed -r -e 
"$ISO_CLEANUP_RE" -e 's@[-:]

commit obs-service-tar_scm for openSUSE:Factory

2013-08-07 Thread h_root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2013-08-07 20:46:04

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new (New)


Package is "obs-service-tar_scm"

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2012-12-07 14:43:26.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new/obs-service-tar_scm.changes 
2013-08-07 20:46:06.0 +0200
@@ -1,0 +2,53 @@
+Fri Aug  2 16:54:18 BST 2013 - aspi...@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@
+
+---

Old:

  obs-service-tar_scm-0.2.3.tar.gz

New:

  obs-service-tar_scm-0.3.0.1375457512.9de0986.tar.gz



Other differences:
--
++ obs-service-tar_scm.spec ++
--- /var/tmp/diff_new_pack.ZNYxxJ/_old  2013-08-07 20:46:06.0 +0200
+++ /var/tmp/diff_new_pack.ZNYxxJ/_new  2013-08-07 20:46:06.0 +0200
@@ -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 @@
 %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

++ _service ++
--- /var/tmp/diff_new_pack.ZNYxxJ/_old  2013-08-07 20:46:07.0 +0200
+++ /var/tmp/diff_new_pack.ZNYxxJ/_new  2013-08-07 20:46:07.0 +0200
@@ -4,7 +4,7 @@
 git
 .git
 git-master
-0.2.3
+0.3.0.%ct.%h
 master
   
 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit obs-service-tar_scm for openSUSE:Factory

2012-12-07 Thread h_root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2012-12-07 14:43:25

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new (New)


Package is "obs-service-tar_scm", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2012-11-02 15:12:24.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new/obs-service-tar_scm.changes 
2012-12-07 14:43:26.0 +0100
@@ -1,0 +2,23 @@
+Tue Dec  4 09:29:48 UTC 2012 - sasc...@suse.de
+
+- Pass --tags to "git describe" for @PARENT_TAG@
+
+---
+Mon Dec  3 16:01:03 UTC 2012 - sasc...@suse.de
+
+- Disable testsuite on SLE_11_SP2 to fix build
+
+---
+Mon Dec  3 14:46:15 UTC 2012 - sasc...@suse.de
+
+- Use upstream github repository and download via _service file
+
+---
+Mon Dec  3 14:11:07 UTC 2012 - sasc...@suse.de
+
+- Add custom git versionformat extensions:
+  + @PARENT_TAG@: Replaced by first tag that is reachable from the
+  current commit (see 'git describe')
+  Future custom additions could follow the @NAME@ scheme
+
+---

Old:

  bzrfixtures.py
  bzrtests.py
  commontests.py
  fixtures.py
  gitfixtures.py
  githgtests.py
  gittests.py
  hgfixtures.py
  hgtests.py
  scm-wrapper
  scmlogs.py
  svnfixtures.py
  svntests.py
  tar_scm
  tar_scm.rc
  tar_scm.service
  test.py
  testassertions.py
  testenv.py
  utils.py

New:

  _service
  obs-service-tar_scm-0.2.3.tar.gz



Other differences:
--
++ obs-service-tar_scm.spec ++
--- /var/tmp/diff_new_pack.eNaDpi/_old  2012-12-07 14:43:27.0 +0100
+++ /var/tmp/diff_new_pack.eNaDpi/_new  2012-12-07 14:43:27.0 +0100
@@ -19,44 +19,22 @@
 %define service tar_scm
 
 Name:   obs-service-%{service}
+Version:0.2.3
+Release:0
 Summary:An OBS source service: checkout or update a tar ball from 
svn/git/hg
 License:GPL-2.0+
 Group:  Development/Tools/Building
-Url:
https://build.opensuse.org/package/show?package=obs-service-%{service}&project=openSUSE%3ATools
-Version:0.2.3
-Release:0
-Source: %{service}
-Source1:%{service}.service
-Source2:%{service}.rc
-
-# test suite files
-Source100:  bzrfixtures.py
-Source101:  bzrtests.py
-Source102:  commontests.py
-Source103:  fixtures.py
-Source104:  gitfixtures.py
-Source105:  githgtests.py
-Source106:  gittests.py
-Source107:  hgfixtures.py
-Source108:  hgtests.py
-Source109:  scmlogs.py
-Source110:  svnfixtures.py
-Source111:  svntests.py
-Source112:  testassertions.py
-Source113:  testenv.py
-Source114:  test.py
-Source115:  utils.py
-Source116:  scm-wrapper
-
-Requires:   bzr
-Requires:   git
-Requires:   mercurial
-Requires:   subversion
+Url:https://github.com/openSUSE/obs-service-%{service}
+Source: %{name}-%{version}.tar.gz
 BuildRequires:  bzr
 BuildRequires:  git
 BuildRequires:  mercurial
 BuildRequires:  python >= 2.6
 BuildRequires:  subversion
+Requires:   bzr
+Requires:   git
+Requires:   mercurial
+Requires:   subversion
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
 
@@ -65,31 +43,31 @@
 
 It supports downloading from svn, git, hg and bzr repositories.
 
-
 %prep
-%setup -q -D -T 0 -n .
+%setup -q
 
 %build
 
 %install
-mkdir -p $RPM_BUILD_ROOT/usr/lib/obs/service
-install -m 0755 %{SOURCE0} $RPM_BUILD_ROOT/usr/lib/obs/service
-install -m 0644 %{SOURCE1} $RPM_BUILD_ROOT/usr/lib/obs/service
+mkdir -p %{buildroot}%{_prefix}/lib/obs/service
+install -m 0755 tar_scm %{buildroot}%{_prefix}/lib/obs/service
+install -m 0644 tar_scm.service %{buildroot}%{_prefix}/lib/obs/service
 
-mkdir -p $RPM_BUILD_ROOT/etc/obs/services
-install -m 0644 %{SOURCE2} $RPM_BUILD_ROOT/etc/obs/services/%{service}
+mkdir -p %{buildroot}%{_sysconfdir}/obs/services
+install -m 0644 tar_scm.rc %{buildroot}%{_sysconfdir}/obs/services/%{service}
 
+%if 0%{?suse_version} >= 1220
 %check
-chmod +x $RPM_SOURCE_DIR/scm-wrapper
 : Running the test suite.  Please be patient - this takes a few minutes ...
-python $RPM_SOURCE_DIR/test.py
+python test.py
+%endif
 
 %files
 %defattr(-,root,root)
-%dir /usr/lib/obs
-/usr/lib/obs/service
-%dir /etc/obs
-%dir /etc/obs/services
-%config(noreplace) /etc/obs/services/*
+%dir %{_prefix

commit obs-service-tar_scm for openSUSE:Factory

2012-11-02 Thread h_root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2012-11-02 15:12:23

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new (New)


Package is "obs-service-tar_scm", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2012-10-06 18:39:51.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new/obs-service-tar_scm.changes 
2012-11-02 15:12:24.0 +0100
@@ -1,0 +2,5 @@
+Thu Nov  1 14:53:39 GMT 2012 - aspi...@suse.com
+
+- Fix usage text for submodules option
+
+---



Other differences:
--
++ tar_scm ++
--- /var/tmp/diff_new_pack.59qEA9/_old  2012-11-02 15:12:27.0 +0100
+++ /var/tmp/diff_new_pack.59qEA9/_new  2012-11-02 15:12:27.0 +0100
@@ -98,7 +98,7 @@
   ;;
   *)
 echo "Unknown parameter: $1"
-echo 'Usage: $SERVICE --scm $SCM --url $URL [--subdir $SUBDIR] 
[--revision $REVISION] [--version $VERSION] [--include $INCLUDE]* [--exclude 
$EXCLUDE]* [--versionformat $FORMAT] [--versionprefix $PREFIX] [--filename 
$FILENAME] [--package-meta $META] [--disable-git-submodule] --outdir $OUT'
+echo 'Usage: $SERVICE --scm $SCM --url $URL [--subdir $SUBDIR] 
[--revision $REVISION] [--version $VERSION] [--include $INCLUDE]* [--exclude 
$EXCLUDE]* [--versionformat $FORMAT] [--versionprefix $PREFIX] [--filename 
$FILENAME] [--package-meta $META] [--submodules disable] --outdir $OUT'
 exit 1
   ;;
 esac

++ tar_scm.service ++
--- /var/tmp/diff_new_pack.59qEA9/_old  2012-11-02 15:12:27.0 +0100
+++ /var/tmp/diff_new_pack.59qEA9/_new  2012-11-02 15:12:27.0 +0100
@@ -45,7 +45,7 @@
 Stored history depth. Special value "full" clones/pulls full 
history. Only valid if SCM git is used.
   
   
-Do not include git submodules.
+Whether or not to include git submodules.  Default is 
'enable'
 enable
 disable
   

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit obs-service-tar_scm for openSUSE:Factory

2012-10-06 Thread h_root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2012-10-04 20:01:38

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new (New)


Package is "obs-service-tar_scm", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2012-09-26 16:25:14.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new/obs-service-tar_scm.changes 
2012-10-06 18:39:51.0 +0200
@@ -1,0 +2,7 @@
+Mon Oct  1 07:15:03 UTC 2012 - cth...@suse.com
+
+- change default versionformat from author date (%at) to commiter date (%ct)
+  for git, to fix issues with cherry-picked commits resulting in decreased
+  version
+
+---



Other differences:
--
++ gitfixtures.py ++
--- /var/tmp/diff_new_pack.qn2beJ/_old  2012-10-06 18:39:52.0 +0200
+++ /var/tmp/diff_new_pack.qn2beJ/_new  2012-10-06 18:39:52.0 +0200
@@ -37,7 +37,7 @@
 tag = 'tag' + str(rev_num)
 self.run('tag ' + tag)
 self.revs[rev_num]   = tag
-self.timestamps[tag] = self.get_metadata('%at')
+self.timestamps[tag] = self.get_metadata('%ct')
 self.sha1s[tag]  = self.get_metadata('%h')
 self.scmlogs.annotate(
 "Recorded rev %d: id %s, timestamp %s, SHA1 %s" % \

++ gittests.py ++
--- /var/tmp/diff_new_pack.qn2beJ/_old  2012-10-06 18:39:52.0 +0200
+++ /var/tmp/diff_new_pack.qn2beJ/_new  2012-10-06 18:39:52.0 +0200
@@ -11,7 +11,7 @@
 fixtures_class = GitFixtures
 
 abbrev_hash_format = '%h'
-timestamp_format   = '%at'
+timestamp_format   = '%ct'
 
 def default_version(self):
 return self.timestamps(self.rev(2))

++ tar_scm ++
--- /var/tmp/diff_new_pack.qn2beJ/_old  2012-10-06 18:39:52.0 +0200
+++ /var/tmp/diff_new_pack.qn2beJ/_new  2012-10-06 18:39:52.0 +0200
@@ -378,7 +378,7 @@
   if [ -z "$MYFORMAT" ]; then
 case "$MYSCM" in
   git)
-MYFORMAT="%at"
+MYFORMAT="%ct"
 ;;
   hg)
 MYFORMAT="{rev}"

++ tar_scm.service ++
--- /var/tmp/diff_new_pack.qn2beJ/_old  2012-10-06 18:39:52.0 +0200
+++ /var/tmp/diff_new_pack.qn2beJ/_new  2012-10-06 18:39:52.0 +0200
@@ -20,7 +20,7 @@
 Specify version to be used in tarball. Defaults to 
automatically detected value formatted by versionformat parameter.
   
   
-Auto-generate version from checked out source using this 
format string. For git, value is passed via git show --pretty=format:... 
(default '%at'); for hg, via hg log --template=... (default '{rev}'); for bzr 
and svn, %r is revision (default '%r'). Overrides tarball name defined by 
version parameter.
+Auto-generate version from checked out source using this 
format string. For git, value is passed via git show --pretty=format:... 
(default '%ct'); for hg, via hg log --template=... (default '{rev}'); for bzr 
and svn, %r is revision (default '%r'). Overrides tarball name defined by 
version parameter.
   
   
 specify a base version as prefix.

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit obs-service-tar_scm for openSUSE:Factory

2012-09-26 Thread h_root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2012-09-26 16:25:05

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new (New)


Package is "obs-service-tar_scm", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2012-07-30 09:31:14.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new/obs-service-tar_scm.changes 
2012-09-26 16:25:14.0 +0200
@@ -1,0 +2,8 @@
+Mon Sep 24 11:47:27 UTC 2012 - jsl...@suse.com
+
+- add --date=short to get_vesion of git and remove '-' chars
+  by sed. This allows us to use %ad as versionformat and
+  have something like "20120916" as version instead of
+  terrible Unix timestamps.
+
+---



Other differences:
--
++ tar_scm ++
--- /var/tmp/diff_new_pack.cticXH/_old  2012-09-26 16:25:16.0 +0200
+++ /var/tmp/diff_new_pack.cticXH/_new  2012-09-26 16:25:16.0 +0200
@@ -402,7 +402,7 @@
   case "$MYSCM" in
 git)
   #version=`safe_run git show --pretty=format:"$MYFORMAT" | head -n 1`
-  version=`safe_run git log -n1 --pretty=format:"$MYFORMAT"`
+  version=`safe_run git log -n1 --date=short 
--pretty=format:"$MYFORMAT"|sed 's@-@@g'`
   ;;
 svn)
   #rev=`LC_ALL=C safe_run svn info | awk '/^Revision:/ { print $2 }'`

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit obs-service-tar_scm for openSUSE:Factory

2012-07-30 Thread h_root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2012-07-30 09:31:12

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new (New)


Package is "obs-service-tar_scm", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2012-06-07 15:39:04.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new/obs-service-tar_scm.changes 
2012-07-30 09:31:14.0 +0200
@@ -1,0 +2,27 @@
+Fri Jul 27 11:16:47 UTC 2012 - aspi...@suse.com
+
+- Prevent local users from appearing as user/group owner in
+  generated tar files (thanks bmwiedemann for this)
+
+---
+Tue Jul  3 11:23:12 UTC 2012 - adr...@suse.de
+
+- fix option for submodule update
+
+---
+Sat Jun 30 13:56:51 UTC 2012 - magis...@gmail.com
+
+- Fixed error with cache 
+
+---
+Sat Jun 30 10:59:34 UTC 2012 - magis...@gmail.com
+
+- Added an option to disable git submodules
+- Replaced --exclude=.$MYSCM with --exclude-vcs tar option 
+
+---
+Thu Jun 28 22:53:29 UTC 2012 - magis...@gmail.com
+
+- Added support for git submodules
+
+---



Other differences:
--
++ tar_scm ++
--- /var/tmp/diff_new_pack.ApHW9h/_old  2012-07-30 09:31:16.0 +0200
+++ /var/tmp/diff_new_pack.ApHW9h/_new  2012-07-30 09:31:16.0 +0200
@@ -21,6 +21,7 @@
   MYFILENAME=""
   MYREVISION=""
   MYPACKAGEMETA=""
+  USE_SUBMODULES=enable
 #  MYHISTORYDEPTH=""
   INCLUDES=""
 }
@@ -91,9 +92,13 @@
 echo "history-depth parameter is obsolete and will be ignored"
 shift
   ;;
+  *-submodules)
+USE_SUBMODULES="$2"
+shift
+  ;;
   *)
 echo "Unknown parameter: $1"
-echo 'Usage: $SERVICE --scm $SCM --url $URL [--subdir $SUBDIR] 
[--revision $REVISION] [--version $VERSION] [--include $INCLUDE]* [--exclude 
$EXCLUDE]* [--versionformat $FORMAT] [--versionprefix $PREFIX] [--filename 
$FILENAME] [--package-meta $META] --outdir $OUT'
+echo 'Usage: $SERVICE --scm $SCM --url $URL [--subdir $SUBDIR] 
[--revision $REVISION] [--version $VERSION] [--include $INCLUDE]* [--exclude 
$EXCLUDE]* [--versionformat $FORMAT] [--versionprefix $PREFIX] [--filename 
$FILENAME] [--package-meta $META] [--disable-git-submodule] --outdir $OUT'
 exit 1
   ;;
 esac
@@ -132,7 +137,7 @@
   FILE="$MYFILENAME"
   WD_VERSION="$MYVERSION"
   if [ -z "$MYPACKAGEMETA" ]; then
-EXCLUDES="$EXCLUDES --exclude=.$MYSCM"
+EXCLUDES="$EXCLUDES --exclude-vcs"
   fi
   # if [ "$MYHISTORYDEPTH" == "full" ]; then
   #   MYHISTORYDEPTH="9"
@@ -241,6 +246,11 @@
 git)
   # Clone with full depth; so that the revision can be found if specified
   safe_run git clone "$MYURL" "$CLONE_TO"
+  if [ "$USE_SUBMODULES" == "enable" ]; then
+safe_run cd "$CLONE_TO"
+safe_run git submodule update --init --recursive
+safe_run cd ..
+  fi
   ;;
 svn)
   args=
@@ -447,8 +457,8 @@
 create_tar () {
   TARFILE="${TAR_BASENAME}.tar"
   TARPATH="$MYOUTDIR/$TARFILE"
-  debug tar cf "$TARPATH" $EXCLUDES $MYINCLUDES
-  safe_run tar cf "$TARPATH" $EXCLUDES $MYINCLUDES
+  debug tar --owner=root --group=root -cf "$TARPATH" $EXCLUDES $MYINCLUDES
+  safe_run tar --owner=root --group=root -cf "$TARPATH" $EXCLUDES $MYINCLUDES
   echo "Created $TARFILE"
 }
 

++ tar_scm.service ++
--- /var/tmp/diff_new_pack.ApHW9h/_old  2012-07-30 09:31:16.0 +0200
+++ /var/tmp/diff_new_pack.ApHW9h/_new  2012-07-30 09:31:16.0 +0200
@@ -44,5 +44,10 @@
   
 Stored history depth. Special value "full" clones/pulls full 
history. Only valid if SCM git is used.
   
+  
+Do not include git submodules.
+enable
+disable
+  
 
 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit obs-service-tar_scm for openSUSE:Factory

2012-06-07 Thread h_root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2012-06-07 15:39:00

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new (New)


Package is "obs-service-tar_scm", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2012-05-25 16:17:00.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new/obs-service-tar_scm.changes 
2012-06-07 15:39:04.0 +0200
@@ -1,0 +2,10 @@
+Tue Jun  5 11:12:07 UTC 2012 - sasc...@suse.de
+
+- Re-iterating the last change once again, 'git rev-parse --verify $REV'
+  will return false even if $REV is a normal branch upon first clone
+  of the repo. Thus 'git fetch $URL +$REV:$REV" is run initially. 
+  However, the 'git checkout $REV' then fails because it's missing 
+  tracking information. Therefore, try a normal checkout first and fetch
+  the specific $REV only when that fails (due to reasons described below).
+
+---



Other differences:
--
++ obs-service-tar_scm.spec ++
--- /var/tmp/diff_new_pack.hp1pc6/_old  2012-06-07 15:39:06.0 +0200
+++ /var/tmp/diff_new_pack.hp1pc6/_new  2012-06-07 15:39:06.0 +0200
@@ -48,7 +48,10 @@
 Source115:  utils.py
 Source116:  scm-wrapper
 
-Requires:   bzr git mercurial subversion
+Requires:   bzr
+Requires:   git
+Requires:   mercurial
+Requires:   subversion
 BuildRequires:  bzr
 BuildRequires:  git
 BuildRequires:  mercurial

++ tar_scm ++
--- /var/tmp/diff_new_pack.hp1pc6/_old  2012-06-07 15:39:06.0 +0200
+++ /var/tmp/diff_new_pack.hp1pc6/_new  2012-06-07 15:39:06.0 +0200
@@ -336,11 +336,11 @@
   # - explicit ref: refs/heads/master, refs/tags/v1.2.3, 
refs/changes/49/11249/1
   #   - set by: git fetch  +: && git checkout 

   #
-  if ! git rev-parse --verify "$MYREVISION"; then
+  if ! git checkout "$MYREVISION"; then
 echo "$MYREVISION not accessible by default clone/fetch, attempting 
explicit fetch"
 safe_run git fetch "$MYURL" "+$MYREVISION:$MYREVISION"
+safe_run git checkout "$MYREVISION"
   fi
-  safe_run git checkout "$MYREVISION"
   if git branch | grep -q '^\* (no branch)$'; then
 echo "$MYREVISION does not refer to a branch, not attempting git pull"
   else

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit obs-service-tar_scm for openSUSE:Factory

2012-05-25 Thread h_root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2012-05-25 16:16:58

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new (New)


Package is "obs-service-tar_scm", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2012-03-20 11:30:43.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new/obs-service-tar_scm.changes 
2012-05-25 16:17:00.0 +0200
@@ -1,0 +2,7 @@
+Thu May 24 00:57:28 GMT 2012 - rohan.mcgov...@nokia.com
+
+- Allow git revision to refer to revisions not available from a
+  default clone/fetch (i.e. refs other than refs/heads/* or
+  refs/tags/*)
+
+---



Other differences:
--
++ tar_scm ++
--- /var/tmp/diff_new_pack.dLOVKT/_old  2012-05-25 16:17:03.0 +0200
+++ /var/tmp/diff_new_pack.dLOVKT/_new  2012-05-25 16:17:03.0 +0200
@@ -323,6 +323,23 @@
 switch_to_revision () {
   case "$MYSCM" in
 git)
+  # $MYREVISION may refer to any of the following:
+  #
+  # - explicit SHA1: a1b2c3d4
+  #   - the SHA1 must be reachable from a default clone/fetch (generally, 
must be
+  # reachable from some branch or tag on the remote).
+  #   - set by: git checkout 
+  #
+  # - short branch name: "master", "devel" etc.
+  #   - set by: git checkout  && git pull
+  #
+  # - explicit ref: refs/heads/master, refs/tags/v1.2.3, 
refs/changes/49/11249/1
+  #   - set by: git fetch  +: && git checkout 

+  #
+  if ! git rev-parse --verify "$MYREVISION"; then
+echo "$MYREVISION not accessible by default clone/fetch, attempting 
explicit fetch"
+safe_run git fetch "$MYURL" "+$MYREVISION:$MYREVISION"
+  fi
   safe_run git checkout "$MYREVISION"
   if git branch | grep -q '^\* (no branch)$'; then
 echo "$MYREVISION does not refer to a branch, not attempting git pull"

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit obs-service-tar_scm for openSUSE:Factory

2012-03-20 Thread h_root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2012-03-20 11:30:42

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new (New)


Package is "obs-service-tar_scm", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2012-03-01 17:21:40.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new/obs-service-tar_scm.changes 
2012-03-20 11:30:43.0 +0100
@@ -1,0 +2,5 @@
+Mon Mar 19 13:39:28 GMT 2012 - aspi...@suse.com
+
+- Check that git pull succeeds
+
+---



Other differences:
--
++ tar_scm ++
--- /var/tmp/diff_new_pack.NB2dWO/_old  2012-03-20 11:30:45.0 +0100
+++ /var/tmp/diff_new_pack.NB2dWO/_new  2012-03-20 11:30:45.0 +0100
@@ -327,7 +327,7 @@
   if git branch | grep -q '^\* (no branch)$'; then
 echo "$MYREVISION does not refer to a branch, not attempting git pull"
   else
-git pull
+safe_run git pull
   fi
   ;;
 svn|bzr)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit obs-service-tar_scm for openSUSE:Factory

2012-03-01 Thread h_root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2012-03-01 17:21:38

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new (New)


Package is "obs-service-tar_scm", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2012-02-17 12:18:39.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new/obs-service-tar_scm.changes 
2012-03-01 17:21:40.0 +0100
@@ -1,0 +2,6 @@
+Wed Feb 29 18:32:12 GMT 2012 - aspi...@suse.com
+
+- Remove accidental reference to keep-source parameter
+  which was never pushed upstream (obsoleted by new cache).
+
+---



Other differences:
--
++ tar_scm.service ++
--- /var/tmp/diff_new_pack.0DDKgi/_old  2012-03-01 17:21:42.0 +0100
+++ /var/tmp/diff_new_pack.0DDKgi/_new  2012-03-01 17:21:42.0 +0100
@@ -17,7 +17,7 @@
 package just a sub directory
   
   
-Specify version to be used in tarball. Defaults to 
automatically detected value formatted by versionformat parameter. If using 
keep-source, you should set this to a fixed constant which will be used to name 
the checked out directory.
+Specify version to be used in tarball. Defaults to 
automatically detected value formatted by versionformat parameter.
   
   
 Auto-generate version from checked out source using this 
format string. For git, value is passed via git show --pretty=format:... 
(default '%at'); for hg, via hg log --template=... (default '{rev}'); for bzr 
and svn, %r is revision (default '%r'). Overrides tarball name defined by 
version parameter.

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit obs-service-tar_scm for openSUSE:Factory

2012-02-17 Thread h_root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2012-02-17 12:18:38

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new (New)


Package is "obs-service-tar_scm", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2012-01-04 07:25:39.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new/obs-service-tar_scm.changes 
2012-02-17 12:18:39.0 +0100
@@ -1,0 +2,37 @@
+Thu Feb 16 15:23:35 GMT 2012 - aspi...@suse.com
+
+- When the cache is used, output location of repo in the cache
+
+---
+Tue Feb 14 16:52:19 GMT 2012 - aspi...@suse.com
+
+- add new 'versionformat' option to determine how version is
+  extracted via git show --pretty=...
+- support caching of cloned repositories to speed up fetch
+  from upstream
+
+---
+Mon Feb  13 15:52:19 GMT 2012 - aspi...@suse.com
+
+- Add test suite
+- Fix --subdir with --scm svn
+- Fix --scm bzr
+
+---
+Mon Feb 13 10:51:19 UTC 2012 - co...@suse.com
+
+- patch license to follow spdx.org standard
+
+---
+Tue Jan 24 15:46:17 UTC 2012 - rschi...@gmail.com
+
+- add new option to specify a subset of files/subdirectories to
+  pack in the tar ball
+
+---
+Tue Jan 24 13:26:19 UTC 2012 - rschi...@gmail.com
+
+- Checking out a specific revision cannot work when only the latest
+  version is cloned.
+
+---

New:

  bzrfixtures.py
  bzrtests.py
  commontests.py
  fixtures.py
  gitfixtures.py
  githgtests.py
  gittests.py
  hgfixtures.py
  hgtests.py
  scm-wrapper
  scmlogs.py
  svnfixtures.py
  svntests.py
  tar_scm.rc
  test.py
  testassertions.py
  testenv.py
  utils.py



Other differences:
--
++ obs-service-tar_scm.spec ++
--- /var/tmp/diff_new_pack.G30PbZ/_old  2012-02-17 12:18:42.0 +0100
+++ /var/tmp/diff_new_pack.G30PbZ/_new  2012-02-17 12:18:42.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package obs-service-tar_scm
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 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
@@ -16,17 +16,44 @@
 #
 
 
+%define service tar_scm
 
-Name:   obs-service-tar_scm
-License:GPL v2 or later
-Group:  Development/Tools/Building
+Name:   obs-service-%{service}
 Summary:An OBS source service: checkout or update a tar ball from 
svn/git/hg
-Url:
https://build.opensuse.org/package/show?package=obs-service-tar_scm&project=openSUSE%3ATools
-Version:0.2.1
-Release:1
-Source: tar_scm
-Source1:tar_scm.service
-Requires:   subversion git mercurial bzr
+License:GPL-2.0+
+Group:  Development/Tools/Building
+Url:
https://build.opensuse.org/package/show?package=obs-service-%{service}&project=openSUSE%3ATools
+Version:0.2.3
+Release:0
+Source: %{service}
+Source1:%{service}.service
+Source2:%{service}.rc
+
+# test suite files
+Source100:  bzrfixtures.py
+Source101:  bzrtests.py
+Source102:  commontests.py
+Source103:  fixtures.py
+Source104:  gitfixtures.py
+Source105:  githgtests.py
+Source106:  gittests.py
+Source107:  hgfixtures.py
+Source108:  hgtests.py
+Source109:  scmlogs.py
+Source110:  svnfixtures.py
+Source111:  svntests.py
+Source112:  testassertions.py
+Source113:  testenv.py
+Source114:  test.py
+Source115:  utils.py
+Source116:  scm-wrapper
+
+Requires:   bzr git mercurial subversion
+BuildRequires:  bzr
+BuildRequires:  git
+BuildRequires:  mercurial
+BuildRequires:  python >= 2.6
+BuildRequires:  subversion
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
 
@@ -46,9 +73,20 @@
 install -m 0755 %{SOURCE0} $RPM_BUILD_ROOT/usr/lib/obs/service
 install -m 0644 %{SOURCE1} $RPM_BUILD_ROOT/usr/lib/obs/service
 
+mkdir -p $RPM_BUILD_ROOT/etc/obs/services
+install -m 0644 %{SOURCE2} $RPM_BUILD_ROOT/etc/obs/services/%{service}
+
+%check
+chmod +x $RPM_SOURCE_DIR/scm-wrapper
+: Running the test suite.  Please be patient - this takes a few minutes ...
+python

commit obs-service-tar_scm for openSUSE:Factory

2012-01-03 Thread h_root
Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2012-01-04 07:25:34

Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and  /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new (New)


Package is "obs-service-tar_scm", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2011-09-23 02:14:58.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new/obs-service-tar_scm.changes 
2012-01-04 07:25:39.0 +0100
@@ -1,0 +2,55 @@
+Thu Dec 29 13:39:35 UTC 2011 - gol...@b1-systems.de
+
+- make svn checkout --trust-server-cert option conditional, since
+  this option is not supported by versions prior to subversion 1.6.
+
+---
+Thu Dec 29 13:37:43 UTC 2011 - gol...@b1-systems.de
+
+- Trim user prefix from tarball filename.
+  This enables tar_scm service to be used with git and ssh transport
+  (in conjuction with a passphrase less ssh-pubkey). Example Git URL:
+  g...@gitrepo.tld:foobar.git
+
+---
+Thu Dec 29 13:35:30 UTC 2011 - gol...@b1-systems.de
+
+- git 1.6.x and very likely other version only support
+  "show --pretty=format:%at" as parameter with "format:" prefix.
+  git show --pretty=%at is also support by recent git versions.
+
+---
+Mon Aug 29 07:01:36 UTC 2011 - adr...@suse.de
+
+- make it possible to create tar balls without version tag (#714542)
+
+---
+Fri Aug 26 06:49:13 UTC 2011 - adr...@suse.de
+
+- support old tar bar lookup also for OBS 2.3 bs_service using .old/ directory
+
+---
+Fri Aug 26 06:45:17 UTC 2011 - adr...@suse.de
+
+- drop broken code for same-commit-detection as suggested by Markus
+
+---
+Thu Aug 25 16:17:02 UTC 2011 - markus.lehto...@linux.intel.com
+
+- history-depth parameter: use hackish depth=9 if "full" is
+  given so that a shallow clone will be fully deepened if the
+  _service file is changed. Also, fix git clone cmd line (remove
+  a pair of quotes that cause problems).
+
+---
+Thu Aug 25 13:52:06 UTC 2011 - adr...@suse.de
+
+- add support for (git) checkout depth, original patch by
+  Markus Lehtonen 
+
+---
+Wed Aug 17 07:54:29 UTC 2011 - adr...@suse.de
+
+- make packaging of meta data optional to reduce tar ball size
+
+---



Other differences:
--
++ tar_scm ++
--- /var/tmp/diff_new_pack.nVCfIw/_old  2012-01-04 07:25:40.0 +0100
+++ /var/tmp/diff_new_pack.nVCfIw/_new  2012-01-04 07:25:40.0 +0100
@@ -13,10 +13,12 @@
 # defaults
 MYSCM=""
 MYURL=""
-MYVERSION=""
+MYVERSION="_auto_"
 MYPREFIX=""
 MYFILENAME=""
 MYREVISION=""
+MYPACKAGEMETA=""
+MYGITARGS="--depth 1"
 
 while test $# -gt 0; do
   case $1 in
@@ -52,10 +54,22 @@
   MYFILENAME="${2#/}"
   shift
 ;;
+*-package-meta)
+  MYPACKAGEMETA="${2#/}"
+  shift
+;;
 *-outdir)
   MYOUTDIR="$2"
   shift
 ;;
+*-history-depth)
+  if [ "$2" == "full" ]; then
+MYGITARGS="--depth 9"
+  else
+MYGITARGS="--depth $2"
+  fi
+  shift
+;;
 *)
   echo Unknown parameter $1.
   echo 'Usage: tar_scm --scm $SCM --url $URL --outdir $OUT'
@@ -67,6 +81,9 @@
 
 FILE="$MYFILENAME"
 VERSION="$MYVERSION"
+if [ -z "$MYPACKAGEMETA" ]; then
+  EXCLUDES="$EXCLUDES --exclude-vcs"
+fi
 
 if [ -z "$MYSCM" ]; then
   echo "ERROR: no scm is given via --scm parameter (git/svn/hg)!"
@@ -88,6 +105,7 @@
   FILE="${MYURL%/}"
   FILE="${FILE##*/}"
   FILE="${FILE%.git}"
+  FILE="${FILE#*@*:}"
 fi
 if [ -z "$FILE" -a "$MYSCM" == "svn" ]; then
   FILE="${MYURL%/}"
@@ -98,7 +116,12 @@
   FILE="${FILE##*/}"
 fi
 
-existing_tar=$(echo $SRCDIR/_service:*tar_scm:${FILE}-*.tar*)
+# Try to find an existing tar ball, which can be upgraded instead of complete 
full download.
+existing_tar=$(echo $SRCDIR/.old/_service:*tar_scm:${FILE}-*.tar*)
+if [ ! -e "$existing_tar" ]; then
+  # for OBS < 2.3
+  existing_tar=$(echo $SRCDIR/_service:*tar_scm:${FILE}-*.tar*)
+fi
 if [ -e "$existing_tar" ]; then
   UNCOMPRESS="cat"
   if [ "${existing_tar%.tar.gz}" != "$existing_tar" ]; then
@@ -110,11 +133,18 @@
   fi
   if $UNCOMPRESS "$existing_tar" | tar xf -; then
 TAR_DIRECTORY=`find

commit obs-service-tar_scm for openSUSE:Factory

2011-08-12 Thread h_root

Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory
checked in at Fri Aug 12 16:46:49 CEST 2011.




New Changes file:

--- /dev/null   2010-08-26 16:28:41.0 +0200
+++ 
/mounts/work_src_done/STABLE/obs-service-tar_scm/obs-service-tar_scm.changes
2011-08-12 13:51:34.0 +0200
@@ -0,0 +1,48 @@
+---
+Fri Aug 12 11:51:07 UTC 2011 - adr...@suse.de
+
+- fix exclude expansion
+
+---
+Mon Jun 20 08:48:12 UTC 2011 - cth...@novell.com
+
+- add support for bzr 
+
+---
+Tue Mar 22 14:55:55 UTC 2011 - amm...@openttdcoop.org
+
+- Fix: recompressed tars were never reused
+- cleanup mercurial commands
+
+---
+Tue Feb  8 16:00:48 UTC 2011 - adr...@suse.de
+
+- always trust svn server certificate. We don't have a secure handling
+  for it anyway. Trust needs to established via extra service.
+
+---
+Wed Jan 12 10:02:41 UTC 2011 - adr...@suse.de
+
+- fix subdir usage for git
+
+---
+Thu Dec 30 12:41:57 UTC 2010 - adr...@suse.de
+
+- add option exclude files/directories when creating the tar ball
+- git clone runs now with --depth 1 option
+
+---
+Wed Dec  8 06:29:42 UTC 2010 - w...@rosenauer.org
+
+- support mercurial repositories
+
+---
+Wed Oct 20 16:27:25 UTC 2010 - reddw...@opensuse.org
+
+- Fix --filename parameter use
+
+---
+Fri Sep  3 10:31:32 UTC 2010 - adr...@suse.de
+
+- initial version to checkout/update svn or git repos and create a tar
+

calling whatdependson for head-i586


New:

  obs-service-tar_scm.changes
  obs-service-tar_scm.spec
  tar_scm
  tar_scm.service



Other differences:
--
++ obs-service-tar_scm.spec ++
#
# spec file for package obs-service-tar_scm
#
# Copyright (c) 2011 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#



Name:   obs-service-tar_scm
License:GPL v2 or later
Group:  Development/Tools/Building
Summary:An OBS source service: checkout or update a tar ball from 
svn/git/hg
Url:
https://build.opensuse.org/package/show?package=obs-service-tar_scm&project=openSUSE%3ATools
Version:0.2.1
Release:1
Source: tar_scm
Source1:tar_scm.service
Requires:   subversion git mercurial bzr
BuildRoot:  %{_tmppath}/%{name}-%{version}-build
BuildArch:  noarch

%description
This is a source service for openSUSE Build Service.

It supports downloading from svn, git, hg and bzr repositories.


%prep
%setup -q -D -T 0 -n .

%build

%install
mkdir -p $RPM_BUILD_ROOT/usr/lib/obs/service
install -m 0755 %{SOURCE0} $RPM_BUILD_ROOT/usr/lib/obs/service
install -m 0644 %{SOURCE1} $RPM_BUILD_ROOT/usr/lib/obs/service

%files
%defattr(-,root,root)
%dir /usr/lib/obs
/usr/lib/obs/service

%changelog
++ tar_scm ++
#!/bin/bash

# A simple script to checkout or update a svn or git repo as source service
#
# (C) 2010 by Adrian Schröter 
#  
# This program is free software; you can redistribute it and/or  
# modify it under the terms of the GNU General Public License  
# as published by the Free Software Foundation; either version 2  
# of the License, or (at your option) any later version.  
# See http://www.gnu.org/licenses/gpl-2.0.html for full license text.  

# defaults
MYSCM=""
MYURL=""
MYVERSION=""
MYPREFIX=""
MYFILENAME=""
MYREVISION=""

while test $# -gt 0; do
  case $1 in
*-scm)
  MYSCM="$2"
  shift
;;
*-url)
  MYURL="$2"
  shift
;;
*-subdir)
  MYSUBDIR="$2"
  shift
;;
*-revision)
  MYREVISION="$2"
  shift
;;
*-version)
  MYVERSION="$2"
  shift
;;
*-versionprefix)
  MYPREFIX="$2"
  shift
;;
*-exclude)
  EXCLUDES="$EXCLUDES --exclude=${2#/}"
  shift
;;
*-