View previous topic :: View next topic |
Author |
Message |
imesg Guru
Joined: 12 Jul 2002 Posts: 445
|
Posted: Mon Dec 24, 2018 5:28 pm Post subject: want to file a bug concerning wiki |
|
|
There seems to be an error on this wiki page.
https://wiki.gentoo.org/wiki/User:Feng/World_file_(Portage)
Code: |
Dependencies already listed in this file can be found using the qdepends -Q command and be collected in a file say /tmp/deselect:
Important
The following script may have several issues so check the data carefully.[1]
CODE checkworldfile
'"`UNIQ--pre-00000002-QINU`"'
Entries collected in /tmp/deselect can be cross-checked using the --depclean option:
|
So that the line UNIQ... is supposed to be a script.
Seems there is no accepted way to file a bug.
[Moderator edit: fixed [url] tag. Forum auto-linking does not work when the URL contains parentheses. -Hu] |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54220 Location: 56N 3W
|
Posted: Mon Dec 24, 2018 6:19 pm Post subject: |
|
|
imesg,
The script is still there. Click on view source.
Code: | {{Important|The following script may have several issues so check the data carefully.<ref>https://forums.gentoo.org/viewtopic-t-1075276.html</ref>}}
{{CodeBox|title=checkworldfile|lang=bash|<pre>#!/bin/bash
while read i ; do \
if [ -n "$(qdepends -Q $i)" ]; then \
echo '' ; echo 'checking '$i ;
if [ -n "$(emerge -p --quiet --depclean $i)" ]; then \
echo $i' needs to stay in @world'
else
echo $i' can be deselected'
echo $i >> /tmp/deselect
fi
fi
done < /var/lib/portage/world
</pre>}}
Entries collected in {{Path|/tmp/deselect}} can be cross-checked using the <code>--depclean</code> option: |
-- edit --
Its fixed.
gentoo-wiki: | [18:20:45] <NeddySeagoon> Hi wiki peeps. Rendering of https://wiki.gentoo.org/wiki/User:Feng/World_file is broken. The script in checkworldfile is in the page source but it renders as '"`UNIQ--pre-00000002-QINU`"'␡
[18:24:03] <Chiitoo> Interesting. Removing the 'pre' tags seems to fix it.
[18:24:16] <grknight> NeddySeagoon: the pre tags need to be removed and the content should start with 1=
[18:25:31] <grknight> basically <pre> and lang= don't mix
[18:26:08] <veremitz> hmm wonder how many articles are suffering that issue .. :P
[18:27:30] <grknight> i've changed that page
[18:28:39] <grknight> veremitz: very difficult to say
[18:28:53] <NeddySeagoon> grknight: Thatnk |
The problem is with the wiki rendering, so I suspect lots of pages are affected.
File a bug at bugs.gentoo.org.
Moved the 'code' tags around a bit, as the '-- edit --' part got mixed in with the first block. —Chiitoo _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
imesg Guru
Joined: 12 Jul 2002 Posts: 445
|
Posted: Fri Jan 04, 2019 9:56 pm Post subject: |
|
|
Neddy, looks like your conversation indicates that this is fixed. As of now it is not. I filed a bug. Hopefully the proper thing to do.
NeddySeagoon wrote: | imesg,
The script is still there. Click on view source.
Code: | {{Important|The following script may have several issues so check the data carefully.<ref>https://forums.gentoo.org/viewtopic-t-1075276.html</ref>}}
{{CodeBox|title=checkworldfile|lang=bash|<pre>#!/bin/bash
while read i ; do \
if [ -n "$(qdepends -Q $i)" ]; then \
echo '' ; echo 'checking '$i ;
if [ -n "$(emerge -p --quiet --depclean $i)" ]; then \
echo $i' needs to stay in @world'
else
echo $i' can be deselected'
echo $i >> /tmp/deselect
fi
fi
done < /var/lib/portage/world
</pre>}}
-- edit --
Its fixed.
[code="gentoo-wiki"][18:20:45] <NeddySeagoon> Hi wiki peeps. Rendering of https://wiki.gentoo.org/wiki/User:Feng/World_file is broken. The script in checkworldfile is in the page source but it renders as '"`UNIQ--pre-00000002-QINU`"'␡
[18:24:03] <Chiitoo> Interesting. Removing the 'pre' tags seems to fix it.
[18:24:16] <grknight> NeddySeagoon: the pre tags need to be removed and the content should start with 1=
[18:25:31] <grknight> basically <pre> and lang= don't mix
[18:26:08] <veremitz> hmm wonder how many articles are suffering that issue .. :P
[18:27:30] <grknight> i've changed that page
[18:28:39] <grknight> veremitz: very difficult to say
[18:28:53] <NeddySeagoon> grknight: Thatnk[/code]
Entries collected in {{Path|/tmp/deselect}} can be cross-checked using the <code>--depclean</code> option: |
The problem is with the wiki rendering, so I suspect lots of pages are affected.
File a bug at bugs.gentoo.org. |
|
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21607
|
Posted: Sat Jan 05, 2019 2:04 am Post subject: |
|
|
imesg wrote: | Neddy, looks like your conversation indicates that this is fixed. As of now it is not. I filed a bug. Hopefully the proper thing to do. | Not quite. Neddy told you the data is not lost, just hard to reach. Reporting that difficulty is appropriate, because the data should not be hard to reach if we want people to make good use of it. What bug did you file? Interested readers may want to follow it. |
|
Back to top |
|
|
Chiitoo Administrator
Joined: 28 Feb 2010 Posts: 2571 Location: Here and Away Again
|
Posted: Sat Jan 05, 2019 10:29 am Post subject: ><)))°€ |
|
|
The issue on that particular article was indeed fixed, but something seems to have happened with the recent hardware issues the machine serving the wikki had, and the fixing edit is gone. It has now been re-fixed (for that article).
The issue stems from the use of 'pre' tags in the CodeBox template, and there is at this time no fix other than removing them manually from places where they cause issues like this.
In any case, the admins know of it, too. :] _________________ Kindest of regardses. |
|
Back to top |
|
|
Chiitoo Administrator
Joined: 28 Feb 2010 Posts: 2571 Location: Here and Away Again
|
Posted: Sat Jan 05, 2019 2:02 pm Post subject: |
|
|
Mystery (to me) solved with the kind help of cronolio at #gentoo-wiki of Freenode:
Code: | < cronolio> Chiitoo: https://wiki.gentoo.org/index.php?title=User:Feng/World_file&curid=225148&diff=756994&oldid=704196
"User:Feng/World_file" while in forum mentioned "User:Feng/World_file_(Portage)" |
That is, I had only looked at the link NeddySeagoon first mentioned in the IRC channel, and then I was confuddled by the link mentioned here. _________________ Kindest of regardses. |
|
Back to top |
|
|
imesg Guru
Joined: 12 Jul 2002 Posts: 445
|
Posted: Tue Jan 08, 2019 8:41 pm Post subject: |
|
|
Hu wrote: | imesg wrote: | Neddy, looks like your conversation indicates that this is fixed. As of now it is not. I filed a bug. Hopefully the proper thing to do. | Not quite. Neddy told you the data is not lost, just hard to reach. Reporting that difficulty is appropriate, because the data should not be hard to reach if we want people to make good use of it. What bug did you file? Interested readers may want to follow it. |
https://bugs.gentoo.org/674544 |
|
Back to top |
|
|
|