Commit Graph

284 Commits

Author SHA256 Message Date
Dominique Leuenberger
f6e26b7548 Accepting request 854040 from openSUSE:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/854040
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-tar_scm?expand=0&rev=62
2020-12-10 14:56:31 +00:00
Frank Schreiner
420b9b4850 - Update to version 0.10.19.1605080719.3b79112:
* [dist] prefer python3 over python2

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=289
2020-11-11 07:50:45 +00:00
Frank Schreiner
15fc65ab16 - Update to version 0.10.18.1600256320.569e5be:
* add license file (issue 257)
  * additional option verification
  * new option '--maintainers-asc' and '--last-signed-tag'
  * new option '--latest-signed-commit'
  * Remove superflous ')' in an error message.

- Update to version 0.10.16.1595259906.d3308f5:
  * [dist] updated debian control file for use in OBS

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=288
2020-11-10 16:27:59 +00:00
Dominique Leuenberger
2c00974bab Accepting request 822116 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/822116
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-tar_scm?expand=0&rev=61
2020-07-26 14:17:19 +00:00
Frank Schreiner
367d78fd36 Accepting request 821916 from home:hawkeye116477:waterfox:build-depends
Added new required depends to Debian source .dsc file.

OBS-URL: https://build.opensuse.org/request/show/821916
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=286
2020-07-21 14:01:46 +00:00
Frank Schreiner
43eaec1b96 added correct sources
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=285
2020-07-20 12:49:10 +00:00
Frank Schreiner
42307685cb - 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

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=284
2020-07-20 12:06:12 +00:00
Dominique Leuenberger
085e25338d Accepting request 811252 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/811252
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-tar_scm?expand=0&rev=60
2020-06-08 21:43:31 +00:00
Lars Vogdt
6c244edf70 Accepting request 811138 from home:pgajdos:python
- remove unused unittest2 dependency

OBS-URL: https://build.opensuse.org/request/show/811138
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=282
2020-06-03 23:13:04 +00:00
Frank Schreiner
4eb4931c2b - Update to version 0.10.16.1590752286.5c27247:
* [dist] fix for gbp/fedora (python*-base)
  * fix situation when revision has been modified in _service

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=281
2020-05-29 11:42:55 +00:00
Dominique Leuenberger
059c6013a5 Accepting request 801101 from openSUSE:Tools
Incl. multibuild

OBS-URL: https://build.opensuse.org/request/show/801101
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-tar_scm?expand=0&rev=59
2020-05-09 17:52:11 +00:00
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
Dominique Leuenberger
bf9e79674d Accepting request 786001 from openSUSE:Tools
- 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
- Update to version 0.10.14.1583853599.ccbb399:
  * support server side credentials for SCM repos
- Update to version 0.10.12.1582901608.a1c02c1:
  * simplify osc git update case a lot
  * fixing revision usage on a commit hash
- 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/request/show/786001
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-tar_scm?expand=0&rev=58
2020-03-25 22:41:28 +00:00
Frank Schreiner
b66c88ad1e update after merge
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=276
2020-03-17 16:47:12 +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
b73dfcaa9a * removed BuildRequires for python-keyring and python-keyring.alt
* enable gbp based on repo macro config

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=272
2020-03-16 11:16:47 +00:00
Frank Schreiner
11cb706f75 disabled keyring builddeps
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=271
2020-03-16 10:46:16 +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
Dominique Leuenberger
cb0c779f0b Accepting request 769085 from openSUSE:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/769085
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-tar_scm?expand=0&rev=57
2020-02-03 10:10:54 +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
Dominique Leuenberger
56090200e0 Accepting request 741502 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/741502
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-tar_scm?expand=0&rev=56
2019-10-22 13:43:37 +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
Dominique Leuenberger
d583d29293 Accepting request 727035 from openSUSE:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/727035
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-tar_scm?expand=0&rev=55
2019-09-02 11:22:15 +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
Dominique Leuenberger
e0fd500243 Accepting request 709510 from openSUSE:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/709510
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-tar_scm?expand=0&rev=54
2019-06-26 14:01:00 +00:00
Frank Schreiner
39c7d5ef31 updates
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=260
2019-06-05 15:09:36 +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
Dominique Leuenberger
00bd948cdf Accepting request 705415 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/705415
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-tar_scm?expand=0&rev=53
2019-05-28 07:40:05 +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
a5059e4ee5 next iteration of last fix
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=248
2019-03-29 14:16:15 +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
Dominique Leuenberger
2a3be75385 Accepting request 683897 from openSUSE:Tools
- Update to version 0.10.6.1551887937.e42c270:
  * Require packages to get the en_US.UTF-8 locales
- Update to version 0.10.6.1551448746.2759df2:
  * enforce bytes for cpio file list
  * fixes boo#1127907

OBS-URL: https://build.opensuse.org/request/show/683897
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-tar_scm?expand=0&rev=52
2019-03-14 13:53:05 +00:00
8903cf97ef fix typo (PR opened as well https://github.com/openSUSE/obs-service-tar_scm/pull/295)
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=245
2019-03-06 22:47:56 +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
Stephan Kulow
b70519efa7 Accepting request 679987 from openSUSE:Tools
- 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
- Update to version 0.10.1.1550758451.f88bd41:
  * fixes bsc#1082696 and bsc#1076410
  * more fixes py3 unicode
  * fix unicode in containers
- Update to version 0.10.0.1550647779.25999e8:
  * fix spec for RH/Fedora - glibc-locale -> glibc-common
- 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
- 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
- Update to version 0.9.5.1545082095.8dbc95f:
  * [dist] fix service files installation in Makefile
- 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
- 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
- Update to version 0.9.5.1544015491.08dd948:
  * Another attempt to fix unicode filenames in prep_tree_for_archive
- 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
- Update to version 0.9.5.1543588452.b19491f:
  * fix problems with  unicode characters in commit messages for changeloggenerate
- Update to version 0.9.5.1543502111.e576bd6:
  * fix encoding issues if commit message contains utf8 char
- 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
- Update to version 0.9.5.1542905297.a6e346a:
  * make code python3 ready
  * Add support for extract globbing
- 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
- Update to version 0.9.3.1537869751.51a17c5:
  * fix regression from 44b3bee
  * Support also SSH urls for Git
- Update to version 0.9.2.1537788075.fefaa74:
  * fix CVE-2018-12473 (bsc#1105361)
  * fix CVE-2018-12474 (bsc#1107507)
  * fix CVE-2018-12476 (bsc#1107944)
  * 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
- switch to obs_scm for this package
- 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
- 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.
- 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)
- 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
- python-unittest2 is only required for the optional make check
- 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
- 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
- Update to version 0.8.0.1499787575.2419460:
  * [test] refactor of fake classes
  * [bugfix] fix UnboundLocalError: local variable 'parent_tag'
- 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'
- hotfix runtime of obs_scm
- 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
- Update to version 0.7.0.1497261741.b1aa4cb:
  * Move spec file to git
- Update to version 0.7.0.1496831936.d960322:
  * fix for nonexistant build section in appimage.yml
  * more documentation for README.md
  * Update control
- add python-yaml for debian distros
- added Requires: python2 for Fedora >= 25 
- Only BuildRequire packages needed for testsuite if the testsuite
  is enabled
- Update to version 0.7.0.1492101301.747de50:
  * skip broken tests temporarily
- 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
- 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
- split services into own rpms
- Update to version 0.7.0.1490358243.8de854e:
  * keep .gitlab/.github directories
- 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
- Replayce python-yaml Requires/Buildrequires with python-PyYAML,
  which is actually its correct name.
- Update to version 0.7.0.1484082405.7671be8:
  * fix problems with generatechanges when ~/.obs/tar_scm exists
- Update to version 0.7.0.1481203567.804351a:
  * fix: also exclude directories when called .git
- Update to version 0.7.0.1480953937.a4b8b09:
  * fix local checkout when running in osc
  * force remove of files while 'make clean'
- Update to version 0.7.0.1480000004.4027270:
  * fixed pip8 problems
  * keep checkout while running with osc
- Update to version 0.7.0.1478249268.e162c66:
  * prevent key errors when $HOME is not set
- 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.<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 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
- Update to version 0.7.0.1474270818.3e05f80:
  * 
- 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.<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 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
- Update to version 0.7.0.1476904507.e88eed1:
  * 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
- 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
- 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
- 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
- Update to version 0.6.1.1472655284.4930b81:
  * add python-dateutil require for debian
  * testing on debian is broken atm
- fix debian builds
- 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
- 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.
- fix mtime handling
- 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
- update to official version 0.6.0
  (latest package became official)
- 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
- added snapcraft support via own service
- 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
- 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
- add debian provides
- fix dependency on SLE 11 to python-argparse
- Correctly reference patch in previous entry
- Update to version 0.6.0~pre.1460377105.35a4ea4:
  * support filtering on creation of cpio archives
- Update to version 0.6.0~pre.1460098798.dda5411:
  + make obsinfo parameter for tar service optional
- 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
- only require git-core to not pull in git-web and gitk
- Fix build on Ubuntu by disabling mercurial tests
  * 0001-Debianization-disable-running-mercurial-tests.patch
- Update to version 0.5.3.1434983686.0b4ce51:
  + Add missing extension parameter to service file
  + Fix build on Debian 7.0/8.0
- 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
- 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)
- 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)
- 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
- 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 <param> 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
- 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
- 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
- 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
- Bump version to 0.3.2
  * changes file generation support written by Sascha
- Bump version to 0.3.1
  * do not execute tar base file name
- 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@
- Pass --tags to "git describe" for @PARENT_TAG@
- Disable testsuite on SLE_11_SP2 to fix build
- Use upstream github repository and download via _service file
- 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
- Fix usage text for submodules option
- change default versionformat from author date (%at) to commiter date (%ct)
  for git, to fix issues with cherry-picked commits resulting in decreased
  version
- 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.
- Prevent local users from appearing as user/group owner in
  generated tar files (thanks bmwiedemann for this)
- fix option for submodule update
- Fixed error with cache 
- Added an option to disable git submodules
- Replaced --exclude=.$MYSCM with --exclude-vcs tar option 
- Added support for git submodules
- 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).
- Allow git revision to refer to revisions not available from a
  default clone/fetch (i.e. refs other than refs/heads/* or
  refs/tags/*)
- Check that git pull succeeds
- Remove accidental reference to keep-source parameter
  which was never pushed upstream (obsoleted by new cache).
- When the cache is used, output location of repo in the cache
- 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 - aspiers@suse.com
- Add test suite
- Fix --subdir with --scm svn
- Fix --scm bzr
- patch license to follow spdx.org standard
- add new option to specify a subset of files/subdirectories to
  pack in the tar ball
- Checking out a specific revision cannot work when only the latest
  version is cloned.
- make svn checkout --trust-server-cert option conditional, since
  this option is not supported by versions prior to subversion 1.6.
- 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:
  git@gitrepo.tld:foobar.git
- 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.
- make it possible to create tar balls without version tag (#714542)
- support old tar bar lookup also for OBS 2.3 bs_service using .old/ directory
- drop broken code for same-commit-detection as suggested by Markus
- history-depth parameter: use hackish depth=999999999 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).
- add support for (git) checkout depth, original patch by
  Markus Lehtonen <markus.lehtonen@linux.intel.com>
- make packaging of meta data optional to reduce tar ball size
- fix exclude expansion
- add support for bzr 
- Fix: recompressed tars were never reused
- cleanup mercurial commands
- always trust svn server certificate. We don't have a secure handling
  for it anyway. Trust needs to established via extra service.
- fix subdir usage for git
- add option exclude files/directories when creating the tar ball
- git clone runs now with --depth 1 option
- support mercurial repositories
- Fix --filename parameter use
- initial version to checkout/update svn or git repos and create a tar

OBS-URL: https://build.opensuse.org/request/show/679987
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-tar_scm?expand=0&rev=51
2019-02-28 20:25:44 +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