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

1018 Commits

Author SHA1 Message Date
Aaron Griffin
a474586d15 Just some changes to my TODO 2007-02-23 02:15:00 +00:00
Aaron Griffin
d584d8c068 * Modified the handling and output w.r.t. IgnorePkg entries. -Sy always ignores
these packages, but -S explicitly asks for confirmation.
2007-02-23 02:10:56 +00:00
Dan McGee
c799433e42 * Updated distcheck target- added some flags so pactest is 100% correct.
* Added a Makefile.am so contrib/ folder is included in dist.
2007-02-23 02:00:30 +00:00
Aaron Griffin
89046c32a3 * Prepend all lists with _ for consistency
* Fixed IFS. It seems there's no easy way to get a newline IFS without setting
  it like so:
  IFS="
" #ewww gross
2007-02-23 01:29:14 +00:00
Dan McGee
332c127109 Big commit here, I'll try to cover all the bases.
* Updated all of the language files, as the POT file was updated. NOTE FOR
  TRANSLATORS, try to base your next contribution off of these, notice how
  some msgids and messages have been wrapped to the next line- it makes it
  easier to read anyway.
* More Makefile.am/configure.ac updates. 'make dist' and 'make distclean' now
  work properly, with only one caveat- the automatic testing in distclean
  doesn't do so hot as it is compiled with a default configure, which includes
  the fakeroot-proof code (which does not cooperate with pactest).
* Added a Makefile.am for the pactest directory.
2007-02-22 21:34:51 +00:00
Dan McGee
ef4728903d * Update the translation POT files- I don't want to do this daily but the
current ones were a bit out of date.
2007-02-22 16:14:11 +00:00
Dan McGee
90129490e8 * Updated German translations.
Pierre Schmitz <pierre@archlinux.de>
* Updated Italian translations.
  Giovanni Scafora <linuxmania@gmail.com>
2007-02-22 16:10:32 +00:00
Dan McGee
3cda6f4f6b * Rewrote pactest with an OptionParser so we can have helpful help text, and
bumped the version to 0.4. Still a work in progress.
* Changed some linewraps in rankmirrors to keep everything under 80 chars.
2007-02-22 08:06:54 +00:00
Aaron Griffin
cd2309eb73 * debug cleanup (more)
* Fixed conflict checking.  I had mistakenly assumed that the transaction
  packages were of type 'pmsyncpkg_t', but that is not the case.  Reverted back
  to pmpkg_t's and fixed some checking a bit.

* pactest results: PASSED =  71 (100.00%)
2007-02-22 06:36:05 +00:00
Aaron Griffin
37a3f26d2a * Forgot the second printf in the last commit 2007-02-22 04:46:34 +00:00
Aaron Griffin
871e123cf3 * Cleaned up some debug output
* Fixed a segfault in the conflict checking code
* Added an automatic failure in the case of -A/-U for a replacement of an
  existing package.  This requires a large amount of work and is postponed for
  now.  Example:
    If ncmpc is installed, pacman -U /path/to/ncmpc-svn.pkg.tar.gz will fail
    with and appropriate error message
2007-02-22 04:42:59 +00:00
Dan McGee
3595201f5f * A lot of Makefile.am updates to try to get 'make dist' and 'make distcheck'
to work as expected.
2007-02-22 04:36:02 +00:00
Aaron Griffin
3b95de655b * Using positional params (POSIX compliant, not C standard) for printfs that
require a lot of duplicates - this may or may not be a good idea with regards
  to portability, but we'll see
2007-02-22 04:32:09 +00:00
Dan McGee
4bb58ef117 * Updated Italian translation
Giovanni Scafora <linuxmania@gmail.com>
2007-02-21 19:27:38 +00:00
Dan McGee
c79f4880bb Ignore pactest-created root directory 2007-02-21 18:52:07 +00:00
Dan McGee
a5f630fda6 * Fixed inconsistency of args- _alpm_db_read, _alpm_db_write. 2007-02-21 08:34:36 +00:00
Dan McGee
829ac8369b * Slight message change for consistancy- add a ' ' (space char) at the
beginning to match the way other repos are displayed.
* TODO updates.
2007-02-21 08:16:26 +00:00
Dan McGee
360565662c Fixed up the output a bit. 2007-02-21 07:13:16 +00:00
Aaron Griffin
4f9aa100a6 TODO updates 2007-02-21 07:12:34 +00:00
Aaron Griffin
436f36c76b * Re-added a compare function for syncpkg's - it was removed without thinking
properly
* Error when re-reading the DB for replacements, wrong info level
* Removed an duplicate debug message "checking for package replacements"
* Check ignorepkg for REAL upgrades...
* Properly check the NOSAVE flag
* some unlink_file (remove.c) cleanup
* fix indent level on handle.c
* Force libalpm paths to end with a '/' char
* Fixed 'target' looping in conflict.c (pmsyncpkg_t, not pmpkg_t)
* Added some debug output to cache and db scanning

** All pactest tests succeed again, yay **
2007-02-21 06:44:14 +00:00
Aaron Griffin
1334f5c56c * Use the libtool'd .la file as a link target so we can run pactest properly 2007-02-21 06:35:07 +00:00
Aaron Griffin
786cd38c0a * Indentation changes - 4 spaces for python, we standardized this before (and
it's a PEP)
* Modified some sync tests
2007-02-21 06:33:13 +00:00
Aaron Griffin
a8dd8d5770 * Looks like I left some debugging code in there 2007-02-21 01:50:46 +00:00
Dan McGee
74f4fe9fe9 * Update Italian Translation
Giovanni Scafora <linuxmania@gmail.com>
2007-02-20 19:33:13 +00:00
Dan McGee
d1165f7f0b Thought about adding this a while back, finally remembered it. Basically a copy of the pacman-coding.html document in text form. 2007-02-20 16:29:21 +00:00
Aaron Griffin
f62f37504a * Some cascade removal changes. Mainly code cleanup, but this is an attempt to
track down the great "Codemac Segfault"
* Fixed sortdeps - use the alpm_pkg_get functions to ensure data
2007-02-20 08:44:32 +00:00
Dan McGee
1e9b79c33f * Slightly fixed up the check target- we now pass 16 instead of 10 tests in
the pactest suite. Obviuosly this needs some work to get to the bottom of
  why we aren't passing all of them.
* Removed tags target- use autotools target 'make ctags' instead.
2007-02-20 07:43:39 +00:00
Dan McGee
03f034ef0e * Updated conflict checking one last time. You can finally have a file move
from one package to another seemlessly (knock on wood). This is implemented
  through the use of two skip lists in the trans struct- skip_add and
  skip_remove, which replace the former trans->skiplist.
* Removed an unnecessary function parameter, added a necessary one.
* If a package has no backup files, print '(none)' under the heading so it is
  more obvious.
* Updated my TODO list.
2007-02-20 02:14:27 +00:00
Dan McGee
3f802fb38e * Updated German translations.
Pierre Schmitz <pierre@archlinux.de>
2007-02-19 19:28:30 +00:00
Dan McGee
bd6adec40b * Updated bash_completion script to 3.0 options.
* Changed that removal message again, hopefully it sounds good now.
* Shortened a usage option description so it would not wrap at 81 chars.
2007-02-19 04:13:13 +00:00
Dan McGee
d86bea5c8d * Added some improved debug output to file conflict checking.
* Small change to string in remove.c (translators may or may not have to worry
  about this, depending on their already existing translation).
2007-02-19 03:18:59 +00:00
Aaron Griffin
119b3ab043 Moved the update_depends function to trans.c, as it depends on a transaction
object
2007-02-18 22:07:11 +00:00
Aaron Griffin
7b4e2cd25d Added new italian translation from Giovanni Scafora <linuxmania@gmail.com> 2007-02-18 18:31:24 +00:00
Aaron Griffin
d35e489499 * Fix version comparisons when one pkgrel doesn't exist (this ony fails on an ==
operation, technically, as 1.1.2-1 >= 1.1.2 is true.
2007-02-18 18:29:28 +00:00
Aaron Griffin
6e9c987857 Added a config file for the vim-project plugin for kicks. To use:
pacman -S vim-project and read :h project
enjoy
2007-02-17 10:19:09 +00:00
Aaron Griffin
92ad556512 * A whole mess of backup changes
- the code should be clearer, more organized, commented, and have worthwhile
    variable names now
  - proactive backup=()s now work.  That is, adding a file to a backup array
    does what it should on the upgrade to that package, no longer forcing you to
    wait a full upgrade cycle for it to take effect
* ldconfig was being run twice on an upgrade operation - fixed
* fixed another pm_fprintf/printf output corruption with the progress bars
* refactored some duplicate code for adjusting 'requiredby' lists
* Added config.rpath to .cvsignore
2007-02-17 08:55:05 +00:00
Dan McGee
1dff742de8 Small updates, read diff for details 2007-02-17 05:06:13 +00:00
Dan McGee
9ebf500758 * Adding pacsearch - a script to search both the sync repos and locally
installed packages in color, and indicate those which are installed.
2007-02-17 04:39:59 +00:00
Dan McGee
8e34023bbd * Removed unnecessary #define
* Added comment for something I noticed while looking through code
2007-02-16 22:41:51 +00:00
Dan McGee
c40c2e1137 * Updated German translation
Pierre Schmitz <pierre@archlinux.de>
* Added a blurb to 'translation-help' about wrapped messages in po files
2007-02-16 22:04:23 +00:00
Dan McGee
0ca178fcd5 Updated NEWS file with some of Roman's suggestions. 2007-02-16 21:48:59 +00:00
Dan McGee
e6df40efd7 * Updated Italian translation
Giovanni Scafora <linuxmania@gmail.com>
2007-02-16 21:38:31 +00:00
Aaron Griffin
a1f36454c2 Added a 'contrib' directory for other stuff that might be a good idea to maintain here.
* moved bash_completion from the "archlinux" script in the official bash_completion package
* moved zsh_completion from the AUR zsh-pacman package
2007-02-16 19:37:00 +00:00
Aaron Griffin
17e72ff882 * Bugfix FS#6422 - spacing for warning output. Due to the fact that we fixed
MSG/ERR usage earlier, the trailing '\n's are no longer needed
* Oddly enough - *ADDED* some '\n's to the sync_info errors (last commit) as the
  package info output does not use the pm_fprintf facility and thus does not
  honor our newline/no-newline setup
2007-02-16 02:21:13 +00:00
Aaron Griffin
4b2e236a35 * Bugfix for FS#6427: Allow -Si to use "repository/package" syntax
* Also don't stop searching when one package is not found (output and continue)
2007-02-16 01:58:51 +00:00
Dan McGee
01726a74e4 * Updated pt_BR translation (Douglas Soares de Andrade), and merged other
language files with latest pot file.
2007-02-15 14:32:01 +00:00
Dan McGee
c557fa589d * Updated Italian translation
* Updated pot translation templates
* Located culprit of progress bar moving when unicode characters are used,
  added a TODO note about it
* Removed '(target)' string from the sync.c error message, just like we did
  from add.c yesterday
* Updated my TODO
2007-02-14 19:35:41 +00:00
Aaron Griffin
3a2d87d61d * Fixed _alpm_pkg_compare_versions so that it does not output warnings if versions match. (reported by Travis Willard) 2007-02-14 16:15:09 +00:00
Dan McGee
cd34ced4ad * strlen -> mbstowcs (multibyte str to wide char str) conversion where we
want the actual number of characters, not the number of bytes.
* Added a TODO to take care of later in scriptlet processing.
2007-02-14 15:54:35 +00:00
Dan McGee
97f3a52a9b * pt_BR translation updates. 2007-02-14 15:14:42 +00:00