Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
want to file a bug concerning wiki
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
imesg
Guru
Guru


Joined: 12 Jul 2002
Posts: 445

PostPosted: Mon Dec 24, 2018 5:28 pm    Post subject: want to file a bug concerning wiki Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54220
Location: 56N 3W

PostPosted: Mon Dec 24, 2018 6:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
imesg
Guru
Guru


Joined: 12 Jul 2002
Posts: 445

PostPosted: Fri Jan 04, 2019 9:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21607

PostPosted: Sat Jan 05, 2019 2:04 am    Post subject: Reply with quote

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
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2571
Location: Here and Away Again

PostPosted: Sat Jan 05, 2019 10:29 am    Post subject: ><)))°€ Reply with quote

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
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2571
Location: Here and Away Again

PostPosted: Sat Jan 05, 2019 2:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
imesg
Guru
Guru


Joined: 12 Jul 2002
Posts: 445

PostPosted: Tue Jan 08, 2019 8:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum