Re: a couple of issues with Lmod and 'man' bash completion

2017-01-20 Thread Ed Greshko


On 01/20/17 17:25, Patrick O'Callaghan wrote:
> Anyway, I'm not a list moderator or even particularly interested in this 
> specific issue,
> but lists work better when people try to keep them on-topic.

Add to that, that the "user list" has a wider audience so more "eyes" will see 
a question
and potentially offer help with released versions.  I feel that is the major 
selling point
for placing a query in a given list.

-- 
Fedora Users List - The place to go to get others to do the work for you
___
test mailing list -- test@lists.fedoraproject.org
To unsubscribe send an email to test-le...@lists.fedoraproject.org


Re: a couple of issues with Lmod and 'man' bash completion

2017-01-20 Thread Patrick O'Callaghan
On 20 January 2017 at 02:42, Viorel Tabara  wrote:

> On Wed Jan 18 2017 05:45:17 GMT-0700 (MST) Patrick O'Callaghan
>  wrote:
> > Since you're running F25, the appropriate forum is the Users list, not
> the
> > Test list.
>
> I'm not looking for user support, rather I want to confirm a bug [1].
>

If it's a bug in a released version, it should either be discussed on
Bugzilla or on the Users list. What makes you think bugs are only discussed
on the Test list?


> > The Test list is for unreleased versions.
>
> Actually there have been plenty of discussions on this list about current
> Fedora releases.
>

And I've occasionally commented that they shouldn't be here. Likewise
comments on test versions that sometimes appear on the Users list.


> Now back to the point in question -- I run one Rawide
> installation, where I first noticed the issue. To reliably
> test/troubleshoot I
> needed two machines running an identical OS version.
>

If you want to talk about Rawhide, no problem, but that wasn't what your
original message said.

Anyway, I'm not a list moderator or even particularly interested in this
specific issue, but lists work better when people try to keep them on-topic.

poc
___
test mailing list -- test@lists.fedoraproject.org
To unsubscribe send an email to test-le...@lists.fedoraproject.org


Re: a couple of issues with Lmod and 'man' bash completion

2017-01-19 Thread Viorel Tabara
On Wed Jan 18 2017 05:45:17 GMT-0700 (MST) Patrick O'Callaghan 
 wrote:
> Since you're running F25, the appropriate forum is the Users list, not the
> Test list.

I'm not looking for user support, rather I want to confirm a bug [1].

> The Test list is for unreleased versions.

Actually there have been plenty of discussions on this list about current 
Fedora releases. Now back to the point in question -- I run one Rawide 
installation, where I first noticed the issue. To reliably test/troubleshoot I 
needed two machines running an identical OS version.

-- 
Viorel

[1]:https://lists.fedoraproject.org/archives/
- us...@lists.fedoraproject.org -- Community support for Fedora users
- test@lists.fedoraproject.org  -- For testing and quality assurance of Fedora 
  releases 
:wq
___
test mailing list -- test@lists.fedoraproject.org
To unsubscribe send an email to test-le...@lists.fedoraproject.org


Re: a couple of issues with Lmod and 'man' bash completion

2017-01-18 Thread Patrick O'Callaghan
On 18 January 2017 at 07:07, Viorel Tabara  wrote:

> The first issue has to do with 'man' tab completion not working when 'Lmod'
> package is installed. To debug I enabled expansion in the interactive
> shell on
> two systems -- a working one shown below as 'mha' and the broken one
> ('pc96'),
> both running F25 up to date:
>

Since you're running F25, the appropriate forum is the Users list, not the
Test list. The Test list is for unreleased versions.

poc
___
test mailing list -- test@lists.fedoraproject.org
To unsubscribe send an email to test-le...@lists.fedoraproject.org


a couple of issues with Lmod and 'man' bash completion

2017-01-17 Thread Viorel Tabara
Hello,

The first issue has to do with 'man' tab completion not working when 'Lmod' 
package is installed. To debug I enabled expansion in the interactive shell on 
two systems -- a working one shown below as 'mha' and the broken one ('pc96'), 
both running F25 up to date:

set -x

followed by:

man dnf
Ctrl-C

and then diff-ing the output:

   omiday ~ $ diff _man-mha _man-pc96 
   1c1
   < mha ~ $ man dnf+ local cmd=man
   ---
   > pc96 ~ $ man dnf+ local cmd=man
   248,252c248,250
   < + local manpath=
   < + [[ -z '' ]]
   < ++ manpath
   < + manpath=/usr/local/share/man:/usr/share/man
   < + [[ -z /usr/local/share/man:/usr/share/man ]]
   ---
   > + local manpath=/usr/share/lmod/lmod/share/man::
   > + [[ -z /usr/share/lmod/lmod/share/man:: ]]
   > + [[ -z /usr/share/lmod/lmod/share/man:: ]]
   256c254
   < + manpath=/usr/local/share/man:/usr/share/man:
   ---
   > + manpath=/usr/share/lmod/lmod/share/man:::
   258c256
   < + manpath='/usr/local/share/man/*man*/dnf* /usr/share/man/*man*/dnf*  
/usr/local/share/man/*cat*/dnf* /usr/share/man/*cat*/dnf* '
   ---
   > + manpath='/usr/share/lmod/lmod/share/man/*man*/dnf* /*man*/dnf* 
/*man*/dnf*  /usr/share/lmod/lmod/share/man/*cat*/dnf* /*cat*/dnf* /*cat*/dnf* '
   260c258
   < ++ eval command ls '/usr/local/share/man/*man*/dnf* 
/usr/share/man/*man*/dnf*  /usr/local/share/man/*cat*/dnf* 
/usr/share/man/*cat*/dnf* '
   ---
   > ++ eval command ls '/usr/share/lmod/lmod/share/man/*man*/dnf* /*man*/dnf* 
/*man*/dnf*  /usr/share/lmod/lmod/share/man/*cat*/dnf* /*cat*/dnf* /*cat*/dnf* '
   266c264
   < + local i start=11
   ---
   > + local i start=0
   289,290c287,288
   < + (( i=11 ))
   < + (( i < 11 ))
   ---
   > + (( i=0 ))
   > + (( i < 0 ))
 
I'm still unclear whether the non-empty 'manpath' interfering with 'man' tab 
completion is a bug in Lmod or in Bash completion but unset-ing MANPATH (which 
is where 'manpath' is initialized from) *before* 'man dnf' (completion 
loading here is lazy) effectively fixes the tab completion. I can investigate 
further if needed but I'm hoping someone more knowledgeable will chime in.

Second issue: Lmod is required by python3-sphinx on Rawhide but not on F25 --  
here's the output from those two systems:

   omiday ~ $ rpm -qR python3-sphinx
   /bin/sh
   /usr/bin/python3
   /usr/sbin/alternatives
   Lmod
   config(python3-sphinx) = 1.5.1-1.fc26
   python(abi) = 3.6
   python-sphinx-locale = 1.5.1-1.fc26
   python3-babel
   python3-docutils
   python3-imagesize
   python3-jinja2
   python3-mock
   python3-pygments
   python3-requests
   python3-six
   python3-snowballstemmer
   python3-sphinx-theme-alabaster
   python3-sphinx_rtd_theme
   rpmlib(CompressedFileNames) <= 3.0.4-1
   rpmlib(FileDigests) <= 4.6.0-1
   rpmlib(PayloadFilesHavePrefix) <= 4.0-1
   rpmlib(PayloadIsXz) <= 5.2-1

   pc96 ~ $ rpm -qR python3-sphinx
   /bin/sh
   /bin/sh
   /usr/bin/python3
   /usr/sbin/update-alternatives
   /usr/sbin/update-alternatives
   python(abi) = 3.5
   python-sphinx-locale = 1.4.8-2.fc25
   python3-babel
   python3-docutils
   python3-imagesize
   python3-jinja2
   python3-mock
   python3-pygments
   python3-six
   python3-snowballstemmer
   python3-sphinx-theme-alabaster
   python3-sphinx_rtd_theme
   rpmlib(CompressedFileNames) <= 3.0.4-1
   rpmlib(FileDigests) <= 4.6.0-1
   rpmlib(PayloadFilesHavePrefix) <= 4.0-1
   rpmlib(PayloadIsXz) <= 5.2-1


If any of those are bugs please let me know under which component they should 
be filed under and I can do that myself. And assuming that the bash completion 
isn't a bug any pointers on how to fix it are more than welcome.

Thanks much.

-- 
Viorel
___
test mailing list -- test@lists.fedoraproject.org
To unsubscribe send an email to test-le...@lists.fedoraproject.org