1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-11-15 05:45:03 -05:00
Commit Graph

2543 Commits

Author SHA1 Message Date
Aaron Griffin
803f92b6a6 James Rosten <seinfeld90@gmail.com>
* _alpm_remove_commit refactoring
* clean up/fixes by Dan McGee <dpmcgee@gmail.com>
2007-01-17 04:47:19 +00:00
Aaron Griffin
726e90dc2c Jürgen Hötzel <juergen@hoetzel.info>
* avoid repeated regex compilations (regex for search string do not
 change while scanning the package database)

* remove needless string duplication (regex function do not change target
 string nor free them)

* code cleanup

This patch improves search performance:

bash-3.2$ time ./src/pacman/pacman.static.old -Ss "(database|web).*server" >/dev/null

real    0m1.026s
user    0m0.544s
sys     0m0.208s
bash-3.2$ time ./src/pacman/pacman.static -Ss "(database|web).*server" >/dev/null

real    0m0.777s
user    0m0.456s
sys     0m0.128s
bash-3.2$
2007-01-17 03:57:53 +00:00
Aaron Griffin
2e352141d7 James Rosten <seinfeld90@gmail.com>
* rankmirrors addition of single url testing
2007-01-17 03:48:02 +00:00
Aaron Griffin
42f8b8b2d3 cvsignore cleanup and additions 2007-01-17 03:40:08 +00:00
Aaron Griffin
8d2f00c059 Added Jamie (yankees26) 2007-01-11 20:30:58 +00:00
Aaron Griffin
4a7351c77a *** empty log message *** 2007-01-11 20:05:13 +00:00
Aaron Griffin
2a457c5319 * Jrgen Htzel <juergen@hoetzel.info>
_alpm_db_load_pkgcache: use mergesort to improve performance
2007-01-11 17:44:39 +00:00
Aaron Griffin
2ae56f4bc9 * Dan McGee <dpmcgee@gmail.com>
remove configure check for bzip2
2007-01-11 17:34:51 +00:00
Aaron Griffin
244fb2a264 * Dan McGee <dpmcgee@gmail.com>
Documentation cleanup
2007-01-11 17:32:49 +00:00
Aaron Griffin
c7139c4b78 * James Rosten <seinfeld90@gmail.com>
Cleanup and fixes from last patch
  Fix some tar error conditions

* Dan McGee <dpmcgee@gmail.com>
  USECOLOR from rc.conf
2007-01-11 17:22:21 +00:00
Aaron Griffin
3950a5f406 * cosmetic: newline after "local database is up to date" 2007-01-03 15:32:07 +00:00
Aaron Griffin
043a49701f * bug fix FS#6100 - fix --print-uris output 2007-01-03 08:05:13 +00:00
Aaron Griffin
50030f778a * Bug fix FS#6058
properly remove entries from "Required By" instead of wiping it out entirely
2007-01-03 06:13:08 +00:00
Aaron Griffin
65e086e0e3 *** empty log message *** 2007-01-03 05:45:29 +00:00
Aaron Griffin
64e2eba268 * James Rosten <seinfeld90@gmail.com>
FS#5009 fixes - use tar on the pacman DB so as to handle cases where the
    base directory cannot be 'mv'ed and other such edge cases.
2007-01-03 05:45:18 +00:00
Aaron Griffin
86c8300924 * Added instructions for patch submission 2007-01-02 23:48:36 +00:00
Aaron Griffin
61d03cc345 * Missing error label in sync.c
* Additional debug output for db_write
2007-01-02 22:29:48 +00:00
Aaron Griffin
776a45ce7c * James Rosten <seinfeld90@gmail.com>
Makepkg dep removal on failure FS#5923
2007-01-02 16:34:50 +00:00
Aaron Griffin
37ae56e140 * Fix a missing slash separator in printed uri 2006-12-29 17:07:34 +00:00
Aaron Griffin
07c1309009 * Removed latest fix from TODO.autoconf
* Attempted fix for FS#6100 - "-Spd foo" failure
* Beginning of refactoring from Dan McGee <dpmcgee@gmail.com>
2006-12-29 17:04:58 +00:00
Aaron Griffin
5e2d757c34 * Removed autoconf TODO fixed in last commit
* Dan McGee <dpmcgee@gmail.com>
   pacman-optimize checking fixes
2006-12-28 18:19:25 +00:00
Aaron Griffin
d59585c24f Column fix when stdout is redirected. Default to 80. 2006-12-28 17:20:41 +00:00
Aaron Griffin
23f0f778ef Removed archlinux.de mirror by request 2006-12-28 17:13:12 +00:00
Aaron Griffin
2546a35cd5 Configuration changes:
* Added libdownload check in configure.ac
* Added generation for mirrorlists in pacman.d
    NOTE: autoconf sucks for things like this, so gen-mirrorlist is required

Dan McGee <dpmcgee@gmail.com>:
    * mirrorlist.in file

Roman Kyrylych <roman.kyrylych@gmail.com>:
    * ukrainian mirror

Jürgen Hötzel <juergen@hoetzel.info>:
    * conditional build for pacman.static
2006-12-28 16:54:35 +00:00
Aaron Griffin
8eac207ead *** empty log message *** 2006-12-22 19:42:28 +00:00
Aaron Griffin
e3aace4a4d Cleanup from Dan McGee <dpmcgee@gmail.com> and Jürgen Hötzel <juergen@hoetzel.info>
* configure swig check
* misc libalpm cleanup
2006-12-22 19:38:55 +00:00
Aaron Griffin
d8d8221556 Modified front end output routines to accept a "padding' setting, which pads any
statement with ' ' until the size of the terminal.  The rationale is that, when
a log message is emitted during progress bar display, the terminal is artifacted.
This prevents that messiness.
2006-12-22 07:11:20 +00:00
Aaron Griffin
796490546e * Properly fix the NoUpgrade issues. 2006-12-22 06:07:33 +00:00
Aaron Griffin
2a89808667 * Unused variable 'path' 2006-12-22 04:47:36 +00:00
Aaron Griffin
42a0dddc95 * FS#5990 fix (trailing slash)
* Added !testing to default SUPFILES
2006-12-22 00:48:16 +00:00
Aaron Griffin
7f8ee3d1b1 Fixes from Dan McGee <dpmcgee@gmail.com> and myself
* quoting and $() changes
* remove a boatload of duplications (previous patching)
* added user-based config file ~/.abs.conf (for fun)
* fixed CONNMODE usage
2006-12-21 23:10:20 +00:00
Aaron Griffin
3e3f30a212 Jrgen Htzel <juergen@hoetzel.info>
* fix in_array variables and usage
* correct the final compression - 'filelist' was unused
2006-12-21 20:50:24 +00:00
Aaron Griffin
f104023999 * Dan McGee <dpmcgee@gmail.com>
Formating / comment changes
   Fix dep check conditional
2006-12-21 20:03:41 +00:00
Aaron Griffin
7dacc70b77 Errors with last merge (manual patching)
Misc fixes from Dan McGee <dpmcgee@gmail.com>
2006-12-21 19:11:22 +00:00
Aaron Griffin
77b4d0d013 *untested* potential fix for the NoUpgrade issues. 2006-12-21 18:04:49 +00:00
Aaron Griffin
2689fba656 Restored NoUpgrade options - see http://www.archlinux.org/pipermail/pacman-dev/2006-December/000838.html for details 2006-12-21 17:51:50 +00:00
Aaron Griffin
1c67053b7d Added default SRCDST setting to pacman's source cache 2006-12-21 17:44:55 +00:00
Aaron Griffin
42a6acf739 * Dan McGee <dpmcgee@gmail.com>
DOC_DIRS variable for documentation removal
   repackage option
   structure cleanup
   some option removal (--keepdocs, --nostrip)
   output fixes (msg and msg2)

* Jrgen Htzel <juergen@hoetzel.info>
   user-specific makepkg.conf (~/.makepkg.conf)
2006-12-21 17:42:58 +00:00
Aaron Griffin
1bdf36f419 * Jrgen Htzel <juergen@hoetzel.info>
Fixe java swig requirement for configure
2006-12-21 17:15:24 +00:00
Aaron Griffin
74e347f09b * modeline fixes / reformatting
* formatting / indentation fixes
* makepkg:
    Dan McGee <dpmcgee@gmail.com> - integrity check fix
    Jürgen Hötzel <juergen@hoetzel.info> - EUID usage and "x$foo" check revamp
2006-12-21 01:53:40 +00:00
Aaron Griffin
b1fbcd3ab5 *** empty log message *** 2006-12-19 08:16:47 +00:00
Aaron Griffin
78a1a0ac10 More abs build fixes 2006-12-19 07:58:29 +00:00
Aaron Griffin
a551289265 * Added etc/abs dir to configure generated makefiles 2006-12-19 07:49:51 +00:00
Aaron Griffin
ef8fd03c33 Makefile adjustments for installation rules:
added all the newer scripts/
    added pacman.d and abs sysconf subdirs
Minor makepkg revert for previous change to 'errexit' shell option
2006-12-19 07:39:44 +00:00
Aaron Griffin
ff23064fa2 FS #3289 fix from Dan McGee <dpmcgee@gmail.com> 2006-12-18 17:45:16 +00:00
Aaron Griffin
b308f06a3a * Dan McGee's makepkg updates http://www.archlinux.org/pipermail/pacman-dev/2006-December/000792.html
* configure fixes (CFLAGS)
* no-strict-aliasing hacks until full C99 compliance
* --with-config-file configure option
2006-12-14 05:23:08 +00:00
Aaron Griffin
f45b3356f8 Copy/pasta errors from mail client. Fixed. 2006-12-08 22:39:53 +00:00
Aaron Griffin
0543325ba1 rankmirrors script from Dan McGee <dpmcgee@gmail.com>
Original Idea copyright (c) 2006 R.G. <chesercat>
Modified 2006 by Dan McGee <dpmcgee@gmail.com>
2006-12-08 22:07:34 +00:00
Aaron Griffin
954901801f Merged some proposed changes from "Dan McGee" <dpmcgee@gmail.com>
* Removal of confusing sortmirrors comment
* Removal of NoUpgrade defaults (handled by packages)
* Move of unstable below community, to illustrate preference.
2006-12-08 20:06:13 +00:00
Aaron Griffin
716e9ef095 A few minor updates so --root works again. 2006-12-08 08:17:41 +00:00