c4rt0 / centos-git-common

Forked from centos-git-common 2 years ago
Clone
Blob Blame History Raw
Welcome to git.centos.org

This git repo contains the following scripts that make interfacing with git.c.o, reimzul and nazar as easy as possible.

Tools:
 * get_sources.sh: when run from inside a package git checkout, will download the relevant non-text sources from the lookaside cache and drop them into the SOURCES/ dir; note: it will generate 0 byte files in place, rather than download them.

 * into_srpm.sh:  reconstructs the srpm from a given commit

 * centos.git.repolist.py:  This package gets list of repos from gitblit RPC, used to grab CentOS sources.  Requires the package 'python-requests' which is in the EPEL repo for CentOS-6.  Has a -b switch to pick a specific branch (defaults to master, but you might want to use -b c7)

 * return_disttag.sh:  Extracts what appears to be the value of %{dist} from the commit message

 * rpm-tree-prep.sh:  A very simple script that prepares a git tree for patching. (runs rpmbuild -bp on the tree)

 * show_possible_srpms.sh:  when run from inside a package git checkout, shows the list of possible SRPMs available to be built.

Terms:

 * Nazar   : the beanstalkd worker queue that runs most build and delivery services for various CentOS components

 * Reimzul : the buildsystem, it can do
  *  source rpm to binary rpm builds
  *  manifests + comps.xml to iso media
  *  manifests and kickstrt to LiveCD and LiveDVD media
  *  manifest to AMI ( for AMP / EC2 )

 * Git.c.o : the https://git.centos.org/ site where all the code used is hosted

========================
Unless otherwise noted inside the code an individual script, all scripts in this repository are GPL Version 2.