obs-service-tar_scm/obs-service-tar_scm.changes
2020-05-07 09:35:26 +00:00

1320 lines
51 KiB
Plaintext

-------------------------------------------------------------------
Thu May 07 09:33:04 UTC 2020 - FSchreiner@suse.com
- Update to version 0.10.15.1588842879.5c43eef:
* dist: Convert to multibuild; run test suite in a separate flavor
-------------------------------------------------------------------
Wed Apr 29 13:48:30 UTC 2020 - FSchreiner@suse.com
- Update to version 0.10.15.1588146746.5cfeeb8:
* fix #boo 1168573 (obsservicerun,obsrun) not exists in client side installation
* Update debian/changelog for latest version
* Helpers: when a command fail, print the command itself too with its output
* git: add support for @PARENT_TAG@ in revision
* Fix build on non-openSUSE distro
-------------------------------------------------------------------
Tue Mar 17 16:44:31 UTC 2020 - FSchreiner@suse.com
- Update to version 0.10.14.1584435160.d912143:
* [dist] don't install gbp files by default
* [dist] remove python-keyring* from dependcies
* [dist] make gbp switchable in spec file
-------------------------------------------------------------------
Tue Mar 10 15:22:18 UTC 2020 - FSchreiner@suse.com
- Update to version 0.10.14.1583853599.ccbb399:
* support server side credentials for SCM repos
-------------------------------------------------------------------
Fri Feb 28 14:50:17 UTC 2020 - adrian@suse.de
- Update to version 0.10.12.1582901608.a1c02c1:
* simplify osc git update case a lot
* fixing revision usage on a commit hash
-------------------------------------------------------------------
Wed Feb 26 09:45:28 UTC 2020 - FSchreiner@suse.com
- Update to version 0.10.12.1582709176.d82a692:
* fix lost commits on local run
* fix breakage when working on a specific tag/commit
* git-lfs should not be mandatory as tar_scm will never use it
* Allow use of git-lfs only when running obs_scm
* Document _none_ special version in .service
* Version cleanup: don't strip hyphen when building Debian packages
* Add new archive option for Debian: git-buildpackage
* call git stash with LANG=C
* improved comment for method get_changesrevision
* Add debian package dep to git-lfs
* Implement git LFS blobs retrieval
-------------------------------------------------------------------
Fri Jan 24 15:46:08 UTC 2020 - FSchreiner@suse.com
- Update to version 0.10.11.1579870213.888e79c:
* Add testcase for appimage with empty build section
* Handle missing build entry in appimage.yml
* Fix --mirror argument position for git clone
* Re-enable compatibility with Python 2.6
* fix decoding for locale -a containg non-ASCII
* update_cache in git now does merge
* prefer local branch over remote
* added UnicodeDecodeError to exeption list in archive.py
* fetch rev explicitly if using CACHEDIRECTORY and rev could not be found
* tar_scm.service.in: Add example to match-tag.
-------------------------------------------------------------------
Tue Oct 1 10:12:16 UTC 2019 - Julio González Gil <jgonzalez@suse.com>
- Fix building and installation for CentOS8, RHEL8 and RES8
-------------------------------------------------------------------
Thu Aug 22 11:25:57 UTC 2019 - FSchreiner@suse.com
- Update to version 0.10.10.1566390389.9f923f8:
* Revert "Merge pull request #323 from e4t/master"
* Make service 'tar' work with a cachedir as well
* Fix unit tests for modified scm directory handling
* Append '_service' to repository directory
* separate language and encoding
* git: really print the error message
* tar_scm.service: fix exclude documentation
* Don`t break testsuite if cwd contains colons
* disabling hg tests in travis
-------------------------------------------------------------------
Wed Jun 05 14:47:42 UTC 2019 - FSchreiner@suse.com
- Update to version 0.10.9.1559745964.22c86cd:
* [dist] python3 for SLE12 and openSUSE 42.3
-------------------------------------------------------------------
Tue Jun 04 11:42:50 UTC 2019 - FSchreiner@suse.com
- Update to version 0.10.9.1559647449.d965035:
* [dist] enable python3 in SLE >= 12
-------------------------------------------------------------------
Wed May 8 13:26:40 UTC 2019 - Julio González Gil <jgonzalez@suse.com>
- Require external argparse for RHEL6
-------------------------------------------------------------------
Tue May 07 22:41:38 UTC 2019 - FSchreiner@suse.com
- Update to version 0.10.9.1557261720.32a1cdb:
* fix encoding error for surrogates
* glibc-common was used up to FC23 and RHEL7
-------------------------------------------------------------------
Fri May 03 15:24:40 UTC 2019 - FSchreiner@suse.com
- Update to version 0.10.8.1556896538.0693a62:
* Compile python files before install
* change order in GNUMakefile to prefer python3
* More thorought spec file cleanup
* predefine python version in spec file for GNUMAkefile
-------------------------------------------------------------------
Fri Apr 26 19:00:00 UTC 2019 - Marcus Rueckert <mrueckert@suse.de>
- the current guessing code is finding python2 and then uses that,
because python2 still seems to be available in the build env,
as we already know which python version we want we can just pass
the path to make and skip the whole guessing.
-------------------------------------------------------------------
Fri Apr 26 12:40:14 UTC 2019 - FSchreiner@suse.com
- Update to version 0.10.7.1556277536.7e9915a:
* [dist] spec file: python3 only and multidist
* Git also uses the LANGUAGE variable
* centos_version and rhel_version are triple digits
* Minimize diff with the version in openSUSE:Tools
* Fix the logic to pick the locale package on Fedora
* Forgot the guard 0 in one conditional
-------------------------------------------------------------------
Tue Apr 9 17:18:09 UTC 2019 - Marcus Rueckert <mrueckert@suse.de>
- centos_version and rhel_version are triple digits
-------------------------------------------------------------------
Tue Apr 9 17:03:08 UTC 2019 - Marcus Rueckert <mrueckert@suse.de>
- locally apply fixes from
https://github.com/openSUSE/obs-service-tar_scm/pull/298
-------------------------------------------------------------------
Fri Mar 29 13:49:15 UTC 2019 - Julio González Gil <jgonzalez@suse.com>
- Change requirement locale_package to glibc-common to fix building
for CentOS6 and CentOS7
-------------------------------------------------------------------
Wed Mar 06 15:59:39 UTC 2019 - adrian@suse.de
- Update to version 0.10.6.1551887937.e42c270:
* Require packages to get the en_US.UTF-8 locales
-------------------------------------------------------------------
Fri Mar 01 14:01:54 UTC 2019 - FSchreiner@suse.com
- Update to version 0.10.6.1551448746.2759df2:
* enforce bytes for cpio file list
* fixes boo#1127907
-------------------------------------------------------------------
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
- 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
-------------------------------------------------------------------
Tue Sep 25 10:05:18 UTC 2018 - opensuse-packaging@opensuse.org
- Update to version 0.9.3.1537869751.51a17c5:
* fix regression from 44b3bee
* Support also SSH urls for Git
-------------------------------------------------------------------
Mon Sep 24 12:22:40 UTC 2018 - opensuse-packaging@opensuse.org
- 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
-------------------------------------------------------------------
Wed Sep 19 08:18:36 UTC 2018 - Adrian Schröter <adrian@suse.de>
- switch to obs_scm for this package
-------------------------------------------------------------------
Wed Sep 19 08:18:09 UTC 2018 - adrian@suse.de
- 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
-------------------------------------------------------------------
Fri Aug 24 06:46:28 UTC 2018 - adrian@suse.de
- 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.
-------------------------------------------------------------------
Tue Jul 03 19:31:48 UTC 2018 - opensuse-packaging@opensuse.org
- 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)
-------------------------------------------------------------------
Thu Apr 19 09:52:18 UTC 2018 - fschreiner@suse.de
- 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
-------------------------------------------------------------------
Fri Apr 13 08:49:56 UTC 2018 - olaf@aepfle.de
- python-unittest2 is only required for the optional make check
-------------------------------------------------------------------
Fri Mar 09 07:39:08 UTC 2018 - opensuse-packaging@opensuse.org
- 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
-------------------------------------------------------------------
Wed Oct 11 06:48:27 UTC 2017 - adrian@suse.de
- 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
-------------------------------------------------------------------
Wed Jul 12 05:58:08 UTC 2017 - opensuse-packaging@opensuse.org
- Update to version 0.8.0.1499787575.2419460:
* [test] refactor of fake classes
* [bugfix] fix UnboundLocalError: local variable 'parent_tag'
-------------------------------------------------------------------
Tue Jul 11 15:59:10 UTC 2017 - opensuse-packaging@opensuse.org
- 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'
-------------------------------------------------------------------
Sun Jul 9 11:08:37 UTC 2017 - adrian@suse.de
- hotfix runtime of obs_scm
-------------------------------------------------------------------
Sat Jul 01 09:44:17 UTC 2017 - opensuse-packaging@opensuse.org
- 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
-------------------------------------------------------------------
Mon Jun 19 11:16:11 UTC 2017 - adrian@suse.de
- Update to version 0.7.0.1497261741.b1aa4cb:
* Move spec file to git
-------------------------------------------------------------------
Wed Jun 07 10:40:27 UTC 2017 - adrian@suse.de
- Update to version 0.7.0.1496831936.d960322:
* fix for nonexistant build section in appimage.yml
* more documentation for README.md
* Update control
-------------------------------------------------------------------
Wed Jun 7 08:53:48 UTC 2017 - adrian@suse.de
- add python-yaml for debian distros
-------------------------------------------------------------------
Thu May 11 11:49:37 UTC 2017 - marco.strigl@suse.com
- added Requires: python2 for Fedora >= 25
-------------------------------------------------------------------
Tue Apr 18 07:17:45 UTC 2017 - fvogt@suse.com
- Only BuildRequire packages needed for testsuite if the testsuite
is enabled
-------------------------------------------------------------------
Thu Apr 13 16:35:38 UTC 2017 - adrian@suse.de
- Update to version 0.7.0.1492101301.747de50:
* skip broken tests temporarily
-------------------------------------------------------------------
Thu Apr 13 15:11:44 UTC 2017 - adrian@suse.de
- 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
-------------------------------------------------------------------
Thu Apr 13 15:07:10 UTC 2017 - adrian@suse.de
- 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
-------------------------------------------------------------------
Wed Apr 12 14:04:07 UTC 2017 - adrian@suse.de
- split services into own rpms
-------------------------------------------------------------------
Fri Mar 24 12:55:48 UTC 2017 - adrian@suse.de
- Update to version 0.7.0.1490358243.8de854e:
* keep .gitlab/.github directories
-------------------------------------------------------------------
Thu Mar 23 10:09:38 UTC 2017 - adrian@suse.de
- 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
-------------------------------------------------------------------
Tue Feb 28 13:45:43 UTC 2017 - dimstar@opensuse.org
- Replayce python-yaml Requires/Buildrequires with python-PyYAML,
which is actually its correct name.
-------------------------------------------------------------------
Tue Jan 10 21:07:47 UTC 2017 - opensuse-packaging@opensuse.org
- Update to version 0.7.0.1484082405.7671be8:
* fix problems with generatechanges when ~/.obs/tar_scm exists
-------------------------------------------------------------------
Wed Dec 14 13:42:29 UTC 2016 - opensuse-packaging@opensuse.org
- Update to version 0.7.0.1481203567.804351a:
* fix: also exclude directories when called .git
-------------------------------------------------------------------
Wed Dec 07 05:57:36 UTC 2016 - opensuse-packaging@opensuse.org
- Update to version 0.7.0.1480953937.a4b8b09:
* fix local checkout when running in osc
* force remove of files while 'make clean'
-------------------------------------------------------------------
Thu Nov 24 15:07:29 UTC 2016 - opensuse-packaging@opensuse.org
- Update to version 0.7.0.1480000004.4027270:
* fixed pip8 problems
* keep checkout while running with osc
-------------------------------------------------------------------
Fri Nov 04 08:48:53 UTC 2016 - opensuse-packaging@opensuse.org
- Update to version 0.7.0.1478249268.e162c66:
* prevent key errors when $HOME is not set
-------------------------------------------------------------------
Sun Oct 30 20:48:49 UTC 2016 - opensuse-packaging@opensuse.org
- 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
-------------------------------------------------------------------
Sun Oct 30 20:45:47 UTC 2016 - opensuse-packaging@opensuse.org
- Update to version 0.7.0.1474270818.3e05f80:
*
-------------------------------------------------------------------
Thu Oct 27 11:23:36 UTC 2016 - opensuse-packaging@opensuse.org
- 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
-------------------------------------------------------------------
Thu Oct 27 07:48:13 UTC 2016 - adrian@suse.de
- 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
-------------------------------------------------------------------
Thu Sep 15 07:49:06 UTC 2016 - adrian@suse.de
- 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
-------------------------------------------------------------------
Wed Aug 31 15:26:51 UTC 2016 - adrian@suse.de
- 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
-------------------------------------------------------------------
Wed Aug 31 15:10:37 UTC 2016 - adrian@suse.de
- 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
-------------------------------------------------------------------
Wed Aug 31 14:55:10 UTC 2016 - adrian@suse.de
- Update to version 0.6.1.1472655284.4930b81:
* add python-dateutil require for debian
* testing on debian is broken atm
-------------------------------------------------------------------
Wed Aug 31 09:53:37 UTC 2016 - adrian@suse.de
- fix debian builds
-------------------------------------------------------------------
Wed Aug 31 09:53:23 UTC 2016 - adrian@suse.de
- 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
-------------------------------------------------------------------
Fri Aug 19 08:11:24 UTC 2016 - adrian@suse.de
- 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.
-------------------------------------------------------------------
Wed Jul 27 15:33:18 UTC 2016 - adrian@suse.de
- fix mtime handling
-------------------------------------------------------------------
Wed Jul 27 15:31:10 UTC 2016 - adrian@suse.de
- 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
-------------------------------------------------------------------
Thu Jul 7 11:32:29 UTC 2016 - adrian@suse.de
- update to official version 0.6.0
(latest package became official)
-------------------------------------------------------------------
Thu Jul 07 11:32:21 UTC 2016 - adrian@suse.de
- 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
-------------------------------------------------------------------
Fri Jul 01 08:12:40 UTC 2016 - adrian@suse.de
- added snapcraft support via own service
-------------------------------------------------------------------
Wed Jun 29 06:06:18 UTC 2016 - adrian@suse.de
- 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
-------------------------------------------------------------------
Tue Apr 26 13:44:48 UTC 2016 - adrian@suse.de
- 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
-------------------------------------------------------------------
Tue Apr 26 13:17:44 UTC 2016 - adrian@suse.de
- add debian provides
-------------------------------------------------------------------
Fri Apr 15 08:16:32 UTC 2016 - adrian@suse.de
- fix dependency on SLE 11 to python-argparse
-------------------------------------------------------------------
Mon Apr 11 15:09:29 UTC 2016 - mpluskal@suse.com
- Correctly reference patch in previous entry
-------------------------------------------------------------------
Mon Apr 11 12:19:54 UTC 2016 - adrian@suse.de
- Update to version 0.6.0~pre.1460377105.35a4ea4:
* support filtering on creation of cpio archives
-------------------------------------------------------------------
Fri Apr 08 07:00:48 UTC 2016 - adrian@suse.de
- Update to version 0.6.0~pre.1460098798.dda5411:
+ make obsinfo parameter for tar service optional
-------------------------------------------------------------------
Thu Apr 07 09:21:55 UTC 2016 - adrian@suse.de
- 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
-------------------------------------------------------------------
Wed Jul 8 14:04:53 UTC 2015 - bwiedemann@suse.com
- only require git-core to not pull in git-web and gitk
-------------------------------------------------------------------
Wed Jun 24 08:07:29 UTC 2015 - hib@hiberis.nl
- Fix build on Ubuntu by disabling mercurial tests
* 0001-Debianization-disable-running-mercurial-tests.patch
-------------------------------------------------------------------
Mon Jun 22 14:41:27 UTC 2015 - hib@hiberis.nl
- Update to version 0.5.3.1434983686.0b4ce51:
+ Add missing extension parameter to service file
+ Fix build on Debian 7.0/8.0
-------------------------------------------------------------------
Mon Jun 01 11:34:28 UTC 2015 - aspiers@suse.com
- 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
-------------------------------------------------------------------
Wed May 27 09:35:08 UTC 2015 - aspiers@suse.com
- 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)
-------------------------------------------------------------------
Wed Mar 18 07:44:18 UTC 2015 - adrian@suse.de
- 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)
-------------------------------------------------------------------
Wed Oct 08 12:13:42 UTC 2014 - aspiers@suse.com
- 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
-------------------------------------------------------------------
Sun Oct 05 00:02:16 UTC 2014 - aspiers@suse.com
- 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
-------------------------------------------------------------------
Tue Sep 9 19:01:29 UTC 2014 - jblunck@infradead.org
- 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
-------------------------------------------------------------------
Wed Jul 9 08:43:06 UTC 2014 - jblunck@infradead.org
- 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
-------------------------------------------------------------------
Wed Dec 11 09:24:30 UTC 2013 - speilicke@suse.com
- 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
-------------------------------------------------------------------
Tue Nov 19 10:15:53 UTC 2013 - adrian@suse.de
- Bump version to 0.3.2
* changes file generation support written by Sascha
-------------------------------------------------------------------
Wed Oct 30 14:02:27 UTC 2013 - adrian@suse.de
- Bump version to 0.3.1
* do not execute tar base file name
-------------------------------------------------------------------
Fri Aug 2 16:54:18 BST 2013 - aspiers@suse.com
- 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@
-------------------------------------------------------------------
Tue Dec 4 09:29:48 UTC 2012 - saschpe@suse.de
- Pass --tags to "git describe" for @PARENT_TAG@
-------------------------------------------------------------------
Mon Dec 3 16:01:03 UTC 2012 - saschpe@suse.de
- Disable testsuite on SLE_11_SP2 to fix build
-------------------------------------------------------------------
Mon Dec 3 14:46:15 UTC 2012 - saschpe@suse.de
- Use upstream github repository and download via _service file
-------------------------------------------------------------------
Mon Dec 3 14:11:07 UTC 2012 - saschpe@suse.de
- 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
-------------------------------------------------------------------
Thu Nov 1 14:53:39 GMT 2012 - aspiers@suse.com
- Fix usage text for submodules option
-------------------------------------------------------------------
Mon Oct 1 07:15:03 UTC 2012 - cthiel@suse.com
- change default versionformat from author date (%at) to commiter date (%ct)
for git, to fix issues with cherry-picked commits resulting in decreased
version
-------------------------------------------------------------------
Mon Sep 24 11:47:27 UTC 2012 - jslaby@suse.com
- 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.
-------------------------------------------------------------------
Fri Jul 27 11:16:47 UTC 2012 - aspiers@suse.com
- Prevent local users from appearing as user/group owner in
generated tar files (thanks bmwiedemann for this)
-------------------------------------------------------------------
Tue Jul 3 11:23:12 UTC 2012 - adrian@suse.de
- fix option for submodule update
-------------------------------------------------------------------
Sat Jun 30 13:56:51 UTC 2012 - magist3r@gmail.com
- Fixed error with cache
-------------------------------------------------------------------
Sat Jun 30 10:59:34 UTC 2012 - magist3r@gmail.com
- Added an option to disable git submodules
- Replaced --exclude=.$MYSCM with --exclude-vcs tar option
-------------------------------------------------------------------
Thu Jun 28 22:53:29 UTC 2012 - magist3r@gmail.com
- Added support for git submodules
-------------------------------------------------------------------
Tue Jun 5 11:12:07 UTC 2012 - saschpe@suse.de
- 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).
-------------------------------------------------------------------
Thu May 24 00:57:28 GMT 2012 - rohan.mcgovern@nokia.com
- Allow git revision to refer to revisions not available from a
default clone/fetch (i.e. refs other than refs/heads/* or
refs/tags/*)
-------------------------------------------------------------------
Mon Mar 19 13:39:28 GMT 2012 - aspiers@suse.com
- Check that git pull succeeds
-------------------------------------------------------------------
Wed Feb 29 18:32:12 GMT 2012 - aspiers@suse.com
- Remove accidental reference to keep-source parameter
which was never pushed upstream (obsoleted by new cache).
-------------------------------------------------------------------
Thu Feb 16 15:23:35 GMT 2012 - aspiers@suse.com
- When the cache is used, output location of repo in the cache
-------------------------------------------------------------------
Tue Feb 14 16:52:19 GMT 2012 - aspiers@suse.com
- 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
-------------------------------------------------------------------
Mon Feb 13 10:51:19 UTC 2012 - coolo@suse.com
- patch license to follow spdx.org standard
-------------------------------------------------------------------
Tue Jan 24 15:46:17 UTC 2012 - rschiele@gmail.com
- add new option to specify a subset of files/subdirectories to
pack in the tar ball
-------------------------------------------------------------------
Tue Jan 24 13:26:19 UTC 2012 - rschiele@gmail.com
- Checking out a specific revision cannot work when only the latest
version is cloned.
-------------------------------------------------------------------
Thu Dec 29 13:39:35 UTC 2011 - gollub@b1-systems.de
- make svn checkout --trust-server-cert option conditional, since
this option is not supported by versions prior to subversion 1.6.
-------------------------------------------------------------------
Thu Dec 29 13:37:43 UTC 2011 - gollub@b1-systems.de
- 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
-------------------------------------------------------------------
Thu Dec 29 13:35:30 UTC 2011 - gollub@b1-systems.de
- 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.
-------------------------------------------------------------------
Mon Aug 29 07:01:36 UTC 2011 - adrian@suse.de
- make it possible to create tar balls without version tag (#714542)
-------------------------------------------------------------------
Fri Aug 26 06:49:13 UTC 2011 - adrian@suse.de
- support old tar bar lookup also for OBS 2.3 bs_service using .old/ directory
-------------------------------------------------------------------
Fri Aug 26 06:45:17 UTC 2011 - adrian@suse.de
- drop broken code for same-commit-detection as suggested by Markus
-------------------------------------------------------------------
Thu Aug 25 16:17:02 UTC 2011 - markus.lehtonen@linux.intel.com
- 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).
-------------------------------------------------------------------
Thu Aug 25 13:52:06 UTC 2011 - adrian@suse.de
- add support for (git) checkout depth, original patch by
Markus Lehtonen <markus.lehtonen@linux.intel.com>
-------------------------------------------------------------------
Wed Aug 17 07:54:29 UTC 2011 - adrian@suse.de
- make packaging of meta data optional to reduce tar ball size
-------------------------------------------------------------------
Fri Aug 12 11:51:07 UTC 2011 - adrian@suse.de
- fix exclude expansion
-------------------------------------------------------------------
Mon Jun 20 08:48:12 UTC 2011 - cthiel@novell.com
- add support for bzr
-------------------------------------------------------------------
Tue Mar 22 14:55:55 UTC 2011 - ammler@openttdcoop.org
- Fix: recompressed tars were never reused
- cleanup mercurial commands
-------------------------------------------------------------------
Tue Feb 8 16:00:48 UTC 2011 - adrian@suse.de
- always trust svn server certificate. We don't have a secure handling
for it anyway. Trust needs to established via extra service.
-------------------------------------------------------------------
Wed Jan 12 10:02:41 UTC 2011 - adrian@suse.de
- fix subdir usage for git
-------------------------------------------------------------------
Thu Dec 30 12:41:57 UTC 2010 - adrian@suse.de
- add option exclude files/directories when creating the tar ball
- git clone runs now with --depth 1 option
-------------------------------------------------------------------
Wed Dec 8 06:29:42 UTC 2010 - wr@rosenauer.org
- support mercurial repositories
-------------------------------------------------------------------
Wed Oct 20 16:27:25 UTC 2010 - reddwarf@opensuse.org
- Fix --filename parameter use
-------------------------------------------------------------------
Fri Sep 3 10:31:32 UTC 2010 - adrian@suse.de
- initial version to checkout/update svn or git repos and create a tar