Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[TOOL] - Unclepine - Dipendenze e Pulizia _beta18
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2, 3 ... 6, 7, 8 ... 13, 14, 15  Next  
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Risorse italiane (documentazione e tools)
View previous topic :: View next topic  
Author Message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Tue Jan 18, 2005 10:44 am    Post subject: Reply with quote

ho appena wgettato la ver giusta.... 8O
che versione ti da?
/me molto rinco oggi!
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Tue Jan 18, 2005 10:49 am    Post subject: Reply with quote

Non mi funziona ancora:

Code:
gutter@giskard ~/download $ wget http://xchris.altervista.org/GECHI/unclepine_tree
--11:48:22--  http://xchris.altervista.org/GECHI/unclepine_tree
           => `unclepine_tree'
Resolving xchris.altervista.org... 207.44.186.19
Connecting to xchris.altervista.org[207.44.186.19]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 48,058 [text/plain]

100%[====================================>] 48,058        43.83K/s             

11:48:23 (43.67 KB/s) - `unclepine_tree' saved [48058/48058]

gutter@giskard ~/download $ unclepine



UnclePine  0.1_beta11 -   Tool for dependencies jobs

!!! Specificy exactly one action!

Type unclepine -h for help screen
 

_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Tue Jan 18, 2005 10:53 am    Post subject: Reply with quote

./unclepine_tree !
dopo avergli dato la +x :)
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Tue Jan 18, 2005 10:56 am    Post subject: Reply with quote

xchris wrote:
./unclepine_tree !
dopo avergli dato la +x :)


Ooops pardon :oops:

Avevo scaricato entrambe le versioni nella stessa dir avendo pensato che magari aggiornavi quello del primo post.
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Tue Jan 18, 2005 11:00 am    Post subject: Reply with quote

no problem :)
ricordo tempo fa....ore passate a debuggare una versione mentre ne eseguivo un altra :S
ciao
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Tue Jan 18, 2005 11:02 am    Post subject: Reply with quote

Questo dimostra che sono anche io addormentato ;)
La cosa mi stranizza visto che sono le 12:00

Comunque ho provato ora la nuova opzione e mi sembra che vada bene. L'ho provata su una decina di pacchetti e non mi ha dato problemi.
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Tue Jan 18, 2005 11:06 am    Post subject: Reply with quote

ho fatto una versione separata perche' ho bisogno di qualche consiglio e non e' ancora ufficiale.
Senza contare che devo aggiungere funzioni interessanti (inclusa quella di @cazzantonio)

come vedete crea un tree...
ma spesso e' ripetitivo.... non so se eliminare i dati ridondanti...
ciao
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Tue Jan 18, 2005 11:18 am    Post subject: Reply with quote

Perchè credi che sia ripetitivo? Secondo me va bene così.

L'idea di cazzantonio mi pare davvero interessante.
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Tue Jan 18, 2005 11:19 am    Post subject: Reply with quote

prova a fare un -t5 su patch (che dipende da se stesso)
ciao
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Tue Jan 18, 2005 11:25 am    Post subject: Reply with quote

Ho capito il concetto :)

In effetti è abbastanza fastidioso.
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
Cazzantonio
Bodhisattva
Bodhisattva


Joined: 20 Mar 2004
Posts: 4514
Location: Somewere around the world

PostPosted: Tue Jan 18, 2005 11:30 pm    Post subject: Reply with quote

sto facendo un po' di test sulla funzione -t...
è carina, solo che è "praticamente" inutile per t>=3...
solo a titolo di esempio:
unclepine -t5 mplayer mi restituiva 13745 righe di output
unclepine -t10 invece mi ha generato un file di testo tanto grosso che l'ho interrotto quando è giunto verso i 400 mega (secondo i miei conti avrebbe dovuto superare i 7 giga)
(unclepine -t3 restituisce 856 righe di output, -t2 "solo" 186)
Ho preso mplayer come esempio, tuttavia il numero delle righe prodotte aumenta in modo esponenziale (nel nostro caso con una base vicina al 6) rendendo illeggibile l'oputput
Pacchetti molto basilari potrebbero generare un tree molto più piccolo, per esempio con gettext la base dell'esponenziale è vicina a 3,5 (la base tende a crescere con l'aumentare dell'esponente)
A che serve? :D
Penso che il suo utilizzo possa essere utile in pipe con programmi che ne utilizzano l'output per vari tipi di ricerche, difficilmente si potranno usare altrimenti -tN con N maggiore di due... :roll:
_________________
Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Wed Jan 19, 2005 7:16 am    Post subject: Reply with quote

e' per questo che l'output andrebbe ridotto.
Bisogna solo trovare un modo "intelligente per farlo"

Ad es se un pacchetto e' stato "analizzato in profondita" se lo re-incontro segnalero' che e' stato gia' analizzato ma non lo analizzero' +.

Suggerimenti ben accetti :)
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Wed Jan 19, 2005 9:35 am    Post subject: Reply with quote

qualcuno puo' dare un occhio a equery depgraph?
che alg usa secondo voi?

mi sembra che abbia anche qualche baco...
su mplayer mi segna xvid quando io non ho la useflag settata...
ciau
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
Cazzantonio
Bodhisattva
Bodhisattva


Joined: 20 Mar 2004
Posts: 4514
Location: Somewere around the world

PostPosted: Wed Jan 19, 2005 3:23 pm    Post subject: Reply with quote

anche a me segna xvid, io però ho tutti i codec possibili nelle use flags, pertanto è normale...
più grave è che mi segni media-libs/alsa quando io alsa è da eoni che l'ho tolto/rimosso/sradicato dal sistema...
forse fa conto che tutte le use siano settate... boh
_________________
Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne
Back to top
View user's profile Send private message
fabius
Guru
Guru


Joined: 29 Nov 2004
Posts: 525

PostPosted: Sun Jan 30, 2005 9:09 pm    Post subject: Reply with quote

Oggi ero in vena di pulizie :) così ho preso il fido unclepine ed ho dato un bel
Code:
# unclepine -u

Unlinked Packages: 6

        * app-text/scrollkeeper-0.3.14
        * dev-perl/Time-Duration-1.02
        * dev-util/glade-2.6.8
        * net-libs/libpcap-0.8.3-r1
        * sys-kernel/gentoo-dev-sources-2.6.10-r5 (WS):  old slot
        * sys-kernel/gentoo-dev-sources-2.6.9-r13 (WS):  old slot

A parte i kernel ed altri pacchetti, noto la presenza di libpcap che mi ricordavo essere usata da ethereal. Per scrupolo do
Code:
# equery d libpcap

[ Searching for packages depending on libpcap... ]
net-analyzer/ethereal-0.10.9

mentre se faccio
Code:
# unclepine -di libpcap

* No Dependencie/No Depen * net-libs/libpcap-0.8.3-r1        * sys-devel/patch-2.5.9 (S)
                                                             * sys-libs/glibc-2.3.4.20040808-r1 (WS)

non viene segnalato niente.

C'è qualche problema o non ho capito bene qualcosa? E' legato al fatto che libpcap è virtual?
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Mon Jan 31, 2005 7:25 am    Post subject: Reply with quote

visto visto...
ti consiglio un "unclepine -u -v"
Dovresti avere dei warning riguardo la mancanza di un pacchetto che fornisca "virtual/libpcap"

Soluzione: emerge --oneshot libpcap
Il nuovo include il nuovo virtual :S

Motivo di tutto cio'?
hanno introdotto il nuovo virtual e non hanno fatto riemergere i pacchetti che lo dovrebbero fornire.In questo modo il file PROVIDE non e' stato aggiornato.

Grazie per la segnalazione!!!
ciao


EDIT:presto una nuova modifica per evitare tutto cio'
EDIT2: in realta' nasce da una mia disattenzione... avrei potuto evitare tutto cio'.Sorry.Cmq il riemerge di libpcap risolve
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
fabius
Guru
Guru


Joined: 29 Nov 2004
Posts: 525

PostPosted: Mon Jan 31, 2005 9:00 am    Post subject: Reply with quote

Capito! Infatti mi segnala il warning (non avevo pensato di usare il verbose mode). Grazie per la precisazione.

P.S. Gran programma! :D
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Mon Jan 31, 2005 9:44 am    Post subject: Reply with quote

e' cmq un buggetto di unclepine.

I virtual li legge sempre da local... e non da portage.
E' stato gia' corretto.
Piu' tardi aggiorno...prima lo testo un po'.

ciao e grazie!
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Mon Jan 31, 2005 9:48 am    Post subject: Reply with quote

Grazie per la celerità con cui risolvi i bug ;)
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Mon Jan 31, 2005 9:50 am    Post subject: Reply with quote

in realta ne ho corretti un paio. (uno poco influente)

Il problema sai qual'e'?
che lo dovrei riscrivere :S

Ho utilizzato una struttura dati non perfetta.
Purtroppo portage ho iniziato a conoscerlo un po' + a fondo mentre scrivevo unclepine....

vedremo...
ciao
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Mon Jan 31, 2005 1:02 pm    Post subject: Reply with quote

ok e' la giornata...
ho trovato un bug!

in realta' non sapevo neanche che il file PROVIDE potesse avere questa sintassi.

Code:

root@lyra UnclePine # cat /var/db/pkg/x11-base/xorg-x11-6.8.0-r4/PROVIDE
virtual/x11
        opengl? virtual/opengl
        opengl? virtual/glu
        virtual/xft



cioe' fornisce dei virtual in modo "dinamico"
Se e' attiva la useflag opengl fornisce i 2 virtual...

Quindi direi che non e' da trattare a compile time... altrimenti sarebbe stato fissato subito.Sbaglio?

EDIT:provate unclepine -sv ....ma che bel virtual... opengl? :lol:
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
=DvD=
Veteran
Veteran


Joined: 25 Mar 2004
Posts: 1353

PostPosted: Mon Jan 31, 2005 3:24 pm    Post subject: Reply with quote

Al prossimo raduno ci racconti tutto quello che hai capito su portage? (se è fattibile ovviamente!)
Io sono un po' assente per esami, dopo il 15 febbraio dovrei tornare!
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Mon Jan 31, 2005 3:31 pm    Post subject: Reply with quote

=DvD= wrote:
Al prossimo raduno ci racconti tutto quello che hai capito su portage?


ma che ho capito? :lol:
ogni tanto sbuca un "mio" bug...

ti ricordi il developer...non so il nome...
ha detto che non ho capito una cippa di RDEPEND...
andiamo bene :lol:

ciao


EDIT: out _beta13 - bug fix
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Tue Feb 01, 2005 9:49 am    Post subject: Reply with quote

ho uploadato una versione di test per vedere come va la treeview.

Code:

wget http://xchris.altervista.org/GECHI/unclepine



stesso nome cosi' gutter non si incasina :D

ho ridotto in modo enorme la quantita di dati del tree-view.
Algoritmo stupido: abbiamo gia' visto questo pacchetto?
SI -> non fare deep scan
NO -> vai avanti e scanna

In questo modo assomiglia molto ai vari tree che si vedono in portage.
Anche mettendo -t30000 si ferma prima.
Se qualcuno ha tempo di provare....10x
ciao


EDIT: il segno "--" dopo il pacchetto significa che e' stato esplorato gia' a livello precedente
EDIT2: sto pensando all'idea di Cazzantonio.Richiederebbe una scrittura abbondante di unclepine...anche se una funzione che semplifica la vita e' possibile...
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Tue Feb 01, 2005 11:48 am    Post subject: Reply with quote

xchris wrote:


stesso nome cosi' gutter non si incasina :D



La vecchiaia comincia a farsi sentire :D

Oggi pomeriggio lo testo un poco. ;) Sperando di non incasinarmi :roll:
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Risorse italiane (documentazione e tools) All times are GMT
Goto page Previous  1, 2, 3 ... 6, 7, 8 ... 13, 14, 15  Next
Page 7 of 15

 
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