Accepting request 679987 from openSUSE:Tools
- Update to version 0.10.5.1551309990.79898c7: * Prefer UTF-8 locale as output format for changes - Update to version 0.10.4.1551193322.b7a79f4: * added KankuFile * fix problems with unicode source files * added python-six to Requires in specfile * better encoding handling - Update to version 0.10.1.1550758451.f88bd41: * fixes bsc#1082696 and bsc#1076410 * more fixes py3 unicode * fix unicode in containers - Update to version 0.10.0.1550647779.25999e8: * fix spec for RH/Fedora - glibc-locale -> glibc-common - Update to version 0.10.0.1550589094.e2ae17d: * move to python3 * add python 3.6 and 3.7 to testing * added logging for better debugging changesgenerate * raise exception if no changesauthor given * removed python 2.6 from travis - Update to version 0.9.5.1548407358.b62685b: * Stop using @opensuse.org addresses to indicate a missing address * move argparse dep to -common package * allow submodule and ssl options in appimage * sync spec file as used in openSUSE:Tools project - Update to version 0.9.5.1545082095.8dbc95f: * [dist] fix service files installation in Makefile - Update to version 0.9.5.1545064321.5c10ac0: * check encoding problems for svn and print proper error msg * added new param '--locale' * separate service file installation in GNUmakefile * added glibc as Recommends in spec file * cleanup for broken svn caches * another fix for unicode problem in obs_scm - Update to version 0.9.5.1544099104.f52adb7: * Final fix for unicode in filenames * Another attempt to fix unicode filenames in prep_tree_for_archive - Update to version 0.9.5.1544015491.08dd948: * Another attempt to fix unicode filenames in prep_tree_for_archive - Update to version 0.9.5.1543865445.4e2fbad: * fix bug with unicode filenames in prep_tree_for_archive * reuse _service*_servicedata/changes files from previous service runs - Update to version 0.9.5.1543588452.b19491f: * fix problems with unicode characters in commit messages for changeloggenerate - Update to version 0.9.5.1543502111.e576bd6: * fix encoding issues if commit message contains utf8 char - Update to version 0.9.5.1543424658.8740ef1: * revert encoding for old changes file - Update to version 0.9.5.1543418966.30359e4: * change pylint/flake8 back to 2.7 for now * remove hardcoded utf-8 encodings - Update to version 0.9.5.1542905297.a6e346a: * make code python3 ready * Add support for extract globbing - Update to version 0.9.4.1537959361.56833cb: * enable flake8 in hound * cleanup for pylint and flake8 * split pylint2 in GNUmakefile * fix check for "--reproducible" * create reproducible obscpio archives * fix flake warning - Update to version 0.9.3.1537869751.51a17c5: * fix regression from 44b3bee * Support also SSH urls for Git - Update to version 0.9.2.1537788075.fefaa74: * fix CVE-2018-12473 (bsc#1105361) * fix CVE-2018-12474 (bsc#1107507) * fix CVE-2018-12476 (bsc#1107944) * check name/version option in obsinfo for slashes * check url for remote url * check symlinks in subdir parameter * check filename for slashes * disable follow_symlinks in extract feature - switch to obs_scm for this package - Update to version 0.9.1.1537341862.5348694: * run download_files in appimage and snapcraft case * check --extract file path for parent dir * Fix parameter descriptions - Update to version 0.9.1.1534504824.0732756: * changed os.removedirs -> shutil.rmtree * Adding information regarding the *package-metadata* option for the *tar* service The tar service is highly useful in combination with the *obscpio* service. After the fix for the metadata for the latter one, it is important to inform the users of the *tar* service that metadata is kept only if the flag *package-metadata* is enabled. Add the flag to the .service file for mentioning that. * Allow metadata packing for CPIO archives when desired As of now, metadata are always excluded from *obscpio* packages. This is because the *package-metadata* flag is ignored; this change (should) make *obscpio* aware of it. - Update to version 0.9.1.1530616709.1329314: * improve handling of corrupt git cache directories * only do git stash save/pop if we have a non-empty working tree (#228) * sort imports * don't allow DEBUG_TAR_SCM to change behaviour (#240) * add stub user docs in lieu of something proper (#238) * [dist] fix build for distros not yet supporting Recommends tag * Remove clone_dir if clone fails * python-unittest2 is only required for the optional make check * move python-unittest2 dep to test suite only part (submission by olh) - Update to version v0.9.0.1523267117.de861d8: * Removing redundant pass statement * fixing indentation warnings from flake8 * fixing flake8 warnings, missing imports * missing import for logging functions. * [backend] Adding http proxy support - python-unittest2 is only required for the optional make check - Update to version 0.8.0.1520581079.e26b0ae: * make installation of scm's optional * add a lot more detail to README * Git clone with --no-checkout in prepare_working_copy * Refactor and simplify git prepare_working_copy * Cleanup flake8 checks * Only use current dir if it actually looks like git (Fixes #202) * reactivate test_obscpio_extract_d * fix broken test create_archive * fix broken tests for broken-links * changed PREFIX in Gnumakefile to /usr * new cli option --skip-cleanup * fix for broken links * fix reference to snapcraft YAML file * fix docstring typo in TarSCM.scm.tar.fetch_upstream * acknowledge deficiencies in dev docs * wrap long lines in README - Update to version 0.8.0.1507129410.0cb2d44: * mention _none_ version string for people who need it for kiwi root archives for example * git: Support url change * change ordering so that latest change is on top * also override timestamps of files in cpio * Sort cpio file list * [dist] fix spec file py_compile for fedora * Sort tar file list - Update to version 0.8.0.1499787575.2419460: * [test] refactor of fake classes * [bugfix] fix UnboundLocalError: local variable 'parent_tag' - Update to version 0.8.0.1499787575.2419460: * [dist] changed to %py_compile in spec file * [bugfix] fixes issue #173 * [bugfix] Decoupled self.scm from class name in TarSCM/scm/* * [lint] make tests/unittestcases.py flake8 ready * [lint] more fixes for pylint readiness * [lint] refactor unittestcases.py * [test] increase cov for TarSCM.archive from 61% to 92% * [doc] added comment to --use-obs-scm * [test] refactor of fake classes * [bugfix] fix UnboundLocalError: local variable 'parent_tag' - hotfix runtime of obs_scm - Update to version 0.8.0.1498846582.8799787: * fix for gh issue #169 * new version placeholder for empty version string * fix for bzr locale problem in testsuite * pylint and flake8 in testsuite for better code quality * code cleanup to be more pylint and flake8 compatible - Update to version 0.7.0.1497261741.b1aa4cb: * Move spec file to git - Update to version 0.7.0.1496831936.d960322: * fix for nonexistant build section in appimage.yml * more documentation for README.md * Update control - add python-yaml for debian distros - added Requires: python2 for Fedora >= 25 - Only BuildRequire packages needed for testsuite if the testsuite is enabled - Update to version 0.7.0.1492101301.747de50: * skip broken tests temporarily - 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 - Update to version 0.7.0.1491998613.3890456: * 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 exception for git * refactored detect_changes to get rid of changesgenerate exception * get_repocachedir -> TarSCM.scm * Add description to the README.md file - split services into own rpms - Update to version 0.7.0.1490358243.8de854e: * keep .gitlab/.github directories - Update to version 0.7.0.1490263157.682db30: * Provide version rewrite using a regex pattern and replacement. * initial appimage support * make pep8 happy again * test cases for version rewrite * new parameter --match-tag to filter tags - Replayce python-yaml Requires/Buildrequires with python-PyYAML, which is actually its correct name. - Update to version 0.7.0.1484082405.7671be8: * fix problems with generatechanges when ~/.obs/tar_scm exists - Update to version 0.7.0.1481203567.804351a: * fix: also exclude directories when called .git - Update to version 0.7.0.1480953937.a4b8b09: * fix local checkout when running in osc * force remove of files while 'make clean' - Update to version 0.7.0.1480000004.4027270: * fixed pip8 problems * keep checkout while running with osc - Update to version 0.7.0.1478249268.e162c66: * prevent key errors when $HOME is not set - 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 * test case for save_run * major refactor of git cache handling * consolidation of archive.obscpio and archive.tar parameters * next test cases * sytnax fix for "tar" service * fixed tests for tar * unset CACHEDIRECTORY env variable in unit tests * update atime/mtime of repocachedir if already exists - Update to version 0.7.0.1474270818.3e05f80: * - Update to version 0.7.0.1477567374.d44d677: * use '--dissociate' for git if package-meta is set * 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 * test case for save_run * major refactor of git cache handling * consolidation of archive.obscpio and archive.tar parameters * next test cases * sytnax fix for "tar" service - Update to version 0.7.0.1476904507.e88eed1: * 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 * test case for save_run * major refactor of git cache handling * consolidation of archive.obscpio and archive.tar parameters * next test cases - Update to version 0.6.1.1473925745.c5264bb: * jailed mode for docker integration * added setup of remote branches in jailed mode * new handling for remote/local branches when caching * fix permission problem of .changes files when running jailed in docker * fix problem with outdated git refs in cache - Update to version 0.6.1.1472657181.ff9a5ca: * make yaml dependency optional for travis * Add an option 'master' to submodules to fetch the latest mater branch. * tar_scm.py: Always use an absolute path for the 'output' directory * do not set files back to 1970... * transfer mtime via obsinfo * create needed sub directories for cache handling * prefer local cache directory * - weak dependency to mercurial for debian * add python-dateutil require for debian * testing on debian is broken atm - Update to version 0.6.1.1472656157.58c52d8: * make yaml dependency optional for travis * Add an option 'master' to submodules to fetch the latest mater branch. * tar_scm.py: Always use an absolute path for the 'output' directory * do not set files back to 1970... * transfer mtime via obsinfo * create needed sub directories for cache handling * prefer local cache directory * - weak dependency to mercurial for debian * add python-dateutil require for debian * testing on debian is broken atm - Update to version 0.6.1.1472655284.4930b81: * add python-dateutil require for debian * testing on debian is broken atm - fix debian builds - Update to version 0.6.1.1472636708.355b59a: * fix some more merge regressions * pep8 fixes/workarounds * make yaml dependency optional for travis * Add an option 'master' to submodules to fetch the latest mater branch. * tar_scm.py: Always use an absolute path for the 'output' directory * do not set files back to 1970... * transfer mtime via obsinfo * create needed sub directories for cache handling * prefer local cache directory * - weak dependency to mercurial for debian - Update to version 0.6.1.1471594222.d257927: * prefer local cache directory * jailed mode for docker integration * added setup of remote branches in jailed mode * new handling for remote/local branches when caching - cache handling will be refactored to have only one implementation in future. - fix mtime handling - Update to version 0.6.0.1469628830.67456b7: * pep8 fixes/workarounds * make yaml dependency optional for travis * Add an option 'master' to submodules to fetch the latest mater branch. * do not set files back to 1970... * transfer mtime via obsinfo * create needed sub directories for cache handling - update to official version 0.6.0 (latest package became official) - Update to version 0.6.0.1467889501.49c9462: + very first obs_scm implementation + allow extracting of (spec) files + allow to include local changes when using "obs_scm" service via local osc commands. + make obsinfo parameter for tar service optional + support filtering on creation of cpio archives + - add debian provides + - make cleaning message a debug message + report error when specified revision got not found + add snapcraft.yaml support + merge upstream + minor cleanup + fix typo, wrong file name of new snapcraft.yaml + fix some more merge regressions + pep8 fixes/workarounds + make yaml dependency optional for travis - added snapcraft support via own service - Update to version 0.6.0~pre.1467126663.ec976d1: * Allow to manually specify a base for @TAG_OFFSET@ * - make cleaning message a debug message * Honour "subdir" param for changesgenerate * report error when specified revision got not found * Extend fixture to create commits with a specific timestamp * Use commit timestamp as mtime for files and directories in tarball * Workaround bug in Mercurial localdate filter * fix breakage from conflict of #63 and #85 * Provide test for git tag fetching * Add ability to generate changes file when using svn * add snapcraft.yaml support - Update to version 0.6.0~pre.1461678268.e8b5d73: * fix TESTING.md link in CONTRIBUTING.md * Use correct level 2 bullet point (*) * very first obs_scm implementation * allow extracting of (spec) files * allow to include local changes when using "obs_scm" service via local osc commands. * make obsinfo parameter for tar service optional * support filtering on creation of cpio archives * - add debian provides - add debian provides - fix dependency on SLE 11 to python-argparse - Correctly reference patch in previous entry - Update to version 0.6.0~pre.1460377105.35a4ea4: * support filtering on creation of cpio archives - Update to version 0.6.0~pre.1460098798.dda5411: + make obsinfo parameter for tar service optional - Update to version 0.6.0.1460017418.4e4b2d6: + Correct error message about lack of git tags + GNUmakefile: Use default python in $PATH unless it is a python 3. + fix TESTING.md link in CONTRIBUTING.md + Use correct level 2 bullet point (*) + very first obs_scm implementation + allow extracting of (spec) files + allow to include local changes when using "obs_scm" service via local osc commands. - building this pre-version currently from private branch as discussed with Adam - only require git-core to not pull in git-web and gitk - Fix build on Ubuntu by disabling mercurial tests * 0001-Debianization-disable-running-mercurial-tests.patch - Update to version 0.5.3.1434983686.0b4ce51: + Add missing extension parameter to service file + Fix build on Debian 7.0/8.0 - 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) - Update to version 0.5.1.1426664483.de67b88: + 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) - 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 - 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 - Update to version 0.4.0.1410288598.7f38281: + Python rewrite of tar_scm + Make pep8 happy (except for regex in tar_scm:299) + Address some feedback from pylint + make Python version PEP8-compliant + Let Travis execute pep8 + Strip newline ('\n') characters from safe_run output in detect_version() + Make potentially long-running tasks print output in real-time + Improve efficiency of stdout handling in safe_run() + Release obs-service-tar_scm 0.4.0 - 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 - 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 - Bump version to 0.3.2 * changes file generation support written by Sascha - Bump version to 0.3.1 * do not execute tar base file name - 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@ - Pass --tags to "git describe" for @PARENT_TAG@ - Disable testsuite on SLE_11_SP2 to fix build - 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 - Fix usage text for submodules option - change default versionformat from author date (%at) to commiter date (%ct) for git, to fix issues with cherry-picked commits resulting in decreased version - add --date=short to get_vesion of git and remove '-' chars by sed. This allows us to use %ad as versionformat and have something like "20120916" as version instead of terrible Unix timestamps. - Prevent local users from appearing as user/group owner in generated tar files (thanks bmwiedemann for this) - fix option for submodule update - Fixed error with cache - Added an option to disable git submodules - Replaced --exclude=.$MYSCM with --exclude-vcs tar option - Added support for git submodules - 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). - Allow git revision to refer to revisions not available from a default clone/fetch (i.e. refs other than refs/heads/* or refs/tags/*) - Check that git pull succeeds - Remove accidental reference to keep-source parameter which was never pushed upstream (obsoleted by new cache). - When the cache is used, output location of repo in the cache - add new 'versionformat' option to determine how version is extracted via git show --pretty=... - support caching of cloned repositories to speed up fetch from upstream Mon Feb 13 15:52:19 GMT 2012 - aspiers@suse.com - Add test suite - Fix --subdir with --scm svn - Fix --scm bzr - patch license to follow spdx.org standard - add new option to specify a subset of files/subdirectories to pack in the tar ball - Checking out a specific revision cannot work when only the latest version is cloned. - 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. - make it possible to create tar balls without version tag (#714542) - support old tar bar lookup also for OBS 2.3 bs_service using .old/ directory - drop broken code for same-commit-detection as suggested by Markus - 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). - add support for (git) checkout depth, original patch by Markus Lehtonen <markus.lehtonen@linux.intel.com> - make packaging of meta data optional to reduce tar ball size - fix exclude expansion - add support for bzr - Fix: recompressed tars were never reused - cleanup mercurial commands - always trust svn server certificate. We don't have a secure handling for it anyway. Trust needs to established via extra service. - fix subdir usage for git - add option exclude files/directories when creating the tar ball - git clone runs now with --depth 1 option - support mercurial repositories - Fix --filename parameter use - initial version to checkout/update svn or git repos and create a tar OBS-URL: https://build.opensuse.org/request/show/679987 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-tar_scm?expand=0&rev=51
This commit is contained in:
commit
b70519efa7
6
PKGBUILD
6
PKGBUILD
@ -1,13 +1,13 @@
|
||||
pkgname=obs-service-tar_scm
|
||||
pkgver=0.9.4.1537959361.56833cb
|
||||
pkgver=0.10.5.1551309990.79898c7
|
||||
pkgrel=0
|
||||
pkgdesc="Source Service for the OpenSUSE Build Service (OBS)"
|
||||
arch=('any')
|
||||
url="https://github.com/openSUSE/obs-service-tar_scm"
|
||||
license=('GPL3')
|
||||
groups=('base-devel')
|
||||
makedepends=('python2' 'python2-yaml' 'python2-dateutil' 'python2-lxml' 'python2-mock' 'python2-unittest2' 'bzr' 'git' 'mercurial' 'subversion' )
|
||||
depends=('python2' 'python2-yaml' 'python2-dateutil' 'python2-argparse' 'cpio' 'git' 'bzr' 'mercurial' 'subversion' )
|
||||
makedepends=('python' 'python-yaml' 'python-dateutil' 'python-lxml' 'python-mock' 'bzr' 'git' 'mercurial' 'subversion' )
|
||||
depends=('python' 'python-yaml' 'python-dateutil' 'python-argparse' 'cpio' 'git' 'bzr' 'mercurial' 'subversion' )
|
||||
source=("obs-service-tar_scm-${pkgver}.tar.gz")
|
||||
provides=('obs-service-tar')
|
||||
sha256sums=('SKIP')
|
||||
|
6
_service
6
_service
@ -1,5 +1,5 @@
|
||||
<services>
|
||||
<service name="obs_scm" mode="disabled">
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<param name="url">git://github.com/openSUSE/obs-service-tar_scm.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="exclude">.git</param>
|
||||
@ -12,9 +12,7 @@
|
||||
<service name="set_version" mode="disabled">
|
||||
<param name="basename">obs-service-tar_scm</param>
|
||||
</service>
|
||||
|
||||
<service name="tar" mode="buildtime"/>
|
||||
<service name="recompress" mode="buildtime">
|
||||
<service name="recompress" mode="disabled">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">gz</param>
|
||||
</service>
|
||||
|
@ -5,4 +5,4 @@
|
||||
<param name="url">git://github.com/M0ses/obs-service-tar_scm.git</param>
|
||||
<param name="changesrevision">b742dfc0e12755cf306a95439494b5bdde7c0c61</param></service><service name="tar_scm">
|
||||
<param name="url">git://github.com/openSUSE/obs-service-tar_scm.git</param>
|
||||
<param name="changesrevision">f1c37121d6cd184d50bd8f37b1feb8f1e58b318f</param></service></servicedata>
|
||||
<param name="changesrevision">47927074693a870b63d2be378f01c83dc80abc28</param></service></servicedata>
|
@ -1,6 +1,6 @@
|
||||
Format: 1.0
|
||||
Source: obs-service-tar-scm
|
||||
Version: 0.9.4.1537959361.56833cb
|
||||
Version: 0.10.5.1551309990.79898c7
|
||||
Provides: obs-service-obs_scm, obs-service-tar
|
||||
Binary: obs-service-tar_scm
|
||||
Maintainer: Adrian Schroeter <adrian@suse.de>
|
||||
|
3
obs-service-tar_scm-0.10.5.1551309990.79898c7.tar.gz
Normal file
3
obs-service-tar_scm-0.10.5.1551309990.79898c7.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f3d180bcb2a1212a4f23f7df93797a0dd5cdbf4b74a9efbded139e5a59dcc1fb
|
||||
size 67659
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:073b0f56c62edfd648810736b6942924ba19554058f08cfa4e9467c89b21bd95
|
||||
size 279052
|
@ -1,3 +1,120 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 27 23:29:17 UTC 2019 - FSchreiner@suse.com
|
||||
|
||||
- Update to version 0.10.5.1551309990.79898c7:
|
||||
* Prefer UTF-8 locale as output format for changes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 27 17:33:26 UTC 2019 - FSchreiner@suse.com
|
||||
|
||||
- Update to version 0.10.4.1551193322.b7a79f4:
|
||||
* added KankuFile
|
||||
* fix problems with unicode source files
|
||||
* added python-six to Requires in specfile
|
||||
* better encoding handling
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 21 14:18:32 UTC 2019 - FSchreiner@suse.com
|
||||
|
||||
- Update to version 0.10.1.1550758451.f88bd41:
|
||||
* fixes bsc#1082696 and bsc#1076410
|
||||
* more fixes py3 unicode
|
||||
* fix unicode in containers
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 20 07:42:19 UTC 2019 - FSchreiner@suse.com
|
||||
|
||||
- Update to version 0.10.0.1550647779.25999e8:
|
||||
* fix spec for RH/Fedora - glibc-locale -> glibc-common
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 19 15:52:07 UTC 2019 - FSchreiner@suse.com
|
||||
|
||||
- Update to version 0.10.0.1550589094.e2ae17d:
|
||||
* move to python3
|
||||
* add python 3.6 and 3.7 to testing
|
||||
* added logging for better debugging changesgenerate
|
||||
* raise exception if no changesauthor given
|
||||
* removed python 2.6 from travis
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 01 07:44:04 UTC 2019 - FSchreiner@suse.com
|
||||
|
||||
- Update to version 0.9.5.1548407358.b62685b:
|
||||
* Stop using @opensuse.org addresses to indicate a missing address
|
||||
* move argparse dep to -common package
|
||||
* allow submodule and ssl options in appimage
|
||||
* sync spec file as used in openSUSE:Tools project
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 17 21:29:43 UTC 2018 - opensuse-packaging@opensuse.org
|
||||
|
||||
- Update to version 0.9.5.1545082095.8dbc95f:
|
||||
* [dist] fix service files installation in Makefile
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 17 20:42:11 UTC 2018 - opensuse-packaging@opensuse.org
|
||||
|
||||
- Update to version 0.9.5.1545064321.5c10ac0:
|
||||
* check encoding problems for svn and print proper error msg
|
||||
* added new param '--locale'
|
||||
* separate service file installation in GNUmakefile
|
||||
* added glibc as Recommends in spec file
|
||||
* cleanup for broken svn caches
|
||||
* another fix for unicode problem in obs_scm
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 06 12:26:01 UTC 2018 - opensuse-packaging@opensuse.org
|
||||
|
||||
- Update to version 0.9.5.1544099104.f52adb7:
|
||||
* Final fix for unicode in filenames
|
||||
* Another attempt to fix unicode filenames in prep_tree_for_archive
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 05 13:19:04 UTC 2018 - opensuse-packaging@opensuse.org
|
||||
|
||||
- Update to version 0.9.5.1544015491.08dd948:
|
||||
* Another attempt to fix unicode filenames in prep_tree_for_archive
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 03 19:31:44 UTC 2018 - opensuse-packaging@opensuse.org
|
||||
|
||||
- Update to version 0.9.5.1543865445.4e2fbad:
|
||||
* fix bug with unicode filenames in prep_tree_for_archive
|
||||
* reuse _service*_servicedata/changes files from previous service runs
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 30 14:35:34 UTC 2018 - opensuse-packaging@opensuse.org
|
||||
|
||||
- Update to version 0.9.5.1543588452.b19491f:
|
||||
* fix problems with unicode characters in commit messages for changeloggenerate
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 29 14:37:35 UTC 2018 - opensuse-packaging@opensuse.org
|
||||
|
||||
- Update to version 0.9.5.1543502111.e576bd6:
|
||||
* fix encoding issues if commit message contains utf8 char
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 28 17:06:15 UTC 2018 - opensuse-packaging@opensuse.org
|
||||
|
||||
- Update to version 0.9.5.1543424658.8740ef1:
|
||||
* revert encoding for old changes file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 28 16:29:06 UTC 2018 - opensuse-packaging@opensuse.org
|
||||
|
||||
- Update to version 0.9.5.1543418966.30359e4:
|
||||
* change pylint/flake8 back to 2.7 for now
|
||||
* remove hardcoded utf-8 encodings
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 22 20:22:29 UTC 2018 - opensuse-packaging@opensuse.org
|
||||
|
||||
- Update to version 0.9.5.1542905297.a6e346a:
|
||||
* make code python3 ready
|
||||
* Add support for extract globbing
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 26 11:35:09 UTC 2018 - opensuse-packaging@opensuse.org
|
||||
|
||||
@ -20,7 +137,9 @@ Tue Sep 25 10:05:18 UTC 2018 - opensuse-packaging@opensuse.org
|
||||
Mon Sep 24 12:22:40 UTC 2018 - opensuse-packaging@opensuse.org
|
||||
|
||||
- Update to version 0.9.2.1537788075.fefaa74:
|
||||
* fix CVE-2018-12474
|
||||
* fix CVE-2018-12473 (bsc#1105361)
|
||||
* fix CVE-2018-12474 (bsc#1107507)
|
||||
* fix CVE-2018-12476 (bsc#1107944)
|
||||
* check name/version option in obsinfo for slashes
|
||||
* check url for remote url
|
||||
* check symlinks in subdir parameter
|
||||
|
@ -1,5 +0,0 @@
|
||||
name: obs-service-tar_scm
|
||||
version: 0.9.4.1537959361.56833cb
|
||||
mtime: 1537959361
|
||||
commit: 56833cb5e2edf942333cf681d0b87f1bdd2baca0
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package obs-service-tar_scm
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -19,8 +19,8 @@
|
||||
%bcond_without obs_scm_testsuite
|
||||
|
||||
Name: obs-service-tar_scm
|
||||
%define version_unconverted 0.9.4.1537959361.56833cb
|
||||
Version: 0.9.4.1537959361.56833cb
|
||||
%define version_unconverted 0.10.5.1551309990.79898c7
|
||||
Version: 0.10.5.1551309990.79898c7
|
||||
Release: 0
|
||||
Summary: An OBS source service: create tar ball from svn/git/hg
|
||||
License: GPL-2.0-or-later
|
||||
@ -36,6 +36,7 @@ BuildRequires: git-core
|
||||
BuildRequires: mercurial
|
||||
BuildRequires: subversion
|
||||
%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version}
|
||||
BuildRequires: glibc-common
|
||||
%define py_compile(O) \
|
||||
find %1 -name '*.pyc' -exec rm -f {} \\; \
|
||||
python -c "import sys, os, compileall; br='%{buildroot}'; compileall.compile_dir(sys.argv[1], ddir=br and (sys.argv[1][len(os.path.abspath(br)):]+'/') or None)" %1 \
|
||||
@ -46,19 +47,23 @@ python -O -c "import sys, os, compileall; br='%{buildroot}'; compileall.compile_
|
||||
|
||||
BuildRequires: PyYAML
|
||||
%else
|
||||
BuildRequires: glibc-locale
|
||||
BuildRequires: python-PyYAML
|
||||
%endif
|
||||
BuildRequires: python-dateutil
|
||||
BuildRequires: python-lxml
|
||||
BuildRequires: python-mock
|
||||
BuildRequires: python-six
|
||||
BuildRequires: python-unittest2
|
||||
%endif
|
||||
BuildRequires: python >= 2.6
|
||||
Requires: git-core
|
||||
|
||||
%if 0%{?suse_version} >= 1315
|
||||
Recommends: bzr
|
||||
Recommends: mercurial
|
||||
Recommends: subversion
|
||||
Recommends: glibc-locale
|
||||
%endif
|
||||
Requires: obs-service-obs_scm-common = %version-%release
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@ -93,6 +98,10 @@ Summary: Creates a tar archive from local directory
|
||||
Group: Development/Tools/Building
|
||||
Requires: obs-service-obs_scm-common = %version-%release
|
||||
Provides: obs-service-tar_scm:/usr/lib/obs/service/tar.service
|
||||
%if (0%{?fedora_version} && 0%{?fedora_version} < 26) || 0%{?centos} == 6 || 0%{?centos} == 7
|
||||
BuildRequires: python-argparse
|
||||
Requires: python-argparse
|
||||
%endif
|
||||
|
||||
%description -n obs-service-tar
|
||||
Creates a tar archive from local directory
|
||||
|
Loading…
x
Reference in New Issue
Block a user