I do like the idea of having one package per repo. It is similar to what Fedora has and that I've used when taking a fedora package for EL6. I think the disadvantage is evident only when wanting to build all packages at the same time.
Kaj
Sent from my iPad
On 11 Jun 2014, at 19:13, Masoud Sharbiani <masoud.sharbiani@gmail.commailto:masoud.sharbiani@gmail.com> wrote:
So, in order to custom rebuild a distro from git repos, one should: Extract the list of repos Clone *all* the git repos locally, and switch to the right branch run get_sources.sh in all the repos then run rpmbuild -bs *.spec in the right directory, for each repo.
I am sure there is/should be a slightly more efficient way than that. How about a repo that contains all the non-binary sources for all the packages?
Masoud
On Wed, Jun 11, 2014 at 8:05 AM, Karanbir Singh <mail-lists@karan.orgmailto:mail-lists@karan.org> wrote: On 06/11/2014 02:47 PM, Chris St. Pierre wrote:
Gitblit offers an API that should permit you to list repos easily enough: http://gitblit.com/rpc.html
It seems pretty trivial to use, e.g.: https://git.centos.org/rpc?req=LIST_REPOSITORIES
You should be able to use that to clone all of the repos and then use some combination of 'git fetch' and 'git log' to get the activity logs. Or use the RSS feeds for each repo, if you prefer. TIMTOWTDI.
This seems like a significant improvement, since you no longer have to diff the ftp 'ls' output -- there are actual machine-consumable feeds and APIs to use.
and there are federation opportunities as well, so its possible for people to bring up and run their own git mirrors for the repos they care about ( and are public ).
- KB
-- Karanbir Singh +44-207-0999389tel:%2B44-207-0999389 | http://www.karan.org/ | twitter.com/kbsinghhttp://twitter.com/kbsingh GnuPG Key : http://www.karan.org/publickey.asc _______________________________________________ CentOS-devel mailing list CentOS-devel@centos.orgmailto:CentOS-devel@centos.org http://lists.centos.org/mailman/listinfo/centos-devel
_______________________________________________ CentOS-devel mailing list CentOS-devel@centos.orgmailto:CentOS-devel@centos.org http://lists.centos.org/mailman/listinfo/centos-devel