Changeset 292
- Timestamp:
- 01/11/11 21:21:59 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/trunk/web/lib/Sophie/Controller/Chat/Cmd.pm
r291 r292 204 204 } 205 205 206 =head2 q REGEXP206 =head2 q [-d distrib] [-r release] [-a arch] [-s] REGEXP 207 207 208 208 Search rpm name matching C<REGEXP>. … … 222 222 'd=s' => \$reqspec->{distribution}, 223 223 'v=s' => \$reqspec->{release}, 224 'r=s' => \$reqspec->{release}, 224 225 'a=s' => \$reqspec->{arch}, 225 226 's' => sub { $reqspec->{src} = 1 }, … … 249 250 } 250 251 251 =head2 whatis WORD [WORD2 [...]]252 =head2 whatis [-d distrib] [-r release] [-a arch] [-s] WORD [WORD2 [...]] 252 253 253 254 Search rpm having description containing words given as arguments … … 264 265 'd=s' => \$reqspec->{distribution}, 265 266 'v=s' => \$reqspec->{release}, 267 'r=s' => \$reqspec->{release}, 266 268 'a=s' => \$reqspec->{arch}, 267 269 's' => sub { $reqspec->{src} = 1 }, … … 301 303 } 302 304 303 =head2 version [- s] NAME305 =head2 version [-d distrib] [-r release] [-a arch] [-s] NAME 304 306 305 307 Show the version of package C<NAME>. … … 317 319 'd=s' => \$reqspec->{distribution}, 318 320 'v=s' => \$reqspec->{release}, 321 'r=s' => \$reqspec->{release}, 319 322 'a=s' => \$reqspec->{arch}, 320 323 's' => sub { $reqspec->{src} = 1 }, … … 354 357 =head2 v 355 358 356 C<v> is an alias for L<version> command.359 C<v> is an alias for C<version> command. 357 360 358 361 =cut … … 363 366 } 364 367 365 =head2 summary [- s]NAME368 =head2 summary [-d distrib] [-r release] [-a arch] [-s] NAME 366 369 367 370 Show the summary of package C<NAME>. … … 386 389 } 387 390 388 =head2 packager [- s]NAME391 =head2 packager [-d distrib] [-r release] [-a arch] [-s] NAME 389 392 390 393 Show the packager of package C<NAME>. … … 409 412 } 410 413 411 =head2 arch [- s]NAME414 =head2 arch [-d distrib] [-r release] [-a arch] [-s] NAME 412 415 413 416 Show the architecture of package C<NAME>. … … 432 435 } 433 436 434 =head2 url [- s]NAME437 =head2 url [-d distrib] [-r release] [-a arch] [-s] NAME 435 438 436 439 Show the url of package C<NAME>. … … 455 458 } 456 459 457 =head2 group [- s] NAME460 =head2 group [-d distrib] [-r release] [-a arch] [-s] NAME 458 461 459 462 Show the group of package C<NAME>. … … 478 481 } 479 482 480 =head2 license [- s] NAME483 =head2 license [-d distrib] [-r release] [-a arch] [-s] NAME 481 484 482 485 Show the license of package C<NAME>. … … 501 504 } 502 505 503 =head2 buildtime [- s] NAME506 =head2 buildtime [-d distrib] [-r release] [-a arch] [-s] NAME 504 507 505 508 Show the build time of package C<NAME>. … … 535 538 } 536 539 537 =head2 cookie [- s]NAME540 =head2 cookie [-d distrib] [-r release] [-a arch] [-s] NAME 538 541 539 542 Show the C<cookie> tag of package C<NAME>. … … 547 550 } 548 551 549 =head2 sourcerpm NAME552 =head2 sourcerpm [-d distrib] [-r release] [-a arch] [-s] NAME 550 553 551 554 Show the C<sourcerpm> tag of package C<NAME>. … … 571 574 } 572 575 573 =head2 rpmversion NAME576 =head2 rpmversion [-d distrib] [-r release] [-a arch] [-s] NAME 574 577 575 578 Show the C<rpmversion> tag of package C<NAME>. … … 596 599 597 600 598 =head2 buildhost NAME601 =head2 buildhost [-d distrib] [-r release] [-a arch] [-s] NAME 599 602 600 603 Show the C<buildhost> tag of package C<NAME>. … … 634 637 635 638 636 =head2 distribution NAME639 =head2 distribution [-d distrib] [-r release] [-a arch] [-s] NAME 637 640 638 641 Show the C<distribution> tag of package C<NAME>. … … 660 663 661 664 662 =head2 vendor NAME665 =head2 vendor [-d distrib] [-r release] [-a arch] [-s] NAME 663 666 664 667 Show the C<vendor> tag of package C<NAME>. … … 672 675 } 673 676 674 677 =head2 qf [-d distrib] [-r release] [-a arch] [-s] NAME FMT 678 679 Perform an rpm -q --qf C<FMT> on package C<NAME>. 680 681 =cut 675 682 676 683 sub qf : XMLRPC { … … 683 690 'd=s' => \$reqspec->{distribution}, 684 691 'v=s' => \$reqspec->{release}, 692 'r=s' => \$reqspec->{release}, 685 693 'a=s' => \$reqspec->{arch}, 686 694 's' => sub { $reqspec->{src} = 1 }, … … 723 731 } 724 732 725 =head2 more NAME733 =head2 more [-d distrib] [-r release] [-a arch] [-s] NAME 726 734 727 735 Show url where details about package named C<NAME> can be found … … 738 746 'd=s' => \$reqspec->{distribution}, 739 747 'v=s' => \$reqspec->{release}, 748 'r=s' => \$reqspec->{release}, 740 749 'a=s' => \$reqspec->{arch}, 741 750 's' => sub { $reqspec->{src} = 1 }, … … 772 781 } 773 782 774 =head2 buildfrom NAME783 =head2 buildfrom [-d distrib] [-r release] [-a arch] NAME 775 784 776 785 Return the list of package build from source package named C<NAME> … … 786 795 'd=s' => \$reqspec->{distribution}, 787 796 'v=s' => \$reqspec->{release}, 797 'r=s' => \$reqspec->{release}, 788 798 'a=s' => \$reqspec->{arch}, 789 799 }, @args ]) }; … … 822 832 } 823 833 824 =head2 findfile FILE834 =head2 findfile [-d distrib] [-r release] [-a arch] [-s] FILE 825 835 826 836 Return the rpm owning the file C<FILE>. … … 838 848 'd=s' => \$reqspec->{distribution}, 839 849 'v=s' => \$reqspec->{release}, 850 'r=s' => \$reqspec->{release}, 840 851 'a=s' => \$reqspec->{arch}, 852 's' => \$reqspec->{src}, 841 853 }, @args ]) }; 842 854 … … 873 885 } 874 886 887 =head2 what [-d distrib] [-r release] [-a arch] [-s] p|r|c|o|e|s DEP [SENSE [EVR]] 888 889 Search rpm matching having matching dependencies (provides, requires, conflicts, 890 obsoletes, enhanced or suggests) 891 892 =cut 893 875 894 sub what : XMLRPC { 876 895 my ($self, $c, $reqspec, @args) = @_; … … 880 899 'd=s' => \$reqspec->{distribution}, 881 900 'v=s' => \$reqspec->{release}, 901 'r=s' => \$reqspec->{release}, 882 902 'a=s' => \$reqspec->{arch}, 883 903 's' => \$reqspec->{src}, … … 911 931 } 912 932 913 =head2 maint RPMNAME933 =head2 maint [-d distrib] [-r release] [-a arch] [-s] RPMNAME 914 934 915 935 Show the maintainers for the rpm named C<RPMNAME>. … … 925 945 'd=s' => \$reqspec->{distribution}, 926 946 'v=s' => \$reqspec->{release}, 947 'r=s' => \$reqspec->{release}, 927 948 'a=s' => \$reqspec->{arch}, 949 's' => \$reqspec->{src}, 928 950 }, @args ]) }; 929 951 if (!$c->forward('/distrib/exists', [ $reqspec ])) {
Note: See TracChangeset
for help on using the changeset viewer.