Commit Graph

292 Commits

Author SHA256 Message Date
Ruediger Oertel
32247dbd35 Accepting request 689884 from home:juliogonzalezgil:branches:openSUSE:Tools
- Change requirement locale_package to glibc-common to fix building for CentOS7 and older, and Fedora26 and older

Package was able to build locally for CentOS6, CentOS7 and build for Fedora29 started (ongoing)

OBS-URL: https://build.opensuse.org/request/show/689884
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=247
2019-03-29 14:07:23 +00:00
Dominique Leuenberger
2a3be75385 Accepting request 683897 from openSUSE:Tools
- Update to version 0.10.6.1551887937.e42c270:
  * Require packages to get the en_US.UTF-8 locales
- Update to version 0.10.6.1551448746.2759df2:
  * enforce bytes for cpio file list
  * fixes boo#1127907

OBS-URL: https://build.opensuse.org/request/show/683897
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-tar_scm?expand=0&rev=52
2019-03-14 13:53:05 +00:00
8903cf97ef fix typo (PR opened as well https://github.com/openSUSE/obs-service-tar_scm/pull/295)
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=245
2019-03-06 22:47:56 +00:00
e2e2bf52ea fix
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=244
2019-03-06 15:59:59 +00:00
Frank Schreiner
a82a30f776 * fixes boo#1127907
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=243
2019-03-05 12:45:08 +00:00
Frank Schreiner
4efa810770 - Update to version 0.10.6.1551448746.2759df2:
* enforce bytes for cpio file list

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=242
2019-03-01 14:03:20 +00:00
Stephan Kulow
b70519efa7 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
2019-02-28 20:25:44 +00:00
Frank Schreiner
530c754a7d - 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

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=240
2019-02-27 23:32:09 +00:00
Frank Schreiner
af23da1dc8 - updated changes file to include bsc#
* fixes bsc#1082696 and bsc#1076410
  * fix CVE-2018-12473 (bsc#1105361)
  * fix CVE-2018-12474 (bsc#1107507)
  * fix CVE-2018-12476 (bsc#1107944)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=239
2019-02-25 09:11:21 +00:00
Frank Schreiner
bd8ee1f8f3 - Update to version 0.10.1.1550758451.f88bd41:
* more fixes py3 unicode
  * fix unicode in containers

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=238
2019-02-21 14:18:59 +00:00
Frank Schreiner
ae4cf3dff0 - Update to version 0.10.0.1550647779.25999e8:
* fix spec for RH/Fedora - glibc-locale -> glibc-common

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=237
2019-02-20 07:59:36 +00:00
Frank Schreiner
8ee059bd4b - Update to version 0.10.0.1550589094.e2ae17d:
* move to python3
  * add python 3.6 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

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=236
2019-02-19 15:53:05 +00:00
b14ec559b3 fix
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=235
2019-01-18 08:25:03 +00:00
b1889d5f2b ups
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=234
2019-01-14 11:01:25 +00:00
c1b893fb3f try
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=233
2019-01-14 10:58:06 +00:00
69040e8195 testing
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=232
2019-01-14 10:33:16 +00:00
Frank Schreiner
a024203476 added sources
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=231
2018-12-17 22:14:09 +00:00
Frank Schreiner
6ead698fdf - Update to version 0.9.5.1545082095.8dbc95f:
* [dist] fix service files installation in Makefile

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=230
2018-12-17 21:30:12 +00:00
Frank Schreiner
6b7fab2e8b - 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

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=229
2018-12-17 20:45:29 +00:00
Frank Schreiner
60a6873b2e - 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

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=228
2018-12-06 12:26:37 +00:00
Frank Schreiner
5b38ed4bc7 - Update to version 0.9.5.1544015491.08dd948:
* Another attempt to fix unicode filenames in prep_tree_for_archive

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=227
2018-12-05 13:20:04 +00:00
Frank Schreiner
4c55b255b3 - 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

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=225
2018-12-03 19:33:43 +00:00
Frank Schreiner
289cdc442c added missing sources
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=224
2018-11-30 14:40:51 +00:00
Frank Schreiner
c9a56ad3c6 - Update to version 0.9.5.1543588452.b19491f:
* fix problems with  unicode characters in commit messages for changeloggenerate

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=223
2018-11-30 14:35:48 +00:00
Frank Schreiner
2d68a9df1d - Update to version 0.9.5.1543502111.e576bd6:
* fix encoding issues if commit message contains utf8 char

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=222
2018-11-29 14:38:01 +00:00
Frank Schreiner
d1e9531b9b - 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

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=221
2018-11-28 17:07:51 +00:00
Ruediger Oertel
299a28b710 ...
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=220
2018-11-26 15:02:05 +00:00
0cfddd227c cleanup
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=219
2018-11-26 14:58:47 +00:00
Ruediger Oertel
62af179ff6 match specfile version to sources
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=218
2018-11-26 14:55:16 +00:00
Frank Schreiner
b85970d093 - Update to version 0.9.5.1542905297.a6e346a:
* make code python3 ready
  * Add support for extract globbing

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=217
2018-11-22 20:23:44 +00:00
Frank Schreiner
554c585c11 switched _service back to tar_scm and removed buildtime service
otherwise we would have bootstrapping problems with each new distro

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=216
2018-11-16 17:04:19 +00:00
1b7dabc6cb try
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=215
2018-10-25 13:31:03 +00:00
Dominique Leuenberger
2a3f2d018e Accepting request 639875 from openSUSE:Tools
- 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-12474
  * 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

OBS-URL: https://build.opensuse.org/request/show/639875
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-tar_scm?expand=0&rev=50
2018-10-11 09:41:49 +00:00
Frank Schreiner
50586a2f50 * fix CVE-2018-12474
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=213
2018-09-27 08:54:56 +00:00
Frank Schreiner
d9d1da0537 - 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

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=212
2018-09-26 11:35:49 +00:00
Frank Schreiner
12cdb65e22 - Update to version 0.9.3.1537869751.51a17c5:
* fix regression from 44b3bee
  * Support also SSH urls for Git

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=211
2018-09-25 10:05:57 +00:00
Frank Schreiner
8f04de3070 - Update to version 0.9.2.1537788075.fefaa74:
* 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
  * run download_files in appimage and snapcraft case
  * check --extract file path for parent dir
  * 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.
  * Fix parameter descriptions

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=210
2018-09-24 12:23:25 +00:00
2b31e73c7a fix Mageia
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=209
2018-09-19 09:24:14 +00:00
924b4b753a switch
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=208
2018-09-19 08:19:11 +00:00
Dominique Leuenberger
f0d586fa03 Accepting request 632451 from openSUSE:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/632451
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-tar_scm?expand=0&rev=49
2018-09-04 20:49:03 +00:00
835e984397 cleanup
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=206
2018-08-24 06:46:50 +00:00
ca67a20089 Accepting request 629049 from home:ItachiSan:archlinux
ArchLinux fixes and tarball updates
- Update the pkgver field for proper build of the package
- Enable the set_version service for the PKGBUILD
- Update the sources tarball

OBS-URL: https://build.opensuse.org/request/show/629049
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=205
2018-08-24 06:45:16 +00:00
Dominique Leuenberger
3fcc911e0c Accepting request 620565 from openSUSE:Tools
- 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)

OBS-URL: https://build.opensuse.org/request/show/620565
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-tar_scm?expand=0&rev=48
2018-07-07 19:53:08 +00:00
Frank Schreiner
109ab89eb7 - 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)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=203
2018-07-03 19:33:53 +00:00
caa7a1e70f fix version
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=202
2018-05-23 11:30:20 +00:00
e4f098fd19 try
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=201
2018-05-23 08:16:35 +00:00
34ee222b43 more
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=200
2018-05-23 08:08:14 +00:00
3f3b3447fd update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=199
2018-05-23 08:03:50 +00:00
75144cf97a update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=198
2018-05-23 08:00:31 +00:00
Dominique Leuenberger
e00e6b6e19 Accepting request 600981 from openSUSE:Tools
- 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

OBS-URL: https://build.opensuse.org/request/show/600981
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-tar_scm?expand=0&rev=47
2018-04-27 13:59:50 +00:00