Commit Graph

251 Commits

Author SHA256 Message Date
715525ee55 Accepting request 596230 from home:olh:branches:openSUSE:Tools
- python-unittest2 is only required for the optional make check

OBS-URL: https://build.opensuse.org/request/show/596230
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=194
2018-04-16 09:44:17 +00:00
Frank Schreiner
d6ff969337 - 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

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=193
2018-03-09 07:40:44 +00:00
Frank Schreiner
c3c8cfae4d Accepting request 533426 from home:valo:branches:openSUSE:Tools
Fixes the makedepends array so it builds with python2 packages

OBS-URL: https://build.opensuse.org/request/show/533426
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=191
2017-10-12 08:10:35 +00:00
06be79dda1 Accepting request 533403 from home:valo:branches:openSUSE:Tools
Fixes missing dependencies

OBS-URL: https://build.opensuse.org/request/show/533403
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=190
2017-10-11 12:49:36 +00:00
403be7cf50 fix version for Arch
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=189
2017-10-11 06:58:51 +00:00
bbea40d12d fix fedora build
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=188
2017-10-11 06:50:26 +00:00
2e2dae25cd Accepting request 532991 from home:valo:branches:openSUSE:Tools
Adds PKGBUILD for Archlinux

OBS-URL: https://build.opensuse.org/request/show/532991
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=187
2017-10-11 06:49:17 +00:00
Frank Schreiner
fddd9e5197 changed path
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=185
2017-07-12 06:44:59 +00:00
Frank Schreiner
509c7b9be0 - Update to version 0.8.0.1499787575.2419460:
* [test] refactor of fake classes
  * [bugfix] fix UnboundLocalError: local variable 'parent_tag'

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=184
2017-07-12 06:16:00 +00:00
Frank Schreiner
75308abb1a - 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'

- 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

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=183
2017-07-11 17:04:06 +00:00
e5d5da055c hotfix
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=182
2017-07-09 11:09:20 +00:00
69c2eed74f osc copypac from project:openSUSE:Tools package:obs-service-tar_scm revision:179
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=181
2017-07-01 06:57:23 +00:00
Frank Schreiner
8a58729914 - Update to version 0.7.0.1498846582.8799787:
* [testing] ENV var TAR_SCM_TC to select test cases
  * [dist] Adding spec file to git
  * [fix] finalize method for TarSCM.scm.* classes
  * [feature] new version placeholder for empty version string
  * [ci] fix for bzr locale problem
  * [ci] make pep8, pylint and flake8 optional ...

M    _servicedata
D    obs-service-tar_scm-0.7.0.1496831936.d960322.tar.gz
A    obs-service-tar_scm-0.7.0.1498846582.8799787.tar.gz
M    obs-service-tar_scm.changes
M    obs-service-tar_scm.spec

Diff for working copy: .
Index: _servicedata
===================================================================

--- _servicedata	(revision 7503ece26992012bce22abce29c01aae)
+++ _servicedata	(working copy)
@@ -5,4 +5,4 @@
             <param name="url">git://github.com/M0ses/obs-service-tar_scm.git</param>
           <param name="changesrevision">b742dfc0e12755cf306a95439494b5bdde7c0c61</param></service><service name="tar_scm">
                 <param name="url">git://github.com/openSUSE/obs-service-tar_scm.git</param>
-              <param name="changesrevision">03230fdf240addb3dd1ba3201beef50722cc87ac</param></service></servicedata>
\ No newline at end of file
+              <param name="changesrevision">949a2f52ebe929c1ed9b52a1e9e0d6568a97767d</param></service></servicedata>
\ No newline at end of file
Index: obs-service-tar_scm.changes
===================================================================

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=180
2017-06-30 21:01:54 +00:00
e2eb793df1 move spec file to git
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=178
2017-06-19 11:17:40 +00:00
fdaa887a0a update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=176
2017-06-07 10:40:44 +00:00
03c6267287 try
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=175
2017-06-07 08:54:05 +00:00
Frank Schreiner
c4c4dddb38 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=174 2017-06-07 05:33:42 +00:00
Frank Schreiner
8d060edc0f OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=173 2017-06-06 18:01:40 +00:00
Frank Schreiner
3246d508ab OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=172 2017-06-06 17:56:11 +00:00
c09d82482c - added Requires: python2 for Fedora >= 25
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=170
2017-05-11 11:50:35 +00:00
Frank Schreiner
a674c45291 added Requires: python2 for Fedora >= 25
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=169
2017-05-10 21:39:29 +00:00
08e3ae6065 try to fix for fedora
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=167
2017-04-20 09:27:04 +00:00
d8f6df2cc2 adapt summary
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=166
2017-04-20 06:24:20 +00:00
3691489796 adapt summary
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=165
2017-04-20 06:24:11 +00:00
225a7d6c12 Accepting request 489044 from home:favogt:branches:openSUSE:Tools
Needed for 42.3.

OBS-URL: https://build.opensuse.org/request/show/489044
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=164
2017-04-18 09:27:21 +00:00
959948e7a2 yaml is always needed
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=163
2017-04-14 11:50:02 +00:00
Frank Schreiner
f4169ab2d8 - Update to version 0.7.0.1492101301.747de50:
* skip broken tests temporarily

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=162
2017-04-13 16:36:00 +00:00
Frank Schreiner
e22c696d32 - 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

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=161
2017-04-13 15:15:45 +00:00
Frank Schreiner
558d880083 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=160 2017-04-13 15:03:34 +00:00
7c419c4782 enable test suite again
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=159
2017-04-12 18:38:24 +00:00
93d7857206 ups
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=158
2017-04-12 18:24:18 +00:00
5c0c568a20 disable test suite for now
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=157
2017-04-12 16:32:56 +00:00
c6f094ff35 enable test case
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=156
2017-04-12 16:23:24 +00:00
182b93cad2 disable test sutie for noe
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=155
2017-04-12 16:04:30 +00:00
b78de4674c fix file list
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=154
2017-04-12 16:03:02 +00:00
d64bc5d942 fix requries
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=153
2017-04-12 16:00:24 +00:00
Frank Schreiner
e347022447 quick fix for missing tar service at buildtime
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=152
2017-04-12 15:21:48 +00:00
e1530ec242 offer opt out of test suite
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=151
2017-04-12 14:43:36 +00:00
8055efe149 Accepting request 487597 from home:adrianSuSE:branches:openSUSE:Tools
package split

OBS-URL: https://build.opensuse.org/request/show/487597
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=150
2017-04-12 14:06:22 +00:00
Frank Schreiner
db78b11285 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=148 2017-03-24 16:44:55 +00:00
Frank Schreiner
7cd2f7ece6 - Update to version 0.7.0.1490358243.8de854e:
* keep .gitlab/.github directories

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=147
2017-03-24 12:56:23 +00:00
Frank Schreiner
d67981a0fc - Update to version 0.7.0.1490263157.682db30:
* fix local checkout when running in osc
  * force remove of files while 'make clean'
  * fix: also exclude directories when called .git
  * Provide version rewrite using a regex pattern and replacement.
  * fix problems with generatechanges when ~/.obs/tar_scm exists
  * initial appimage support
  * make pep8 happy again
  * test cases for version rewrite
  * new parameter --match-tag to filter tags

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=146
2017-03-23 10:10:35 +00:00
c882b0425e Accepting request 460866 from home:dimstar:Factory
- Replayce python-yaml Requires/Buildrequires with python-PyYAML,
  which is actually its correct name.

The legacy symbol python-yaml did get lost with the singlespec migration.
It is likely re=appearing in the future, nevertheless it is not wrong
to fix obs-service-tar_scm to use the proper package names

OBS-URL: https://build.opensuse.org/request/show/460866
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=144
2017-02-28 15:43:11 +00:00
Frank Schreiner
7ad16b8616 - Update to version 0.7.0.1484082405.7671be8:
* fix problems with generatechanges when ~/.obs/tar_scm exists

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=142
2017-01-10 21:10:56 +00:00
Frank Schreiner
76383295f7 - Update to version 0.7.0.1481203567.804351a:
* fix: also exclude directories when called .git

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=140
2016-12-14 13:43:13 +00:00
Frank Schreiner
440f89de08 - Update to version 0.7.0.1480953937.a4b8b09:
* fix local checkout when running in osc
  * force remove of files while 'make clean'

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=139
2016-12-07 06:07:12 +00:00
Frank Schreiner
c7ec3f6b5a - Update to version 0.7.0.1480000004.4027270:
* fixed pip8 problems
  * keep checkout while running with osc

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=137
2016-11-24 15:08:29 +00:00
Frank Schreiner
40fcb4fbf1 - Update to version 0.7.0.1478249268.e162c66:
* prevent key errors when $HOME is not set

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=136
2016-11-04 08:49:41 +00:00
Frank Schreiner
33f10f567a - 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

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=135
2016-10-30 20:50:53 +00:00
80e16b905f fixing
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=134
2016-10-27 11:23:47 +00:00