No description
Find a file
Pierre-Yves Chibon 518994fd59 Make the get_sources shell script support flat layout
The idea of this commit is to make get_sources.sh support both the
'traditional' git layout used on dist-git for CentOS Linux where the
spec files are stored in a SPECS folder and the patches in a SOURCES
folder with the sha of the tarball being in a '.<pkg_name>.metadata'
file as well as the 'flat' git layout that have adopted Fedora as well
as CentOS-Stream (9+) where the spec files and patches are all stored
at the top level directory of the repository and the sha of the tarball
is present in a 'sources' file.

This commit re-uses code from the fedpkg-minimal project which is
license under the GPL (so the License field of the spec file for
centpkg-minimal may need to be adjusted to MIT and GPL).

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2022-02-01 10:59:12 +01:00
mqtt Fix mqtt message so the json isn't double escaped 2019-05-24 09:06:44 -05:00
centos.git.repolist.py Update centos.git.repolist.py to use pagure api 2019-04-11 10:03:10 -05:00
get_sources.sh Make the get_sources shell script support flat layout 2022-02-01 10:59:12 +01:00
into_srpm.sh update logic for SCLs 2014-11-12 11:31:51 -06:00
lookaside_upload Use http code to check object in lookaside cache 2021-10-26 10:17:32 +02:00
README.md remove gitblit specific info about centos.git.repolist.py 2019-04-11 11:59:32 -05:00
return_disttag.sh Some packages seem to want to know where 'topdir' is 2014-12-01 10:27:25 -06:00
rpm-tree-prep.sh make rpm-tree-prep.sh executable by default 2014-06-18 12:25:29 -05:00
show_possible_srpms.sh Send these errors to stderr 2014-07-22 10:01:28 -05:00

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 the pagure API, used to grab CentOS sources. Requires the package 'python-requests' which is in the EPEL repo for CentOS-6.

  • return_disttag.sh: Extracts what appears to be the value of %{dist} from the commit message. NOTE: Requires the package scl-utils-build to be installed to use.

  • 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 of an individual script, all scripts in this repository are licensed with the GPL Version 2.0 by default. Community members who initially contribute a script can also choose any OSI Approved License for their scripts if they would rather have something other than the default.