Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tag: v0.1.5
Commits on Jun 28, 2011
  1. @yanhan

    v0.1.5

    yanhan authored
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  2. @yanhan

    Change pkgpair_print to pkgpair_print_color

    yanhan authored
    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. @yanhan

    Fix indentation for -h

    yanhan authored
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  4. @yanhan

    Add --noconfirm option

    yanhan authored
    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. @yanhan

    Fix segfault when downloading fails during dependency resolution

    yanhan authored
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  6. @yanhan

    -S: Colorize and block print final targets

    yanhan authored
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  7. @yanhan

    -S: Only resolve new / outdated AUR packages

    yanhan authored
    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. @yanhan

    Change FORCE_DL and NOFORCE

    yanhan authored
    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. @yanhan

    Makefile.in : Update deps on graph.h

    yanhan authored
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  10. @yanhan

    Report packages involved in cyclic deps during -Su

    yanhan authored
    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. @yanhan

    Shortcircuit for -Su when target list is empty

    yanhan authored
    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. @yanhan

    Fix -Su reinstall summary string

    yanhan authored
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  13. @yanhan

    Add --list-aur option

    yanhan authored
    --list-aur will list all installed AUR packages
    
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  14. @yanhan

    Add hash_walk function to HASH_TABLE

    yanhan authored
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  15. @yanhan

    Style cleanup

    yanhan authored
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  16. @yanhan

    graph: use unsigned int for sizes

    yanhan authored
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  17. @yanhan

    Make yajl_init static

    yanhan authored
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  18. @yanhan

    parse_bash_array: use strtrim_ver

    yanhan authored
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  19. @yanhan

    Remove outdated TODO comments

    yanhan authored
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  20. @yanhan

    Remove deprecated functions

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

    v0.1.4.1

    yanhan authored
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  2. @yanhan

    Print immediate dependencies for -S

    yanhan authored
    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. @yanhan

    Add PW_LOG_VDEBUG log level

    yanhan authored
    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. @yanhan

    Add per user temporary directory

    yanhan authored
    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. @yanhan

    Allow installing of AUR packages as root

    yanhan authored
    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. @yanhan

    Change curl_easy_init to use curl_easy_new

    yanhan authored
    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. @yanhan

    v0.1.4

    yanhan authored
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  2. @yanhan

    Update configure.ac to include realloc

    yanhan authored
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  3. @yanhan

    Change --crawl to use powaur_dir

    yanhan authored
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  4. @yanhan

    Prepare for v0.1.4

    yanhan authored
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  5. @yanhan

    Update help text for -S

    yanhan authored
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  6. @yanhan

    Correct --no-color option to --nocolor in usage

    yanhan authored
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
    
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
  7. @yanhan

    Add --check option for -Su

    yanhan authored
    -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. @yanhan

    Improved -G dependency resolution

    yanhan authored
    -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. @yanhan

    Complete -S and -Su

    yanhan authored
    Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
Something went wrong with that request. Please try again.