20 Sep
2010
20 Sep
'10
07:50
Hi, On 2010-09-20 05:49:15 +0200, brook.hong@nokia.com wrote: > I have created a git_pull source service to download latest code from git repository to obs server, and tar them if updated. > > With git_pull service, when you create a package whose code is hosted in git repository, for example, http://gitorious.org/libzip/libzip. > > You need not create/upload a tar or patch file each time you make a code change. > > What you just need to do is ? > > After you creating a package on obs, run -- > 1. osc add http://git.gitorious.org/libzip/libzip.git > 2. osc ci > After you making a code change and a successful git push > 3. osc remoteservicelibzip > > > Code change for this feature -- > 1. osc client support for git_pull > http://gitorious.org/opensuse/brookhongs-osc/commit/f344ff882572db6b7b9e245170d6c80b8cc15b23?diffmode=sidebyside I just had a quick glance at your patch but it looks good so far. Some small remark: - please remove the "do_remoteservice" method from commandline.py (the same functionality is provided by "osc service remoterun") and thus "remote_run_source_services" in core.py isn't needed too Marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org