Hello,
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 remoteservice libzip
Code change for this feature --
1. osc client support for git_pull
http://gitorious.org/opensuse/brookhongs-osc/commit/f344ff882572db6b7b9e2451...
2. git_pull source service
http://gitorious.org/opensuse/brookhongs-osc/commit/3e8872b925ef168af1e28080...
What is the drawback of this solution?
It will create a local git repository on obs server for each package that activates the git_pull service, and this will increase usage of storage on obs server.
----------------
Best Regards,
Brook Hong
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-buildservice+help@opensuse.org