summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2007-03-03Minor changesAaron Griffin1-7/+0
2007-03-03* A little more hacking with wchar_t output, but nothing really changed inDan McGee6-83/+108
it. Eventually we'll make progress. * Rewrote the _alpm_splitdep function to behave more like all our other function calls. Use heap instead of stack allocation for the depend struct, so now it needs to be freed by the caller.
2007-03-03Big commit this time:Aaron Griffin24-576/+655
* Moved entirely to alpm_pkg_get_* accessors, to read data on demand * Mostly removed the INFRQ_ parameters from outside the be_files backend (making the backend more extensible in the long run) * packages created from _alpm_db_scan now have the db and origin set (making accessors actually work for these packages) * removed _alpm_db_ensure_pkgcache * totally revamped the _alpm_checkconflicts function, making it cleaner and easier to read (and thus fix in the long run) - maintainable code ftw NOTE: feel free to rename the functions... I couldn't think of anything better * removed an extra loop in sync.c:find_replacements - no sense in looping over an entire DB while strcmp'ing the name, when we have get_pkgfromcache Other: * package struct "license" -> "licenses" * Created _alpm_sync_find (duplicate code in some places, find_pkginsync * Minor const correctness changes along the way * fixed a couple extra '/' pathing issues (non-issues really) * removed a duplicate pkg_cmp function
2007-03-01* Oops- I need to learn to count in hex.Dan McGee1-1/+1
2007-03-01* Slight documentation update.Dan McGee1-6/+10
2007-03-01* Updated Italian translationDan McGee2-89/+127
Giovanni Scafora <linuxmania@gmail.com>
2007-03-01* Modified values of INFRQ_* options so we start at 0x01 and not 0x00. ThisDan McGee7-26/+44
allows for the same bit operators to be used across the board on pkg_get operations. * Changed name of INFRQ_NONE -> INFRQ_BASE to more clearly reflect what it does (loads pkg name and version). * Added a few missing things on package functions, such as SYMEXPORT and ALPM_LOG_FUNC. * Slight updates to pmenv to print 'pass' and 'fail' instead of 'passed' and 'failed'. Keeps output a bit more concise. * Fixed a doxygen comment spelling error. :P
2007-03-01* Comment clarificationAaron Griffin1-1/+2
2007-03-01* Switched some functions to alpm_pkg_get_* usage as I came across themAaron Griffin6-20/+113
* Added some provision switching hackery. This could probably use some refactoring,.. it solves the following case: pkg1 and pkg2 provide 'foo' and are both installed pkg3 depends on 'foo' and so lists 'pkg1' in the REQUIREDBY db section pkg1 is upgraded and no longer provides 'foo' ** This code ensures that the REQUIREDBY of pkg3 is updated to require pkg2 now instead of pkg1
2007-03-01* REQUIREDBY test was reversed (pkg3 requiredby pkg1, not pkg1 requiredby pkg3)Aaron Griffin1-3/+3
2007-03-01*** empty log message ***Aaron Griffin2-5/+23
2007-03-01* Just a note for future referenceAaron Griffin1-0/+4
2007-03-01* Updated Italian translationDan McGee2-93/+102
Giovanni Scafora <linuxmania@gmail.com> * Fixed FS #6442 - don't list directories in -Ql output.
2007-03-01* Silly mistake on making sync895 and sync896- I didn't create the fieldDan McGee2-0/+4
requiredby for 'already installed' packages, so the test didn't work properly. Once these errors were fixed, both tests pass fine.
2007-03-01* Fix up _alpm_db_free, remove use of void*.Dan McGee3-6/+3
2007-02-28* Unifying placement of REPLACES in desc file, as pacman2 does. We'll worryDan McGee7-33/+42
about bigger DB changes later, but lets not screw anything up for release. * Removed some weird uses of "not ... ==" usage in pactest- correct me if I'm wrong, but isn't "!=" a lot more clean and concise? * Print description of failed tests in the pactest summary. This could get dirty with a lot of failed tests though, so watch out.
2007-02-28* Implemented Douglas' suggestion from the ML- print all integrity checksDan McGee1-3/+7
together while using makepkg -g.
2007-02-28* Added another test as suggested by Nagy on the ML- a package both providesDan McGee10-56/+68
for and is a dependency of another package. (upgrade057) * Removed man2html stuff from doc/Makefile.am. * Patch: improved depends checking in _alpm_checkdeps Nagy Gabor <ngaba@petra.hos.u-szeged.hu> * Slight revisions to pmrule.py to allow for a PKG_PROVIDES test. * Very quick updates to the pactest README. * Added rules to some of the newer upgrade tests. Note: upgrade055 now fails due to requiredby entries not being written packages that are dependencies in a provides role.
2007-02-27* Some new tests. That bring new failures. :)Dan McGee3-4/+42
2007-02-27* Added another test- I believe it is a possible situation and one we need toDan McGee2-1/+25
deal with. Currently, libalpm with AND without Nagy's patch fails it. * Slight spacing update to pmenv.py.
2007-02-27* Prevent this error when creating empty packages.Dan McGee1-1/+2
tar: *: Cannot stat: No such file or directory tar: Error exit delayed from previous errors
2007-02-27* Updated description of test upgrade052.Dan McGee4-342/+32
* Added the actual "Nagy's bug" as upgrade055.py. * Updated the Makefile to distribute the pactest readme. * Removed COPYING from the pactest directory- see COPYING at the root for the same license.
2007-02-27* Updated all the supfiles for consistancy, and added a commented out lineDan McGee5-11/+9
to set the umask that some people may find helpful with an 'abs' group (but it isn't enabled by default).
2007-02-27* Fixed a pacman warning when these fake packages didn't create an (empty)Aaron Griffin1-4/+7
.FILELIST
2007-02-27* This test was off. pactest doesn't do all the DB work, so we need to manuallyAaron Griffin1-0/+1
add the "requiredby" information that libalpm would have written. Now it succeeds.
2007-02-27* Added 5 new upgrade tests, which check various things with depends,Dan McGee5-0/+87
provides, and conflicts. - upgrade051 is known to fail- but we want to eventually make it work. - upgrade052 is Nagy's bug as reported on the ML- I think. If it isn't, let me know.
2007-02-27* db search optimization- why don't we compile the regex once instead of onceDan McGee1-7/+11
per package.
2007-02-26* TODO updates.Dan McGee3-3/+14
* Makefile.am updates for Aaron's move of re-pacman to contrib.
2007-02-26* Added a small note to HACKINGAaron Griffin2-0/+3
* Moved re-pacman to contrib/ as it's probably not as useful as the other stuff in scripts/
2007-02-26* pacman hidden arguments: removed -Y and -D. -T is the only hidden arg now, toAaron Griffin7-141/+42
be used in place of -Y. Also, -D was rather silly, as it does mostly what -S does. * Cleaned up pacman_deptest - removed the goofy faketarget stuff (NEEDS testing still) * libalpm function renames
2007-02-26* Enforce const char* params when using stringsAaron Griffin17-107/+54
* Unified some functions names "package" -> "pkg" for consistency * Removed the goofy 'faketarget' stuff used for dep testing * Renamed alpm_pkg_isin -> alpm_pkg_find * Renamed alpm_db_readpkg -> alpm_db_get_pkg
2007-02-26* Writing 'replaces' info to both /desc and /depends files for testing - see theAaron Griffin2-6/+7
"replaces confusion" thread on pacman-dev for more information * Cleaned up some 2 item loops in the sync131 test
2007-02-26* corrected (IMO) --debug usage with pactest. --debug is now passed straightAaron Griffin6-34/+38
through to pacman, whereas --verbose affects the pactest output - this cleans up the standard test output significantly * sorted tests a bit better, sectioning off failed tests AFTER successful tests, to make it easier to see what failed at a glance * added a 'testname' member to pmtest, which strips path info (cleaner output)
2007-02-25* Added some undocumented options to the manpage.Dan McGee1-14/+17
2007-02-24* Updated Italian translationDan McGee2-103/+99
Giovanni Scafora <linuxmania@gmail.com> * added '-fstack-protector' flag to debug compile, to catch any buffer overflows we may have in stack variables.
2007-02-24else if --> elif (thanks to yankees26 for finding this)Aaron Griffin1-1/+1
2007-02-24Syntax errorAaron Griffin1-1/+1
2007-02-23Implementing feature request: <http://bugs.archlinux.org/task/4706>Dan McGee4-28/+37
* Added these three possible options (or !options, more likely), to the PKGBUILD possibilities: - ccache - distcc - makeflags * Removed the --noccache and -j flags from makepkg as their functionality is better used by adding the above options to a PKGBUILD- keep the functionality where it is needed. Testing would be appreciated, I didn't do much of that yet.
2007-02-23* Updated Italian translationDan McGee1-22/+27
Giovanni Scafora <linuxmania@gmail.com>
2007-02-23Whoops, added to Makefile.amAaron Griffin1-0/+1
2007-02-23I had this laying around, figured someone might find it usefulAaron Griffin1-0/+47
2007-02-23* The info level for this was wrong, causing replacements to not really workAaron Griffin1-2/+2
2007-02-23* Too much debugging output in the alpm_pkg_compare_versions functionAaron Griffin2-10/+13
* Using the wrong info level for replacements
2007-02-23* conflicts are returned with the full path, so prepending root is redundantAaron Griffin2-9/+5
2007-02-23* added contrib/.cvsignore, and slight change to supfile.testingDan McGee2-1/+3
2007-02-23* Oops. Messed a few things up, fixing them now.Dan McGee2-2/+2
2007-02-23* Changes to quite a few of the tests, mostly minimal changes (betterDan McGee47-61/+127
descriptions, additional rules, etc) * One new pactest test regarding file migration between packages. * Fix of a little output bug in pmenv.py
2007-02-23Ignore that... wasn't supposed to happenAaron Griffin1-1/+0
2007-02-23*** empty log message ***Aaron Griffin2-1/+2
2007-02-23* Fixed globbing for pactest --test argumentAaron Griffin3-7/+13
* --manual-confirm was handled in the wrong order