Difference between revisions of "RPM Build system"

From Freeside
Jump to: navigation, search
(Future directions)
(Targets)
Line 24: Line 24:
 
== Primary ==
 
== Primary ==
  
* Freeside 1.7, RHEL 4
+
* Freeside 1.7, RHEL and CentOS 5
  
 
== Secondary ==
 
== Secondary ==

Revision as of 11:18, 29 June 2010

Current system

Architecture

  • Uses "mock", "createrepo" and "ovid" (not necessarily attached to those tools)
  • Controlled from Debian 5 server in conjunction with CentOS 5 vserver. (Not attached to this architecture; can move more things to the CentOS side and/or setup a vmware image instead of a vserver if either helps)

Usage

  • enrpm is used to package new Perl deps from CPAN or .tar.gz files and update the repo
  • cvs-check-and-build is used to package new Freeside versions and update the repo

Code

See also

Targets

Primary

  • Freeside 1.7, RHEL and CentOS 5

Secondary

  • Freeside 1.7, SLES 10
  • Freeside 1.9, RHEL and CentOS 5

Tertiary

  • Freeside 2.1, RHEL and CentOS 5

Future directions

  1. Check on and make sure the Freeside 1.7 / RHEL build works and all Perl deps are avaialble.
  2. Update repositories for new Perl dependencies for 1.9
  3. Fix problems reliably building current code from CVS (default "force flag" on?), overhaul build system as necessary. current build system keeps including old code when we try to iterate fixes out to customers.
  4. Fix to work with current yum/createrepo/mock (if possible while still supporting RHEL/CentOS 4)
  5. Check build system into CVS, figure out how to have rpm signing stuff pull the passphrase from elsewhere, update to new key
  6. Optimize build times, omit unneeded platforms (1.7 on RHEL/CentOS 5), parallelize things, add options to do a specific build only
  7. get a repo going for Freeside 2.1 on RHEL/CentOS 5
  8. Add RT to build (1.9+, RHEL5+)