Commit Graph

33 Commits

Author SHA256 Message Date
816f6465b4 update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=337
2024-02-21 10:16:21 +00:00
Frank Schreiner
c2afb48621 Accepting request 1092910 from home:M0ses:branches:openSUSE:Tools
* new version 0.10.37
* update debian.dsc via services

OBS-URL: https://build.opensuse.org/request/show/1092910
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=325
2023-06-13 16:04:40 +00:00
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
Ruediger Oertel
38b266d4fd change git protocol to https
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=309
2022-01-12 12:37:28 +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
554c585c11 switched _service back to tar_scm and removed buildtime service
otherwise we would have bootstrapping problems with each new distro

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=216
2018-11-16 17:04:19 +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
ca67a20089 Accepting request 629049 from home:ItachiSan:archlinux
ArchLinux fixes and tarball updates
- Update the pkgver field for proper build of the package
- Enable the set_version service for the PKGBUILD
- Update the sources tarball

OBS-URL: https://build.opensuse.org/request/show/629049
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=205
2018-08-24 06:45:16 +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
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
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
Frank Schreiner
558d880083 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=160 2017-04-13 15:03:34 +00:00
Frank Schreiner
33f10f567a - 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

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=135
2016-10-30 20:50:53 +00:00
80e16b905f fixing
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=134
2016-10-27 11:23:47 +00:00
b011e727b0 switch to the new branch from Frank
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=133
2016-10-27 07:49:08 +00:00
61c9f2ef5f update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=117
2016-08-19 08:12:48 +00:00
046a525b41 updae
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=114
2016-07-27 15:31:54 +00:00
1dbaf87c43 official
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=112
2016-07-07 11:34:21 +00:00
b281f4406c osc copypac from project:home:adrianSuSE package:obs-service-tar_scm revision:24, using keep-link
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=92
2016-04-08 07:10:41 +00:00
Jan Blunck
cc7c325228 Accepting request 309615 from home:aspiers:branches:openSUSE:Tools
- 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)

OBS-URL: https://build.opensuse.org/request/show/309615
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=86
2015-06-05 16:15:37 +00:00
10f01be92c update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=84
2015-03-18 07:46:12 +00:00
Jan Blunck
a83943a07a Accepting request 254698 from home:aspiers:branches:openSUSE:Tools
- 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

OBS-URL: https://build.opensuse.org/request/show/254698
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=82
2014-10-08 20:57:16 +00:00
Jan Blunck
a7b3949ccd Accepting request 253975 from home:aspiers:branches:openSUSE:Tools
- 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

OBS-URL: https://build.opensuse.org/request/show/253975
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=78
2014-10-05 11:44:20 +00:00
Jan Blunck
b3935019ee Accepting request 248284 from home:jblunck:branches:openSUSE:Tools
Update to tar_scm 0.4.0

OBS-URL: https://build.opensuse.org/request/show/248284
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=76
2014-09-10 09:57:14 +00:00
e8070cae24 Accepting request 239987 from home:jblunck:branches:openSUSE:Tools
- 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

OBS-URL: https://build.opensuse.org/request/show/239987
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=73
2014-07-10 15:36:40 +00:00
2a6014ee75 Accepting request 210486 from home:saschpe:branches:openSUSE:Tools
- 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

OBS-URL: https://build.opensuse.org/request/show/210486
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=70
2013-12-12 19:39:41 +00:00
28fd31e86b update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=68
2013-11-19 10:17:06 +00:00
c2bfe70067 urgs
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=63
2013-10-30 14:02:34 +00:00
Tomáš Chvátal
6fea8eb8cc Accepting request 185667 from home:aspiers:branches:openSUSE:Tools
- 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@

OBS-URL: https://build.opensuse.org/request/show/185667
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=61
2013-08-07 08:07:13 +00:00
9856f5b66c Accepting request 143961 from home:saschpe:branches:openSUSE:Tools
- 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

OBS-URL: https://build.opensuse.org/request/show/143961
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=56
2012-12-03 15:29:20 +00:00