sup 1.1 → 1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/checks.yml +40 -38
- data/.gitmodules +1 -0
- data/CONTRIBUTORS +3 -1
- data/History.txt +32 -3
- data/Manifest.txt +34 -1
- data/README.md +0 -1
- data/bin/sup-sync-back-maildir +1 -1
- data/contrib/nix/Gemfile +24 -0
- data/contrib/nix/Gemfile.lock +101 -0
- data/contrib/nix/README +7 -0
- data/contrib/nix/gem-install-shell.nix +14 -0
- data/contrib/nix/gemset.nix +391 -0
- data/contrib/nix/ruby2.4-Gemfile.lock +85 -0
- data/contrib/nix/ruby2.4-gemset.nix +329 -0
- data/contrib/nix/ruby2.4-shell.nix +26 -0
- data/contrib/nix/ruby2.5-Gemfile.lock +85 -0
- data/contrib/nix/ruby2.5-gemset.nix +329 -0
- data/contrib/nix/ruby2.5-shell.nix +26 -0
- data/contrib/nix/ruby2.6-Gemfile.lock +87 -0
- data/contrib/nix/ruby2.6-gemset.nix +339 -0
- data/contrib/nix/ruby2.6-shell.nix +26 -0
- data/contrib/nix/ruby2.7-Gemfile.lock +91 -0
- data/contrib/nix/ruby2.7-gemset.nix +359 -0
- data/contrib/nix/ruby2.7-shell.nix +14 -0
- data/contrib/nix/ruby3.0-Gemfile.lock +91 -0
- data/contrib/nix/ruby3.0-gemset.nix +359 -0
- data/contrib/nix/ruby3.0-shell.nix +14 -0
- data/contrib/nix/ruby3.1-shell.nix +25 -0
- data/contrib/nix/ruby3.2-shell.nix +25 -0
- data/contrib/nix/ruby3.3-shell.nix +25 -0
- data/contrib/nix/ruby3.4-shell.nix +36 -0
- data/contrib/nix/test-all-rubies.sh +6 -0
- data/doc/Hooks.txt +1 -1
- data/ext/mkrf_conf_xapian.rb +2 -2
- data/lib/sup/crypto.rb +8 -6
- data/lib/sup/index.rb +2 -2
- data/lib/sup/maildir.rb +5 -1
- data/lib/sup/mbox.rb +26 -8
- data/lib/sup/message.rb +15 -12
- data/lib/sup/modes/console_mode.rb +1 -1
- data/lib/sup/modes/edit_message_mode.rb +5 -5
- data/lib/sup/thread.rb +20 -20
- data/lib/sup/util.rb +12 -7
- data/lib/sup/version.rb +1 -1
- data/man/sup-add.1 +40 -40
- data/man/sup-config.1 +30 -26
- data/man/sup-dump.1 +38 -38
- data/man/sup-import-dump.1 +41 -37
- data/man/sup-psych-ify-config-files.1 +32 -28
- data/man/sup-recover-sources.1 +39 -35
- data/man/sup-sync-back-maildir.1 +39 -34
- data/man/sup-sync.1 +50 -46
- data/man/sup-tweak-labels.1 +43 -38
- data/man/sup.1 +42 -38
- data/shell.nix +1 -0
- data/sup.gemspec +2 -0
- data/test/dummy_source.rb +6 -0
- data/test/fixtures/embedded-message-rfc6532.eml +33 -0
- data/test/fixtures/invalid-date.eml +8 -0
- data/test/gnupg_test_home/private-keys-v1.d/26C05E44706A8E230B3255BB9532B34DC9420232.key +42 -0
- data/test/gnupg_test_home/private-keys-v1.d/D187ADC90EC4DEB7047678EAA37E33A53A465D47.key +5 -0
- data/test/gnupg_test_home/private-keys-v1.d/FB2D9BD3B1BE90B5BCF697781F8404224B0FCF5B.key +5 -0
- data/test/gnupg_test_home/pubring.gpg +0 -0
- data/test/gnupg_test_home/receiver_pubring.gpg +0 -0
- data/test/gnupg_test_home/receiver_secring.gpg +0 -0
- data/test/gnupg_test_home/regen_keys.sh +11 -2
- data/test/gnupg_test_home/secring.gpg +0 -0
- data/test/gnupg_test_home/sup-test-2@foo.bar.asc +20 -20
- data/test/integration/test_maildir.rb +18 -1
- data/test/integration/test_mbox.rb +13 -0
- data/test/integration/test_sup-sync-back-maildir.rb +40 -0
- data/test/test_crypto.rb +108 -71
- data/test/test_header_parsing.rb +2 -2
- data/test/test_message.rb +42 -0
- data/test/unit/test_contact.rb +1 -1
- data/test/unit/test_edit_message_mode.rb +94 -0
- data/test/unit/test_person.rb +3 -3
- data/test/unit/test_rmail_message.rb +36 -0
- data/test/unit/util/test_string.rb +3 -3
- metadata +73 -5
- data/test/gnupg_test_home/private-keys-v1.d/306D2EE90FF0014B5B9FD07E265C751791674140.key +0 -0
data/man/sup-import-dump.1
CHANGED
@@ -1,69 +1,68 @@
|
|
1
|
-
.\" Automatically generated by Pandoc
|
1
|
+
.\" Automatically generated by Pandoc 3.1.11.1
|
2
2
|
.\"
|
3
|
-
.TH "SUP
|
4
|
-
.hy
|
3
|
+
.TH "SUP\-IMPORT\-DUMP" "1" "April 9, 2012" "Sup User Manual" ""
|
5
4
|
.SH NAME
|
6
|
-
|
7
|
-
sup-import-dump - import message state dump to Sup index
|
5
|
+
sup\-import\-dump \- import message state dump to Sup index
|
8
6
|
.SH SYNOPSIS
|
9
|
-
|
10
|
-
sup-import-dump [\f[I]options\f[R]] dumpfile
|
7
|
+
sup\-import\-dump [\f[I]options\f[R]] dumpfile
|
11
8
|
.SH DESCRIPTION
|
12
|
-
.
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
If you need to recreate the index, see sup-sync --restore instead.
|
9
|
+
Imports message state previously exported by sup\-dump into the index.
|
10
|
+
sup\-import\-dump operates on the index only, so the messages must have
|
11
|
+
already been added using sup\-sync.
|
12
|
+
If you need to recreate the index, see sup\-sync \-\-restore instead.
|
17
13
|
.PP
|
18
14
|
Messages not mentioned in the dump file will not be modified.
|
19
15
|
.SH OPTIONS
|
20
16
|
.TP
|
21
|
-
|
17
|
+
\-v, \-\-verbose
|
22
18
|
Print message ids as they\[cq]re processed
|
23
19
|
.TP
|
24
|
-
|
20
|
+
\-i, \-\-ignore\-missing
|
25
21
|
Silently skip over messages that are not in the index
|
26
22
|
.TP
|
27
|
-
|
23
|
+
\-w, \-\-warn\-missing
|
28
24
|
Warn about messages that are not in the index, but continue
|
29
25
|
.TP
|
30
|
-
|
26
|
+
\-a, \-\-abort\-missing
|
31
27
|
Abort on encountering messages that are not in the index (default)
|
32
28
|
.TP
|
33
|
-
|
29
|
+
\-t, \-\-atomic
|
34
30
|
Use transaction to apply all changes atomically
|
35
31
|
.TP
|
36
|
-
|
32
|
+
\-n, \-\-dry\-run
|
37
33
|
Don\[cq]t actually modify the index.
|
38
|
-
Probably only useful with
|
34
|
+
Probably only useful with \-\-verbose
|
39
35
|
.TP
|
40
|
-
|
36
|
+
\-\-version
|
41
37
|
Show version information
|
42
38
|
.TP
|
43
|
-
|
39
|
+
\-h, \-\-help
|
44
40
|
Show help message
|
45
41
|
.SH SEE ALSO
|
46
|
-
|
47
|
-
sup(1), sup-sync(1), sup-dump(1)
|
42
|
+
sup(1), sup\-sync(1), sup\-dump(1)
|
48
43
|
.SH REPORTING BUGS
|
49
|
-
.PP
|
50
44
|
You are welcome to submit bug reports to the Sup issue tracker, located
|
51
45
|
at
|
52
46
|
.PP
|
53
|
-
|
47
|
+
\c
|
48
|
+
.UR https://github.com/sup-heliotrope/sup/issues
|
49
|
+
.UE \c
|
54
50
|
.SH CONTACT INFORMATION
|
55
51
|
.TP
|
56
52
|
The Sup web page:
|
57
|
-
|
53
|
+
\c
|
54
|
+
.UR https://sup-heliotrope.github.io/
|
55
|
+
.UE \c
|
58
56
|
.TP
|
59
57
|
Code repository:
|
60
|
-
|
58
|
+
\c
|
59
|
+
.UR https://github.com/sup-heliotrope/sup/
|
60
|
+
.UE \c
|
61
61
|
.TP
|
62
62
|
Sup Wiki:
|
63
|
-
|
64
|
-
.
|
65
|
-
|
66
|
-
#sup \[at] freenode.net
|
63
|
+
\c
|
64
|
+
.UR https://github.com/sup-heliotrope/sup/wiki/
|
65
|
+
.UE \c
|
67
66
|
.TP
|
68
67
|
Mailing list:
|
69
68
|
supmua\[at]googlegroups.com
|
@@ -71,17 +70,22 @@ supmua\[at]googlegroups.com
|
|
71
70
|
.PP
|
72
71
|
supmua+subscribe\[at]googlegroups.com
|
73
72
|
.PP
|
74
|
-
Archives:
|
73
|
+
Archives: \c
|
74
|
+
.UR https://groups.google.com/d/forum/supmua/
|
75
|
+
.UE \c
|
75
76
|
.RE
|
76
77
|
.SH COPYRIGHT
|
78
|
+
Copyright © 2006\-2009 William Morgan \c
|
79
|
+
.MT mworgan-sup@masanjin.net
|
80
|
+
.ME \c
|
77
81
|
.PP
|
78
|
-
Copyright \[
|
79
|
-
.PP
|
80
|
-
Copyright \[at] 2013-2014 Sup developers
|
82
|
+
Copyright \[at] 2013\-2014 Sup developers
|
81
83
|
.PP
|
82
84
|
Permission is granted to copy and distribute this manual under the terms
|
83
85
|
of the GNU General Public License; either version 2 or (at your option)
|
84
86
|
any later version.
|
85
87
|
.SH AUTHORS
|
86
|
-
Sup was originally written by William Morgan
|
87
|
-
|
88
|
+
Sup was originally written by William Morgan \c
|
89
|
+
.MT wmorgan-sup@masanjin.net
|
90
|
+
.ME \c
|
91
|
+
\ and is now developed and maintained by the Sup developers.
|
@@ -1,25 +1,21 @@
|
|
1
|
-
.\" Automatically generated by Pandoc
|
1
|
+
.\" Automatically generated by Pandoc 3.1.11.1
|
2
2
|
.\"
|
3
|
-
.TH "SUP
|
4
|
-
.hy
|
3
|
+
.TH "SUP\-SYNC" "1" "September 3, 2014" "Sup User Manual" ""
|
5
4
|
.SH NAME
|
6
|
-
|
7
|
-
sup-psych-ify-config-files - migrate Sup configuration
|
5
|
+
sup\-psych\-ify\-config\-files \- migrate Sup configuration
|
8
6
|
.SH SYNOPSIS
|
9
|
-
|
10
|
-
sup-psych-ify-config-files
|
7
|
+
sup\-psych\-ify\-config\-files
|
11
8
|
.SH DESCRIPTION
|
12
|
-
.PP
|
13
9
|
\f[B]YAML migration is deprecated by Ruby 2.1 and newer.\f[R]
|
14
10
|
.PP
|
15
|
-
If sup
|
16
|
-
\f[I]$HOME/.sup/sources.yaml\f[R] configuration file by reading it
|
17
|
-
the SYCK YAML parser and emitting the results with the Psych YAML
|
11
|
+
If sup\-psych\-ify\-config\-files is executed by Ruby <= 2.0 it migrates
|
12
|
+
the \f[I]$HOME/.sup/sources.yaml\f[R] configuration file by reading it
|
13
|
+
with the SYCK YAML parser and emitting the results with the Psych YAML
|
18
14
|
emitter.
|
19
15
|
.PP
|
20
16
|
Read more on the Sup wiki
|
21
17
|
.PP
|
22
|
-
https://github.com/sup
|
18
|
+
https://github.com/sup\-heliotrope/sup/wiki/Migration\-0.13\-to\-0.14
|
23
19
|
.SH FILES
|
24
20
|
.TP
|
25
21
|
$HOME/.sup/config.yaml
|
@@ -28,27 +24,30 @@ Sup configuration file
|
|
28
24
|
$HOME/.sup/sources.yaml
|
29
25
|
Configuration file for Sup mail sources
|
30
26
|
.SH SEE ALSO
|
31
|
-
|
32
|
-
sup(1), sup-add(1), sup-config(1), sup-dump(1)
|
27
|
+
sup(1), sup\-add(1), sup\-config(1), sup\-dump(1)
|
33
28
|
.SH REPORTING BUGS
|
34
|
-
.PP
|
35
29
|
You are welcome to submit bug reports to the Sup issue tracker, located
|
36
30
|
at
|
37
31
|
.PP
|
38
|
-
|
32
|
+
\c
|
33
|
+
.UR https://github.com/sup-heliotrope/sup/issues
|
34
|
+
.UE \c
|
39
35
|
.SH CONTACT INFORMATION
|
40
36
|
.TP
|
41
37
|
The Sup web page:
|
42
|
-
|
38
|
+
\c
|
39
|
+
.UR https://sup-heliotrope.github.io/
|
40
|
+
.UE \c
|
43
41
|
.TP
|
44
42
|
Code repository:
|
45
|
-
|
43
|
+
\c
|
44
|
+
.UR https://github.com/sup-heliotrope/sup/
|
45
|
+
.UE \c
|
46
46
|
.TP
|
47
47
|
Sup Wiki:
|
48
|
-
|
49
|
-
.
|
50
|
-
|
51
|
-
#sup \[at] freenode.net
|
48
|
+
\c
|
49
|
+
.UR https://github.com/sup-heliotrope/sup/wiki/
|
50
|
+
.UE \c
|
52
51
|
.TP
|
53
52
|
Mailing list:
|
54
53
|
supmua\[at]googlegroups.com
|
@@ -56,17 +55,22 @@ supmua\[at]googlegroups.com
|
|
56
55
|
.PP
|
57
56
|
supmua+subscribe\[at]googlegroups.com
|
58
57
|
.PP
|
59
|
-
Archives:
|
58
|
+
Archives: \c
|
59
|
+
.UR https://groups.google.com/d/forum/supmua/
|
60
|
+
.UE \c
|
60
61
|
.RE
|
61
62
|
.SH COPYRIGHT
|
63
|
+
Copyright © 2006\-2009 William Morgan \c
|
64
|
+
.MT mworgan-sup@masanjin.net
|
65
|
+
.ME \c
|
62
66
|
.PP
|
63
|
-
Copyright \[
|
64
|
-
.PP
|
65
|
-
Copyright \[at] 2013-2014 Sup developers
|
67
|
+
Copyright \[at] 2013\-2014 Sup developers
|
66
68
|
.PP
|
67
69
|
Permission is granted to copy and distribute this manual under the terms
|
68
70
|
of the GNU General Public License; either version 2 or (at your option)
|
69
71
|
any later version.
|
70
72
|
.SH AUTHORS
|
71
|
-
Sup was originally written by William Morgan
|
72
|
-
|
73
|
+
Sup was originally written by William Morgan \c
|
74
|
+
.MT wmorgan-sup@masanjin.net
|
75
|
+
.ME \c
|
76
|
+
\ and is now developed and maintained by the Sup developers.
|
data/man/sup-recover-sources.1
CHANGED
@@ -1,73 +1,72 @@
|
|
1
|
-
.\" Automatically generated by Pandoc
|
1
|
+
.\" Automatically generated by Pandoc 3.1.11.1
|
2
2
|
.\"
|
3
|
-
.TH "SUP
|
4
|
-
.hy
|
3
|
+
.TH "SUP\-RECOVER\-SOURCES" "1" "April 9, 2012" "Sup User Manual" ""
|
5
4
|
.SH NAME
|
6
|
-
|
7
|
-
sup-recover-sources - rebuild a lost Sup source configuration file
|
5
|
+
sup\-recover\-sources \- rebuild a lost Sup source configuration file
|
8
6
|
.SH SYNOPSIS
|
9
|
-
|
10
|
-
sup-recover-sources [\f[I]options\f[R]] [\f[I]source uri\&...\f[R]]
|
7
|
+
sup\-recover\-sources [\f[I]options\f[R]] [\f[I]source uri\&...\f[R]]
|
11
8
|
.SH DESCRIPTION
|
12
|
-
.PP
|
13
9
|
Rebuilds a lost sources.yaml file by reading messages from a list of
|
14
10
|
sources and determining, for each source, the most prevalent `source_id'
|
15
11
|
field of messages from that source in the index.
|
16
12
|
.PP
|
17
|
-
The only non
|
18
|
-
appears in multiple sources, those sources may be mis
|
19
|
-
program.
|
13
|
+
The only non\-deterministic component to this is that if the same
|
14
|
+
message appears in multiple sources, those sources may be mis\-diagnosed
|
15
|
+
by this program.
|
20
16
|
.PP
|
21
|
-
If the first N messages (
|
22
|
-
in the index, the source will be added to sources.yaml.
|
17
|
+
If the first N messages (\-\-scan\-num below) all have the same
|
18
|
+
source_id in the index, the source will be added to sources.yaml.
|
23
19
|
Otherwise, the distribution will be printed, and you will have to add it
|
24
20
|
by hand.
|
25
21
|
.PP
|
26
22
|
The offset pointer into the sources will be set to the end of the
|
27
|
-
source, so you will have to run sup
|
28
|
-
after doing this.
|
23
|
+
source, so you will have to run sup\-import \-\-rebuild for each new
|
24
|
+
source after doing this.
|
29
25
|
.SH OPTIONS
|
30
26
|
.TP
|
31
|
-
|
27
|
+
\-\-unusual
|
32
28
|
Mark sources as `unusual'.
|
33
29
|
Only usual sources will be polled by hand (default: false)
|
34
30
|
.TP
|
35
|
-
|
31
|
+
\-\-archive
|
36
32
|
Mark sources as `archive'.
|
37
33
|
New messages from these sources will not appear in the inbox (default:
|
38
34
|
false)
|
39
35
|
.TP
|
40
|
-
|
36
|
+
\-\-scan\-num N
|
41
37
|
Number of messages to scan per source (default: 10)
|
42
38
|
.TP
|
43
|
-
|
39
|
+
\-h, \-\-help
|
44
40
|
Show help message
|
45
41
|
.SH FILES
|
46
42
|
.TP
|
47
43
|
$HOME/.sup/sources.yaml
|
48
44
|
Configuration file for Sup mail sources
|
49
45
|
.SH SEE ALSO
|
50
|
-
|
51
|
-
sup(1), sup-config(1), sup-add(1), sup-import(1)
|
46
|
+
sup(1), sup\-config(1), sup\-add(1), sup\-import(1)
|
52
47
|
.SH REPORTING BUGS
|
53
|
-
.PP
|
54
48
|
You are welcome to submit bug reports to the Sup issue tracker, located
|
55
49
|
at
|
56
50
|
.PP
|
57
|
-
|
51
|
+
\c
|
52
|
+
.UR https://github.com/sup-heliotrope/sup/issues
|
53
|
+
.UE \c
|
58
54
|
.SH CONTACT INFORMATION
|
59
55
|
.TP
|
60
56
|
The Sup web page:
|
61
|
-
|
57
|
+
\c
|
58
|
+
.UR https://sup-heliotrope.github.io/
|
59
|
+
.UE \c
|
62
60
|
.TP
|
63
61
|
Code repository:
|
64
|
-
|
62
|
+
\c
|
63
|
+
.UR https://github.com/sup-heliotrope/sup/
|
64
|
+
.UE \c
|
65
65
|
.TP
|
66
66
|
Sup Wiki:
|
67
|
-
|
68
|
-
.
|
69
|
-
|
70
|
-
#sup \[at] freenode.net
|
67
|
+
\c
|
68
|
+
.UR https://github.com/sup-heliotrope/sup/wiki/
|
69
|
+
.UE \c
|
71
70
|
.TP
|
72
71
|
Mailing list:
|
73
72
|
supmua\[at]googlegroups.com
|
@@ -75,17 +74,22 @@ supmua\[at]googlegroups.com
|
|
75
74
|
.PP
|
76
75
|
supmua+subscribe\[at]googlegroups.com
|
77
76
|
.PP
|
78
|
-
Archives:
|
77
|
+
Archives: \c
|
78
|
+
.UR https://groups.google.com/d/forum/supmua/
|
79
|
+
.UE \c
|
79
80
|
.RE
|
80
81
|
.SH COPYRIGHT
|
82
|
+
Copyright © 2006\-2009 William Morgan \c
|
83
|
+
.MT mworgan-sup@masanjin.net
|
84
|
+
.ME \c
|
81
85
|
.PP
|
82
|
-
Copyright \[
|
83
|
-
.PP
|
84
|
-
Copyright \[at] 2013-2014 Sup developers
|
86
|
+
Copyright \[at] 2013\-2014 Sup developers
|
85
87
|
.PP
|
86
88
|
Permission is granted to copy and distribute this manual under the terms
|
87
89
|
of the GNU General Public License; either version 2 or (at your option)
|
88
90
|
any later version.
|
89
91
|
.SH AUTHORS
|
90
|
-
Sup was originally written by William Morgan
|
91
|
-
|
92
|
+
Sup was originally written by William Morgan \c
|
93
|
+
.MT wmorgan-sup@masanjin.net
|
94
|
+
.ME \c
|
95
|
+
\ and is now developed and maintained by the Sup developers.
|
data/man/sup-sync-back-maildir.1
CHANGED
@@ -1,28 +1,25 @@
|
|
1
|
-
.\" Automatically generated by Pandoc
|
1
|
+
.\" Automatically generated by Pandoc 3.1.11.1
|
2
2
|
.\"
|
3
|
-
.TH "SUP
|
4
|
-
.hy
|
3
|
+
.TH "SUP\-SYNC\-BACK\-MAILDIR" "1" "August 25, 2014" "Sup User Manual" ""
|
5
4
|
.SH NAME
|
6
|
-
|
7
|
-
|
5
|
+
sup\-sync\-back\-maildir \- Export Xapian entries to Maildir sources on
|
6
|
+
disk
|
8
7
|
.SH SYNOPSIS
|
9
|
-
|
10
|
-
sup-sync-back-maildir [\f[I]options\f[R]] [\f[I]source uri\&...\f[R]]
|
8
|
+
sup\-sync\-back\-maildir [\f[I]options\f[R]] [\f[I]source uri\&...\f[R]]
|
11
9
|
.SH DESCRIPTION
|
12
|
-
.PP
|
13
10
|
This script parses the Xapian entries for a given Maildir source and
|
14
|
-
renames (changes maildir flags) e
|
11
|
+
renames (changes maildir flags) e\-mail files on disk according to the
|
15
12
|
labels stored in the index.
|
16
13
|
It will export all the changes you made in Sup to your Maildirs so that
|
17
14
|
they can be propagated to your IMAP server with e.g.\ offlineimap.
|
18
15
|
.PP
|
19
16
|
The script also merges some Maildir flags into Sup such as R (replied)
|
20
|
-
and P (passed, forwarded), for instance suppose you have an e
|
17
|
+
and P (passed, forwarded), for instance suppose you have an e\-mail file
|
21
18
|
like this: foo_bar:2,FRS (flags are favorite, replied, seen) and its
|
22
19
|
Xapian entry has labels `starred', the merge operation will add the
|
23
20
|
`replied' label to the Xapian entry.
|
24
21
|
.PP
|
25
|
-
If you choose not to merge (
|
22
|
+
If you choose not to merge (\-m) you will lose information (`replied'),
|
26
23
|
and in the previous example the file will be renamed to foo_bar:2,FS.
|
27
24
|
.PP
|
28
25
|
Running this script is \f[I]strongly\f[R] recommended when setting the
|
@@ -35,50 +32,53 @@ sources marked as usual and that have not disabled sync back using the
|
|
35
32
|
configuration parameter sync_back = false in sources.yaml.
|
36
33
|
.SH OPTIONS
|
37
34
|
.TP
|
38
|
-
|
35
|
+
\-n, \-\-no\-confirm
|
39
36
|
Don\[cq]t ask for confirmation before synchronizing
|
40
37
|
.TP
|
41
|
-
|
38
|
+
\-m, \-\-no\-merge
|
42
39
|
Don\[cq]t merge new supported Maildir flags (R and P)
|
43
40
|
.TP
|
44
|
-
|
41
|
+
\-l, \-\-list\-sources
|
45
42
|
List your Maildir sources and exit
|
46
43
|
.TP
|
47
|
-
|
44
|
+
\-u, \-\-unusual\-sources\-too
|
48
45
|
Sync unusual sources too if no specific source information is given
|
49
46
|
.TP
|
50
|
-
|
47
|
+
\-\-version
|
51
48
|
Print version and exit
|
52
49
|
.TP
|
53
|
-
|
50
|
+
\-h, \-\-help
|
54
51
|
Show brief help message
|
55
52
|
.SH FILES
|
56
53
|
.TP
|
57
54
|
$HOME/.sup/sources.yaml
|
58
55
|
Configuration file for Sup mail sources
|
59
56
|
.SH SEE ALSO
|
60
|
-
|
61
|
-
sup(1)
|
62
|
-
sup-tweak-labels(1)
|
57
|
+
sup(1), sup\-add(1), sup\-config(1), sup\-dump(1), sup\-sync(1),
|
58
|
+
sup\-tweak\-labels(1)
|
63
59
|
.SH REPORTING BUGS
|
64
|
-
.PP
|
65
60
|
You are welcome to submit bug reports to the Sup issue tracker, located
|
66
61
|
at
|
67
62
|
.PP
|
68
|
-
|
63
|
+
\c
|
64
|
+
.UR https://github.com/sup-heliotrope/sup/issues
|
65
|
+
.UE \c
|
69
66
|
.SH CONTACT INFORMATION
|
70
67
|
.TP
|
71
68
|
The Sup web page:
|
72
|
-
|
69
|
+
\c
|
70
|
+
.UR https://sup-heliotrope.github.io/
|
71
|
+
.UE \c
|
73
72
|
.TP
|
74
73
|
Code repository:
|
75
|
-
|
74
|
+
\c
|
75
|
+
.UR https://github.com/sup-heliotrope/sup/
|
76
|
+
.UE \c
|
76
77
|
.TP
|
77
78
|
Sup Wiki:
|
78
|
-
|
79
|
-
.
|
80
|
-
|
81
|
-
#sup \[at] freenode.net
|
79
|
+
\c
|
80
|
+
.UR https://github.com/sup-heliotrope/sup/wiki/
|
81
|
+
.UE \c
|
82
82
|
.TP
|
83
83
|
Mailing list:
|
84
84
|
supmua\[at]googlegroups.com
|
@@ -86,17 +86,22 @@ supmua\[at]googlegroups.com
|
|
86
86
|
.PP
|
87
87
|
supmua+subscribe\[at]googlegroups.com
|
88
88
|
.PP
|
89
|
-
Archives:
|
89
|
+
Archives: \c
|
90
|
+
.UR https://groups.google.com/d/forum/supmua/
|
91
|
+
.UE \c
|
90
92
|
.RE
|
91
93
|
.SH COPYRIGHT
|
94
|
+
Copyright © 2006\-2009 William Morgan \c
|
95
|
+
.MT mworgan-sup@masanjin.net
|
96
|
+
.ME \c
|
92
97
|
.PP
|
93
|
-
Copyright \[
|
94
|
-
.PP
|
95
|
-
Copyright \[at] 2013-2014 Sup developers
|
98
|
+
Copyright \[at] 2013\-2014 Sup developers
|
96
99
|
.PP
|
97
100
|
Permission is granted to copy and distribute this manual under the terms
|
98
101
|
of the GNU General Public License; either version 2 or (at your option)
|
99
102
|
any later version.
|
100
103
|
.SH AUTHORS
|
101
|
-
Sup was originally written by William Morgan
|
102
|
-
|
104
|
+
Sup was originally written by William Morgan \c
|
105
|
+
.MT wmorgan-sup@masanjin.net
|
106
|
+
.ME \c
|
107
|
+
\ and is now developed and maintained by the Sup developers.
|
data/man/sup-sync.1
CHANGED
@@ -1,103 +1,102 @@
|
|
1
|
-
.\" Automatically generated by Pandoc
|
1
|
+
.\" Automatically generated by Pandoc 3.1.11.1
|
2
2
|
.\"
|
3
|
-
.TH "SUP
|
4
|
-
.hy
|
3
|
+
.TH "SUP\-SYNC" "1" "April 9, 2012" "Sup User Manual" ""
|
5
4
|
.SH NAME
|
6
|
-
|
7
|
-
sup-sync - sychronize the Sup index with message sources
|
5
|
+
sup\-sync \- sychronize the Sup index with message sources
|
8
6
|
.SH SYNOPSIS
|
9
|
-
|
10
|
-
sup-sync [\f[I]options\f[R]] source \&...
|
7
|
+
sup\-sync [\f[I]options\f[R]] source \&...
|
11
8
|
.SH DESCRIPTION
|
12
|
-
.PP
|
13
9
|
Synchronizes the Sup index with one or more message sources by adding
|
14
10
|
messages, deleting messages, or changing message state in the index as
|
15
11
|
appropriate.
|
16
12
|
.PP
|
17
13
|
\[lq]Message state\[rq] means read/unread, archived/inbox,
|
18
|
-
starred/unstarred, and all user
|
14
|
+
starred/unstarred, and all user\-defined labels on each message.
|
19
15
|
.PP
|
20
16
|
\[lq]Default source state\[rq] refers to any state that a source itself
|
21
17
|
has keeps about a message.
|
22
|
-
Sup
|
18
|
+
Sup\-sync uses this information when adding a new message to the index.
|
23
19
|
The source state is typically limited to read/unread, archived/inbox
|
24
20
|
status and a single label based on the source name.
|
25
21
|
Messages using the default source state are placed in the inbox
|
26
22
|
(i.e.\ not archived) and unstarred.
|
27
23
|
.PP
|
28
24
|
If no sources are given, sync from all usual sources.
|
29
|
-
Supported source URI schemes can be seen by running \[lq]sup
|
30
|
-
|
25
|
+
Supported source URI schemes can be seen by running \[lq]sup\-add
|
26
|
+
\-\-help\[rq].
|
31
27
|
.SH MESSAGE STATE OPTIONS
|
32
28
|
.TP
|
33
|
-
|
29
|
+
\-\-asis
|
34
30
|
If the message is already in the index, preserve its state.
|
35
31
|
Otherwise, use default source state (default)
|
36
32
|
.TP
|
37
|
-
|
38
|
-
Restore message state from a dump file created with sup
|
39
|
-
If a message is not in this dumpfile, act as
|
33
|
+
\-\-restore dumpfile
|
34
|
+
Restore message state from a dump file created with sup\-dump.
|
35
|
+
If a message is not in this dumpfile, act as \-\-asis
|
40
36
|
.TP
|
41
|
-
|
37
|
+
\-\-discard
|
42
38
|
Discard any message state in the index and use the default source state.
|
43
39
|
\f[B]Dangerous!\f[R]
|
44
40
|
.TP
|
45
|
-
|
41
|
+
\-x, \-
|
46
42
|
When using the default source state, mark messages as archived.
|
47
43
|
.TP
|
48
|
-
|
44
|
+
\-r, \-\-read
|
49
45
|
When using the default source state, mark messages as read.
|
50
46
|
.TP
|
51
|
-
|
52
|
-
When using the default source state, also apply these user
|
53
|
-
labels (a comma
|
47
|
+
\-\-extra\-labels \f[I]STRING\f[R]
|
48
|
+
When using the default source state, also apply these user\-defined
|
49
|
+
labels (a comma\-separated list) (default)
|
54
50
|
.SH OTHER OPTIONS
|
55
51
|
.TP
|
56
|
-
|
52
|
+
\-v, \-\-verbose
|
57
53
|
Print message ids as they\[cq]re processed.
|
58
54
|
.TP
|
59
|
-
|
55
|
+
\-o, \-\-optimize
|
60
56
|
As the final operation, optimize the index.
|
61
57
|
.TP
|
62
|
-
|
58
|
+
\-\-all\-sources
|
63
59
|
Scan over all sources.
|
64
60
|
.TP
|
65
|
-
|
61
|
+
\-n, \-\-dry\-run
|
66
62
|
Don\[cq]t actually modify the index.
|
67
|
-
Probably only useful with
|
63
|
+
Probably only useful with \-\-verbose.
|
68
64
|
.TP
|
69
|
-
|
65
|
+
\-\-version
|
70
66
|
Show version information
|
71
67
|
.TP
|
72
|
-
|
68
|
+
\-h, \-\-help
|
73
69
|
Show help message
|
74
70
|
.SH FILES
|
75
71
|
.TP
|
76
72
|
$HOME/.sup/sources.yaml
|
77
73
|
Configuration file for Sup mail sources
|
78
74
|
.SH SEE ALSO
|
79
|
-
|
80
|
-
sup(1), sup
|
81
|
-
sup-sync-back-maildir(1), sup-tweak-labels(1)
|
75
|
+
sup(1), sup\-add(1), sup\-config(1), sup\-dump(1),
|
76
|
+
sup\-sync\-back\-maildir(1), sup\-tweak\-labels(1)
|
82
77
|
.SH REPORTING BUGS
|
83
|
-
.PP
|
84
78
|
You are welcome to submit bug reports to the Sup issue tracker, located
|
85
79
|
at
|
86
80
|
.PP
|
87
|
-
|
81
|
+
\c
|
82
|
+
.UR https://github.com/sup-heliotrope/sup/issues
|
83
|
+
.UE \c
|
88
84
|
.SH CONTACT INFORMATION
|
89
85
|
.TP
|
90
86
|
The Sup web page:
|
91
|
-
|
87
|
+
\c
|
88
|
+
.UR https://sup-heliotrope.github.io/
|
89
|
+
.UE \c
|
92
90
|
.TP
|
93
91
|
Code repository:
|
94
|
-
|
92
|
+
\c
|
93
|
+
.UR https://github.com/sup-heliotrope/sup/
|
94
|
+
.UE \c
|
95
95
|
.TP
|
96
96
|
Sup Wiki:
|
97
|
-
|
98
|
-
.
|
99
|
-
|
100
|
-
#sup \[at] freenode.net
|
97
|
+
\c
|
98
|
+
.UR https://github.com/sup-heliotrope/sup/wiki/
|
99
|
+
.UE \c
|
101
100
|
.TP
|
102
101
|
Mailing list:
|
103
102
|
supmua\[at]googlegroups.com
|
@@ -105,17 +104,22 @@ supmua\[at]googlegroups.com
|
|
105
104
|
.PP
|
106
105
|
supmua+subscribe\[at]googlegroups.com
|
107
106
|
.PP
|
108
|
-
Archives:
|
107
|
+
Archives: \c
|
108
|
+
.UR https://groups.google.com/d/forum/supmua/
|
109
|
+
.UE \c
|
109
110
|
.RE
|
110
111
|
.SH COPYRIGHT
|
112
|
+
Copyright © 2006\-2009 William Morgan \c
|
113
|
+
.MT mworgan-sup@masanjin.net
|
114
|
+
.ME \c
|
111
115
|
.PP
|
112
|
-
Copyright \[
|
113
|
-
.PP
|
114
|
-
Copyright \[at] 2013-2014 Sup developers
|
116
|
+
Copyright \[at] 2013\-2014 Sup developers
|
115
117
|
.PP
|
116
118
|
Permission is granted to copy and distribute this manual under the terms
|
117
119
|
of the GNU General Public License; either version 2 or (at your option)
|
118
120
|
any later version.
|
119
121
|
.SH AUTHORS
|
120
|
-
Sup was originally written by William Morgan
|
121
|
-
|
122
|
+
Sup was originally written by William Morgan \c
|
123
|
+
.MT wmorgan-sup@masanjin.net
|
124
|
+
.ME \c
|
125
|
+
\ and is now developed and maintained by the Sup developers.
|