Sfoglia il codice sorgente

deprecate the compat wrapper

after a decade, it's about time to phase it out.
Oswald Buddenhagen 11 anni fa
parent
commit
3742fc475b
3 ha cambiato i file con 10 aggiunte e 0 eliminazioni
  1. 4 0
      NEWS
  2. 3 0
      src/compat/isync.1
  3. 3 0
      src/compat/main.c

+ 4 - 0
NEWS

@@ -1,3 +1,7 @@
+[1.2.0]
+
+The 'isync' compatibility wrapper is now deprecated.
+
 [1.1.0]
 
 Support for hierarchical mailboxes in Patterns.

+ 3 - 0
src/compat/isync.1

@@ -37,6 +37,9 @@ It will automatically migrate the UID mapping from previous versions of
 \fBmbsync\fR. If you were using \fBisync\fR version 0.8 or 0.9.x you might
 want to use \fBmdconvert\fR to convert the mailboxes to the more efficient
 \fBnative\fR UID storage scheme after migrating them.
+.br
+\fBisync\fR is deprecated. Please use the \fB-w\fR option to permanently
+migrate the configuration and start using \fBmbsync\fR directly.
 ..
 .SH OPTIONS
 .TP

+ 3 - 0
src/compat/main.c

@@ -288,6 +288,9 @@ main( int argc, char **argv )
 		}
 	}
 
+	if (!writeout)
+		fputs( "Notice: please run 'isync -w' and start using 'mbsync' directly.\n", stderr );
+
 	if (config) {
 		if (*config != '/') {
 			if (!getcwd( path1, sizeof(path1) )) {