Commit Graph

142 Commits

Author SHA256 Message Date
Frank Schreiner
d69bca7a84 - Update to version 0.10.15.1588842879.5c43eef:
* dist: Convert to multibuild; run test suite in a separate flavor

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=279
2020-05-07 09:35:26 +00:00
Frank Schreiner
511ff9f286 - 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

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=278
2020-04-30 08:34:07 +00:00
Frank Schreiner
add44096a8 - 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

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=275
2020-03-17 16:45:36 +00:00
Frank Schreiner
4a1ac9dcfa testing new version
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=274
2020-03-17 09:55:37 +00:00
Frank Schreiner
345eaa4fc2 - Update to version 0.10.1.1584368026.9e8b88b:
* [dist] don't install gbp files by default
  * [dist] remove python-keyring* from dependcies
  * [dist] make gbp switchable in spec file

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=273
2020-03-16 17:41:18 +00:00
Frank Schreiner
2c13f1815d - Update to version 0.10.14.1583853599.ccbb399:
* support server side credentials for SCM repos

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=270
2020-03-10 15:25:21 +00:00
b56453a2c6 update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=269
2020-02-28 14:56:09 +00:00
Frank Schreiner
506ba3ac88 - 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

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=268
2020-02-26 09:46:29 +00:00
Frank Schreiner
fd911c1f5a - 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.

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=266
2020-01-24 15:46:27 +00:00
69a290a341 Accepting request 734787 from home:juliogonzalezgil:branches:openSUSE:Tools
- Fix building and installation for CentOS8, RHEL8 and RES8

OBS-URL: https://build.opensuse.org/request/show/734787
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=264
2019-10-21 13:28:55 +00:00
Frank Schreiner
d80935a506 - Update to version 0.10.10.1566390389.9f923f8:
* separate language and encoding
  * git: really print the error message
  * tar_scm.service: fix exclude documentation

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=262
2019-08-22 13:30:34 +00:00
Frank Schreiner
b5315d597f - Update to version 0.10.9.1559745964.22c86cd:
* [dist] python3 for SLE12 and openSUSE 42.3

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=259
2019-06-05 14:49:19 +00:00
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