Test::AutoBuild::Stage::CreateRepo man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

Test::AutoBuild::StageUsereContributed PeTest::AutoBuild::Stage::CreateRepo(3)

NAME
       Test::AutoBuild::Stage::CreateRepo - Create an package repository index
       for package management tools

SYNOPSIS
	 use Test::AutoBuild::Stage::CreateRepo

	 my $stage = Test::AutoBuild::Stage::CreateRepo->new(name => "crearerepo",
						      label => "Create package repository index",
						      options => {
							directory => "/var/lib/builder/public_html/dist",
							parameters => "-d -s -n",
						      });

	 $stage->run($runtime);

DESCRIPTION
       This module invokes the createrepo(8) command to generate an index of
       RPM packages generated during the build. The index enables use of the
       yum(8) command to install packages generated by the builder. The
       crearerepo(8) command is expected to be found in the $PATH.

CONFIGURATION
       In addition to the standard parameters defined by the
       Test::AutoBuild::Stage module, this module accepts two entries in the
       "options" parameter:

       directory
	   The full path to the directory containing RPMs to be indexed. If
	   this option is not specified, then the "directories" option must be
	   set.

       directories
	   An array of paths to directories containing RPMs to be indexed. If
	   this option is not specified, then the "directory" option must be
	   set.

       parameters
	   A string of command line arguments to be passed to the "createrepo"
	   command, see the createrepo(8) manual page for details of possible
	   values.

   EXAMPLE
	 {
	   name = createrepo
	   label = Update Pacakge Repository
	   module = Test::AutoBuild::Stage::CreateRepo
	   critical = 0
	   options = {
	     directory = /var/lib/builder/public_html/dist
	     parameters = -d
	   }
	 }

METHODS
       $stage->process($runtime);
	   For each directory defined in the "options" parameter, this method
	   will run the "createrepo" command to generate the index.

AUTHORS
       Daniel Berrange <dan@berrange.com> Dennis Gregorovic
       <dgregorovic@alum.mit.edu>

COPYRIGHT
       Copyright (C) 2004 Red Hat, Inc.

SEE ALSO
       perl(1), Test::AutoBuild::Stage, yum(8), createrepo(8)

perl v5.14.1			  2011-09Test::AutoBuild::Stage::CreateRepo(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net