Commit Graph

130 Commits

Author SHA256 Message Date
Frank Schreiner
ff0e56e391 - Update to version 0.10.9.1559647449.d965035:
* [dist] enable python3 in SLE >= 12

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=258
2019-06-04 11:46:55 +00:00
Lars Vogdt
5c6d6b69cb Accepting request 701575 from home:juliogonzalezgil:branches:openSUSE:Tools
- Require external argparse for RHEL6

OBS-URL: https://build.opensuse.org/request/show/701575
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=255
2019-05-25 13:30:31 +00:00
Frank Schreiner
689521a21e - Update to version 0.10.9.1557261720.32a1cdb:
* fix encoding error for surrogates
  * glibc-common was used up to FC23 and RHEL7

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=254
2019-05-07 22:43:05 +00:00
Frank Schreiner
ca1c9d764c - 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

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=253
2019-05-03 15:26:27 +00:00
59df3c8ed7 - 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.

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=252
2019-04-26 19:01:16 +00:00
Frank Schreiner
74753ea83f - 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

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=251
2019-04-26 12:41:15 +00:00
89388efd28 - centos_version and rhel_version are triple digits
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=250
2019-04-09 17:18:38 +00:00
512c7373ed - locally apply fixes from
https://github.com/openSUSE/obs-service-tar_scm/pull/298

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=249
2019-04-09 17:03:57 +00:00
Ruediger Oertel
32247dbd35 Accepting request 689884 from home:juliogonzalezgil:branches:openSUSE:Tools
- Change requirement locale_package to glibc-common to fix building for CentOS7 and older, and Fedora26 and older

Package was able to build locally for CentOS6, CentOS7 and build for Fedora29 started (ongoing)

OBS-URL: https://build.opensuse.org/request/show/689884
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=247
2019-03-29 14:07:23 +00:00
e2e2bf52ea fix
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=244
2019-03-06 15:59:59 +00:00
Frank Schreiner
a82a30f776 * fixes boo#1127907
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=243
2019-03-05 12:45:08 +00:00
Frank Schreiner
4efa810770 - Update to version 0.10.6.1551448746.2759df2:
* enforce bytes for cpio file list

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=242
2019-03-01 14:03:20 +00:00
Frank Schreiner
530c754a7d - Update to version 0.10.5.1551309990.79898c7:
* Prefer UTF-8 locale as output format for changes

- 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

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=240
2019-02-27 23:32:09 +00:00
Frank Schreiner
af23da1dc8 - updated changes file to include bsc#
* fixes bsc#1082696 and bsc#1076410
  * fix CVE-2018-12473 (bsc#1105361)
  * fix CVE-2018-12474 (bsc#1107507)
  * fix CVE-2018-12476 (bsc#1107944)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=239
2019-02-25 09:11:21 +00:00
Frank Schreiner
bd8ee1f8f3 - Update to version 0.10.1.1550758451.f88bd41:
* more fixes py3 unicode
  * fix unicode in containers

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=238
2019-02-21 14:18:59 +00:00
Frank Schreiner
ae4cf3dff0 - Update to version 0.10.0.1550647779.25999e8:
* fix spec for RH/Fedora - glibc-locale -> glibc-common

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=237
2019-02-20 07:59:36 +00:00
Frank Schreiner
8ee059bd4b - Update to version 0.10.0.1550589094.e2ae17d:
* move to python3
  * add python 3.6 to testing
  * added logging for better debugging changesgenerate
  * raise exception if no changesauthor given
  * removed python 2.6 from travis

- 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

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=236
2019-02-19 15:53:05 +00:00
Frank Schreiner
6ead698fdf - Update to version 0.9.5.1545082095.8dbc95f:
* [dist] fix service files installation in Makefile

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=230
2018-12-17 21:30:12 +00:00
Frank Schreiner
6b7fab2e8b - 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

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=229
2018-12-17 20:45:29 +00:00
Frank Schreiner
60a6873b2e - 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

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=228
2018-12-06 12:26:37 +00:00
Frank Schreiner
5b38ed4bc7 - Update to version 0.9.5.1544015491.08dd948:
* Another attempt to fix unicode filenames in prep_tree_for_archive

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=227
2018-12-05 13:20:04 +00:00
Frank Schreiner
4c55b255b3 - 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

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=225
2018-12-03 19:33:43 +00:00
Frank Schreiner
c9a56ad3c6 - Update to version 0.9.5.1543588452.b19491f:
* fix problems with  unicode characters in commit messages for changeloggenerate

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=223
2018-11-30 14:35:48 +00:00
Frank Schreiner
2d68a9df1d - Update to version 0.9.5.1543502111.e576bd6:
* fix encoding issues if commit message contains utf8 char

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=222
2018-11-29 14:38:01 +00:00
Frank Schreiner
d1e9531b9b - Update to version 0.9.5.1543424658.8740ef1:
* revert encoding for old changes file

- Update to version 0.9.5.1543418966.30359e4:
  * change pylint/flake8 back to 2.7 for now
  * remove hardcoded utf-8 encodings

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=221
2018-11-28 17:07:51 +00:00
Frank Schreiner
b85970d093 - Update to version 0.9.5.1542905297.a6e346a:
* make code python3 ready
  * Add support for extract globbing

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=217
2018-11-22 20:23:44 +00:00
Frank Schreiner
50586a2f50 * fix CVE-2018-12474
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=213
2018-09-27 08:54:56 +00:00
Frank Schreiner
d9d1da0537 - 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

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=212
2018-09-26 11:35:49 +00:00
Frank Schreiner
12cdb65e22 - Update to version 0.9.3.1537869751.51a17c5:
* fix regression from 44b3bee
  * Support also SSH urls for Git

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=211
2018-09-25 10:05:57 +00:00
Frank Schreiner
8f04de3070 - Update to version 0.9.2.1537788075.fefaa74:
* 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
  * run download_files in appimage and snapcraft case
  * check --extract file path for parent dir
  * 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.
  * Fix parameter descriptions

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=210
2018-09-24 12:23:25 +00:00
924b4b753a switch
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=208
2018-09-19 08:19:11 +00:00
835e984397 cleanup
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=206
2018-08-24 06:46:50 +00:00
Frank Schreiner
109ab89eb7 - 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)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=203
2018-07-03 19:33:53 +00:00
Frank Schreiner
d33f3b5b94 new version 0.9.0
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=195
2018-04-19 13:57:24 +00:00
715525ee55 Accepting request 596230 from home:olh:branches:openSUSE:Tools
- python-unittest2 is only required for the optional make check

OBS-URL: https://build.opensuse.org/request/show/596230
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=194
2018-04-16 09:44:17 +00:00
Frank Schreiner
d6ff969337 - 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

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=193
2018-03-09 07:40:44 +00:00
bbea40d12d fix fedora build
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=188
2017-10-11 06:50:26 +00:00
Frank Schreiner
509c7b9be0 - Update to version 0.8.0.1499787575.2419460:
* [test] refactor of fake classes
  * [bugfix] fix UnboundLocalError: local variable 'parent_tag'

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=184
2017-07-12 06:16:00 +00:00
Frank Schreiner
75308abb1a - 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'

- 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

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=183
2017-07-11 17:04:06 +00:00
e5d5da055c hotfix
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=182
2017-07-09 11:09:20 +00:00
69c2eed74f osc copypac from project:openSUSE:Tools package:obs-service-tar_scm revision:179
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=181
2017-07-01 06:57:23 +00:00
Frank Schreiner
8a58729914 - Update to version 0.7.0.1498846582.8799787:
* [testing] ENV var TAR_SCM_TC to select test cases
  * [dist] Adding spec file to git
  * [fix] finalize method for TarSCM.scm.* classes
  * [feature] new version placeholder for empty version string
  * [ci] fix for bzr locale problem
  * [ci] make pep8, pylint and flake8 optional ...

M    _servicedata
D    obs-service-tar_scm-0.7.0.1496831936.d960322.tar.gz
A    obs-service-tar_scm-0.7.0.1498846582.8799787.tar.gz
M    obs-service-tar_scm.changes
M    obs-service-tar_scm.spec

Diff for working copy: .
Index: _servicedata
===================================================================

--- _servicedata	(revision 7503ece26992012bce22abce29c01aae)
+++ _servicedata	(working copy)
@@ -5,4 +5,4 @@
             <param name="url">git://github.com/M0ses/obs-service-tar_scm.git</param>
           <param name="changesrevision">b742dfc0e12755cf306a95439494b5bdde7c0c61</param></service><service name="tar_scm">
                 <param name="url">git://github.com/openSUSE/obs-service-tar_scm.git</param>
-              <param name="changesrevision">03230fdf240addb3dd1ba3201beef50722cc87ac</param></service></servicedata>
\ No newline at end of file
+              <param name="changesrevision">949a2f52ebe929c1ed9b52a1e9e0d6568a97767d</param></service></servicedata>
\ No newline at end of file
Index: obs-service-tar_scm.changes
===================================================================

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=180
2017-06-30 21:01:54 +00:00
e2eb793df1 move spec file to git
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=178
2017-06-19 11:17:40 +00:00
fdaa887a0a update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=176
2017-06-07 10:40:44 +00:00
03c6267287 try
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=175
2017-06-07 08:54:05 +00:00
c09d82482c - added Requires: python2 for Fedora >= 25
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=170
2017-05-11 11:50:35 +00:00
3691489796 adapt summary
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=165
2017-04-20 06:24:11 +00:00
225a7d6c12 Accepting request 489044 from home:favogt:branches:openSUSE:Tools
Needed for 42.3.

OBS-URL: https://build.opensuse.org/request/show/489044
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=164
2017-04-18 09:27:21 +00:00
Frank Schreiner
f4169ab2d8 - Update to version 0.7.0.1492101301.747de50:
* skip broken tests temporarily

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=162
2017-04-13 16:36:00 +00:00
Frank Schreiner
e22c696d32 - Update to version 0.7.0.1492095435.eda090e:
* revision, repodir and repocachedir as attribute for TarSCM.<scm>
  * 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

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=161
2017-04-13 15:15:45 +00:00