Permalink
Switch branches/tags
Commits on Jun 28, 2011
  1. v0.1.5

    yanhan committed Jun 28, 2011
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  2. Change pkgpair_print to pkgpair_print_color

    yanhan committed Jun 28, 2011
    pkgpair_print is removed from hashdb.c and hashdb.h. In turn, a static,
    colorized version of the same function is introduced in query.c as it is only
    used by --list-aur
    
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  3. Fix indentation for -h

    yanhan committed Jun 28, 2011
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  4. Add --noconfirm option

    yanhan committed Jun 28, 2011
    The --noconfirm option will skip all questions. This option is also passed down
    to makepkg.
    
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  5. Fix segfault when downloading fails during dependency resolution

    yanhan committed Jun 28, 2011
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  6. -S: Colorize and block print final targets

    yanhan committed Jun 28, 2011
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  7. -S: Only resolve new / outdated AUR packages

    yanhan committed Jun 28, 2011
    Currently, -S resolves dependencies of the target AUR packages and continues to
    resolve those packages' dependencies, until all dependencies are resolved.
    
    However, it is unnecessary to resolve dependencies for locally installed,
    packages found in sync databases or up-to-date installed AUR packages. The new
    dependency resolution algorithm does exactly that and only resolves dependencies
    for new / out-of-date AUR packages.
    
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  8. Change FORCE_DL and NOFORCE

    yanhan committed Jun 28, 2011
    The FORCE_DL and NOFORCE enum is supplied to build_dep_graph for dependency
    resolution purposes. When set to NOFORCE, PKGBUILDs for up to date AUR packages
    will not be downloaded. When set to FORCE_DL, PKGBUILDS will be downloaded even
    for up to date AUR packages.
    
    With this patch, NOFORCE is renamed to RESOLVE_IMMEDIATE and FORCE_DL is renamed
    to RESOLVE_THOROUGH. This is to prepare for an upcoming series which slightly
    modifies the dependency resolution algorithm.
    
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  9. Makefile.in : Update deps on graph.h

    yanhan committed Jun 25, 2011
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  10. Report packages involved in cyclic deps during -Su

    yanhan committed Jun 25, 2011
    When cyclic dependencies are detected during dependency resolution, a rather
    unhelpful "Cyclic dependencies detected!" message was produced without letting
    us know what packages were involved in the cycle.
    
    This patch shows the 2 packages which form a cycle in our dependency graph.
    
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  11. Shortcircuit for -Su when target list is empty

    yanhan committed Jun 25, 2011
    The "Resolving dependencies... Please wait" message is displayed when target
    list is empty for the -Su option. In addition, there is unnecessary changing
    of directories and creation of data structures. Remove these when the target
    list is empty.
    
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  12. Fix -Su reinstall summary string

    yanhan committed Jun 25, 2011
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  13. Add --list-aur option

    yanhan committed Jun 24, 2011
    --list-aur will list all installed AUR packages
    
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  14. Add hash_walk function to HASH_TABLE

    yanhan committed Jun 24, 2011
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  15. Style cleanup

    yanhan committed Jun 15, 2011
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  16. graph: use unsigned int for sizes

    yanhan committed Jun 15, 2011
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  17. Make yajl_init static

    yanhan committed Jun 15, 2011
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  18. parse_bash_array: use strtrim_ver

    yanhan committed Jun 15, 2011
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  19. Remove outdated TODO comments

    yanhan committed Jun 15, 2011
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  20. Remove deprecated functions

    yanhan committed Jun 15, 2011
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
Commits on Jun 26, 2011
  1. v0.1.4.1

    yanhan committed Jun 26, 2011
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  2. Print immediate dependencies for -S

    yanhan committed Jun 26, 2011
    When installing new packages / checking outdated AUR packages, the entire
    dependency graph is printed after dependency resolution. The graph can be huge
    when syncing a lot of packages and as such, leads to unnecessary clutter.
    
    Now, the dependency graph will only be printed when the --debug option is
    supplied. Immediate dependencies will be printed regardless of the --debug
    option. This gives the user a clearer view as to what will be sync'ed and
    significantly reduces output.
    
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  3. Add PW_LOG_VDEBUG log level

    yanhan committed Jun 26, 2011
    Debug messages are printed when PW_LOG_DEBUG is passed as the log level to the
    pw_*printf functions, provided that the relevant bit is set in config->loglvl .
    However, the debug messages are prefixed with "debug: ". This effectively
    prevents the printing of debug messages broken into small pieces since there
    will be unnecessary "debug: " prefixed before each piece of message.
    
    The PW_LOG_VDEBUG log level is introduced to solve this problem. When the user
    passes the --debug option on the command line, the bitmask in config->loglvl is
    OR'ed with both PW_LOG_DEBUG and PW_LOG_VDEBUG. Use the PW_LOG_VDEBUG as the
    log level when debug messages do not need / cannot be prefixed with "debug: ".
    
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  4. Add per user temporary directory

    yanhan committed Jun 26, 2011
    Currently, the default directory powaur uses to download packages and sources
    is /tmp/powaur . With this patch, the default directory becomes:
    
    /tmp/powaur-username
    
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  5. Allow installing of AUR packages as root

    yanhan committed Jun 26, 2011
    When powaur is run by root, makepkg fails as a safety precaution. We now trust
    that the user knows the risks of running powaur (and therefore makepkg) as a
    root process. The "--asroot" option is passed to makepkg when powaur is run by
    root.
    
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
Commits on Jun 15, 2011
  1. Change curl_easy_init to use curl_easy_new

    yanhan committed Jun 15, 2011
    In addition to initializing a new easy handle, curl_easy_new sets some default
    options. The only caller to curl_easy_init is and should be curl_easy_new
    
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
Commits on Jun 9, 2011
  1. v0.1.4

    yanhan committed Jun 9, 2011
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  2. Update configure.ac to include realloc

    yanhan committed Jun 9, 2011
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  3. Change --crawl to use powaur_dir

    yanhan committed Jun 9, 2011
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  4. Prepare for v0.1.4

    yanhan committed Jun 9, 2011
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  5. Update help text for -S

    yanhan committed Jun 9, 2011
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  6. Correct --no-color option to --nocolor in usage

    yanhan committed Jun 9, 2011
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
    
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  7. Add --check option for -Su

    yanhan committed Jun 9, 2011
    -Su will check for outdated AUR packages and update them. The --check option
    automatically skips the upgrading step.
    
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  8. Improved -G dependency resolution

    yanhan committed Jun 9, 2011
    -G dependency resolution now uses the asymptotically faster hash database
    instead of pkgcache. Other than speed, there is now resolution for provides
    which makes this almost the same as the algorithm used for -S and -Su.
    
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  9. Complete -S and -Su

    yanhan committed Jun 9, 2011
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>