Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Ismael Luceno (778988adeaae5d5c734af2fa30fe0fefb5509d55)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ismael Luceno <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Ismael Luceno (778988adeaae5d5c734af2fa30fe0fefb5509d55)
  • Date: Thu, 10 Nov 2016 14:18:13 +0000

GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:

mail/mutt/HISTORY | 5 +++++
mail/mutt/PREPARE | 44 +++++++++++++++++++++++++++++++-------------
2 files changed, 36 insertions(+), 13 deletions(-)

New commits:
commit 778988adeaae5d5c734af2fa30fe0fefb5509d55
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

mutt: Simplify PATCHES list manipulation

commit 8584f21a28bae87079ff44469554aababc999696
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

mutt: List available patches dynamically

commit b21e05d98ee8cc98445ac511972ff80f7518e3a3
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

mutt: Re-add imap_copy_for_trash patch

diff --git a/mail/mutt/HISTORY b/mail/mutt/HISTORY
index def682f..59e40dc 100644
--- a/mail/mutt/HISTORY
+++ b/mail/mutt/HISTORY
@@ -1,3 +1,8 @@
+2016-11-10 Ismael Luceno <ismael AT sourcemage.org>
+ * PREPARE: Re-added imap_copy_for_trash patch
+ List available patches dynamically
+ Simplified PATCHES list manipulation
+
2016-10-08 Pavel Vinogradov <public AT sourcemage.org>
* DETAILS: updated devel branch to 1.7.1,
added UPSTREAM_KEY as checking spell level
diff --git a/mail/mutt/PREPARE b/mail/mutt/PREPARE
index bb775dd..8e666ad 100755
--- a/mail/mutt/PREPARE
+++ b/mail/mutt/PREPARE
@@ -1,26 +1,44 @@
# temporary, to migrate old patch preferences
+list_remove_both() {
+ local list="$1"
+ shift
+ list_remove "$list" "$@" "${@/#/-}"
+}
+
OLD_PATCHES="$PATCHES" &&
-list_remove OLD_PATCHES "compressed_folders" "trash_folder" &&
+list_remove OLD_PATCHES "compressed_folders" "trash_folder" \
+ "imap_copy_for_trash" &&
list_remove OLD_PATCHES "-attachment_counting" "-current_shortcut" \
"-date_conditional" "-deepif" "-edit_threads" "-indexcolor" "-isalias" \
"-libesmtp" "-maildir_header_cache" "-purge_message" "-sidebar" \
"-signatures_menu" "-xtitles" "-compressed_folders" "-message_count" \
"-trash_folder" &&
-list_remove PATCHES "attachment_counting" "current_shortcut" "message_count"
\
- "date_conditional" "deepif" "edit_threads" "indexcolor" "isalias" \
- "libesmtp" "maildir_header_cache" "purge_message" "sidebar" \
- "signatures_menu" "xtitles" &&
-list_remove PATCHES "-attachment_counting" "-current_shortcut"
"-message_count" \
- "-date_conditional" "-deepif" "-edit_threads" "-indexcolor" "-isalias" \
- "-libesmtp" "-maildir_header_cache" "-purge_message" "-sidebar" \
- "-signatures_menu" "-xtitles" &&
+
+# Not available patches
+list_remove_both PATCHES \
+ "attachment_counting" \
+ "current_shortcut" \
+ "message_count" \
+ "date_conditional" \
+ "deepif" \
+ "edit_threads" \
+ "indexcolor" \
+ "isalias" \
+ "libesmtp" \
+ "maildir_header_cache" \
+ "purge_message" \
+ "sidebar" \
+ "signatures_menu" \
+ "xtitles" &&

if [[ $OLD_PATCHES ]]; then
message "$PROBLEM_COLOR" &&
- message "This new version of the mutt spell only includes the" &&
- message "compressed_folders and trash_folder patches, you" &&
- message "were using other patches, you can continue casting without these"
&&
- message "patches or abort. If you'd like a particular patch to be
available" &&
+ message "This new version of the mutt spell only includes the following
patches:" &&
+ message "$SPELL_COLOR" &&
+ grep -v '^#' "$SPELL_DIRECTORY/PATCH_ORDER" &&
+ message "$PROBLEM_COLOR" &&
+ message "You were using other patches, you can continue casting without
these" &&
+ message "or abort. If you'd like a particular patch to be available" &&
message "again in the future, please post a request on
bugs.sourcemage.org" &&
message "Perhaps you should consider using the devel or scm version of
mutt" &&
message "which already includes some of the patches available earlier" &&



  • [SM-Commit] GIT changes to master grimoire by Ismael Luceno (778988adeaae5d5c734af2fa30fe0fefb5509d55), Ismael Luceno, 11/10/2016

Archive powered by MHonArc 2.6.24.

Top of Page