[pacman-dev] [GIT] The official pacman repository annotated tag, v3.0.0-rc1, updated. v3.0.0-rc1
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The official pacman repository". The annotated tag, v3.0.0-rc1 has been updated to bdb94daf7256d315c39ce73b78ffcf2c8b5a77cf (tag) from 59ae306a5453e0113ffba8395db9df1b5507c650 (which is now obsolete) tagging 11fbc595d48d55be929e259285bb65e53ef33007 (commit) tagged by Andrew Gregory on Sat Oct 20 12:47:37 2018 -0700 - Log - replaces broken tag 59ae306a5453e0113ffba8395db9df1b5507c650 -BEGIN PGP SIGNATURE- iQEzBAABCAAdFiEEuBUbEXA3eBCVUUynu9/8kjBrESEFAlvLhlkACgkQu9/8kjBr ESFf1AgAn3mykXPagGnkXeunD9xjXmzo4Fnx7OLbOCBzBL0nZATLUjAyu0j26HO7 PaScKOuSOc5m9WHYdmbqQy8fIsu1mI9jyNC0q1iTCpX54DCp1RZSmMIHlO7wgHCJ kMHVHfmnt5Zz7Y9bmYm0MSbLPklbUzcSeOh1DzgIERsJD2aCJ3Dwstfpg9uKTGty jM2n3ZhB5WSw4Sz6cKt0eH+y64YKkwvQVTNoMS7kgQBXrEHITh4gtmDeEz4FcYAT OEJc7xXFQFYbblcpAMeYKRfyjN54F5fkXHj7jWijBSa4LBOlwTl6UGDZxKXnjXR1 Z6ZBWoROrhOs3ASDlubfFIGPzC3Bsw== =z+VF -END PGP SIGNATURE- Aaron Griffin (313): Merging Frugalware changes - these need to be checked for instances of "Frugal" Added pactest to repository, from Aurelien Foret: Frugalware changes - mainly architecture updates and signed/unsigned changes Merged frugalware changes (too many to list). Also added some config file Merged frugalware changes. Added a few other minor things too, but there's alot Final frugalware changes commit include changes so that this compiles Fixed java includes - java bindings now compile Corrected documentation compilation - succeeds now Added alpm function docs along *** empty log message *** Whoops forgot some .in files *** empty log message *** Added po files... not sure if this is the right approach Added sha1 support (for now?) Another forgotten file set Removed convertdb Whoops, actually remove convertdb this time Added po files Applied changes from frugalware: Frugalware patch for AC_CHECK_PROGS fixups: *** empty log message *** Applied Frugalware patch from Christian Hamar alias krix configure changes for java detection (require swig) Copyright changes Adjust progress bar to align with frugalware's progressbar Removed extra includes Removed three checks for po4a (patching issue) Yet another "added three times" issue. Fixed doxygen comments Reverted debug parameter to -1 Added copyright holder Removed old db files (unused) From VMiklos A handful of minor changes: Whoops, this file got left out Minor changes: More extern moving - keep extern decls in the headers makes for easier/better Fixed this test so that it succeeds - it is probably not 100% appropriate, but Fixes from frugalware: few 'typos' included while patching Reverted the "out of memory" error to 1 to prevent API changes. Added re-pacman Added PM_DLFNM_LEN define, via VMiklos Attempted fix for x86_64 - switched some unsigned char variables to ints, and Fixed library directory for bindings - we need the craptastic .libs libtool dir Moved downloaded db unpacking to the backend files, to easier allow conversion Remove generated man pages from CVS Fri Oct 27 21:54:32 CEST 2006 VMiklos Added libfetch linux port + misc changes Numerous changes: Numerous changes: * Makefile changes for libfetch integration Forgot to cycle to next server on download error - fixed, as well as the Removed user-CFLAGS during a debug build. Added -Wall to normal build(I like -Wall) Fixed pacman -U: Whoops forgot this Added a newline upong progress completion - this was accidentally left out causing the second progress bar to overwrite the first * Fixed some alpm_get_option calls (long params were used for C99 compliance, * Modified some error output and logging Removed antesis mirror, as it no longer works Added mcheck support for memory debugging * Fixed an error message that should be a debug message * Improved mcheck output mcheck() seems to cause segfaults. Annoying. Switched back to useing mtrace() - if anything valgrind is superior to mcheck anyway Whoops - I fail at setenv Last mtrace/setenv change, I swear Skip root check on -Sp *** empty log message *** * Numerous mini valgrind fixes. * autotool fixes * has_archname changes * has_archname additions * Initial changes to gensync - makepkg changes were not checked in from another * Changes to some of the TODOs and a brief glance at the NEWS file... * integrity check looping - support multiple algorithms at once *
[pacman-dev] [GIT] The official pacman repository annotated tag, v3.0.0-rc2, updated. v3.0.0-rc2
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The official pacman repository". The annotated tag, v3.0.0-rc2 has been updated to fc4cd3864aae4edd5835116d9191b48f60ffa4a4 (tag) from b977b9c030861decd22376e4d2a9147e830ebfae (which is now obsolete) tagging 9e3a1853451230d887c3c89f49f04e502fb69621 (commit) replaces v3.0.0-rc1 tagged by Andrew Gregory on Sat Oct 20 12:53:22 2018 -0700 - Log - replaces broken tag b977b9c030861decd22376e4d2a9147e830ebfae -BEGIN PGP SIGNATURE- iQEzBAABCAAdFiEEuBUbEXA3eBCVUUynu9/8kjBrESEFAlvLh7IACgkQu9/8kjBr ESFJ9QgAgulpF3KQDRNRgGIpoIlblE8U0H6AziEr+lG3RRUGZs4gxJybD2aMkcrB KSQ0L4dTHfcQ1d//d+9N2TnEf60erz+ryC+lBDzNenqZ4ocLQwiYeRCzyc8DqIoU 7Rl8mFgv0IB+4IOh5r9nPFzsGqV1UJkTjOP5guHVsy7U/1ZbXEEjhBUwkhWPfpke 3QV+7T2I2oq8aFMm6Xx30WuOIUeFpjQ+HzyI3evVWQW/B3sL5CsTm/iyav3MaAZs rtCrGkNpfH1EI2+N8WW/sA6ZON+LpnEoUnovaYD2wU2KRlnZDc5sZt3jXp9ETBvp poKY0EgIJulQ5US59AdIWg2zWKDfSw== =oJsw -END PGP SIGNATURE- Aaron Griffin (7): * Fixed an issue with globbing the --test argument Added this test to check the XferCommand functionality * Fix the double package name URL when using XferCommand * Bug fix for makepkg dependency testing. This requires that we * Updated -V output to include the 2007 copyright date. * Two fixes when running under a new root (-r|--root) * Fixed an error with 'cascade' removal due to creation of a new pmpkg_t struct Dan McGee (33): * rankmirrors updates from Scott Horowitz . * Removed a mirrorlist that codemac says is quite outdated. * Failure to #include config.h cost us here, we lost all NLS in alpm.c. This commit looks much more monumental than it is. Almost all just #include * Added missing header include guards in md5.h and sha1.h. Trying to fix up this autotools stuff a bit more. * Remove sha1 checksums for now from the INTEGRITY_CHECK array. * Updated Italian translation * Fix FS #6534- unclear IgnorePkg message. Sorry translators, had to update * Sorry tranlators, another string update. .pacorig was displayed twice in * Slight updates of Hungarian translation * -Qs was returning an error if no package found, which is not the same behavior as -Ss. * Oops, that last commit had some debug stuff in it. Removed it and added * Updated Italian translation * Added a readme file to the contrib/ directory. * Updated Brazilian Portuguese translation * Updated German translation * Updated pot files for hopefully the last time before release. * Slight updates to NEWS file. * Mark a function as static that is only used in deptest.c. * Updated Italian translation * Added confirmation step to makepkg -C operation to ensure user is deleting * Another slight update, getting rid of -rf flags and clarifying a message. * Updated Italian translation * Added Russian language translation. Thanks! * Fix group comparison issue and associated compilation warnings by using * Updated Hungarian translation, thanks! * Updates to Hungarian translation from Nagy, mostly cleanup stuff. * Fixed -Qil regression, now both flags are honored. (FS #1355) * Removed ${CFLAGS} from Makefile.am(s) as it was causing all CFLAGS to be * Fix an issue where the same dependency was recorded multiple times in the * Fix wrong filesize being recorded to local DB. Reported by Andreas Radke. * Noted a misspelling for later (after we are not in string freeze). Jürgen Hötzel (1): fixed string comparison callback (patch from Nagy Gabor) --- hooks/post-receive -- The official pacman repository
[pacman-dev] [GIT] The official pacman repository annotated tag, v3.0.0, updated. v3.0.0
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The official pacman repository". The annotated tag, v3.0.0 has been updated to c914ef466fc08048b95f999cb99c4e8431548c18 (tag) from c6b17b224f264973f32291ec0e4101d1a9fd0af1 (which is now obsolete) tagging 58fe79eef64fb87b2553e6514a47beaa6d0249c1 (commit) replaces v3.0.0-rc2 tagged by Andrew Gregory on Sat Oct 20 12:45:51 2018 -0700 - Log - replaces broken tag c6b17b224f264973f32291ec0e4101d1a9fd0af1 -BEGIN PGP SIGNATURE- iQEzBAABCAAdFiEEuBUbEXA3eBCVUUynu9/8kjBrESEFAlvLhe8ACgkQu9/8kjBr ESGH8QgArLmBhjuFwAaOc7Sj1THPF5BkwWqDcTQDSqMjmBdv3LskC1/ija/IsV2J k6e9FGqHZk2H/EsSuxflpDd0M0XpLAxmcHnNe1qTPoqyCBBmNpwNZDeVE6115FBX GX3q4mHQLmDJduhQJR0hHBvmUGXfKZoxNznHl/0MYZEosl6lAibwLAxdda1ro6RN XXbAVc/5b8bIsqL2o1Jj66VJnOCarUQ2KoygQ8kMjVyLcxw9g4qsYsLGKzDXgUUm 5dCIskNPDdJDGCtIPNOyPQemS5BJl3e8QFwo6OP9VgeSPhKnSTqnNlxy2mDtcwOP gPPWAN4Aya5zZa31NzifbV58GyuDhA== =gB59 -END PGP SIGNATURE- Aaron Griffin (14): * Missed a path when requiring that all paths end with / - this caused -U not to * Sebastian Sareyko * makepkg.conf.in: Added /usr/share/gtk-doc back into default DOC_DIRS James Rosten Nagy Gabor * Fix pacman -Se which installs depends only, as it was broken * Fix asking the user to upgrade when using -Sp Giovanni Scafora * Quick fixup for the translations due to a typo fix committed earlier. * -Qo now properly resolves paths when finding an owner * Correct install scriptlet usage (reuse of handle->root when not needed) I was mistaken, newpkg->data IS useful here, as the scriptlet isn't in the FS at Quick pactest changes: * Added a mirror list for [testing] (it appears most mirrors mirror testing) Dan McGee (29): * Resizing terminal while progress bars were displayed caused some weird * Small updates to my TODO file. * Fixed up broken translation * Updated Russian translation * Updated Hungarian translation * Missing a 'msg' in makepkg- pointed out by wain on Flyspray. Thanks! * Added quoting on several makepkg paths that were lacking it. James Rosten * Adding new Turkish mirror as posted on the forums. * Updated Italian translation * TODO list updates. * makepkg: fix installation of dependencies with version comparitors. * makepkg: Fix behavior of -Ssr: deps were not being correctly removed before. * makepkg: a few more changes to get dependencies working correctly. If a * NEWS: add quick line about backup files. * TODO.dan updates. * pacman.c: Add CacheDir to -v --verbose output. * Typo fix. * Updated Italian translation * Fix conflict checking to ignore symlinks that were in previous version of Lots of translation updates before we release. Roman Kyrylych * Updated Brazilian Portuguese translation Clarify some English messages as suggested by Nagy Gabor. I even did the hard Fixed alpm_log call- too many parameters passed. (bardo on #archlinux-pacman) * Updated German translation * Removed three dead mirrors (Dale Blount ). Andrew Fyfe * Fix bug where 'makepkg -L' doesn't stop on build failure. Jürgen Hötzel (1): * dont use XferCommand if retrieving local files, fixes wget error: --- hooks/post-receive -- The official pacman repository
[pacman-dev] [PATCH v3] pacman: don't error when a group exists but all packages are ignored
Currently when attempting to sync a group where all packages are ignored, either by ignorepkg, ignoregroup or --needed, pacman will error with "target not found". Instead, if a group has no packages check if the group exists before throwing an error. Signed-off-by: morganamilo --- v2: Move to frontend + fix formatting. v3: Strip alpm_ prefix diff --git a/src/pacman/sync.c b/src/pacman/sync.c index ef8faedf..57677a42 100644 --- a/src/pacman/sync.c +++ b/src/pacman/sync.c @@ -535,6 +535,20 @@ static int process_pkg(alpm_pkg_t *pkg) return 0; } +static int group_exists(alpm_list_t *dbs, const char *name) +{ + alpm_list_t *i; + for(i = dbs; i; i = i->next) { + alpm_db_t *db = i->data; + + if(alpm_db_get_group(db, name)) { + return 1; + } + } + + return 0; +} + static int process_group(alpm_list_t *dbs, const char *group, int error) { int ret = 0; @@ -543,6 +557,10 @@ static int process_group(alpm_list_t *dbs, const char *group, int error) int count = alpm_list_count(pkgs); if(!count) { + if(group_exists(dbs, group)) { + return 0; + } + pm_printf(ALPM_LOG_ERROR, _("target not found: %s\n"), group); return 1; } -- 2.19.1