Commit Graph

11 Commits

Author SHA256 Message Date
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