Commit Graph

170 Commits

Author SHA256 Message Date
Stephan Kulow
de89a48114 Accepting request 243896 from home:roman-neuhauser:branches:openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/243896
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=75
2014-08-08 09:13:27 +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
a384987bd2 right fix
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=65
2013-10-30 14:58:58 +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
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
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
7347c37d64 fix validation
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=36
2012-02-16 16:16:22 +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
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
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
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
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