/[soft]/rpm/urpmi/trunk/urpm.pm
ViewVC logotype

Diff of /rpm/urpmi/trunk/urpm.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 6158 by tv, Thu Oct 4 14:42:00 2012 UTC revision 6159 by tv, Fri Oct 5 07:32:15 2012 UTC
# Line 26  our $postponed_code = 0; Line 26  our $postponed_code = 0;
26  use URPM;  use URPM;
27  use URPM::Resolve;  use URPM::Resolve;
28    
29    
30    =head1 NAME
31    
32    urpm - Mageia perl tools to handle the urpmi database
33    
34    =head1 DESCRIPTION
35    
36    C<urpm> is used by urpmi executables to manipulate packages and media
37    on a Mageia Linux distribution.
38    
39    =head2 The urpm class
40    
41    =over 4
42    
43    =cut
44    
45  #- this violently overrides is_arch_compat() to always return true.  #- this violently overrides is_arch_compat() to always return true.
46  sub shunt_ignorearch {  sub shunt_ignorearch {
47      eval q( sub URPM::Package::is_arch_compat { 1 } );      eval q( sub URPM::Package::is_arch_compat { 1 } );
# Line 47  sub default_options { Line 63  sub default_options {
63      };      };
64  }  }
65    
66  #- create a new urpm object.  =item urpm->new()
67    
68    The constructor creates a new urpm object. It's a blessed hash that
69    contains fields from L<URPM>, and also the following fields:
70    
71    B<source>: { id => src_rpm_file|spec_file }
72    
73    B<media>: [ {
74       start => int, end => int, name => string, url => string,
75       virtual => bool, media_info_dir => string, with_synthesis => string,
76       no-media-info => bool,
77       iso => string, downloader => string,
78       ignore => bool, update => bool, modified => bool, really_modified => bool,
79       unknown_media_info => bool,
80     } ],
81    
82    =cut
83    
84  sub new {  sub new {
85      my ($class) = @_;      my ($class) = @_;
86      my $self;      my $self;
# Line 468  sub DESTROY {} Line 501  sub DESTROY {}
501    
502  __END__  __END__
503    
 =head1 NAME  
   
 urpm - Mageia perl tools to handle the urpmi database  
   
 =head1 DESCRIPTION  
   
 C<urpm> is used by urpmi executables to manipulate packages and media  
 on a Mageia Linux distribution.  
   
 =head2 The urpm class  
   
 =over 4  
   
 =item urpm->new()  
   
 The constructor creates a new urpm object. It's a blessed hash that  
 contains fields from L<URPM>, and also the following fields:  
   
 B<source>: { id => src_rpm_file|spec_file }  
   
 B<media>: [ {  
    start => int, end => int, name => string, url => string,  
    virtual => bool, media_info_dir => string, with_synthesis => string,  
    no-media-info => bool,  
    iso => string, downloader => string,  
    ignore => bool, update => bool, modified => bool, really_modified => bool,  
    unknown_media_info => bool,  
  } ],  
   
504  =back  =back
505    
506  =head1 SEE ALSO  =head1 SEE ALSO

Legend:
Removed from v.6158  
changed lines
  Added in v.6159

  ViewVC Help
Powered by ViewVC 1.1.30