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
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
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
a9df595726
add help
...
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=26
2011-08-29 07:17:52 +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
c19f265b65
sync parameter
...
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=19
2011-08-17 12:47:54 +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
Sascha Peilicke
0e69e56522
Accepting request 78644 from openSUSE:Tools
...
fix exclude expansion
OBS-URL: https://build.opensuse.org/request/show/78644
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-tar_scm?expand=0&rev=1
2011-08-12 14:46:41 +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
932f419e54
fix quoting
...
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=14
2011-03-31 13:58:05 +00:00
61a722e069
Accepting request 65121 from home:ammler:branches:openSUSE:Tools
...
thanks
OBS-URL: https://build.opensuse.org/request/show/65121
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=13
2011-03-25 07:35:21 +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
d9ba034cba
fix
...
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=11
2011-02-10 22:31:57 +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
74a4e0a9d1
cleanup also main dir when using subdir
...
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=9
2011-01-12 10:08:48 +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
6a86f71ba6
fix quoting
...
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=5
2010-12-08 07:59:43 +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
bebd76e674
add license
...
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=3
2010-11-19 15:36:41 +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