Commit Graph

85 Commits

Author SHA256 Message Date
c09d82482c - added Requires: python2 for Fedora >= 25
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=170
2017-05-11 11:50:35 +00:00
3691489796 adapt summary
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=165
2017-04-20 06:24:11 +00:00
225a7d6c12 Accepting request 489044 from home:favogt:branches:openSUSE:Tools
Needed for 42.3.

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

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=162
2017-04-13 16:36:00 +00:00
Frank Schreiner
e22c696d32 - Update to version 0.7.0.1492095435.eda090e:
* revision, repodir and repocachedir as attribute for TarSCM.<scm>
  * new class TarSCM.cli to make testing easier
  * testing script name more reliable
  * fixed arguments for singletask in case of snapcraft
  * refactored snapcraft code + first tests for snapcraft
  * added testcase for snapcraft finalize
  * split classes into several files
  * track module dependencies in requirements.txt
  * use unittest2 in Python 2.6
  * more testing for TarSCM.tasks
  * clone_dir/repodir/arch_dir(tar_dir)/args now attributes of scm objects
  * test case for save_run
  * major refactor of git cache handling
  * consolidation of archive.obscpio and archive.tar parameters
  * next test cases
  * unset CACHEDIRECTORY env variable in unit tests
  * update atime/mtime of repocachedir if already exists
  * prevent key errors when $HOME is not set
  * fix PEP8 problems and reenable PEP8 testing
  * keep checkout while running with osc
  * fix local checkout when running in osc
  * force remove of files while 'make clean'
  * fix: also exclude directories when called .git
  * fix problems with generatechanges when ~/.obs/tar_scm exists
  * initial appimage support
  * Provide version rewrite using a regex pattern and replacement.
  * new parameter --match-tag to filter tags
  * keep .gitlab/.github directories

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=161
2017-04-13 15:15:45 +00:00
8055efe149 Accepting request 487597 from home:adrianSuSE:branches:openSUSE:Tools
package split

OBS-URL: https://build.opensuse.org/request/show/487597
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=150
2017-04-12 14:06:22 +00:00
Frank Schreiner
7cd2f7ece6 - Update to version 0.7.0.1490358243.8de854e:
* keep .gitlab/.github directories

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=147
2017-03-24 12:56:23 +00:00
Frank Schreiner
d67981a0fc - Update to version 0.7.0.1490263157.682db30:
* fix local checkout when running in osc
  * force remove of files while 'make clean'
  * fix: also exclude directories when called .git
  * Provide version rewrite using a regex pattern and replacement.
  * fix problems with generatechanges when ~/.obs/tar_scm exists
  * initial appimage support
  * make pep8 happy again
  * test cases for version rewrite
  * new parameter --match-tag to filter tags

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=146
2017-03-23 10:10:35 +00:00
c882b0425e Accepting request 460866 from home:dimstar:Factory
- Replayce python-yaml Requires/Buildrequires with python-PyYAML,
  which is actually its correct name.

The legacy symbol python-yaml did get lost with the singlespec migration.
It is likely re=appearing in the future, nevertheless it is not wrong
to fix obs-service-tar_scm to use the proper package names

OBS-URL: https://build.opensuse.org/request/show/460866
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=144
2017-02-28 15:43:11 +00:00
Frank Schreiner
7ad16b8616 - Update to version 0.7.0.1484082405.7671be8:
* fix problems with generatechanges when ~/.obs/tar_scm exists

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=142
2017-01-10 21:10:56 +00:00
Frank Schreiner
76383295f7 - Update to version 0.7.0.1481203567.804351a:
* fix: also exclude directories when called .git

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=140
2016-12-14 13:43:13 +00:00
Frank Schreiner
440f89de08 - Update to version 0.7.0.1480953937.a4b8b09:
* fix local checkout when running in osc
  * force remove of files while 'make clean'

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=139
2016-12-07 06:07:12 +00:00
Frank Schreiner
c7ec3f6b5a - Update to version 0.7.0.1480000004.4027270:
* fixed pip8 problems
  * keep checkout while running with osc

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=137
2016-11-24 15:08:29 +00:00
Frank Schreiner
40fcb4fbf1 - Update to version 0.7.0.1478249268.e162c66:
* prevent key errors when $HOME is not set

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=136
2016-11-04 08:49:41 +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
d9ded7b036 update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=131
2016-09-15 07:50:09 +00:00
4bc6035419 grr
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=127
2016-08-31 15:27:38 +00:00
579c202873 up
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=126
2016-08-31 14:56:03 +00:00
626115a731 try
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=120
2016-08-31 09:54:10 +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
89c5852f9c update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=115
2016-07-27 15:34:07 +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
418eebce5c go
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=111
2016-07-01 08:13:52 +00:00
58e8cffed1 build
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=109
2016-06-29 13:18:33 +00:00
fa23b62e51 fix changes
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=105
2016-04-26 14:32:52 +00:00
c7b4a2055b update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=104
2016-04-26 14:32:40 +00:00
cb9d146cba go
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=103
2016-04-26 13:49:25 +00:00
430b9b3123 update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=102
2016-04-26 13:18:36 +00:00
d53bb3a6f5 fix
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=97
2016-04-15 08:17:23 +00:00
Lars Vogdt
605efc5e29 Accepting request 387558 from home:pluskalm:branches:openSUSE:Tools
- Correctly reference patch in previous entry

  * 0001-Debianization-disable-running-mercurial-tests.patch

OBS-URL: https://build.opensuse.org/request/show/387558
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=96
2016-04-12 09:46:34 +00:00
cdfeacef10 go
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=93
2016-04-11 12:20:49 +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
fe93f763f8 Accepting request 317637 from home:bmwiedemann:branches:openSUSE:Tools
- only require git-core to not pull in git-web and gitk

OBS-URL: https://build.opensuse.org/request/show/317637
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=91
2015-07-24 09:23:11 +00:00
2e44aea917 Accepting request 313394 from home:hiberis:branches:openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/313394
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=90
2015-07-24 08:46:03 +00:00
Lars Vogdt
26f5e21400 Accepting request 313121 from home:hiberis:branches:openSUSE:Tools
Fix (re)build on Debian 7.0/8.0

OBS-URL: https://build.opensuse.org/request/show/313121
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=88
2015-06-24 07:47:16 +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
70040c2763 ups
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=64
2013-10-30 14:03:24 +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
30038b6818 Accepting request 144033 from home:saschpe:branches:openSUSE:Tools
- Pass --tags to "git describe" for @PARENT_TAG@

OBS-URL: https://build.opensuse.org/request/show/144033
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=58
2012-12-04 16:14:26 +00:00
bdfe6c815b Accepting request 143967 from home:saschpe:branches:openSUSE:Tools
- Disable testsuite on SLE_11_SP2 to fix build

OBS-URL: https://build.opensuse.org/request/show/143967
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=57
2012-12-04 09:31:19 +00:00