33f10f567a
* 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
20 lines
727 B
Plaintext
20 lines
727 B
Plaintext
<services>
|
|
<service name="tar_scm" mode="disabled">
|
|
<param name="url">git://github.com/M0ses/obs-service-tar_scm.git</param>
|
|
<param name="scm">git</param>
|
|
<param name="exclude">.git</param>
|
|
<param name="version">git-master</param>
|
|
<param name="versionformat">0.7.0.%ct.%h</param>
|
|
<param name="revision">nextRev</param>
|
|
<param name="changesgenerate">enable</param>
|
|
</service>
|
|
<service name="recompress" mode="disabled">
|
|
<param name="file">*.tar</param>
|
|
<param name="compression">gz</param>
|
|
</service>
|
|
<service name="set_version" mode="disabled">
|
|
<param name="basename">obs-service-tar_scm</param>
|
|
<param name="file">obs-service-tar_scm.spec</param>
|
|
</service>
|
|
</services>
|