[pacman-dev] [GIT] The official pacman repository branch, master, updated. v3.4.1-97-g5fcb005
Dan McGee
dan at archlinux.org
Mon Oct 11 22:05:05 EDT 2010
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 5fcb005ebd270c1ecff3403695680145253961a2 (commit)
via 827258f32ee898ed5422bc9219d9a42bd9bd2360 (commit)
via 0ff2a9149711b9179d288f579c792890cd81d79b (commit)
via 05f0a28932c1acab7a9ddb58435d69626dad54da (commit)
via bce3c8efc7a2d187984aa0e7037307b99c217fd7 (commit)
via 7d937772313a796f4c0bff76bf1bd7d78f8ccb5a (commit)
via c9179b09db405e89093c07756d8e674ff8119ea2 (commit)
via 53b41afbe8c47afaa5daf94f4e66cab81bd024cd (commit)
via fb79d58109ff5a55ac3cea83607eb41e70456b17 (commit)
from 46ffd342a4255916a9599692b5969ae4cd85a156 (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 5fcb005ebd270c1ecff3403695680145253961a2
Author: Jakob Gruber <jakob.gruber at gmail.com>
Date: Fri Oct 8 22:59:30 2010 +0200
CLI args: stricter/better parsing
In the following, the letters SRUDQ refer to the corresponding pacman
operations.
Most of the work in this commit is about removing as many options as
possible from the global section and moving them to where they actually
belong.
Additionally, --ignore{,group} are added to U and --dbonly is added
to S.
--dbonly added to S
--asdeps moved to S/U/D
--asexplicit moved to S/U/D
--print-format moved to S/U/R
--noprogressbar moved to S/U/R
--noscriptlet moved to S/U/R
--ignorepkg added to U
--ignoregrp added to U
-d moved to S/U/R (--nodeps) and Q (--deps)
-p moved to S/U/R (--print) and Q (--file)
-f moved to S/U
Signed-off-by: Xavier Chantry <chantry.xavier at gmail.com>
Signed-off-by: Dan McGee <dan at archlinux.org>
commit 827258f32ee898ed5422bc9219d9a42bd9bd2360
Author: Jakob Gruber <jakob.gruber at gmail.com>
Date: Fri Oct 8 22:34:17 2010 +0200
CLI args: reorganize parsing
Split parsing of CLI arguments into separate functions:
parsearg_op (operations)
parsearg_global (global options)
parsearg_{database,query,remove,sync,deptest,upgrade}
Organization strictly follows the manpage (even where the manpage is
incorrect) - these cases will be fixed in the following commits.
Switch cases are copy/pasted and statements unrelated to chosen
operation are deleted.
Parsing logic adjusted as follows:
1) Parse operation
2) If we can bail out early (duplicate op, help/version requested) do so
3) Parse arguments again:
foreach arg:
if arg is operation:
continue
tryparse_args_specific_to_op
if unsuccessful tryparse_args_global
if unsuccessful print error message and exit
Signed-off-by: Xavier Chantry <chantry.xavier at gmail.com>
Signed-off-by: Dan McGee <dan at archlinux.org>
commit 0ff2a9149711b9179d288f579c792890cd81d79b
Author: Dan McGee <dan at archlinux.org>
Date: Mon Oct 11 20:20:06 2010 -0500
util: fall cleaning on single file programs
* Add a bunch of static declarations where possible
* Fix void functions to be proper syntax, e.g. void func(void)
* Consistency fixes (such as argv references)
* Remove dead str_cmp() function from testdb
* Remove unneeded config.h header includes
* vercmp: remove completely unnecessary string copying
Signed-off-by: Dan McGee <dan at archlinux.org>
commit 05f0a28932c1acab7a9ddb58435d69626dad54da
Author: Nezmer <git at nezmer.info>
Date: Tue Oct 12 02:23:16 2010 +0300
Use sysconfdir, localstatedir, BASH instead of hardcoded values
This applies to contrib/ files, our scripts, and the documentation.
Dan: fix 'make clean' in contrib/ directory.
Signed-off-by: Nezmer <git at nezmer.info>
Signed-off-by: Dan McGee <dan at archlinux.org>
commit bce3c8efc7a2d187984aa0e7037307b99c217fd7
Author: Nezmer <git at nezmer.info>
Date: Tue Oct 12 00:20:57 2010 +0300
Add .in extension to files in contrib
This is needed If we want to use sysconfdir,localstatedir and other variables.
Signed-off-by: Nezmer <git at nezmer.info>
Signed-off-by: Dan McGee <dan at archlinux.org>
commit 7d937772313a796f4c0bff76bf1bd7d78f8ccb5a
Author: Xavier Chantry <chantry.xavier at gmail.com>
Date: Mon Oct 11 18:28:35 2010 +0200
repo-add: more informative delta messages
- Print an error if database entry was not found and delta entry cannot
be added
- More informative line when delta entry is added (oldfile -> newfile)
Signed-off-by: Xavier Chantry <chantry.xavier at gmail.com>
Signed-off-by: Dan McGee <dan at archlinux.org>
commit c9179b09db405e89093c07756d8e674ff8119ea2
Author: Xavier Chantry <chantry.xavier at gmail.com>
Date: Mon Oct 11 17:08:00 2010 +0200
repo-add: add delta generation
This allows deltas to be generated at repo-add invocation time as opposed to
just added to the database. It will generate the delta from the package
version currently in the database.
Signed-off-by: Xavier Chantry <shiningxc at gmail.com>
Signed-off-by: Dan McGee <dan at archlinux.org>
commit 53b41afbe8c47afaa5daf94f4e66cab81bd024cd
Author: Xavier Chantry <chantry.xavier at gmail.com>
Date: Wed Aug 18 23:53:29 2010 +0200
pactest: fix typo in ignore001
Signed-off-by: Xavier Chantry <chantry.xavier at gmail.com>
Signed-off-by: Dan McGee <dan at archlinux.org>
commit fb79d58109ff5a55ac3cea83607eb41e70456b17
Author: Nezmer <git at nezmer.info>
Date: Mon Oct 11 22:16:49 2010 +0300
makepkg: Use mkfifo instead of GNU-only 'mknod <file> p'
'mknod <file> p' is apparently GNU-only. Looking at coreutils' source
code, It just calls mkfifo.
This one line patch should fix makepkg logging in non-GNU systems.
Signed-off-by: Nezmer <git at nezmer.info>
Signed-off-by: Dan McGee <dan at archlinux.org>
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 1 +
contrib/Makefile.am | 33 ++-
contrib/{PKGBUILD.vim => PKGBUILD.vim.in} | 0
contrib/{bacman => bacman.in} | 16 +-
contrib/{bash_completion => bash_completion.in} | 0
contrib/{pacdiff => pacdiff.in} | 2 +-
contrib/{paclist => paclist.in} | 0
contrib/{pacscripts => pacscripts.in} | 8 +-
contrib/{pacsearch => pacsearch.in} | 0
contrib/{pactree => pactree.in} | 10 +-
contrib/{vimprojects => vimprojects.in} | 0
contrib/{wget-xdelta.sh => wget-xdelta.sh.in} | 10 +-
contrib/{zsh_completion => zsh_completion.in} | 18 +-
doc/Makefile.am | 1 +
doc/makepkg.8.txt | 2 +-
doc/pacman.8.txt | 30 +-
doc/pacman.conf.5.txt | 12 +-
scripts/Makefile.am | 1 +
scripts/makepkg.sh.in | 4 +-
scripts/pacman-optimize.sh.in | 2 +-
scripts/pkgdelta.sh.in | 2 +-
scripts/rankmirrors.sh.in | 4 +-
scripts/repo-add.sh.in | 36 ++-
src/pacman/pacman.c | 453 +++++++++++++++--------
src/util/cleanupdelta.c | 8 +-
src/util/testdb.c | 17 +-
src/util/testpkg.c | 6 +-
src/util/vercmp.c | 23 +-
test/pacman/tests/ignore001.py | 2 +-
test/pacman/tests/pacman005.py | 3 -
30 files changed, 438 insertions(+), 266 deletions(-)
rename contrib/{PKGBUILD.vim => PKGBUILD.vim.in} (100%)
rename contrib/{bacman => bacman.in} (95%)
rename contrib/{bash_completion => bash_completion.in} (100%)
rename contrib/{pacdiff => pacdiff.in} (99%)
rename contrib/{paclist => paclist.in} (100%)
rename contrib/{pacscripts => pacscripts.in} (95%)
rename contrib/{pacsearch => pacsearch.in} (100%)
rename contrib/{pactree => pactree.in} (97%)
rename contrib/{vimprojects => vimprojects.in} (100%)
rename contrib/{wget-xdelta.sh => wget-xdelta.sh.in} (88%)
rename contrib/{zsh_completion => zsh_completion.in} (92%)
hooks/post-receive
--
The official pacman repository
More information about the pacman-dev
mailing list