summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* * Updated Italian translationDan McGee2007-03-06
| | | | Giovanni Scafora <linuxmania@gmail.com>
* * Remove sha1 checksums for now from the INTEGRITY_CHECK array.Dan McGee2007-03-06
|
* Trying to fix up this autotools stuff a bit more.Dan McGee2007-03-06
| | | | | | | * Greatly simplify and de-obfuscate the autogen and autoclean code. * Add a bunch of the autotools required files to the repository. This will give us consistency (a novel idea) across all builds, and allow for much more recent versions of config.guess and config.sub to be used.
* * Fix the double package name URL when using XferCommandAaron Griffin2007-03-06
| | | | * Fixed valgrind yelling about the sprintfs in md5/sha1 routines
* * Added missing header include guards in md5.h and sha1.h.Dan McGee2007-03-06
| | | | | | * Some header cleanup on the pacman side of things - we had alpm.h instead alpm_list.h in a few headers. * removed an extra slash in path-building snprintf in server.c.
* This commit looks much more monumental than it is. Almost all just #includeDan McGee2007-03-05
| | | | | | | | reordering and adding ones that were forgotten (noticed when trying to compile after reordering). * Updated the HACKING file to include information on #include usage. * print -> vprint in "making dir" function in pactest.
* * Failure to #include config.h cost us here, we lost all NLS in alpm.c.Dan McGee2007-03-05
|
* Added this test to check the XferCommand functionalityAaron Griffin2007-03-05
|
* * Fixed an issue with globbing the --test argumentAaron Griffin2007-03-05
| | | | | | | | | * Added a custom 'mkdir' function which makes parents and doesn't fail on existence * Added output for 'SKIP' messages (it did not indicate WHY it was skipped) * Added the ability to generate DB packages in the sync dir (not the cache dir) for testing downloading. (self.cachepkgs = False) * Added pmtest.path for the full path to the package file
* * Removed a mirrorlist that codemac says is quite outdated.Dan McGee2007-03-05
|
* * rankmirrors updates from Scott Horowitz <stonecrest@gmail.com>.Dan McGee2007-03-05
| | | | Formatted output is now the default. Added a TODO for later as well.
* * Hopefully the LAST big update of the language files before release.Dan McGee2007-03-04
| | | | | | | Translators and developers should count this as the string freeze unless something REALLY essential comes up. Send in patches to these translations when you get a chance (and patches are appreciated, as they are much easier to deal with).
* * Update distcheck flags, we no longer need to pass --disable-fakeroot.Dan McGee2007-03-04
| | | | All tests are passing except 1 known to fail (upgrade051).
* * By Roman's request - proactive backup=() entry test caseAaron Griffin2007-03-04
|
* * Fixed the handle realroot stuffAaron Griffin2007-03-04
| | | | * Added some {}
* * Fixed a whole mess of extra '/' pathing issues when a different root isAaron Griffin2007-03-04
| | | | | | | | | | | | | | specified * Use db->path when appropriate * Commented out the FAKEROOT checks in libalpm. This should never ever be done. TODO test this quite a bit, as this will never cause the transactions to fail if RW operations are requested... right now it is totally up to the front end to decide when to fail * Use realpath() to canonicalize the root path when specified, so _alpm_makepath() doesn't freak out * Fixed some output/indent of MDFile and SHAFile algorithms * More efficient sprintf() usage in MDFile/SHAFile * Added real error output to _alpm_makepath
* * handle changes: callbacks should check handle first, as there's a fewAaron Griffin2007-03-04
| | | | | | | | | occasions where some alpm stuff could be used without initializing the library (vercmp is one). TODO make these functions (handle accessors) better by returning "library not initialized" instead of failing. * Removed NoUpgrade lines from pacman.conf - we need to test this! * Re-corrected the lib targets for src/util/* * make dist seems to have updated the po files
* * libtool fixes for building against the right libsAaron Griffin2007-03-04
|
* * Maybe that call to _alpm_trans_update_depends was necessary. Added it backDan McGee2007-03-04
| | | | in but did it right by duplicating the package first.
* Added a test for checking 'requiredby' removalAaron Griffin2007-03-04
|
* * Remove unnecessary call to _alpm_trans_update_depends that was erroringDan McGee2007-03-03
| | | | | anyway. * Spelling/commenting etc.
* * Updated Italian translationDan McGee2007-03-03
| | | | | | Giovanni Scafora <linuxmania@gmail.com> * Updated German translation Pierre Schmitz <pierre@archlinux.de>
* * file utility was updated to version 4.20, removing code that was there toDan McGee2007-03-03
| | | | catch a bug in 4.19.
* Minor changesAaron Griffin2007-03-03
|
* * A little more hacking with wchar_t output, but nothing really changed inDan McGee2007-03-03
| | | | | | | 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.
* Big commit this time:Aaron Griffin2007-03-03
| | | | | | | | | | | | | | | | | | | | | | | * 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
* * Oops- I need to learn to count in hex.Dan McGee2007-03-01
|
* * Slight documentation update.Dan McGee2007-03-01
|
* * Updated Italian translationDan McGee2007-03-01
| | | | Giovanni Scafora <linuxmania@gmail.com>
* * Modified values of INFRQ_* options so we start at 0x01 and not 0x00. ThisDan McGee2007-03-01
| | | | | | | | | | | | 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
* * Comment clarificationAaron Griffin2007-03-01
|
* * Switched some functions to alpm_pkg_get_* usage as I came across themAaron Griffin2007-03-01
| | | | | | | | | | | * 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
* * REQUIREDBY test was reversed (pkg3 requiredby pkg1, not pkg1 requiredby pkg3)Aaron Griffin2007-03-01
|
* *** empty log message ***Aaron Griffin2007-03-01
|
* * Just a note for future referenceAaron Griffin2007-03-01
|
* * Updated Italian translationDan McGee2007-03-01
| | | | | Giovanni Scafora <linuxmania@gmail.com> * Fixed FS #6442 - don't list directories in -Ql output.
* * Silly mistake on making sync895 and sync896- I didn't create the fieldDan McGee2007-03-01
| | | | | requiredby for 'already installed' packages, so the test didn't work properly. Once these errors were fixed, both tests pass fine.
* * Fix up _alpm_db_free, remove use of void*.Dan McGee2007-03-01
|
* * Unifying placement of REPLACES in desc file, as pacman2 does. We'll worryDan McGee2007-02-28
| | | | | | | | 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.
* * Implemented Douglas' suggestion from the ML- print all integrity checksDan McGee2007-02-28
| | | | together while using makepkg -g.
* * Added another test as suggested by Nagy on the ML- a package both providesDan McGee2007-02-28
| | | | | | | | | | | | 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.
* * Some new tests. That bring new failures. :)Dan McGee2007-02-27
|
* * Added another test- I believe it is a possible situation and one we need toDan McGee2007-02-27
| | | | | deal with. Currently, libalpm with AND without Nagy's patch fails it. * Slight spacing update to pmenv.py.
* * Prevent this error when creating empty packages.Dan McGee2007-02-27
| | | | | tar: *: Cannot stat: No such file or directory tar: Error exit delayed from previous errors
* * Updated description of test upgrade052.Dan McGee2007-02-27
| | | | | | | * 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.
* * Updated all the supfiles for consistancy, and added a commented out lineDan McGee2007-02-27
| | | | | to set the umask that some people may find helpful with an 'abs' group (but it isn't enabled by default).
* * Fixed a pacman warning when these fake packages didn't create an (empty)Aaron Griffin2007-02-27
| | | | .FILELIST
* * This test was off. pactest doesn't do all the DB work, so we need to manuallyAaron Griffin2007-02-27
| | | | | add the "requiredby" information that libalpm would have written. Now it succeeds.
* * Added 5 new upgrade tests, which check various things with depends,Dan McGee2007-02-27
| | | | | | | 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.
* * db search optimization- why don't we compile the regex once instead of onceDan McGee2007-02-26
| | | | per package.