FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux Pacman Development

LinkBack Thread Tools
Old 06-05-2008, 07:19 PM
Dan McGee
Default The official pacman repository branch, master, updated. v3.1.4-192-g5ae02e6

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The official pacman repository".

The branch, master has been updated
via 5ae02e6ae72b7648318e319eba9ab02f489d858a (commit)
via d030d12542dabfe0b6c648f48d2ff08b4feb4d41 (commit)
via 0966c33a72ce172526762ac988ee6edbbba07b52 (commit)
via fe781e4ce4ace4410bbc8bec441140cfc323d262 (commit)
via 0669c9bfac7aead01f1400444e691d542f7645c2 (commit)
via 62b4195c7680f9d404e175eb0869182efdd09ef2 (commit)
via 5f0692def87b5c15d2ad6606e95c9139187a8132 (commit)
via 636610432a8dc633812d323d3e85b639aabb3302 (commit)
from 54e1e3e642d834d8c676db7f74e95c6e24b19eab (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 5ae02e6ae72b7648318e319eba9ab02f489d858a
Author: Xavier Chantry <shiningxc@gmail.com>
Date: Wed May 28 23:25:40 2008 +0200

Don't display filename on -Qip operation.

Some previous commits apparently broke the get_filename function for package
loaded with pkg_load (on a -Qip operation) because this field was no longer
filled. Now pkg_load fills it.
But the -Qip operation needs to be run like this : -Qip <filename>, so the
filename is already known. There is no need to display it again.
Besides, on a normal -Qi operation, the filename is not displayed either
because this information is not stored in the local database.

Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>

commit d030d12542dabfe0b6c648f48d2ff08b4feb4d41
Author: Xavier Chantry <shiningxc@gmail.com>
Date: Wed May 28 22:55:03 2008 +0200

src/pacman/sync.c : cleanup of pacman_sync

By putting the search / group / info / list operations just after the -Sy
op, we can simplify several checks :
1) the check for "missing targets". Since we took care of the above
operations, we now have less cases to consider :
* -Syu or -Su : we can proceed
* -Sy : we can end now (this is actually a bugfix)
* -S : this op requires targets, so exit with an error
2) the check to see if a transaction is needed. If we arrive at the end of
the function, it is either because we have -Su or -S <targets> so we already
know a transaction is needed there.

Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>

commit 0966c33a72ce172526762ac988ee6edbbba07b52
Author: Xavier Chantry <shiningxc@gmail.com>
Date: Fri May 30 08:52:27 2008 +0200

Get rid of double / in database paths.

Errors like the following one happen regularly (for unknown reasons...) :
error: could not open file /var/lib/pacman/local//glibc-2.7-9/depends: No
such file or directory

Anyway, every time an user reported an error like that, it always seemed
like he thought the error was caused by the double /, which is obviously

Since db->path always include a trailing /, there is no need to add one when
concatenating paths in be_files.c or add.c.
Additionally, some static strings were switched to dynamic.
And the computation of the "dbpath"/"pkgname"-"pkgversion" was refactored
in db_read, db_write and db_remove with a get_pkgpath static function.

Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>

commit fe781e4ce4ace4410bbc8bec441140cfc323d262
Author: Dan McGee <dan@archlinux.org>
Date: Sun Jun 1 23:10:30 2008 -0500

Reimplement TotalDownload functionality

Add a new totaldlcb callback function to libalpm and make pacman utilize it
when the TotalDownload option is enabled. This callback function is pretty
simple- it is meant to be called once at the beginning of a "list download"
action, and once at the end (with value 0 to indicate the list has been
finished). The frontend is responsible for keeping track of adding
individual file download amounts to the total xfered amount in order to
display some sort of overall progress.

Signed-off-by: Dan McGee <dan@archlinux.org>

commit 0669c9bfac7aead01f1400444e691d542f7645c2
Author: Dan McGee <dan@archlinux.org>
Date: Sun Jun 1 21:47:31 2008 -0500

Use correct C type for file sizes

We have been using unsigned long as a file size type for a while, which
works but isn't quite correct and could easily break. Worse was probably our
use of int in the download callback functions, which could be restrictive
for packages > 2GB in size.

Switch all file size variables to use off_t, which is the preferred type for
file sizes. Note that at least on Linux, all applications compiled against
libalpm must now be sure to use large file support, where _FILE_OFFSET_BITS
is defined to be 64 or there will be some weird issues that crop up.

Signed-off-by: Dan McGee <dan@archlinux.org>

commit 62b4195c7680f9d404e175eb0869182efdd09ef2
Author: Dan McGee <dan@archlinux.org>
Date: Mon Jun 2 15:14:37 2008 -0500

libalpm/md5: Fix license header

This was mistakenly referencing the LGPL even after the XySSL code bump, so
fix the license clause to be correct.

Signed-off-by: Dan McGee <dan@archlinux.org>

commit 5f0692def87b5c15d2ad6606e95c9139187a8132
Author: Dan McGee <dan@archlinux.org>
Date: Fri May 30 19:32:28 2008 -0500

makepkg: remove some dead TODO code

Signed-off-by: Dan McGee <dan@archlinux.org>

commit 636610432a8dc633812d323d3e85b639aabb3302
Author: Dan McGee <dan@archlinux.org>
Date: Sat May 31 11:53:51 2008 -0500

Allow GIT version to be used in pacman builds

Add a new configure flag, --enable-git-version, that allows the output of
'git describe' to be used in the version string associated with this
package. This could aid in debugging for users that are using a development
version of pacman and we should be able to figure out which cut of code they
are using.

Sample output:
$ pacman --version
Pacman v3.1.4-190-g4cfa-dirty - libalpm v2.3.1

$ makepkg --version
makepkg (pacman) 3.1.4-190-g5861-dirty

Signed-off-by: Dan McGee <dan@archlinux.org>


Summary of changes:
configure.ac | 47 +++++++++++++++-------
lib/libalpm/add.c | 18 ++++++---
lib/libalpm/alpm.h | 20 ++++++----
lib/libalpm/be_files.c | 100 ++++++++++++++++++++++++++++++----------------
lib/libalpm/be_package.c | 9 +++-
lib/libalpm/db.c | 1 -
lib/libalpm/delta.c | 16 ++++----
lib/libalpm/delta.h | 8 ++-
lib/libalpm/dload.c | 6 +-
lib/libalpm/graph.h | 4 +-
lib/libalpm/handle.c | 18 ++++++++
lib/libalpm/handle.h | 1 +
lib/libalpm/md5.c | 5 +-
lib/libalpm/md5.h | 5 +-
lib/libalpm/package.c | 4 +-
lib/libalpm/package.h | 11 +++--
lib/libalpm/sync.c | 33 ++++++++++++---
scripts/Makefile.am | 9 ++++-
scripts/makepkg.sh.in | 7 ---
src/pacman/Makefile.am | 5 ++
src/pacman/callback.c | 81 ++++++++++++++++++++++++++++---------
src/pacman/callback.h | 6 ++-
src/pacman/package.c | 3 -
src/pacman/pacman.c | 11 +++++
src/pacman/sync.c | 76 +++++++++++++++++------------------
src/pacman/util.c | 2 +-
26 files changed, 332 insertions(+), 174 deletions(-)

The official pacman repository

pacman-dev mailing list

Thread Tools

All times are GMT. The time now is 08:11 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org