1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-08-13 17:03:46 -04:00
Commit Graph

767 Commits

Author SHA1 Message Date
Aaron Griffin
616620ad5c * Minor output fix (move colon so it's not part of the URL)
* Added ldconfig on --sync operations too
2007-02-01 03:31:46 +00:00
Aaron Griffin
21e19a7bcf Loading package data from a file was ALWAYS generating the filelist, instead of
using the in-package one. This is now fixed, and an autogenerated one is used as
a last resort.

This fixes the bug where /.CHANGELOG showed up in -Ql.
2007-02-01 03:00:34 +00:00
Aaron Griffin
16e01cfe73 It appears I misunderstood what this bash-ism did 2007-02-01 02:34:03 +00:00
Aaron Griffin
a2bd6d105c Cleaned up some of the metadata control 2007-02-01 02:29:07 +00:00
Aaron Griffin
2e35d8c187 -Ql needs the 'root' prepended to each file 2007-02-01 02:16:13 +00:00
Dan McGee
fafeb32c9d This removes the warning about skipping dependency checking when the user is
either generating the md5sums, repackaging, or just downloading and extracting.

The patch is below.

~ Jamie / yankees26

Signed-off-by: James Rosten <seinfeld90@gmail.com>
2007-02-01 02:12:49 +00:00
Aaron Griffin
4b977d1f2e install scriptlet is _always_ .INSTALL 2007-02-01 02:02:45 +00:00
Aaron Griffin
010f35f299 Move filelist creation ABOVE the other metafiles to keep them out of the list 2007-02-01 01:59:26 +00:00
Aaron Griffin
4cd65c0a31 * !strcmp reads funny (as "not string compare" - switch those to == 0, which has
a positive connotation.
* Added a nice TODO
2007-02-01 01:51:12 +00:00
Dan McGee
55f406fd67 removal of unnecessary '\' in integrity check generation 2007-02-01 01:18:22 +00:00
Aaron Griffin
d97f357f03 Removed the extra newline based on general opinion 2007-01-31 08:30:15 +00:00
Aaron Griffin
21729f0ce4 * Forgot the int->enum header checkin
* Removed the dep-sorting TODO item - switch the sorting to a topological sort
  later (I'll let Dan do the CS stuff, heh)
2007-01-31 08:10:01 +00:00
Aaron Griffin
9a98b6b066 * Make -Qo work on multiple files again
* no real sense in query_fileowner returning an int
2007-01-31 08:00:50 +00:00
Aaron Griffin
290b962c48 Switched an int to an enum 2007-01-31 07:14:50 +00:00
Dan McGee
b23b75e302 just an update 2007-01-31 06:55:40 +00:00
Aaron Griffin
ca1199d719 TODO changes 8) 2007-01-31 06:54:28 +00:00
Aaron Griffin
0adceabe13 Fix corrupt DB entry handling when loading package entries.
* scan loops no longer abort on corrupt entries
* reloading a cache package (and discovering it corrupt) no longer prints 2 messages
  and uses the pre-build "remove from package cache" function

NOTE: The TODOs in there are important for later w.r.t. cleaning up corrupt DB
entries but there are some logical complexities with doing so, so I'm holding
off for now.
2007-01-31 06:48:06 +00:00
Aaron Griffin
670319c2fb Debug logging changes:
* The --debug params were goofy.  New setup allows --debug without params,
  --debug=<level> where level 1=debug output, 2=debug and download output,
  3=debug, download, and function tracing output.  This seems more sane to me.
* Removed PM_LOG_FLOW1 and PM_LOG_FLOW2.  They were just confusing.  When adding
  new functions, it is near impossible to determin if your output should be
  "flow1" or "flow2" without tracking all the way up the call chain.  Rarely
  would one ever say "ok, lets just show "flow2" output.  These have both been
  replaced with PM_LOG_DEBUG
* Removed the need for the root parameter on alpm_initialize. it is now
  defaulted to PM_ROOT just like dbpath and cachedir.  This allows alpm to be
  initialized BEFORE option parsing in the front end, saving us some duplicate
  variables in the frontend.
* Cleaned up front end variables due to early alpm_initialize call.
2007-01-31 06:10:21 +00:00
Aaron Griffin
f4340129d5 More uninitialized stuff... I believe these were removed at some point. Should
be fixed.
2007-01-31 04:42:39 +00:00
Dan McGee
44dc48f10f slight line spacing/indent updates 2007-01-31 02:58:12 +00:00
Dan McGee
c35f713e75 * Refactored some functions to clean up variable declaration.
* Reduced magic number usage by fill_progress function (new).
* Some switch indent fixing.
* Remove use of log10 call.
2007-01-31 01:37:41 +00:00
Dan McGee
2ea88b9ff6 * Updated repo-add script to remove same package, different version when
adding a package to a database. Also added commenting. :)
2007-01-31 00:38:13 +00:00
Jürgen Hötzel
d9b4d3f75c * doxygen check cleanup 2007-01-30 20:37:59 +00:00
Dan McGee
1042eda886 Fixing line spacings of download/install size messages. 2007-01-30 18:25:54 +00:00
Aaron Griffin
2119467392 Well that silly memory clobber was plain old "uninitialized data" - fixed 2007-01-30 08:35:40 +00:00
Aaron Griffin
958a838189 TODO changes 2007-01-30 08:20:15 +00:00
Aaron Griffin
8c73128c77 Turn debug off by default 2007-01-30 08:17:02 +00:00
Aaron Griffin
da648bc24c K. Piche <kevin.piche@cgi.com>
* ALPM_LOG_FUNCTION macro and all the great work to add this macro everywhere
2007-01-30 08:14:10 +00:00
Aaron Griffin
195e30e8aa K. Piche <kpiche@rogers.com>
* gcc visiblity changes

Also modified _alpm_versioncmp -> alpm_versioncmp (public function) as per K.
Piche's suggestions
2007-01-30 07:47:19 +00:00
Dan McGee
2efeab1529 adding my personal TODO file 2007-01-30 07:35:51 +00:00
Aaron Griffin
481524cb69 This is a silly script now that a fancy aurbuild is out in the wild (on the AUR,
surprisingly enough, heh)
2007-01-30 06:31:18 +00:00
Dan McGee
0bc06918e4 * Remove -fno-strict-aliasing as it is now unnecessary to compile.
* Fix up add.c a bit better than it was in regards to FS #3492.
* Optimized the sqrt call in dependency cycle checking to a single call.
* Removal of an outdated comment.
2007-01-30 05:41:13 +00:00
Dan McGee
e668b47142 * Modified info query so it doesn't show more than available when querying a
package file.
2007-01-30 04:15:14 +00:00
Dan McGee
1799afc9c1 Discussed on IRC for a bit, this makes the following changes for clarity:
* alpm_list_is_in    --> alpm_list_find
* alpm_list_is_strin --> alpm_list_find_str
* Flip parameters of both functions to be inline with rest of alpm_list.

First commit, woohoo.
2007-01-30 03:46:33 +00:00
Jürgen Hötzel
358a4a62f3 * fixed path to automake (removed hardcoded version) 2007-01-29 22:30:15 +00:00
Jürgen Hötzel
13f9fc4d19 * Fix building outside $(srcdir).
* Removed ./gen-mirrorlist.sh invocation from configure script:
  Mirror-files are generated by make, not configure.
2007-01-29 22:18:31 +00:00
Aaron Griffin
1629355ef0 Missed that 8) 2007-01-26 02:19:24 +00:00
Aaron Griffin
e22336673a Dan McGee <dpmcgee@gmail.com>
* Lots of code cleanup, and type fixes
* Make 'makeworld' a bit more in-line with the other stuff
* Make -Si and -Qi operations appear the same
2007-01-26 02:13:16 +00:00
Aaron Griffin
7ffb1e5fac Forgot this patch from Dan McGee as part of the bug #5409 fixes 2007-01-26 01:57:06 +00:00
Aaron Griffin
db87c8f62e * copy and paste error, "resolving deps" -> "cleaning up"
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
2007-01-26 01:34:26 +00:00
Aaron Griffin
a5ad2b3f93 * Fix FS #3107- Use ISO date style
* Fix FS #5409- document that pacman.conf repo ordering is important

Signed-off-by: Dan McGee <dpmcgee@gmail.com>
2007-01-26 01:33:03 +00:00
Aaron Griffin
1def746ad5 James Rosten <seinfeld90 at gmail.com>
* Use PKGDEST and SRCDEST from the environment (if defined) when calling makepkg
2007-01-26 01:26:08 +00:00
Aaron Griffin
7f465320e4 Cleanup 'neednl' usage - make it static 2007-01-24 16:57:19 +00:00
Aaron Griffin
170d63190a * Shuffled some of the alpm_list free funtions - still not perfect, but better
* Added alpm_list_remove_node for single list node removal
* Proper error checking/output for failed db_read/db_write (missing files)
* Invalid packages (missing files) are now removed from the package cache
* -Qs and -Ss output now look the same
* config.rpath causes errors on one machine I had, so I added it to CVS
* Fixed a "clobbered memory" issue when installing groups - only the outer list
  should be free'd, not the contained data
2007-01-24 08:51:50 +00:00
Aaron Griffin
1b61cc8c69 This mainly deals with code clarity- removing currently unneeded
optimizations in order to make the code much more readable and
type-checkable. Every enum in the library now has it's own type that
should be used instead of the generic 'unsigned char'. In addition,
several #define statements dealing with constants were converted to
enums.

Signed-off-by: Dan McGee <dpmcgee@gmail.com>
2007-01-24 03:02:53 +00:00
Aaron Griffin
8387672053 Removed some debugging cruft left in in the last commit 2007-01-23 20:09:18 +00:00
Aaron Griffin
8b11dd50eb James Rosten <seinfeld90@gmail.com>
* attempt to unlink file AFTER moving to .pacsave always fails
2007-01-23 16:05:21 +00:00
Aaron Griffin
0e0738617b James Rosten <seinfeld90@gmail.com>
* noextract PKGBUILD option to NOT extract source files
- implemented with existing in_array function
2007-01-23 16:02:37 +00:00
Aaron Griffin
4db24ca28a * Added some calloc calls to replace the malloc-then-set-to-zero functionality
* Fixed -Ss output so as not to call alpm_list_getdata with a NULl list
* Added a NULL check in alpm_list_getdata
* Fixed alpm_list_add_sorted to properly handle a new / beginning insertions
2007-01-23 01:34:58 +00:00
Aaron Griffin
2a8b835dda Lowercase "changelog" in output message 2007-01-22 19:26:23 +00:00