Commit Graph

61 Commits

Author SHA256 Message Date
c828f0a5c8 fix it
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=321
2023-05-19 14:38:06 +00:00
f3635d8a31 use defined version
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=319
2023-05-19 12:50:06 +00:00
Frank Schreiner
2082b4aba6 - Update to version 0.10.34.1667392550.026bf0e:
* new find_latest_signed_commit algorithm

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=315
2022-11-03 09:13:25 +00:00
Frank Schreiner
358f7b6d69 - Update to version 0.10.33.1664344889.48d1960:
* check if lock is older than 24 hours

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=313
2022-09-28 06:09:05 +00:00
Frank Schreiner
dadfbd1e1d - Update to version 0.10.32.1662712308.31d1884:
* [dist] added Requires to python_path
  * improve tar service to handle multiple obsinfo files to create tarball from obscpio
  * new ENV 'TAR_SCM_SKIP_CLEANUP' to make test development/debugging easier
  * partial clone feature
  * simplify locking to avoid race conditions
  * unlink .lock file after unlocking the cache

- Update to version 0.10.30.1641993356.a87e7af:
  * Simplifiy conditions for all rhel like distros
  * Changed gendered pronoun to be gender neutral

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=311
2022-09-09 09:11:30 +00:00
Frank Schreiner
13dce69927 - Update to version 0.10.30.1641990734.bdad8f9:
* fixes for python2.7 compatibility
  * fix test cases
  * fix various linter problems with pylint 2.11.1
  * disable consider-using-f-string in pylint
  * added TC for _stash_pop_required
  * assertTarIsDeeply now more verbose in case of failure
  * remove tearDown/Trace from testenv.py
  * fix regression to keep local changes when running in osc
  * various fixes to make linter happy
  * fix tests for python 2.7

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=310
2022-01-12 12:46:03 +00:00
Frank Schreiner
0ff0ae79f3 - Update to version 0.10.29.1634038025.85bfc3f:
* fix test cases
  * fix various linter problems with pylint 2.11.1
  * disable consider-using-f-string in pylint
  * added TC for _stash_pop_required
  * assertTarIsDeeply now more verbose in case of failure
  * remove tearDown/Trace from testenv.py
  * fix regression to keep local changes when running in osc

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=308
2021-12-23 09:46:28 +00:00
Frank Schreiner
b299c6ca66 Accepting request 935027 from home:portalofreedom
Not sure if this the best solution, but it seems to solve the build issue on archlinux

OBS-URL: https://build.opensuse.org/request/show/935027
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=307
2021-12-23 08:58:46 +00:00
Frank Schreiner
531667b1dd - Update to version 0.10.28.1632141620.a8837d3:
* fix missing "checkout" when running in osc
  * fix breakage on version detection
  * change locale

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=305
2021-09-20 13:38:26 +00:00
Frank Schreiner
f298584c6a - Update to version 0.10.27.1626072657.0fb7a03:
* Change date format from short to %Y%m%d.

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=304
2021-07-14 09:23:58 +00:00
Frank Schreiner
4d506ed14a - Update to version 0.10.26.1624258505.aed4969:
* almalinux in spec file
  * fix include filters for obscpio files
  * fix python interpreter for mageia 8
  * TarScm: use owner/group root in  .obscpio files

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=303
2021-06-21 07:03:30 +00:00
Frank Schreiner
f2ccb2fe31 - Update to version 0.10.26.1623775884.87f49a8:
* fixed include/exclude filtering
  * add '--' to git log command if file/dir equal revision exists
  * add '--source' to git log command
  * disabled consider-using-with in .pylint*rc
  * package .gitignore files
  * Fix version _none_ generate tarball with '-'
  * Prevent KeyError in check_for_branch_request method
  * removed skipped test case (obsolete since 5 yrs)
  * testing for obscpio/obsinfo
  * fix regression - obsinfo included the version string
  * Revert "remove useless variables"
  * remove useless variables
  * added param --without-version
  * extracted dstname to _dstname
  * cleanup TarSCM/tasks.py for pylint
  * add date/time to logging output for better debugging
  * Fix typos

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=301
2021-06-15 17:03:16 +00:00
Frank Schreiner
aa65424cda - Update to version 0.10.22.1615538418.07a353d:
* Fix filelist: align config(noreplace) usage with obs-service-download_files
  * Support gitlab/github merge requests

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=299
2021-03-12 08:45:56 +00:00
Frank Schreiner
f3c5f849ed - Update to version 0.10.21.1612422695.2fdf897:
* activate pylint3.8 and fixed false positives
  * don`t sanitize version if versionrewrite_pattern is set

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=293
2021-02-10 08:43:50 +00:00
Frank Schreiner
ba790afcec - Update to version 0.10.20.1606128060.135ac94:
* fix build for CentOS adn RHEL 8
  * filter dirs with "include" filter option

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=291
2021-02-01 09:17:50 +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
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
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
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
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
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
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
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
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
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
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
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
1b7dabc6cb try
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=215
2018-10-25 13:31:03 +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