Commit Graph

130 Commits

Author SHA256 Message Date
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
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
Stephan Kulow
64258315e2 Accepting request 139926 from home:aspiers:branches:openSUSE:Tools
- Fix usage text for submodules option

OBS-URL: https://build.opensuse.org/request/show/139926
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=54
2012-11-02 06:29:18 +00:00
Stephan Kulow
c135514295 Accepting request 136480 from home:cthiel1:branches:openSUSE:Tools
- change default versionformat from author date (%at) to commiter date (%ct)
  for git, to fix issues with cherry-picked commits resulting in decreased
  version

OBS-URL: https://build.opensuse.org/request/show/136480
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=52
2012-10-03 16:41:45 +00:00
Stephan Kulow
191fa2c9b3 Accepting request 135648 from home:jirislaby:branches:openSUSE:Tools
add support of "20120916" as versions in git

OBS-URL: https://build.opensuse.org/request/show/135648
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=50
2012-09-26 07:30:30 +00:00
86c7651c97 Accepting request 129093 from home:aspiers:branches:openSUSE:Tools
- Prevent local users from appearing as user/group owner in
  generated tar files (thanks bmwiedemann for this)

OBS-URL: https://build.opensuse.org/request/show/129093
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=48
2012-07-27 12:35:32 +00:00
66094849a2 fix submodule option
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=47
2012-07-03 11:24:32 +00:00
8f193b5de7 Accepting request 126712 from home:magist3r:branches:openSUSE:Tools
I tested some github repos without submodules and script works well for me. Anyway, I added an option to disable submodule update. And one question: If my request will be accepted, how fast these changes will be present in b.o.org?

OBS-URL: https://build.opensuse.org/request/show/126712
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=46
2012-07-03 11:20:18 +00:00
Stephan Kulow
8c90385e6c Accepting request 123669 from home:saschpe:branches:openSUSE:Tools
- 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).

OBS-URL: https://build.opensuse.org/request/show/123669
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=44
2012-06-06 11:30:37 +00:00
b4f8383f49 Accepting request 122007 from home:rohanpm:branches:openSUSE:Tools
Allow git revision to refer to revs not available from default clone/fetch

Previously, the "revision" parameter must be something reachable after
doing a default "git clone".  Remove this limitation.

A primary use-case is to integrate OBS with the gerrit code review tool,
which stores changes under review in "refs/changes/...".  Without this
change, such refs can't be retrieved by the tar_scm service.

OBS-URL: https://build.opensuse.org/request/show/122007
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=42
2012-05-24 07:13:31 +00:00
d84fe477d4 Accepting request 109952 from home:aspiers:branches:openSUSE:Tools
- Check that git pull succeeds

OBS-URL: https://build.opensuse.org/request/show/109952
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=40
2012-03-19 14:07:00 +00:00
cc7bede0ec Accepting request 107598 from home:aspiers:branches:openSUSE:Tools
- Remove accidental reference to keep-source parameter
  which was never pushed upstream (obsoleted by new cache).

OBS-URL: https://build.opensuse.org/request/show/107598
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=38
2012-03-01 08:06:11 +00:00
29faf4a1e7 Accepting request 105521 from home:aspiers:branches:openSUSE:Tools
- When the cache is used, output location of repo in the cache

OBS-URL: https://build.opensuse.org/request/show/105521
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=34
2012-02-16 16:12:20 +00:00
6e55d7df19 Accepting request 105386 from home:aspiers:branches:openSUSE:Tools
- add new 'versionformat' option to determine how version is
  extracted via git show --pretty=... (and similar for svn /
  hg / bzr)
- support caching of cloned repositories to speed up fetch
  from upstream
- use mktemp -u because git/hg refuse to clone into an empty 
  directory on SLES11

OBS-URL: https://build.opensuse.org/request/show/105386
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=33
2012-02-16 11:06:33 +00:00
e7fbd5920f Accepting request 105040 from home:aspiers:branches:openSUSE:Tools
Mon Feb  13 15:52:19 GMT 2012 - aspiers@suse.com
Add test suite and fix two bugs it found:

  1. --subdir was not working
  2. --scm bzr was not working

FWIW it also works on SLE11 now.

I will issue a separate request for my enhancements to
tar_scm, since they are much more intrusive (but have
about 90% test coverage).

OBS-URL: https://build.opensuse.org/request/show/105040
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=32
2012-02-15 16:34:15 +00:00
81a2059b9f Accepting request 104431 from devel:openSUSE:Factory:patch-license
patch license to follow spdx.org standard

OBS-URL: https://build.opensuse.org/request/show/104431
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=31
2012-02-14 08:38:12 +00:00
4aab52391d Accepting request 101436 from home:schiele:branches:openSUSE:Tools
add new option to specify a subset of files/subdirectories to pack in the tar ball

OBS-URL: https://build.opensuse.org/request/show/101436
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=30
2012-01-25 08:48:25 +00:00
e24f0c5562 Accepting request 101344 from home:schiele:branches:openSUSE:Tools
Checking out a specific revision cannot work when only the latest version is cloned.

OBS-URL: https://build.opensuse.org/request/show/101344
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=29
2012-01-24 14:58:40 +00:00
8513bd36d0 Accepting request 98423 from home:dgollub:branches:openSUSE:Tools
- 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.

OBS-URL: https://build.opensuse.org/request/show/98423
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=27
2012-01-03 07:34:00 +00:00
d2b9050ffe add non-versioned tar ball support
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=25
2011-08-29 07:04:54 +00:00
b6753f4717 fix same-version mechanism
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=24
2011-08-26 07:52:40 +00:00
00917f3eef support old tar bar lookup also for OBS 2.3 bs_service using .old/ directory
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=23
2011-08-26 06:49:49 +00:00
b7cffa8bf1 link old tar ball into result directory when no new commit appeared
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=22
2011-08-26 06:45:56 +00:00
2fbc97d24c Accepting request 79803 from home:marquiz:branches:openSUSE:Tools
- 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).

OBS-URL: https://build.opensuse.org/request/show/79803
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=21
2011-08-25 19:16:23 +00:00
6a8b18a2fd add checkout depth parameter, based on work of Markus Lehtonen <markus.lehtonen@linux.intel.com>
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=20
2011-08-25 13:52:49 +00:00
0fed603d32 make meta data optional
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=18
2011-08-17 07:56:56 +00:00
17be28e649 fix exclude expansion
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=16
2011-08-12 11:51:34 +00:00
6b9dfe95ee Accepting request 74156 from home:cthiel1:branches:openSUSE:Tools
- add support for bzr

OBS-URL: https://build.opensuse.org/request/show/74156
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=15
2011-06-29 06:16:32 +00:00
529653743c Accepting request 64868 from home:ammler:branches:openSUSE:Tools
thanks

OBS-URL: https://build.opensuse.org/request/show/64868
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=12
2011-03-22 16:29:46 +00:00
5dabc5e6fb use --trust-server-cert
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=10
2011-02-08 16:01:28 +00:00
f5575d6a11 - fix subdir usage for git
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=8
2011-01-12 10:03:13 +00:00
df8c59e87f clone --depth 1
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=7
2010-12-30 14:45:25 +00:00
651b9dc1b7 add excldue option
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=6
2010-12-30 14:42:26 +00:00
3f9aafed0e Accepting request 55099 from home:wrosenauer:devel
OBS-URL: https://build.opensuse.org/request/show/55099
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=4
2010-12-08 07:58:14 +00:00
6f92539dc3 Accepting request 51134 from home:RedDwarf:branches:openSUSE:Tools
thanks a lot

OBS-URL: https://build.opensuse.org/request/show/51134
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=2
2010-10-21 07:34:42 +00:00
7555208076 osc copypac from project:openSUSE:Tools:Unstable package:obs-service-tar_scm revision:7
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=1
2010-10-18 12:49:18 +00:00