Roundup Tracker - Issues

Message7427

Author rouilj
Recipients marcus.priesch, rouilj
Date 2021-12-23.20:57:58
Message-id <1640293079.35.0.770038474902.issue2551169@roundup.psfhosted.org>
In-reply-to
Hi Marcus:

Sorry, I missed your update.

You said:
>roundup:
> >>> /usr/lib/python3.9/site-packages/roundup/
> >>> /usr/share/roundup/cgi-bin/roundup.cgi
> >>> /usr/share/roundup/templates/
> >>> /usr/share/man/man1/roundup-server.1.bz2
> >>> /usr/share/man/man1/roundup-demo.1.bz2
> >>> /usr/share/man/man1/roundup-admin.1.bz2
> >>> /usr/share/man/man1/roundup-mailgw.1.bz2
> >>> /usr/share/locale/es/LC_MESSAGES/roundup.mo
> >>> /usr/share/doc/roundup-2.0.0/
> >>> /usr/share/doc/roundup-2.0.0/FAQ.txt.bz2
> >>> /usr/share/doc/roundup-2.0.0/CHANGES.txt.bz2
> >>> /usr/bin/roundup-admin (symlink)

This looks broken, it's missing the roundup-{server,demo,mailgw}
commands unless you elided them.

>so there are no man pages installed in the django case ... hm ... if 
>they dont do it, should we ?

I claim yes. Man pages should be included by default if the command is
included.

>looking at the gentoo package path i see the discrepancy:
>
>dev-python/django is merely a dev stuff whereas
>www-apps/roundup clearly is a web-application - which someone could 
>argue - should have a manpage ;)

I haven't dealt with django in many years. Also we were installing
from source so....

>so my proposal:
>
>  * locales should be handled like in django

Well they kind of are. I modified the installer before this ticket
came up to search the normal install path for a wheel install of
roundup.

>  * templates should be packages - or at least package data ?
>   -> so everything whats needed is in the python path

It's too difficult to publish each of 5 trackers as a separate version
controlled package. Doing a once a year release of roundup is still a
multi week process.

>  * man pages get only installed by the distribution-package
>    -> or try in setup.py like stated above and give a hint when
>       it fails

The man pages are often the most up to date documentation on
commands. I know the docs used to point to the man pages for detailed
usage and examples. Maybe we can do something about that when
overhauling the docs but not now.

Docs and error handling in setuptools/setup.py isn't great. I have
tried making it more flexible in the past and ended up crashing
setuptools itself. Ralf IIRC had his own pain due to setuptools that
results in going back to distutils as he couldn't figure out how to fix
it.

Also we will soon be unable to install at all with the distutils
hierarchy being removed.

I am going to commit what I currently have that gets rid of the
infinite loop, supports lib/lib64. If we have to revisit this in the
future, that would be a good time to consider looking for a marker
directory like share or share/man.
History
Date User Action Args
2021-12-23 20:57:59rouiljsetmessageid: <1640293079.35.0.770038474902.issue2551169@roundup.psfhosted.org>
2021-12-23 20:57:59rouiljsetrecipients: + rouilj, marcus.priesch
2021-12-23 20:57:59rouiljlinkissue2551169 messages
2021-12-23 20:57:58rouiljcreate