YUM::RepoQuery(3)
π YUM::RepoQuery π
okay so bestie, welcome to YUM::RepoQuery β a lil Perl module from the User Contributed Perl Documentation corner of the man pages, and she is so useful. no cap.
β¨ NAME β¨
YUM::RepoQuery β query a YUM repository for package information π
πΈ VERSION πΈ
version 0.002
yes she's baby. we'll get to that. π«Ά
π¦ SYNOPSIS π¦
use YUM::RepoQuery;
my $repo = YUM::RepoQuery->new(
# short tag to id the repo with
id => 'f9-updates-src'
# uri to the repository
uri => 'ftp://mirrors.kernel.org/fedora/updates/9/SRPMS',
);
look at her go. two args and you're in. π
π DESCRIPTION π
YUM::RepoQuery takes the URI to a package repository with YUM metadata, and lets you query what packages β and which versions of those packages β are available in that repo. it's giving "I just want to know what's in here" energy and honestly? valid.
WARNING: This is a very early, primitive package. "Release early, release often", right? :) π
she said it, not me. but she's honest about it and that's iconic.
π₯ INTERFACE π₯
"Release Early, Release Often" π
There's a bunch more that we can do here (not the least of which is documentation!). As I get time, I'll be updating and adding more; please feel free to drop a line with patches / requests either at my email or (preferably) at this module's rt tracker address (bug-yum-repoquery@rt.cpan.org). π«Ά
π§ METHODS π§
new()
Standard constructor. Takes a number of arguments, two of which are required:
idβ (Required) The id one refers to this repo as. Used mainly in looking for existing yum cache directories under/var/tmp/.uriβ (Required) The URI of the repository.
primary
The DBIx::Class schema corresponding to this repository's primary.sqlite. π
other
The DBIx::Class schema corresponding to this repository's other.sqlite.
filelists
The DBIx::Class schema corresponding to this repository's filelists.sqlite.
packages
An array of all packages in this repo. the whole roster, bestie. β
package_count
Returns the count of all packages in this repository.
has_package (str)
When called with a package name, returns true if that package exists in this repository.
get_package (str)
Given a package name, returns the row object corresponding to it.
π BUGS AND LIMITATIONS π
No bugs have been reported. π
There's a lot of room for improvement here; a better set of accessors + tests would certainly be nice. (real.)
Please report any bugs or feature requests to bug-yum-repoquery@rt.cpan.org, or through the web interface at <http://rt.cpan.org>.
π AUTHOR π
Chris Weyl <cweyl@alumni.drew.edu>
π COPYRIGHT AND LICENSE π
This software is Copyright (c) 2011 by Chris Weyl.
This is free software, licensed under:
The GNU Lesser General Public License, Version 2.1, February 1999
and that's the whole page, bestie β¨ this one shipped as part of the User Contributed Perl Documentation, built for perl v5.42.0 and dated 2025-07-25 β mwah, slay, go query some repos. ππΈπ¦
π¦ where this page comes from
- fedora 43: perl-YUM-RepoQuery 0.002-38.fc43 Β· LicenseRef-Callaway-LGPLv2+
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms