logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

sup-recover-sources - rebuild a lost Sup source configuration file

Authors

       Sup was originally written  by  William  Morgan  <wmorgan-sup@masanjin.net>  and  is  now  developed  and
       maintained by the Sup developers.

Sup User Manual                                   April 9, 2012                           SUP-RECOVER-SOURCES(1)

Contact Information

TheSupwebpage:
              <http://supmua.org/>

       Coderepository:
              <https://github.com/sup-heliotrope/sup/>

       SupWiki:
              <https://github.com/sup-heliotrope/sup/wiki/>

       SupIRCchannel:
              #sup @ freenode.net

       Mailinglist:supmua@googlegroups.com

              supmua+subscribe@googlegroups.com

              Archives: <https://groups.google.com/d/forum/supmua/>

Description

       Rebuilds  a  lost  sources.yaml file by reading messages from a list of sources and determining, for each
       source, the most prevalent 'source_id' field of messages from that source in the index.

       The only non-deterministic component to this is that if the same message  appears  in  multiple  sources,
       those sources may be mis-diagnosed by this program.

       If  the  first N messages (--scan-num below) all have the same source_id in the index, the source will be
       added to sources.yaml.  Otherwise, the distribution will be printed, and you will have to add it by hand.

       The offset pointer into the sources will be set to the end of  the  source,  so  you  will  have  to  run
       sup-import --rebuild for each new source after doing this.

Files

$HOME/.sup/sources.yaml
              Configuration file for Sup mail sources

Name

       sup-recover-sources - rebuild a lost Sup source configuration file

Options

--unusual
              Mark sources as 'unusual'.  Only usual sources will be polled by hand (default: false)

       --archive
              Mark sources as 'archive'.  New messages from these sources will not appear in the inbox (default:
              false)

       --scan-numN
              Number of messages to scan per source (default: 10)

       -h,--help
              Show help message

Reporting Bugs

       You are welcome to submit bug reports to the Sup issue tracker, located at

       <https://github.com/sup-heliotrope/sup/issues>

See Also

sup(1), sup-config(1), sup-add(1), sup-import(1)

Synopsis

       sup-recover-sources [options] [sourceuri...]

See Also