Re: mailgw argument parsing

"John P. Rouillard" <[email protected]> Sun, 27 Nov 2022 12:14:25 -0500
Newsgroups gmane.comp.bug-tracking.roundup.devel
Message-ID <[email protected]>
Hi Ralf:

In message <[email protected]>,
Ralf Schlatterbeck writes:
>On Sat, Nov 26, 2022 at 02:44:23PM -0500, John P. Rouillard wrote:
>> 
>> Did you also update the man page in share/man/man1/roundup-mailgw.1 to
>> match.
>
>I wasn't aware there is one :-)

They exist for all the cli's: server, demo, amin and mailgw 8-).  They
are useful for a fast check when the cli help isn't enough. I am not
sure that they will be useful once setup.py has to be replaced with
another packaging config file. Other packaging configuration methods
don't have a way to put files like this in a normal system
directory.

roundup-admin may need a option to do the local system install, or a
roundup-postinstall program may be needed to link/install files under
the share subdirecotry tree of /us or /usr/local or oher prefix.

>Updated the manpage and pushed.
>I've made some formatting changes notably in the examples in the last
>paragraph so that they don't wrap on a 80 character screen (the default
>formatting of manpage text).
>
>You might want to check with
>
>nroff -mandoc share/man/man1/roundup-mailgw.1 | less
>vs formmatting postscript with groff:
>groff -mandoc share/man/man1/roundup-mailgw.1 > z.ps
>gv z.ps

I checked the nroff case and that looks good, thanks.

I just updated the header timestamp to today and added a security
oriented example. Does this example look correct?


    You can also set properties directly on the issue class. If
    your tracker's issue has a "private" property that limits
    who can view an issue and its messages:

      security: |/tools/roundup/bin/roundup-mailgw
		 -S "issue.private=true" -S "issue.keyword+=security"
		 /var/roundup/sysadmin

    would set the private property on a issue to restrict
    visiblity and mark the issue as a security topic using a
    keyword.

Have a great rest of your Sunday.

--
				-- rouilj
John Rouillard
===========================================================================
My employers don't acknowledge my existence much less my opinions.