[FOSSology] Detection of new license on FOSSology UI

2010-12-15 Thread Hitoshi Yoshida
Hello,

I am trying to add a new license for Nomos License Scanner, 
but I cannot get a correct nomos license name on FOSSology yet.

Basically, I followed the description at "http://fossology.org/nomos";.
At first, I have modified those STRINGS.in and parse.c, and then recompiled 
them.
After this procedure, I could get a correct license name by executing nomos 
from command line below.
$ sudo -u fossy ./nomos xyx-license.txt
$ File LICENSE contains license(s) XYZ_v1.0

HOWEVER, I cannot detect any license name by uploading the file 
even thought I use the same file which is used for command line
confirmation.

Am I missing something to modify FOSSology? Or my environment (such as 
database) is something wrong?

My environment version is:
FOSSology version 1.2.1 (code revision 3709)

Please help me to detect the new license on FOSSology UI.

Regards,
Hitoshi

___
fossology mailing list
fossology@fossology.org
http://fossology.org/mailman/listinfo/fossology


Re: [FOSSology] Detection of new license on FOSSology UI

2010-12-15 Thread Mark Donohoe

Hitoshi Yoshida wrote:

Hello,

I am trying to add a new license for Nomos License Scanner, 
but I cannot get a correct nomos license name on FOSSology yet.


Basically, I followed the description at "http://fossology.org/nomos";.
At first, I have modified those STRINGS.in and parse.c, and then recompiled 
them.
After this procedure, I could get a correct license name by executing nomos 
from command line below.
$ sudo -u fossy ./nomos xyx-license.txt
$ File LICENSE contains license(s) XYZ_v1.0

HOWEVER, I cannot detect any license name by uploading the file 
even thought I use the same file which is used for command line

confirmation.

Am I missing something to modify FOSSology? Or my environment (such as 
database) is something wrong?

My environment version is:
FOSSology version 1.2.1 (code revision 3709)

Please help me to detect the new license on FOSSology UI.

Regards,
Hitoshi

___
fossology mailing list
fossology@fossology.org
http://fossology.org/mailman/listinfo/fossology
  
Did you copy the new nomos to /usr/lib/fossology/agents/ ?  if not then 
the ui is using the 'old' one before you made your changes.  Hope that 
helps.


--
Mark Donohoe
OS&T, Cupertino CA.
fossology.org

___
fossology mailing list
fossology@fossology.org
http://fossology.org/mailman/listinfo/fossology


Re: [FOSSology] Detection of new license on FOSSology UI

2010-12-16 Thread Hitoshi Yoshida
Hello, Mark.

Thank you for your reply.
Yes, I have copied the nomos by using command “sudo make install”.
It has copied it under “/usr/local/lib/fossology/agents/nomos”.

After my investigation, I noticed that some files were detected license 
correctly.
(It includes that command line is okay, but FOSSology is not good…)

This phenomenon may occur if I uploaded the exact same file after re-compiling 
nomos agent. 
In this case, I think FOSSology remembered and indicated the old license
information. (It was the same result even though I deleted or reanalyze
the uploaded files by using FOSSology manu.)

If I re-uploaded little different files after re-compiling, FOSSology indicated 
correct license information as I expected.

Do you think my FOSSology environment is something wrong, and should fix it 
somehow?

Regards,
Hitoshi


On Wed, 15 Dec 2010 18:48:31 -0800
Mark Donohoe  wrote:

> Hitoshi Yoshida wrote:
> > Hello,
> >
> > I am trying to add a new license for Nomos License Scanner, 
> > but I cannot get a correct nomos license name on FOSSology yet.
> >
> > Basically, I followed the description at "http://fossology.org/nomos";.
> > At first, I have modified those STRINGS.in and parse.c, and then recompiled 
> > them.
> > After this procedure, I could get a correct license name by executing nomos 
> > from command line below.
> > $ sudo -u fossy ./nomos xyx-license.txt
> > $ File LICENSE contains license(s) XYZ_v1.0
> >
> > HOWEVER, I cannot detect any license name by uploading the file 
> > even thought I use the same file which is used for command line
> > confirmation.
> >
> > Am I missing something to modify FOSSology? Or my environment (such as 
> > database) is something wrong?
> >
> > My environment version is:
> > FOSSology version 1.2.1 (code revision 3709)
> >
> > Please help me to detect the new license on FOSSology UI.
> >
> > Regards,
> > Hitoshi
> >
> > ___
> > fossology mailing list
> > fossology@fossology.org
> > http://fossology.org/mailman/listinfo/fossology
> >   
> Did you copy the new nomos to /usr/lib/fossology/agents/ ?  if not then 
> the ui is using the 'old' one before you made your changes.  Hope that 
> helps.
> 
> -- 
> Mark Donohoe
> OS&T, Cupertino CA.
> fossology.org

___
fossology mailing list
fossology@fossology.org
http://fossology.org/mailman/listinfo/fossology


Re: [FOSSology] Detection of new license on FOSSology UI

2010-12-16 Thread Laser, Mary


> -Original Message-
> From: fossology-boun...@fossology.org [mailto:fossology-
> boun...@fossology.org] On Behalf Of Hitoshi Yoshida
> Sent: Thursday, December 16, 2010 7:12 PM
> To: fossology@fossology.org
> Subject: Re: [FOSSology] Detection of new license on FOSSology UI
> 
> Hello, Mark.
> 
> Thank you for your reply.
> Yes, I have copied the nomos by using command “sudo make install”.
> It has copied it under “/usr/local/lib/fossology/agents/nomos”.
> 
> After my investigation, I noticed that some files were detected license
> correctly.
> (It includes that command line is okay, but FOSSology is not good…)
> 
> This phenomenon may occur if I uploaded the exact same file after re-
> compiling nomos agent.
> In this case, I think FOSSology remembered and indicated the old
> license

That is correct.  FOSSology creates a unique id for each upload and tracks the 
analysis performed on the upload.  If you try to rerun the analysis without 
removing previous results from the database, FOSSology will detect the existing 
results and display them in the UI.  To completely remove an upload, use the 
"Organize -> Uploads -> Delete Uploaded File" in the UI.  If you only wish to 
remove the license analysis results, see http://fossology.org/usefulsql for 
some helpful sql commands.

Mary


> information. (It was the same result even though I deleted or
> reanalyze
> the uploaded files by using FOSSology manu.)
> 
> If I re-uploaded little different files after re-compiling, FOSSology
> indicated correct license information as I expected.
> 
> Do you think my FOSSology environment is something wrong, and should
> fix it somehow?
> 
> Regards,
> Hitoshi
> 
> 
> On Wed, 15 Dec 2010 18:48:31 -0800
> Mark Donohoe  wrote:
> 
> > Hitoshi Yoshida wrote:
> > > Hello,
> > >
> > > I am trying to add a new license for Nomos License Scanner,
> > > but I cannot get a correct nomos license name on FOSSology yet.
> > >
> > > Basically, I followed the description at
> "http://fossology.org/nomos";.
> > > At first, I have modified those STRINGS.in and parse.c, and then
> recompiled them.
> > > After this procedure, I could get a correct license name by
> executing nomos from command line below.
> > > $ sudo -u fossy ./nomos xyx-license.txt
> > > $ File LICENSE contains license(s) XYZ_v1.0
> > >
> > > HOWEVER, I cannot detect any license name by uploading the file
> > > even thought I use the same file which is used for command line
> > > confirmation.
> > >
> > > Am I missing something to modify FOSSology? Or my environment (such
> as database) is something wrong?
> > >
> > > My environment version is:
> > > FOSSology version 1.2.1 (code revision 3709)
> > >
> > > Please help me to detect the new license on FOSSology UI.
> > >
> > > Regards,
> > > Hitoshi
> > >
> > > ___
> > > fossology mailing list
> > > fossology@fossology.org
> > > http://fossology.org/mailman/listinfo/fossology
> > >
> > Did you copy the new nomos to /usr/lib/fossology/agents/ ?  if not
> then
> > the ui is using the 'old' one before you made your changes.  Hope
> that
> > helps.
> >
> > --
> > Mark Donohoe
> > OS&T, Cupertino CA.
> > fossology.org
> 
> ___
> fossology mailing list
> fossology@fossology.org
> http://fossology.org/mailman/listinfo/fossology
___
fossology mailing list
fossology@fossology.org
http://fossology.org/mailman/listinfo/fossology