{"shas":[["0745288c1441c73a0c6ce4279823d8363bcdc62f","25c86e6bbd56ddea209ff30b89abe3bbaeda06b4@cryptocrack.de","lib/libalpm/dload.c: Add ASSERT() to alpm_fetch_pkgurl()\n\nReturn with ALPM_ERR_WRONG_ARGS instead of causing a potential segfault\nif alpm_fetch_pkgurl() is invoked with a NULL URL.\n\nSigned-off-by: Lukas Fleischer <archlinux@cryptocrack.de>\nSigned-off-by: Dan McGee <dan@archlinux.org>","Lukas Fleischer"],["d18e600952015378c9ba79661597f1c01046f436","25c86e6bbd56ddea209ff30b89abe3bbaeda06b4@cryptocrack.de","lib/libalpm/dload.c: Use STRDUP() instead of strdup()\n\nUse the STRDUP macro instead of strdup() for the sake of better error\nhandling on memory allocation failures.\n\nSigned-off-by: Lukas Fleischer <archlinux@cryptocrack.de>\nSigned-off-by: Dan McGee <dan@archlinux.org>","Lukas Fleischer"],["4a7f3bbc469d1f6a8da1c7f310ab518ad841c2b9","2ac9c6731e7c5b4115b2409f42d254c33b8ef66b@seblu.net","Add makepkg -S which is an alias to makepkg --source\n\nmakepkg --source is a often used go make source package like for AUR.\nHave a -S shortcut will save the world.\n\nSigned-off-by: Sebastien Luttringer <seblu@seblu.net>\nSigned-off-by: Dan McGee <dan@archlinux.org>","Sebastien Luttringer"],["c885a953eb888004f0302ed3eceafef93e2f072f","2591e5f46f28d303f9dc027d475a5c60d8dea17a@archlinux.org","Enhance and utilize database status flags\n\n* Move is_local standalone field to status enum\n* Create VALID/INVALID flag pair\n* Create EXISTS/MISSING flag pair\n\nWith these additional fields, we can be more intelligent with database\nloading and messages to the user. We now only warn once if a sync\ndatabase does not exist and do not continue to try to load it once we\nhave marked it as missing.\n\nThe reason for the flags existing in pairs is so the unknown case can be\nrepresented. There should never be a time when both flags in the same\ngroup are true, but if they are both false, it represents the unknown\ncase. Care is taken to always manipulate both flags at the same time.\n\nSigned-off-by: Dan McGee <dan@archlinux.org>","Dan McGee"],["c4bd476ad13e142fe8323fe74d84b3950b53da17","2591e5f46f28d303f9dc027d475a5c60d8dea17a@archlinux.org","Remove use of no-op accessor functions in library\n\nThe functions alpm_db_get_name(), alpm_pkg_get_name(), and\nalpm_pkg_get_version() are not necessary at all, so remove the calling\nand indirection when used in the backend, which makes things slightly\nmore efficient and reduces code size.\n\nSigned-off-by: Dan McGee <dan@archlinux.org>","Dan McGee"],["5d291d050ebd714851c6bd85efd49a03d88414f0","2591e5f46f28d303f9dc027d475a5c60d8dea17a@archlinux.org","Remove usages of alpm_list_next() in backend\n\nAnother function call that can be replaced by a single pointer\ndereference.\n\nSigned-off-by: Dan McGee <dan@archlinux.org>","Dan McGee"],["231d6cc1e4083e5e49063b22fe6e5b0318b85328","2591e5f46f28d303f9dc027d475a5c60d8dea17a@archlinux.org","Replacements refactor: extract check_literal()\n\nThis moves code that was inline in alpm_sync_sysupgrade() to its own\nmethod.\n\nSigned-off-by: Dan McGee <dan@archlinux.org>","Dan McGee"],["78b63ce7c30f4a20707bce61eeaef913b513f557","2591e5f46f28d303f9dc027d475a5c60d8dea17a@archlinux.org","Replacements refactor: extract check_replacers()\n\nThis moves code that was inline in alpm_sync_sysupgrade() to its own\nmethod.\n\nSigned-off-by: Dan McGee <dan@archlinux.org>","Dan McGee"],["d008a816f1125ca44f0b2165b38220047860ecb0","2591e5f46f28d303f9dc027d475a5c60d8dea17a@archlinux.org","Add an _alpm_depcmp_literal() function\n\nThis omits the finding of matching provisions and only checks the\npackage itself against the provided dep.\n\nSigned-off-by: Dan McGee <dan@archlinux.org>","Dan McGee"],["3752edbff48fc472c5944f05f665adb000a521d9","2591e5f46f28d303f9dc027d475a5c60d8dea17a@archlinux.org","Fix replacement of provider issue\n\nWhen we switched to using alpm_depcmp() in resolving replacments, we had\nsome interesting behavior with regard to providers and packages not\nfound in repositories. Teach the replacement resolving code to not look\nat provisions at all to be slightly more sane.\n\nSigned-off-by: Dan McGee <dan@archlinux.org>","Dan McGee"],["6cfc4757b98e813428d261dbc185e20618ca83a6","2591e5f46f28d303f9dc027d475a5c60d8dea17a@archlinux.org","Convert resolvedep() to use _alpm_depcmp_literal()\n\nThe whole first loop is trying to check literals only, so teach it to do\nso. Also, reorder operations to make more sense by putting the strcmp()\nfirst in the literal loop, and using a very cheap name_hash check first\nin the second loop.\n\nSigned-off-by: Dan McGee <dan@archlinux.org>","Dan McGee"],["2a466c2abc94ce835efac94510659af006bd4330","2591e5f46f28d303f9dc027d475a5c60d8dea17a@archlinux.org","doc/PKGBUILD: update regarding versioned package fields\n\nAdd the info that versioned replaces are now supported, as well as\nbeefing up some of the other places touching on versioned fields.\n\nSigned-off-by: Dan McGee <dan@archlinux.org>","Dan McGee"],["c28052e45b94437d8c476c648ad6c9f9b8c04f36","3467d2f86b976ae9f474f73a80f3bfe04b85d8af@archlinux.org","makepkg: deal with variable substitution when checking sanity\n\nIf any of pkgver, pkgrel or epoch contained a variable substitution,\nthen it needed to be evaluated before checking its value conformed\nto the rules.\n\n[Dan: add quotes around RHS]\n\nSigned-off-by: Allan McRae <allan@archlinux.org>\nSigned-off-by: Dan McGee <dan@archlinux.org>","Allan McRae"],["3dcb01340082170754561a57aa67a582484373e5","039ef2e3eb5f1b52facdf6248524cc5fe7bd1087@archlinux.org","lib/dload: prevent possible NULL dereference\n\nSigned-off-by: Dave Reisner <dreisner@archlinux.org>","Dave Reisner"],["272b7e9c669aba46ebe982bb9db01e32b907f0ac","039ef2e3eb5f1b52facdf6248524cc5fe7bd1087@archlinux.org","makepkg: properly quote re-evaluation of variables\n\nThis is a safety measure to prevent simple code injection.\n\n$ i=\"foo bar\"\n$ eval i=\"$i\"\nbash: bar: command not found\n$ eval i='$i'\n$ echo \"|$i|\"\n|foo bar|\n\nSigned-off-by: Dave Reisner <dreisner@archlinux.org>","Dave Reisner"]],"ref":"refs/heads/dload","size":15,"head":"272b7e9c669aba46ebe982bb9db01e32b907f0ac","push_id":39943841}