Mailinglist Archive: opensuse-buildservice (251 mails)

< Previous Next >
[opensuse-buildservice] Merge request to add support for git_pull source service.
  • From: <brook.hong@xxxxxxxxx>
  • Date: Mon, 20 Sep 2010 05:49:15 +0200
  • Message-id: <74F2BFCC65034E4BAB1856275FB128ED274040AC60@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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 <obs_project> libzip


Code change for this feature --
1. osc client support for git_pull
http://gitorious.org/opensuse/brookhongs-osc/commit/f344ff882572db6b7b9e245170d6c80b8cc15b23?diffmode=sidebyside
2. git_pull source service
http://gitorious.org/opensuse/brookhongs-osc/commit/3e8872b925ef168af1e280809e67f45b75fd3baf?diffmode=sidebyside

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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >