ALPM
view release on metacpan or search on metacpan
initialized. In libalpm these are called handles. Here they are simply
objects. You will have to change every class method (ALPM->foo) to use
an ALPM object method instead ($alpm->foo). Luckily I decided to use
class methods years ago so this will be less painful.
*** ALPM errors are stored inside handles.
This makes things more difficult for me. Given an ALPM::DB object, if you
call a method on that object and the method fails, I cannot croak an error
message internally because the ALPM handle is not available.
** ALPM::Group is no longer a class.
Packages groups are now simply lists of packages. When you lookup one
specific group then a list is returned. When querying every single
group (i.e. with ALPM::DB's groups method) a list of name/value pairs
is returned to store it into a hash.
* Release 2.01
** Fix tests to work with custom PKGEXT :BUGFIX:
Tests were failing to work when using a different PKGEXT.
** load_pkgfile error changes to croak instead of die :BUGFIX:
A minor problem I found.
* Release 2.00
** Upgrade for Pacman 3.5
Converted to the new libalpm that is distributed with pacman 3.5.
*** alpm_db_register_local removed
You don't have to call ALPM->register() to register the local DB.
The local DB is registered automatically when you call
ALPM->localdb aka ALPM->get_opt( 'localdb' ). ALPM::ParseConfig
no longer takes the 'autoregister' parameter.
*** Transaction functions absorbed into install() and uninstall()
The two new ALPM::Transaction methods, install and uninstall,
replace the old sync, pkgfile, remove, and sync_from_db
methods.
The new methods take package objects as arguments. The old
methods took package names as arguments. This reflects the same
libalpm changes.
** ALPM method aliases removed
For some reason I made aliases everytime I changed a function name.
I don't think anyone uses this module anyways so I just yanked out
a bunch of old method aliases I had setup. The following are
removed from the ALPM class, just use their alternate names.
|----------------+--------------|
| Removed Method | "New" Method |
|----------------+--------------|
| register_db | register |
| transaction | trans |
| action | trans |
| databases | dbs |
| repodb | db |
|----------------+--------------|
** New Changelog Format
Ditched the old GNU-style ChangeLog format for an org-mode file. Old
ChangeLog entries are at the end of the file...
* Previous Releases
2011-03-05 Justin Davis <juster@cpan.org>
* RELEASE (1.03)
* t: Fix many tests that rely on English language error messages.
* lib/ALPM/LoadConfig.pm (_make_parser): Change the pacman.conf
parser to properly recognize fields which are only field names.
"= <value>" does not necessary follow them.
2011-03-04 Justin Davis <juster@cpan.org>
* RELEASE (1.02)
* lib/ALPM/LoadConfig.pm: Fix bug where config file repos could
not have hyphens ("-"). Reported by knotty.
2010-11-21 Justin Davis <juster@cpan.org>
* lib/ALPM/Package.pm (attribs): Fix attribs to return a list and
not an array reference.
2010-06-22 Justin Davis <juster@cpan.org>
* lib/ALPM.pm (transaction): Removed type parameter from
transaction method.
* ALPM.xs: Renamed ALPM::DB method set_server to add_url.
2010-05-29 Justin Davis <juster@cpan.org>
* RELEASE (0.08): Uploaded to CPAN.
* typemap (find_group): Fix a bug with group type conversion.
This caused ALPM::DB::find_group() to croak instead of (properly)
returning undef when given a group name that didn't exist.
Reported by Andre Schmidt. Thanks!
2010-05-24 Justin Davis <juster@cpan.org>
* ALPM.xs (ALPM::Package): Renamed compute_requiredby method to
requiredby.
2010-05-02 Justin Davis <juster@cpan.org>
* t/04-FakeRepos.t: Add support for .pkg.tar.xz package files.
* lib/ALPM/LoadConfig.pm: Add support for UseDelta setting in
pacman.conf.
2010-01-25 Justin Davis <jrcd83@gmail.com>
( run in 0.743 second using v1.01-cache-2.11-cpan-39bf76dae61 )