Re: [FOSSology] Database connection error

2011-07-08 Thread Mark Donohoe

On 07/08/2011 10:43 AM, Matt Taggart wrote:

I had tried to do a deb install first, but couldn't get it to work.  I have
Ubuntu 11.04 and it looks like the deb packages don't support that version
of the OS.  So I cleaned everything off and build it from source.  The
fo-installdeps did not work and gave an error message that said Unsupported
version of Ubuntu.  So I manually installed the dependencies with Synaptic
package manager.

Patches accepted :)

We didn't build packages for 11.04.  So that was the issue.. I wondered 
how he got it to work on 11.04.  Ya, source is the only way.


Hmm not sure what the problem is then I hate when customers get into 
this situation.


--
---
Mark Donohoe
OSPO, HP
FOSSology.org

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


Re: [FOSSology] 1.2.1 to 1.4?

2011-06-01 Thread Mark Donohoe

Ray and Michael,

This is an RPM issue.  On debian that directory gets removed before the 
install.


Ray is correct.  The old copyright directory is still there and should 
either be renamed or just removed.   In 1.3.0 Fossology replaced the 
copyright agent with a newer one that no longer used the directory of 
the 1.2.1 version.  It's too late now, but our RPM's should have checked 
for that and removed it...


Hope that helps.  Micheal, you are ALMOST there!  Keep at it.

On 06/01/2011 11:25 AM, Westphal, Raymond W wrote:
I forgot about that. Yes, I had a similar error. I renamed the 
copyright directory to copyright.OLD and tried again.
And after the install there was an issue with an unusually named 
copyright directory. So you may want to check for another 
copyright. (X can be 0-9 or a-z) directory that was created around 
the time of the first install and remove it.

Mary may recall why that weird copyright directory caused an issue.
Ray W.

*From:* fossology-boun...@fossology.org 
[mailto:fossology-boun...@fossology.org] *On Behalf Of *Fay Michael T

*Sent:* Wednesday, June 01, 2011 12:35 PM
*To:* 'fossology@fossology.org'
*Subject:* Re: [FOSSology] 1.2.1 to 1.4?

Okay. I added p7zip-plugins which was needed and ran rpm --Uvh 
fossology-1.3...rpm and got the following error:


# rpm -Uvh fossology-1.3.0-1.el5.i386.rpm

Preparing...
### [100%]


   1:fossology  
### [100%]


error: unpacking of archive failed on file 
/usr/lib/fossology/agents/copyright: cpio: rename failed - Is a directory


Any ideas?

*From:*Laser, Mary [mailto:mary.la...@hp.com]
*Sent:* Tuesday, May 31, 2011 10:47 AM
*To:* Fay Michael T; 'fossology@fossology.org'
*Subject:* RE: 1.2.1 to 1.4?

Hi Michael,

We have not tested this.  To be safe, I would do as this fossology 
(rpm) user proposed:


I'll backup the database (filesystem level backup plus a dump of the 
database. Then can I simply perform an rpm 
-Uvh fossology-1.3.0-1.el5.x86_64.rpm followed by a rpm -Uvh 
fossology-1.4.0-1.el5.x86_64.rpm


Also, Be sure to start the scheduler after upgrade #1.  Bring up the 
UI and browse your repository to verify all is well before proceeding 
with the 1.4.0 upgrade.


Please let us know how it goes.

Thanks,

Mary

 -Original Message-

 From: fossology-boun...@fossology.org [mailto:fossology-

 boun...@fossology.org] On Behalf Of Fay Michael T

 Sent: Tuesday, May 31, 2011 8:49 AM

 To: 'fossology@fossology.org'

 Subject: [FOSSology] 1.2.1 to 1.4?



 Has upgrading from 1.2.1 to 1.4 been tested? Or do you really need to

 go to 3 and then to 4?

 ___

 fossology mailing list

 fossology@fossology.org

 http://fossology.org/mailman/listinfo/fossology



CONFIDENTIALITY NOTICE: This e-mail and any files transmitted with it 
are intended solely for the use of the individual or entity to whom 
they are addressed and may contain confidential and privileged 
information protected by law. If you received this e-mail in error, 
any review, use, dissemination, distribution, or copying of the e-mail 
is strictly prohibited. Please notify the sender immediately by return 
e-mail and delete all copies from your system.




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



--
---
Mark Donohoe
OSPO, HP
FOSSology.org

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


Re: [FOSSology] NOMOS - how to find differences compared to license templates?

2011-04-19 Thread Mark Donohoe

Raino,

I saw your question on IRC with Bob, here is the answer.

To upgrade to 1.4.0, it's best to upgrade from 1.3.0.  If you are still 
using 1.2.x, then the safest  way to upgrade is to go from 1.2.x - 
1.3.0, then immediately upgrade again

1.3.0- 1.4.0.

It might be possible to skip 1.3.0, we have not had time to test it, so 
we can't really say if it will work.


Hope that helps.

---
Mark Donohoe
OSPO, HP
FOSSology.org

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


[FOSSology] Upgrading to FOSSology 1.4.0

2011-04-19 Thread Mark Donohoe

Folks,

I forgot to change the title

On 04/19/2011 12:47 PM, Mark Donohoe wrote:

Raino,

I saw your question on IRC with Bob, here is the answer.

To upgrade to 1.4.0, it's best to upgrade from 1.3.0.  If you are 
still using 1.2.x, then the safest  way to upgrade is to go from 1.2.x 
- 1.3.0, then immediately upgrade again

1.3.0- 1.4.0.

It might be possible to skip 1.3.0, we have not had time to test it, 
so we can't really say if it will work.


Hope that helps.



---
Mark Donohoe
OSPO, HP
FOSSology.org

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


Re: [FOSSology] Completion Email

2011-03-17 Thread Mark Donohoe

On 03/17/2011 12:52 PM, Stangel, Daniel wrote:

I had a user complain that she did not receive her email
notification of completed analysis. Her account settings show
the option is enabled etc.

I can see the files she uploaded and the jobs completed
relatively quickly. And I ran a test of a small zip file and I
received the completion email.

Tests from the O/S command line work as well and I see no mail
queued. The /var/log/maillog file shows email sent to the user.

Is there a Fossology log I can examine to see when email was sent
and can I check to see the contents of the email sent?

Did your user check her junk email or spam folder(s)?  Was she previously 
receiving notifications from FOSSology and some recent change caused them to 
stop showing up?

Your checks already confirmed that the FOSSology server itself sent the email 
as expected, so the issue is most likely on the user's end.

Not sure if the FOSSology application itself keeps an email log.

Dan

Ray,

Dan is pretty much spot on.  All fossology can do is schedule the email 
to be sent.  It can't tell if your email system is configured properly.  
BUT, a log of email sent and any failures are kept in the scheduler log. 
In a failure all we can report is that we failed to schedule the email.  
Look in the scheduler log for entries like:


DEBUG[28]: Mail has been queued by fo-notify

If there are any queueing errors, they will be reported instead of the 
above message.


Hope that helps.  If you still think it's a fossology problem, please 
reply and we will continue to look into it.


---
Mark Donohoe
OSPO, HP
FOSSology.org

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


Re: [FOSSology] Upgrade path for 1.3.0

2011-02-02 Thread Mark Donohoe

On 02/02/2011 11:20 AM, Dave McLoughlin wrote:

Folks,

I'm embarrassed to say I'm still on 1.1.0, but am ready to go to 1.3.0 
 I actually tested an install of 1.2.1 on a vm and didn't have any 
issues.  I just put it on top of the 1.1.0 I had installed in the vm 
and it worked fine, i.e. all the data from previous scans were still 
there and accessible.


When I got to 1.3.0 do I need to do an intermediate build/install of 
1.2.0 first?  Or, can I go right to 1.3.0?  I would like to keep all 
the old scans I have in 1.1.0.


Thanks,

Dave

Dave,
We don't really support 'jumping' releases.  By that I mean that we have 
never tested it.  The safest way to upgrade to 1.3.0 would be to install 
(or build/install if installing from source) 1.2.1, not use it, and then 
upgrade to 1.3.0.  In this way you are sure to get all the db changes 
between the releases.  None of our releases ever remove user data from 
the DB.  That would be a serious defect.


As an FYI, for 1.3.1, bsam, license groups, license terms  and the Spec 
agent are being removed from the product.  We are keeping the ability to 
display bsam results, but no more basm analysis (agents) will be 
available after 1.3.0.  We believe this will meet your needs for the 
display of older basm results.  Does this meet your needs?


---
Mark Donohoe
OSPO, HP
FOSSology.org

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


Re: [FOSSology] Announcing FOSSology 1.3.0 Release (Laser, Mary)

2011-01-19 Thread Mark Donohoe

Dave,

The team would like to know where that came from.  As far as I know, 
there are no issues like that when upgrading from 1.2.1 to 1.3.0. The 
upgrade from 1.2.1 to 1.3.0 has been tested and there were no 
compatibility issues that were found.


On 01/19/2011 02:41 PM, Dave McLoughlin wrote:


I believe I saw something in the mailing list about losing backwards
compatibility with 1.2 when 1.3 is released.  Is that true?

dave


On 1/19/11 12:00 PM, fossology-requ...@fossology.org
fossology-requ...@fossology.org wrote:

 Send fossology mailing list submissions to
 fossology@fossology.org

 To subscribe or unsubscribe via the World Wide Web, visit
 http://fossology.org/mailman/listinfo/fossology
 or, via email, send a message with subject or body 'help' to
 fossology-requ...@fossology.org

 You can reach the person managing the list at
 fossology-ow...@fossology.org

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of fossology digest...


 Today's Topics:

1. Announcing FOSSology 1.3.0 Release (Laser, Mary)


 --

 Message: 1
 Date: Wed, 19 Jan 2011 18:24:26 +
 From: Laser, Mary mary.la...@hp.com
 Subject: [FOSSology] Announcing FOSSology 1.3.0 Release
 To: fossology@fossology.org fossology@fossology.org,
 fossology-de...@fossology.org fossology-de...@fossology.org,
 workgr...@fossbazaar.org workgr...@fossbazaar.org
 Message-ID:
 
90ac9a3eeb2e744898075fdfb65663446565f76...@gvw1158exb.americas.hpqcorp.net


 Content-Type: text/plain; charset=us-ascii

 The FOSSology Project is pleased to announce the release of 
FOSSology 1.3.0.


 New in version 1.3.0:
 1.   Groups.  Implemented user groups inside of fossology as an 
indirect but
 critical requirement for 1.3 because tagging (the real 1.3 
requirement) is

 dependent on having groups to administer tag permissions.
 2.   File Tagging.  The ability to attach a tag (short (max 32 
character) tag,

 plus a long text) to a file or container.
 3.   Copyright agent replaced. A quick experiment showed that we get 
better
 results with simple heuristics rather than the old agent based on 
naive Bayes.

 4.   Fixed a cp2foss authentication bug that prevented bucket agent from
 getting scheduled.
 5.   Improvements to unpack agent.
 6.   Many bug fixes!

 For more information on the FOSSology project and to download the 
software,

 please visit http://fossology.org/.

 Please report bugs using our bug reporting system hosted by The Linux
 Foundation at http://bugs.linux-foundation.org/ OR, write to the 
fossology

 mailing list.


   -- About FOSSology --

   FOSSology is a Free Open Source Software (FOSS) project built 
around an open

   architecture for analyzing software. Existing modules include license
 analysis,
   Copyright/Email/URL scanner, analysis of deb and rpm packages.  
This open
   source software tool analyzes a given set of software packages, 
and reports

 items
   such as the software licenses used by these packages.

   More than simply reporting, Package X uses license Y, the 
FOSSology tool
   attempts to analyze every file within the package to determine its 
license.

 The
   license report is thus an aggregate of all of the different 
licenses found

 to be
   in use by a package. A single package may be labeled as GPL but 
contain

 files
   that use other licenses (BSD, OSL, or any of the hundreds of other
 licenses). Even
   if an exact license is unknown, the license may be identifiable by 
common

 license
   phrases.

   The FOSSology Project started as an internal software development 
effort

 within
   Hewlett Packard's Open Source and Linux Organization. The tool 
evolved over

   several years at HP from a few simple shell scripts to the much more
 comprehensive
   tool you see today.

   Enjoy!
   The FOSSology team

 -- next part --
 An HTML attachment was scrubbed...
 URL:
 
http://fossology.org/pipermail/fossology/attachments/20110119/5fb7f7fd/attach

 ment-0001.htm

 --

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


 End of fossology Digest, Vol 39, Issue 9
 

--
Dave McLoughlin |  OpenLogic
dave.mclough...@openlogic.com

__


---
Mark Donohoe
OSPO, HP
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-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
OST, Cupertino CA.
fossology.org

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


Re: [FOSSology] Install of 1.2.1

2010-11-15 Thread Mark Donohoe

Dave,

Installing from source on 9.10 should work.  Did you use the packages or 
source?
It appears you tried to upgrade from 1.1.0, which makes sense. I'll 
start looking into this.



Dave McLoughlin wrote:


Hi folks,

I'm running into a few issue with installing (upgrading, I had 1.10 
installed) Fossology 1.2.1 on Ubuntu and was hoping someone might be 
able to assist me.


issues:
1) fo-installdeps - I get an error that I have an Unknown or Unsupport 
version of Ubuntu.  I have Ubuntu 9.10 installed.  Here are the last 
few lines of the console:


The following packages were automatically installed and are no longer 
required:

  libstdc++6-4.3-dev linux-headers-2.6.28-15 g++-4.3 phonon
  libmysqlclient15off phonon-backend-gstreamer libmagick++1 libphonon4
  libkadm55 librsvg2-dev postgresql-8.3 linux-headers-2.6.28-15-generic
  qt4-qtconfig
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
ERROR: Unknown or Unsupported Ubuntu release

2) After the install I'm see the following in my browser when I 
navigate to http://localhost/repo/:


Warning: file_get_contents(/usr/local/etc/fossology/Db.conf) 
[function.file-get-contents]: failed to open stream: Permission denied 
in /usr/local/share/fossology/www/plugins/core-db.php on line 91


Warning: pg_pconnect() [function.pg-pconnect]: Unable to connect to 
PostgreSQL server: FATAL: database www-data does not exist in 
/usr/local/share/fossology/www/plugins/core-db.php on line 91


Warning: pg_last_error(): supplied argument is not a valid PostgreSQL 
link resource in /usr/local/share/fossology/www/plugins/core-db.php on 
line 136


The user/group is set to root on those files.  Do they need to 
fossy/fossy?


Any assistance would be appreciated.

thanks



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



--
Mark Donohoe
OST, Cupertino CA.
fossology.org

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


Re: [FOSSology] Install of 1.2.1

2010-11-15 Thread Mark Donohoe

Dave,

Please make sure you got what you wanted. 

The version of fossology I got when I installed from 9.10 was fossology 
1.1.0, you wanted to upgrade to 2.1 right?


What I think is going on is that fo-installdeps is broken on 9.10.  So 
not everything get's installed.  Given that you already had fossology on 
there, I would have thought just recompiling, installing and rerunning 
fo-postinstall would do it for you.


So, my experience was:

1. fo-installdeps broke for me too.
2. I started to follow the INSTALL doc to install the deps, then saw 
bob's message.

3. Installed apt-get fossology, to see what I would get.
4. Decided 1.1.0 was not good enough.  BUT,  now all install 
dependencies should be OK.

5. used dpkg --remove to remove 1.1.0 of fossology
6. compiled, installed from 1.2.1 sources
6.5 finished all last system config's.
7. Ran fo-postinstall
8. system came up.

Let us know if you have further problems.  We think you will like nomos.


Dave McLoughlin wrote:
Thanks, that did it.  I assumed because I was upgrading the post 
install steps would have stuck from the previous install.  Oops.


Dave


On 11/15/10 12:28 PM, Bob Gobeille bob.gobei...@hp.com wrote:


On Nov 15, 2010, at 11:02 AM, Dave McLoughlin wrote:

2) After the install I'm see the following in my browser when
I navigate to http://localhost/repo/:

Warning: file_get_contents(/usr/local/etc/fossology/Db.conf)
[function.file-get-contents]: failed to open stream:
Permission denied in
/usr/local/share/fossology/www/plugins/core-db.php on line 91

Warning: pg_pconnect() [function.pg-pconnect]: Unable to
connect to PostgreSQL server: FATAL: database www-data does
not exist in
/usr/local/share/fossology/www/plugins/core-db.php on line 91

Warning: pg_last_error(): supplied argument is not a valid
PostgreSQL link resource in
/usr/local/share/fossology/www/plugins/core-db.php on line 136

The user/group is set to root on those files.  Do they need to
fossy/fossy?

Your web browser needs to have read access to them to the .conf
files.  Typically one would put www-data (or whatever your web
server runs as) in the fossy group.  Then set your permissions:

-rw-rw 1 root fossy 62 2010-10-21 16:15
/usr/local/etc/fossology/Db.conf

I've attached the INSTALL doc if you want to know the details.

All the above Warnings (which should have been handled as fatal)
are because your web server doesn't have read access to the files
in /usr/local/etc/fossology.  fo_postinstall should have taken
care of this.

Someone else will have to answer you about why you get the install
errors.  Did you try:
  apt-get install fossology  (http://fossology.org/ubuntu)?





--
Mark Donohoe
OST, Cupertino CA.
fossology.org

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


Re: [FOSSology] how to contribute

2010-10-21 Thread Mark Donohoe

Wolfgang,

In a way you did contribute.  You let us know we had typos.  Please tell 
us where next time.  Another user reported the details and the wiki has 
been fixed.


Best of luck in your work.

Wolfgang Strunk wrote:

Unfortunately I did not intend to be ironic at all. I think I completely  made 
a fool of myeself. :-((

Still, after reading through the whole How to contribute section, I don't 
have a clue how to provide changes to the install documentation. I found two typos in 
shell scripts which lead to command line errors.

  

--
Mark Donohoe
OST, Cupertino CA.
fossology.org

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


Re: [FOSSology] Installing fossology on a Ubuntu karmic koala (9.10) machine

2010-10-20 Thread Mark Donohoe

Deol, Gurbax wrote:
Gurbax,

hmm, somehow, either postgresql got removed or is not running.  To start it:

sudo /etc/init.d/postgresql start

if it got removed:

8.3: sudo apt-get install postgresql-8.3 postgresql-server-dev-8.3
8.4: sudo apt-get install postgresql-8.4 postgresql-server-dev-8.4

If the install does not start postgres (it should), then start it as 
described above.


If you do reinstall postgres, then please remember to configure it as 
described in the INSTALL file, or fossology will not come up.  After 
configure, you have to restart postgres.


Hope that helps.



Mary, Mark,

We removed fossology with sudo apt-get remove fossology, then also ran the sudo 
apt-get autoremove command to clean up.

Now after following the instructions for install of 1.2.1 version, we are 
getting the following error message:

*** Running postinstall for everything ***
*** Setting up the FOSSology database ***
bash: psql: command not found
ERROR: postgresql isn't running
*** Creating user and group ***
NOTE: group 'fossy' already exists, good.
NOTE: user 'fossy' already exists, good.
*** Making sure needed dirs exist with right ownership/permissions ***
NOTE: Repository already exists at /srv/fossology/repository
NOTE: /srv/fossology/repository/localhost directory already exists
*** Checking database connectivity ***
ERROR: Unable to connect to the database
  Connection string: 'dbname=fossology host=localhost user=fossy password=fossy'
  Connection status: '1'
ERROR: Failed to open database
ERROR: unable to connect to database, please check 
/usr/local/etc/fossology/Db.conf


We did look at the Db.conf file, it seems to have the correct info in it.

Regards,

-gurbax / william
  

--
Mark Donohoe
OST, Cupertino CA.
fossology.org

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


Re: [FOSSology] Installing fossology on a Ubuntu karmic koala (9.10) machine

2010-10-19 Thread Mark Donohoe

William,

The instructions below should work just fine.  I just tried the apt-get 
remove on a system.  Here is what I found:


sudo apt-get remove fossology, only removed the fossology package.  As a 
second step I did a sudo apt-get autoremove to remove the rest of the 
fossology packages.  This worked just fine.  The existing fossology db 
is still there with all the data, just the package got removed.  Just 
what we wanted.


Just in case it wasn't clear, if you want to remove source install files 
the fo-cleanold  util can be used.  It's in the utils directory of the 
sources.  DO NOT use the --delete-everything option!  It will remove 
your DB.  Just run it with no options.


sudo utils/fo-cleanold.

Please let us know how this worked.  You are the first person trying to 
upgrade from a  1.1.x release to a 1.2.1 release.


Hope this helps.

Laser, Mary wrote:


 


Oops!  I meant to say 1.1.x below (not 1.1.1)

 

 

*From:* fossology-boun...@fossology.org 
[mailto:fossology-boun...@fossology.org] *On Behalf Of *Laser, Mary

*Sent:* Tuesday, October 19, 2010 11:38 AM
*To:* Causey, William; Donohoe, Mark
*Cc:* fossology@fossology.org
*Subject:* Re: [FOSSology] Installing fossology on a Ubuntu karmic 
koala (9.10) machine


 


Hi William,

Yes, you can use the following procedure to upgrade from 1.1.1 to 
1.2.1 on Ubuntu:


 


1.   Stop the scheduler  db server

a.   sudo /etc/init.d/fossology stop

b.  sudo /etc/init.d/postgresql stop

2.   Remove the current install  (this will NOT remove the 
database or repository)


a.   For package installs, use apt-get remove fossology 


b.  For source installs, use fo-cleanold from the source tree

3.   Install FO 1.2.1 from sources using the steps outlined in the 
Ubuntu 10.04 install guide 
http://fossology.org/ubuntu10.04_install_guide.


 

Mark - Please confirm or make corrections, as necessary.  If these 
instructions are correct, let's post them to the website for future 
reference.


 


Mary

 

 




--
Mark Donohoe
OST, Cupertino CA.
fossology.org

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


Re: [FOSSology] 1.2 RC2 debs have broken dependencies on Ubuntu 10.4

2010-09-16 Thread Mark Donohoe

Mike Kinghan wrote:
The Download page advises that binary packages for Debian and Ubuntu 
are not ready yet and advises users who want them to use the RC2 debs. 
In case it's not already known, one of these packages - 
fossology-agents-single - won't install on Ubuntu 10.4. It has a 
strict dependency on librpm 4.4 and Ubuntu 10.4 provides 4.7.


An Ubuntu package would be very welcome here. Any rough timescale?

--
Mike Kinghan,
Test Lead, Symbian
+44(0)776 5222 793

Some facts about Symbian that we are legally obliged to tell you: 
Symbian Foundation Limited is a Company Limited by Guarantee and not having Share Capital

We're registered in England and Wales - Companies House knows us by the number 
6683783
Our address is 1 Boundary Row, Southwark, London SE1 8HP.




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

Mike,
Sorry for the confusion.  That page needs updating!  FOSSology will not 
work on Ubuntu 10.04 as is.  It takes some hacking to get it to work.  
Look at the mail archives as other have gotten it to work.  After a day 
or so of trying, I gave up trying to get it to work on 10.04.  I had 
other priorities that I had to work on. We are a small team and cannot 
test on all flavors of linux.  I know that fossology will work on 8.04 
and it works on debian lenny.  It should also work on RH and Centos.  
All other flavors and distros have not been tested and fossology may or 
may not work on them.


--
Mark Donohoe
OST, Cupertino CA.
fossology.org

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


Re: [FOSSology] Fossology Install

2010-08-19 Thread Mark Donohoe




Gurbax,

I don't think it is going to be easy to get FOSSology running on ubuntu
10.04. I have tried both the server and desktop versions for i386
and there are issues. I also have discovered that the 1.2.0-1 and
1.2.0-2 debian packages available on fossology.org do not install and
are reported as broken packages on 10.04.

I know that FOSSology should install clean on a Debian Lenny system
(which is what we use) or a RedHat 5.X system (which is also what we
use). I will be trying a ubuntu 8.04 server version on Thursday. I
believe that will work. Ubuntu 10.04 is new and they seemed to have
changed some things that are now breaking FOSSology.

I am sure given some more time I can get past the 10.04 issues. If you
really want to get started using FOSSology 1.2.0 (I cannot recommend
1.1.0), I would suggest you use
either Debian Lenny, Ubuntu 8.04 or RedHat 5.x (or CentOS). Sorry that
you are having so many issues.

Deol, Gurbax wrote:

  
  
  Mark,
  
  Looking forward to hearing from
you today. Thanks.
  
  Regards,
  
  
  Gurbax Deol
  214-567-3311
  
  
  
  
  
  From: Mark
Donohoe [mailto:mark.dono...@hp.com] 
  Sent: Wednesday, August 18, 2010 6:36 PM
  To: Deol, Gurbax
  Cc: Laser, Mary; fossology@fossology.org
  Subject: Re: [FOSSology] Fossology Install
  
  
Deol, Gurbax wrote:
  



Thanks!

If it helps, I login to my
ubuntu machine, ran the folowing previously. :

sudo apt-get install fossology

Note, right now, i
do not have any applicaiton installed other then ubuntu os on my
machine. waiting for further instructions to install fossology from you
guys. Thanks


Regards,


Gurbax Deol
214-567-3311


  
Gurbax,
  
Thanks, that does help. That was for the 1.1.0 release that you did
that.
  
So far today I have downloaded the tar ball from source forge and have
tried to install fossology on 10.04 ubuntu. I am running into issues,
some may be due to my particular set up. I am investigating the
issues. Given that you installed with packages, I plan to stop what
I'm doing and restart using 1.2.0 debian packages.
  
I'll call you on Thursday to discuss things. Till then.
  



 From:
Laser, Mary [mailto:mary.la...@hp.com] 
Sent: Wednesday, August 18, 2010 4:02 PM
To: Deol, Gurbax
Cc: fossology@fossology.org
Subject: RE: [FOSSology] Fossology Install



Hi
Gurbax,
I
just spoke with Mark and he will be contacting you today to verify your
install method.

Mary




From: Deol,
Gurbax [mailto:gur...@ti.com] 
Sent: Wednesday, August 18, 2010 2:42 PM
To: Laser, Mary; Gobeille, Robert
Cc: fossology@fossology.org
Subject: RE: [FOSSology] Fossology Install



Mary,

Would
you be get back to me today? Let me know what steps he takes to get it
installed so i can do the same and not run into so many issues.



Regards,

Gurbax
Deol
214-567-3311





 
From: Laser,
Mary [mailto:mary.la...@hp.com] 
Sent: Wednesday, August 18, 2010 12:59 PM
To: Deol, Gurbax; Gobeille, Robert
Cc: fossology@fossology.org
Subject: RE: [FOSSology] Fossology Install
Hi
Gurbax,
Our
test lead, Mark, has just installed a VM with Ubuntu 10.4 to try the
install. We should have more information for you later today.

Mary




From: Deol,
Gurbax [mailto:gur...@ti.com] 
Sent: Wednesday, August 18, 2010 10:11 AM
To: Gobeille, Robert
Cc: Laser, Mary; fossology@fossology.org
Subject: RE: [FOSSology] Fossology Install



Bob,

I am using Ubuntu 10.04 baseline, the other info I think that you are
asking for is


I will wait to hear from you before start to install it. I will take
the version that you suggest. Hopefully it will be up and running
today. Thanks.

Regards,

Gurbax Deol
214-567-3311


-Original Message-
From: Bob Gobeille [mailto:bob.gobei...@hp.com]
Sent: Tuesday, August 17, 2010 4:20 PM
To: Deol, Gurbax
Cc: Laser, Mary; fossology@fossology.org
Subject: Re: [FOSSology] Fossology Install

Gurbax,
I think the best thing to do now is provide the info taggart requested
"What distribution (name and version) are you using and what apt source
are you using to get the packages?"

You shouldn't be having all these issues so with the above info we can
at least test the release/disto combination.

Bob Gobeille

On Aug 17, 2010, at 3:01 PM, Deol, Gurbax wrote:

 Mary,

 Spent too much time trouble shooting it. Since it was a new
machine I am setting up, I have un-installed and re-installed Ubuntu OS
on my machine. At this point, there is no trace of Fossology. What is
the best way to install Fossology without running into issues? Thanks
for your support in advance.




___
fossology mailing list

Re: [FOSSology] Fossology Install

2010-08-19 Thread Mark Donohoe

Dragoslav,

Thanks for writing.  I knew someone had done this, and was going to go 
through the  mail archives to see if I could figure out who, and what 
they did.  Thanks, you saved me a lot of time!  I'll look into the 
method you described below.


Dragoslav Mitrinovic wrote:

Mark, Gurbax,

I've installed 1.2.0~rc2 on Ubuntu 10.04 as soon as it became 
available. I did not even try installing pre-compiled binary .deb 
packages since I knew they weren't right for my distribution. Instead, 
I built my own .deb packages from debian source packages, and then 
installed those newly generated .debs. 

To build my own .debs, I did something along the following lines 
(typing this from memory, so it may not be quite accurate, but you'll 
get the idea):


apt-get source fossology
apt-get build-dep fossology
cd fossology-1.2
debuild -i -us -uc -b
dpkg-scanpackages . | gzip -c  Packages.gz

Then add this folder to your /etc/apt/sources.list, something like this:

deb file:///somepath/fossology-1.2 ./

Update the apt database (apt-get update), and you should see your new 
packages as ready to install with apt-get install. 


I hope this helps...

-Drago


On Thu, Aug 19, 2010 at 10:20 AM, Mark Donohoe mark.dono...@hp.com 
mailto:mark.dono...@hp.com wrote:


Gurbax,

I don't think it is going to be easy to get FOSSology running on
ubuntu 10.04.  I have tried both the server and desktop versions
for i386  and  there are issues.  I also have discovered that the 
1.2.0-1 and 1.2.0-2 debian packages available on fossology.org

http://fossology.org do not install and are reported as broken
packages on 10.04.

I know that FOSSology should install clean on a Debian Lenny
system (which is what we use) or a RedHat 5.X system (which is
also what we use).  I will be trying a  ubuntu 8.04 server version
on Thursday.  I believe that will work.  Ubuntu 10.04 is new and
they seemed to have changed some things that are now breaking
FOSSology.

I am sure given some more time I can get past the 10.04 issues. 
If you really want to get started using FOSSology 1.2.0 (I cannot

recommend 1.1.0), I would suggest you use either Debian Lenny,
Ubuntu 8.04 or RedHat 5.x (or CentOS).  Sorry that you are having
so many issues.

Deol, Gurbax wrote:

Mark,
 
Looking forward to hearing from you today. Thanks.
 
Regards,
 
Gurbax Deol

214-567-3311
 



*From:* Mark Donohoe [mailto:mark.dono...@hp.com]
*Sent:* Wednesday, August 18, 2010 6:36 PM

*To:* Deol, Gurbax
*Cc:* Laser, Mary; fossology@fossology.org
mailto:fossology@fossology.org
*Subject:* Re: [FOSSology] Fossology Install

Deol, Gurbax wrote:

Thanks!
 
If it helps, I login to my ubuntu machine, ran the folowing

previously. :
 
sudo apt-get install fossology
 
Note, right now, i do not have any applicaiton installed other

then ubuntu os on my machine. waiting for further instructions
to install fossology from you guys. Thanks
 
Regards,
 
Gurbax Deol

214-567-3311

Gurbax,

Thanks, that does help.  That was for the 1.1.0 release that you
did that.

So far today I have downloaded the tar ball from source forge and
have tried to install fossology on 10.04 ubuntu.  I am running
into issues, some may be due to my particular set up.  I am
investigating the issues.  Given that you installed with
packages, I plan to stop what I'm doing and restart using 1.2.0
debian packages.

I'll call you on Thursday to discuss things.  Till then.
 




--
Mark Donohoe
OST, Cupertino CA.
fossology.org

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


Re: [FOSSology] Fossology Install

2010-08-19 Thread Mark Donohoe

Matt Taggart wrote:
I don't think it is going to be easy to get FOSSology running on ubuntu 
10.04.  I have tried both the server and desktop versions for i386  and  
there are issues.  I also have discovered that the  1.2.0-1 and 1.2.0-2 
debian packages available on fossology.org do not install and are 
reported as broken packages on 10.04.



Do you have error logs?
  

The errors are during fo-postinstall:

 Initializing agents.
FATAL: Failed to load default extractor libraries.
FATAL: '/usr/local/lib/fossology/agents/pkgmetagetta -i' failed to 
initialize


librpm-dev is on the system, it's supposed to contain what was in librpm4.4
and the libextractor items are on the system  I have not had time to 
investigate this further.
  
I know that FOSSology should install clean on a Debian Lenny system 
(which is what we use)



The 1.2.0-1 and 1.2.0-2 package install cleanly, but they have upstream 
bugs that prevent some agents from running. The 1.2.0 release had a lot of 
problems that I have been adding fixes for in the Debian package (and maybe 
the fossology team is going to do a 1.2.1 release for?). Most of them are 
solved in 1.2.0-2, but not all.
  

We are planning a 1.2.1.
  
or a RedHat 5.X system (which is also what we 
use).  I will be trying a  ubuntu 8.04 server version on Thursday.  I 
believe that will work.  Ubuntu 10.04 is new and they seemed to have 
changed some things that are now breaking FOSSology.



What needs to happen is we need known good packages and then they can be 
backported to the various Ubuntu releases.
  

Yes, but I don't think Gurbax wants to wait.
  
I am sure given some more time I can get past the 10.04 issues.  If you 
really want to get started using FOSSology 1.2.0 (I cannot recommend 
1.1.0), I would suggest you use either Debian Lenny, Ubuntu 8.04 or 
RedHat 5.x (or CentOS).



I'd wait until we have known good packages before doing anything else. 
Those will be available for Debian unstable and lenny first, then Ubuntu 
releases once backports are done. I have no idea when rpms will be 
available, but I know the current ones have all the 1.2.0 bugs.


  


--
Mark Donohoe
OST, Cupertino CA.
fossology.org

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


Re: [FOSSology] Fossology Install

2010-08-19 Thread Mark Donohoe

Deol, Gurbax wrote:

Mark,
 
Thank you very much for all the support. It was nice talking to you.
 
Let me know when are done with testing fossology install on 8.0.4 
ubuntu. I will follow the same instructions. Thanks again.
 
Regards,
 
Gurbax Deol

Gurbax,

I have good news.  FOSSology appears to be working fine on 8.04.  We got 
some good comments on the mailing list for 10.04 and I'll be following 
up on those.  In the mean time, lets' get you going on FOSSology 1.2.0 
on 8.04.


Here are the steps I followed:

1. Make sure my os was up to date: sudo apt-get update; sudo apt-get upgrade
2. Added the fossology repository into the sources.list file for apt:

# FOSSology 1.2.0
deb http://fossology.org/debian/lenny-backports/1.2.0-1 ./

3. Configured my system as per the INSTALL doc:
- kernel
- postgres
- php
- apache (use the path /usr/share/fossology/www instead of 
/usr/local/share)


4. update again: sudo apt-get update

5. Installed fossology: sudo apt-get install fossology,
the packages cannot be authenticated... install them anyway.

It should install just fine, create a scheduler.conf file for you and 
start the scheduler.


By going to: http://your-machine.domain/repo/ you should see the 
fossology login screen.


I'll be around on Friday till about 1pm.  Please let me know how it 
goes.  Best of luck with your work.


--
Mark Donohoe
OST, Cupertino CA.
fossology.org

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


Re: [FOSSology] Fossology Install

2010-08-18 Thread Mark Donohoe




Deol, Gurbax wrote:

  
  

  
  Thanks!
  
  If it helps, I login to my
ubuntu machine, ran the folowing previously. :
  
  sudo apt-get install fossology
  
  Note, right now, i
do not have any applicaiton installed other then ubuntu os on my
machine. waiting for further instructions to install fossology from you
guys. Thanks
  
  
  Regards,
  
  
  Gurbax Deol
  214-567-3311
  
  

Gurbax,

Thanks, that does help. That was for the 1.1.0 release that you did
that.

So far today I have downloaded the tar ball from source forge and have
tried to install fossology on 10.04 ubuntu. I am running into issues,
some may be due to my particular set up. I am investigating the
issues. Given that you installed with packages, I plan to stop what
I'm doing and restart using 1.2.0 debian packages.

I'll call you on Thursday to discuss things. Till then.

  
  
  
  From: Laser,
Mary [mailto:mary.la...@hp.com] 
  Sent: Wednesday, August 18, 2010 4:02 PM
  To: Deol, Gurbax
  Cc: fossology@fossology.org
  Subject: RE: [FOSSology] Fossology Install
  
  
  
  Hi
Gurbax,
  I
just spoke with Mark and he will be contacting you today to verify your
install method.
  
  Mary
  
  
  
  
  From: Deol,
Gurbax [mailto:gur...@ti.com] 
  Sent: Wednesday, August 18, 2010 2:42 PM
  To: Laser, Mary; Gobeille, Robert
  Cc: fossology@fossology.org
  Subject: RE: [FOSSology] Fossology Install
  
  
  
  Mary,
  
  Would
you be get back to me today? Let me know what steps he takes to get it
installed so i can do the same and not run into so many issues.
  
  
  
  Regards,
  
  Gurbax
Deol
214-567-3311
  
  
  
  
  
  
  From: Laser,
Mary [mailto:mary.la...@hp.com] 
  Sent: Wednesday, August 18, 2010 12:59 PM
  To: Deol, Gurbax; Gobeille, Robert
  Cc: fossology@fossology.org
  Subject: RE: [FOSSology] Fossology Install
  Hi
Gurbax,
  Our
test lead, Mark, has just installed a VM with Ubuntu 10.4 to try the
install. We should have more information for you later today.
  
  Mary
  
  
  
  
  From: Deol,
Gurbax [mailto:gur...@ti.com] 
  Sent: Wednesday, August 18, 2010 10:11 AM
  To: Gobeille, Robert
  Cc: Laser, Mary; fossology@fossology.org
  Subject: RE: [FOSSology] Fossology Install
  
  
  
  Bob,
  
I am using Ubuntu 10.04 baseline, the other info I think that you are
asking for is
  
  
I will wait to hear from you before start to install it. I will take
the version that you suggest. Hopefully it will be up and running
today. Thanks.
  
Regards,
  
Gurbax Deol
214-567-3311
  
  
-Original Message-
From: Bob Gobeille [mailto:bob.gobei...@hp.com]
Sent: Tuesday, August 17, 2010 4:20 PM
To: Deol, Gurbax
Cc: Laser, Mary; fossology@fossology.org
Subject: Re: [FOSSology] Fossology Install
  
Gurbax,
I think the best thing to do now is provide the info taggart requested
"What distribution (name and version) are you using and what apt source
are you using to get the packages?"
  
You shouldn't be having all these issues so with the above info we can
at least test the release/disto combination.
  
Bob Gobeille
  
On Aug 17, 2010, at 3:01 PM, Deol, Gurbax wrote:
  
 Mary,

 Spent too much time trouble shooting it. Since it was a new
machine I am setting up, I have un-installed and re-installed Ubuntu OS
on my machine. At this point, there is no trace of Fossology. What is
the best way to install Fossology without running into issues? Thanks
for your support in advance.
  
  
  
  

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



-- 
Mark Donohoe
OST, Cupertino CA.
fossology.org



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


Re: [FOSSology] Fossology Install

2010-08-18 Thread Mark Donohoe




Deol, Gurbax wrote:

  
  

  
  Thanks!
  
  If it helps, I login to my
ubuntu machine, ran the folowing previously. :
  
  sudo apt-get install fossology
  
  Note, right now, i
do not have any applicaiton installed other then ubuntu os on my
machine. waiting for further instructions to install fossology from you
guys. Thanks
  
  
  Regards,
  
  
  Gurbax Deol
  214-567-3311
  
  

Gurbax,

Thanks, that does help. That was for the 1.1.0 release that you did
that.

So far today I have downloaded the tar ball from source forge and have
tried to install fossology on 10.04 ubuntu. I am running into issues,
some may be due to my particular set up. I am investigating the
issues. Given that you installed with packages, I plan to stop what
I'm doing and restart using 1.2.0 debian packages.

I'll call you on Thursday to discuss things. Till then.

  
  
  
  From: Laser,
Mary [mailto:mary.la...@hp.com]
  
  Sent: Wednesday, August 18, 2010 4:02 PM
  To: Deol, Gurbax
  Cc: fossology@fossology.org
  Subject: RE: [FOSSology] Fossology Install
  
  
  
  Hi
Gurbax,
  I
just spoke with Mark and he will be contacting you today to verify your
install method.
  
  Mary
  
  
  
  
  From: Deol,
Gurbax [mailto:gur...@ti.com]
  
  Sent: Wednesday, August 18, 2010 2:42 PM
  To: Laser, Mary; Gobeille, Robert
  Cc: fossology@fossology.org
  Subject: RE: [FOSSology] Fossology Install
  
  
  
  Mary,
  
  Would
you be get back to me today? Let me know what steps he takes to get it
installed so i can do the same and not run into so many issues.
  
  
  
  Regards,
  
  Gurbax
Deol
214-567-3311
  
  
  
  
  
  
  From: Laser,
Mary [mailto:mary.la...@hp.com]
  
  Sent: Wednesday, August 18, 2010 12:59 PM
  To: Deol, Gurbax; Gobeille, Robert
  Cc: fossology@fossology.org
  Subject: RE: [FOSSology] Fossology Install
  Hi
Gurbax,
  Our
test lead, Mark, has just installed a VM with Ubuntu 10.4 to try the
install. We should have more information for you later today.
  
  Mary
  
  
  
  
  From: Deol,
Gurbax [mailto:gur...@ti.com]
  
  Sent: Wednesday, August 18, 2010 10:11 AM
  To: Gobeille, Robert
  Cc: Laser, Mary; fossology@fossology.org
  Subject: RE: [FOSSology] Fossology Install
  
  
  
  Bob,
  
I am using Ubuntu 10.04 baseline, the other info I think that you are
asking for is
  
  
I will wait to hear from you before start to install it. I will take
the version that you suggest. Hopefully it will be up and running
today. Thanks.
  
Regards,
  
Gurbax Deol
214-567-3311
  
  
-Original Message-
From: Bob Gobeille [mailto:bob.gobei...@hp.com]
Sent: Tuesday, August 17, 2010 4:20 PM
To: Deol, Gurbax
Cc: Laser, Mary; fossology@fossology.org
Subject: Re: [FOSSology] Fossology Install
  
Gurbax,
I think the best thing to do now is provide the info taggart requested
"What distribution (name and version) are you using and what apt source
are you using to get the packages?"
  
You shouldn't be having all these issues so with the above info we can
at least test the release/disto combination.
  
Bob Gobeille
  
On Aug 17, 2010, at 3:01 PM, Deol, Gurbax wrote:
  
 Mary,

 Spent too much time trouble shooting it. Since it was a new
machine I am setting up, I have un-installed and re-installed Ubuntu OS
on my machine. At this point, there is no trace of Fossology. What is
the best way to install Fossology without running into issues? Thanks
for your support in advance.
  
  
  
  
___
fossology mailing list
fossology@fossology.org
http://fossology.org/mailman/listinfo/fossology
  



-- 
Mark Donohoe
OST, Cupertino CA.
fossology.org



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


Re: [FOSSology] Upgrade or new install

2010-07-22 Thread Mark Donohoe

Fay Michael T wrote:
Does fossology 1.2 install as an upgrade to 1.1 or do I need to do a 
new install? If it’s a new install, can 1.2 run side by side with 1.1?



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

Michael,

You should be able to upgrade from 1.1 to 1.2 using either the deb 
packages or the tar ball. We do not recommend trying to run 1.1 and 1.2 
at the same time as they both share the same data base and the tables 
have changed between 1.1 and 1.2.


Hope that answers your question, if not, please post again. Thanks for 
using FOSSology.


--
Mark Donohoe
OST, Cupertino CA.
fossology.org

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


Re: [FOSSology] Changing Fossy password?

2010-06-08 Thread Mark Donohoe

Furosh One wrote:

On Tue, Jun 8, 2010 at 5:12 PM, Furosh One fur...@gmail.com wrote:
  

On Tue, Jun 8, 2010 at 5:04 PM, Furosh One fur...@gmail.com wrote:


Hello Group,

I wanted to change the password to restrict fossology UI.

I have connected to the DB and changed the password:

postgres=# \connect fossology
You are now connected to database fossology.
fossology=# alter user fossy with password 'n...@ssword';
ALTER ROLE

I modified the /etc/fossology/Db.conf file to change fossy to n...@ssword.

Not able to connect via the web UI, anything else I need to do?

-FuRoSh

  

I have also done as root: passwd fossy and updated standard linux password.

Not sure what else to change to login on the web UI




Also trying to search for any docs on how the UI authenticates but no luck.

Anyone know how to go about changing fossy password and have
everything working again?
I've changed password for fossology DB; changed
/etc/fossology/Db.conf; changed standard Unix password for fossy; and
started everything.
All starts fine but can't login to UI...
___
fossology mailing list
fossology@fossology.org
http://fossology.org/mailman/listinfo/fossology
  

Furosh,
Can you login to the db with psql?  e.g. psql fossology -U fossy, it 
will ask you for fossy's passwordgive it the new one if that 
works you know you can access the db when trying to login to the UI, 
do you get any errors or just go back to the login screen?  I'm thinking 
about this... it should have worked...



--
Mark Donohoe
OST, Cupertino CA.
fossology.org

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


Re: [FOSSology] Preventing users from seeing each others uploads.

2010-03-11 Thread Mark Donohoe

nascent mind wrote:

Hi list,

   Is there any way to prevent one user from seeing the uploads of 
other user. i.e. preventing looking at the analysis reports,the code 
etc. Are there any plans to do this?  Do let me know if I am missing 
something.


Thanks in advance.


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

Sorry,

Today, it's open.  Everyone can see everything.  We do hope to fix this, 
but not in the next up coming release.  You are not missing anything.  
We recommend that if the material is sensitive, then either restrict 
logins to either the fossology site or the machine running it.  Or 
install fossoslogy on a separate machine for this type of analysis.  
Hope that helps.


--
Mark Donohoe
OST, Cupertino CA.
fossology.org

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


Re: [FOSSology] Preventing users from seeing each others uploads.

2010-03-11 Thread Mark Donohoe

nascent mind wrote:
Correct me if I am wrong but if two departments should not be seeing 
each others code I would have to install fossology separately in these 
2 departments isn't it.


That is correct.  Not very efficient.  We have been focusing on 
improving license analysis detection and performance,  as well as adding 
a copyright agent and have achieved that for the next release (1.2).  I 
will bring this up as a candidate for the 1.3 release, that's the best 
we can do for now.


Would having the ability to export the reports into pdf or onto another 
web-site meet your needs?  For example, if fossology could export the 
desired reports to another web-site on the same server, that should 
solve this.  So each department would have their own mini web site that 
just has their data on it?  Just thinking out loud.


On Thu, Mar 11, 2010 at 10:55 PM, Mark Donohoe mark.dono...@hp.com 
mailto:mark.dono...@hp.com wrote:


nascent mind wrote:

Hi list,

   Is there any way to prevent one user from seeing the
uploads of other user. i.e. preventing looking at the analysis
reports,the code etc. Are there any plans to do this?  Do let me
know if I am missing something.

Thanks in advance.


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

Sorry,

Today, it's open.  Everyone can see everything.  We do hope to fix
this, but not in the next up coming release.  You are not missing
anything.  We recommend that if the material is sensitive, then
either restrict logins to either the fossology site or the machine
running it.  Or install fossoslogy on a separate machine for this
type of analysis.  Hope that helps.

-- 
Mark Donohoe

OST, Cupertino CA.
fossology.org http://fossology.org







--
Mark Donohoe
OST, Cupertino CA.
fossology.org

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


Re: [FOSSology] Scheduling failed for Agent agent_unpack

2010-03-02 Thread Mark Donohoe

(job_user_fk,job_queued,job_priority,job_email_notify,job_name,job_upload_fk)
VALUES
('',now(),'0','fo...@localhost','unpack','3');
2010-03-01 22:39:15 PST ERROR:  syntax error at or near order at character 58
2010-03-01 22:39:15 PST STATEMENT:  SELECT jq_pk, jq_job_fk FROM
jobqueue WHERE jq_job_fk =  order by jq_pk desc limit 1;
2010-03-01 22:39:15 PST ERROR:  invalid input syntax for integer: 
2010-03-01 22:39:15 PST STATEMENT:  INSERT INTO job

(job_user_fk,job_queued,job_priority,job_email_notify,job_name,job_upload_fk)
VALUES
('',now(),'-1','fo...@localhost','fo_notify','3');
  


I think the main issue is the data itself.  We cannot process a debian 
repository, nor svn, nor cvs, nor. it's on the list! We know folks 
want it.


--
Mark Donohoe
OST, Cupertino CA.
fossology.org

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


Re: [FOSSology] How can I get the scheduler to use more CPU time?

2010-02-17 Thread Mark Donohoe

Gobeille, Robert wrote:

It sounds like the scheduler is stuck did you stop and restart?
When you restart make sure the -R switch is on (/etc/init.d/fossology).
What I've seen happen is the scheduler get's confused and doesn't see any jobs to run.  
This is one of a handful of reasons the scheduler is on my hit list but I 
won't have time to work on that until 1.2 is done.

Yes the current, in progress, 1.2 is in the svn trunk.  But before you do this 
make sure Mark chimes in since he is testing the trunk.  He doesn't seem to be 
on IRC yet.

Bob
  


Folks,

Before I left for skiing, TOT was working. Well except for the extra 
column which Bob fixed. I haven't tried to install TOT since I got back 
and won't till later this week or early next week.


--
Mark Donohoe
OST, Cupertino CA.
fossology.org

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


Re: [FOSSology] License-Count of Fossology

2010-02-12 Thread Mark Donohoe

Halil Bilda wrote:

Hi Bob,

now I have a big problem, FOSSology shows a list of licenses, such as 
7 licences in jcommons (attached as a picture). jcommon is Licensed 
under LGPL. My products can contain much open source components. I 
must check everything manually. Why don't FOSSology show me the 
correct license, for example: jcommon - LGPL but not jcommon--LGPL, 
GPL


Thanks,
Halil


Halil,

Yes, we are aware of this issue.  Identifying licenses is hard!  In our 
next release we will have another license agent that does a better job 
in these cases than our current license analyzer.  Let me make sure I 
understand your concern.


- You know there is one license.  So why do we show 7?  is that right?  
You would like to just see 1 license if there is only one license.  Is 
that right?


One of the problems is that there is no standard official license text.  
People routinely construct a license from the text parts they like or 
they take a license text that may or may not match the current license 
distributed on the gnu site.  So it is possible that a given license 
text can match parts of a number of licenses.


I know this doesn't help you much, but today, it's the best we can do.  
We continue to work on license analysis and plan to improve the accuracy 
as best we can.


In this case since you know the license, the match is 'close enough' for 
that particular file.  I would encourage you to use the tool and then 
look for licenses that are not lgpl/gpl and only focus on those files?  
Perhaps that might work for you.


Hope that helps some.

--
Mark Donohoe
OST, Cupertino CA.
fossology.org

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


Re: [FOSSology] Hardware Setup Question for Fossology, going from Multi-Setup to Single-Setup...

2010-01-06 Thread Mark Donohoe

Furosh One wrote:

Hey guys, Happy New Years to all you!

I just wanted to ask for your recommendation on our fossology setup 
and planning for this year.


Currently we have the multi-fossology setup with 6 machines and it's 
working great (thanks to all your hand-holding :-)!!!


We have the setup in one of our lab benches and are trying to decide 
if we should leave the existing setup in place, place it into 
production in the server room, or purchase new hardware to consolidate 
the multi-setup into a single faster Server-class rack-mountable 
machine.


Our fossology project has gotten some really high-visibility with 
management and they definitely see the need for it due to our code 
review and Intellectual Property and Compliance guidelines.


So my question is I currently have the 6 machines which consiste of 
(mostly all):

(6) Machines -
 (1) Server (DB, Web Server, Scheduler)
 (5) Fossology Agents/Distributed Repos

* Dual-Core (2) Intel 6400 2.13 Ghz CPUs
* 4 GB RAM (mainly 4 GB, except for 1 or 2)
* 150 GB SATA II 3.0 Hard Drives

Considering getting (1) Rack-mountable DELL server with:

* (2) Intel® Xeon® X5560, 2.8Ghz, 8M Cache,Turbo, HT, 1333MHz Max Mem

  (Each CPU is a Quad-Core (4) CPU, which should equate to 
having (8) CPUs for our setup.)


* 24 GB 1333MHz Memory for 2 processors
* 1TB 7.2K RPM SAS Hard Drive
* Red Hat Enterprise Linux 5.3 x64 Operating System

So obviously this is a really nice server, almost a why would I be 
asking or what's not to like question right?


Well just wondering about anything that would absolutely NOT work like 
the OS (we were using Ubuntu prior but RHEL 5 has better 
backup/restore capabilities since we use Veritas Netbackup), or any 
bottlenecks compared to the multi-setup we got right now. And we're 
obviously trying to save space and go away from the 6 Tower machines 
we got. We're investing money into the hardware but need to return the 
existing hardware back to IT for new employees as well.


So any feedback/suggestions/recommendations would be appreciated?

-Regards,
Gibran Marquez


Gibran,

Thanks for the interest.  I'm sure the Dell system is nice.  Our project 
is sponsored by HP, so I'm going to suggest an HP solution instead.  
Why?  Not because we work for HP.  I believe that the HP is a better 
product and that HP can provide better service IMHO.


A comparable model would be a HP ProLiant BL460c G6, in a c3000 
enclosure (will fit up to 8 blades).( The dell has a little faster 
memory).  I would recommend a different disk setup.  Use internal disks 
on the blades for the OS, and apps, but get a storage raid and store the 
fossology data on that.  You can carve up the array so that each blade 
has a good chunk of the array.


I'm not the best on the hardware, maybe Dan will chime in as he does  
all the hardware for our project.  Anyway both the BL and DL line of 
ProLiant blades are nice products.


The msa family is nice.  I'm using one on my development cluster.

http://h18006.www1.hp.com/storage/disk_storage/msa_diskarrays/drive_enclosures/index.html?jumpid=reg_R1002_USEN

RedHat should work fine.  We tend to run Debian (lenny) as we like the 
apt set up much better than rpms.  Yum isn't bad.  We will be using a 
redhat set up at some point as that's what a lot of folks use in business.


Hope that helps.

--
Mark Donohoe
OST, Cupertino CA.
fossology.org

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


Re: [FOSSology] Multi-Setup Distributed-Repo/Distributed-Agents Question(s)?

2009-11-18 Thread Mark Donohoe
 fo...@clear6 
/usr/lib/fossology/agents/mimetype
agent=specagent host=host1 | /usr/bin/ssh fo...@clear6 
/usr/lib/fossology/agents/specagent
agent=filter_clean host=host1 | /usr/bin/ssh fo...@clear6 
/usr/lib/fossology/agents/filter_clean -s
agent=delagent host=host1 | /usr/bin/ssh fo...@clear6 
/usr/lib/fossology/agents/delagent -s
agent=sqlagent host=host1 | /usr/bin/ssh fo...@clear6 
/usr/lib/fossology/agents/sqlagent
agent=sqlagenthost host=host1 | /usr/bin/ssh fo...@clear6 
/usr/lib/fossology/agents/sqlagent -a sql
agent=pkgmetagetta host=host1 | /usr/bin/ssh fo...@clear6 
/usr/lib/fossology/agents/pkgmetagetta
agent=pkgmetagetta host=host1 | /usr/bin/ssh fo...@clear6 
/usr/lib/fossology/agents/pkgmetagetta
agent=fosscp_agent host=host1 | /usr/bin/ssh fo...@clear6 
/usr/lib/fossology/agents/engine-shell fosscp_agent '/usr/bin/cp2foss 
%{*}'
agent=fo_notify host=host1 | /usr/bin/ssh fo...@clear6 
/usr/lib/fossology/agents/engine-shell fo_notify '/usr/bin/fo_notify 
%{*}'
agent=selftest host=host1 | /usr/bin/ssh fo...@clear6 
/usr/lib/fossology/agents/selftest -s



Matt Taggart sent me a good link to get me started - Thanks!, now I'm 
a bit stuck to complete this...


-Regards,
FuRoSh...


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



--
Mark Donohoe
OST, Cupertino CA.
fossology.org

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


Re: [FOSSology] Question on Agent Status

2009-09-30 Thread Mark Donohoe

Matt Taggart wrote:

(http://www.fossology.org/debian/lenny-backports/, please refer to=20
attachment slide 2).



This indicates that fossology is installed not using the fossology meta 
package but by installing packages by hand (like you'd do if you were 
setting up cluster), which should still function fine on a single machine. 
When you originally installed fossology did you install the 'fossology' 
package or did you install some fossology-* packages by hand? When you 
upgraded did you make any changes?


What does your /etc/fossology/Scheduler.conf file look like?
When installing in this non-automated mode, your Scheduler.conf file isn't 
automatically updated for new agents, so it might just list the only the 
ones in the older version of fossology you had installed.


If you don't really want to be doing this by hand mode and want to switch 
to the automated mode, just install the 'fossology' package and it should 
switch everything back. (it would still be good to know why it's not 
working though)


  

Matt,
You are on to something here I think the reason there are no agents 
is that fossology-agent-single and fossology-scheduler-single needs to 
be installed if this is a single system.


Heinz,
1. This appears to be an ubuntu  install, which version of ubuntu?
2. Is this a single system install (instead of a multi-machine cluster 
install)?

3. If it is a single system I would recommend doing the following:

apt-get remove fossology
apt-get update
apt-get install fossology

That should bring everything you need onto the system and install it.  
Your agents should work after that. (I think! :-)).


Hope that helps.

--
Mark Donohoe
MOST/OSTT, Cupertino CA.
fossology.org

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


Re: [FOSSology] Problem wile uploading a winzip file

2009-08-12 Thread Mark Donohoe

Abraham Bennis wrote:
 
I am having a problem while uploading a winzip file using the option Upload from Server . Please let me know how to resolve this problem.


Thanks,
Bennis 
  

Abraham,

We will be looking into this today.  Sorry for no replies, busy with 
other bug fixes.  I'll get back to you as soon as I find something.


--
Mark Donohoe
MOST/OSTT, Cupertino CA.
fossology.org

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


Re: [FOSSology] Problem wile uploading a winzip file

2009-08-12 Thread Mark Donohoe

Mark Donohoe wrote:

Abraham Bennis wrote:
 
I am having a problem while uploading a winzip file using the option 
Upload from Server . Please let me know how to resolve this problem.


Thanks,
Bennis   

Abraham,

We will be looking into this today.  Sorry for no replies, busy with 
other bug fixes.  I'll get back to you as soon as I find something.



Abraham,

I was able to upload and process the same file you are trying to upload. 
A few questions:


1. What version of fossology are you using?
2. Is this installation a single system or a cluster with a server or 
two and one or more agent machines?
 If it is a cluster, when uploading from server, you must have the file 
available on all the agent machines.  For example, if you have machine 
'Master' running the scheduler and the web server and you have two 
agents machines slave1 and slave2.  The file must be at the same 
path/location on BOTH slave1 and slave2. The scheduler will pick one of 
the agents and try the upload from there.


So, one possible problem might be that you are using the cluster and the 
file is not on the agent selected by the scheduler.


3. Is this a deb or rpm package install or an install from source/tarball?

4. Have you changed any of the standard install paths in Makefile.conf?

I have been able to unpack the file on both a cluster and a single 
system install.


Let me know the information above and I will continue to try to 
duplicate your problem.


--
Mark Donohoe
MOST/OSTT, Cupertino CA.
fossology.org

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


Re: [FOSSology] Seeing FOSSology PHP Errors

2009-08-11 Thread Mark Donohoe

Benson, Channing D wrote:

Greetings,

When I run the latest bits on RHEL5 with version PHP 5.1.6-23, I periodically 
see the following errors:

Undefined offset: 1 in /usr/local/share/fossology/www/common/common-parm.php
Undefined variable: PageHex in 
/usr/local/share/fossology/www/plugins/ui-view.php
Undefined variable: PageText in 
/usr/local/share/fossology/www/plugins/ui-view.php

Don't know what's up with that, but thought it should be reported. Let me know 
if you have any ideas what's causing it or how to fix it.

-- Chan

Channing Benson
Open Source / Linux RD
Hewlett-Packard Company
(610) 328-3691
___
fossology mailing list
fossology@fossology.org
http://fossology.org/mailman/listinfo/fossology
  

Chan,

Thanks for reporting these.  Please keep reporting them when you see 
them.  I am trying to fix all of them.  They are the result of having 
php error reporting set to ALL.  In general, they should not cause a 
problem, but are good to fix (sorta like lint errors).

I just checked in the fixes for PageHex and PageText.

Hope that clears it up.

--
Mark Donohoe
MOST/OSTT, Cupertino CA.
fossology.org

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


Re: [FOSSology] Bug with last version of fossology

2009-07-23 Thread Mark Donohoe

Fabrice Jammes wrote:

Hi,

I've updated my fossology version to last trunk version
but i've got this message in postgresql log when i
upload a source zip file :

2009-07-23 17:11:35 CEST ERROR:  syntax error at or near = at 
character 83
2009-07-23 17:12:43 CEST LOG:  autovacuum: processing database 
fossology

2009-07-23 17:13:45 CEST LOG:  autovacuum: processing database postgres
2009-07-23 17:13:46 CEST ERROR:  syntax error at or near = at 
character 83


all goes fine then : unpack and next jobs
but the job filter_licence seems to block.

Can somebody help me ?

Thanks

Fabrice


Fabrice,

Sorry you are experiencing difficulties.  I need some more information 
so I can help you.


1. What svn version is this?
1.1 what version of postgreSQL are you using?
2. Is there a reason you are using the trunk instead of our latest 1.1.0 
version?
3. Please be aware, that while we try to keep the trunk solid and 
working, there is no assurance, it will work or be solid.  That is our 
current development stream.  We do appreciate folks using it and finding 
problems.
4. What distro are you running on? (That will help us recreate your 
problem).
For example, I am running the trunk on a lenny system using 
postgres 8.3, an I do not see this problem.


Thanks for the information, it will help me reproduce the problem.

--
Mark Donohoe
MOST/OSTT, Cupertino CA.
fossology.org

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


Re: [FOSSology] Antwort: Re: Upload and Analyze of Zip/tar.bz2 files

2009-07-09 Thread Mark Donohoe

Laser, Mary wrote:

Hello Heinz,
The debian release candidate *_testing_* packages (rc5) for 1.1 are 
available from


deb _http://fossology.org/debian/1.1.0~rc5-T/lenny/_
http://fossology.org/debian/1.1.0%7Erc5-T/lenny/ ./
deb _http://fossology.org/debian/1.1.0~rc5-T/etch/_
http://fossology.org/debian/1.1.0%7Erc5-T/etch/ ./

etch is debian 4.0 and lenny is debian 5.0.  ( Check this out for an 
in-depth description of debian versioning 
http://en.wikipedia.org/wiki/Debian#Releases).
 
Mary



Heinz,

The difference between etch and lenny is that lenny is the newer release 
of debian.  Etch has been out for a couple of years now.  When the next 
Debian release releases (code name SID). Sometime after that  etch will 
not be supported by FOSSology as we move to the newer releases.  We are 
a small team and can only support a limited number of releases.  I hope 
that answers your question.  Thanks for using FOSSology.



*From:* fossology-boun...@fossology.org
[mailto:fossology-boun...@fossology.org] *On Behalf Of
*heinz.h.hi...@daimler.com
*Sent:* Thursday, July 09, 2009 9:10 AM
*To:* Gobeille, Robert
*Cc:* fossology@fossology.org
*Subject:* [FOSSology] Antwort: Re: Upload and Analyze of
Zip/tar.bz2 files


Hello Bob,
where is the version 1.1 located. Is it
http://fossology.org/debian/1.1.0~rc4/etch/ ?
And what is the difference between etch and lenny
Best Regards,
Heinz


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



--
Mark Donohoe
MOST/OSTT, Cupertino CA.
fossology.org

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


Re: [FOSSology] Antwort: Re: Upload and Analyze of Zip/tar.bz2 files

2009-07-09 Thread Mark Donohoe

Mark Donohoe wrote:

Heinz,

The locations below have been changed to:

deb http://fossology.org/debian/1.1.0~rc5/lenny/ ./
deb http://fossology.org/debian/1.1.0~rc5/etch/ ./

Thought you should know since we gave you a different path earlier.  
Thanks for using FOSSology.

Laser, Mary wrote:

Hello Heinz,
The debian release candidate *_testing_* packages (rc5) for 1.1 are 
available from


deb _http://fossology.org/debian/1.1.0~rc5-T/lenny/_
http://fossology.org/debian/1.1.0%7Erc5-T/lenny/ ./
deb _http://fossology.org/debian/1.1.0~rc5-T/etch/_
http://fossology.org/debian/1.1.0%7Erc5-T/etch/ ./

etch is debian 4.0 and lenny is debian 5.0.  ( Check this out for an 
in-depth description of debian versioning 
http://en.wikipedia.org/wiki/Debian#Releases).
 
Mary

--
Mark Donohoe
MOST/OSTT, Cupertino CA.
fossology.org

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


[FOSSology] Fossology 1.1.0~rc4 available

2009-07-07 Thread Mark Donohoe

Fossologists,

The fossology team announces our release candidate for FOSSology 1.1.0.  
It's called rc4 as we have had 3 internal rc's before this.


Debian installs:

Add this line to your /etc/apt/sources.list

for lenny: deb http://fossology.org/debian/1.1.0~rc4/lenny/ ./
for etch:  deb http://fossology.org/debian/1.1.0~rc4/etch/ ./

apt-get update, then apt-get install or upgrade.

to install from source:

svn co 
https://fossology.svn.sourceforge.net/svnroot/fossology/tags/1.1.0~rc4


Then follow the instructions in the INSTALL file.

We are trying to produce rpms for this release as well.  A separate 
announcement will be sent when they are ready.


Please send any problems you find to this list.

--
Mark Donohoe
MOST/OSTT, Cupertino CA.
fossology.org

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


Re: [FOSSology] Executing cp2foss command

2009-06-29 Thread Mark Donohoe

cloud...@yahoo.com wrote:
Thanks, the command did work.  What does the argument -q 
agent_license do?  I was able to get the first command I was using to 
work as well.  I noticed when I executed with the -q argument, it 
showed that two out of two jobs were completed for that upload and 
when I executed without the -q, it showed that one out of one 
job completed for that upload.  Why is that?   
 
Can the upload using the cp2foss command be deleted through the UI?  
When I select to delete upload files, it shows the folder name in the 
drop-down list, but when I select the folder, there is no file 
displayed to delete.  Also, can the folder be deleted through the UI?


When using either  the UI or cp2foss, the only jobs that get scheduled 
if no boxes are checked (in the UI) or no -q arguments are given to 
cp2foss, the the file is only unpacked. (along with a supporting job 
called adj2nest).  So that is why without -q you see one job and with -q 
you see 2. -q agent_license runs the license analysis on the file (what 
most folks are interested in).


Using cp2foss, without a -q, the file is just unpacked, not  very 
interesting.


The upload and folder can be removed using the UI.  The is the 
recommended way.
When deleting, if you select the folder and nothing shows, then there is 
no upload to remove, the folder is empty.


Glad you have been able to get things to work.  Let me know if you need 
more help.



*From:* Mark Donohoe mark.dono...@hp.com
*To:* cloud...@yahoo.com cloud...@yahoo.com
*Cc:* fossology@fossology.org fossology@fossology.org
*Sent:* Friday, June 26, 2009 2:38:10 PM
*Subject:* Re: [FOSSology] Executing cp2foss command

cloud...@yahoo.com mailto:cloud...@yahoo.com wrote:
 Hi Mark,
  Thanks for the patch.  I applied it but the upload still didn't 
work.  I've attached the output and also a screenshot of when I select 
Browse through the UI.  I did not see a test directory get created 
under tmp either.  Any ideas what I'm doing wrong?Thanks


Cloudczm,

hmmm, I was not able to reproduce your problem on Lenny.  I could 
upload a jar file just fine.


I used:

cp2foss  -p tmp -n test -d testing -w -a 
/http://localhost/~markd/public_html/org.eclipse.core.jobs_3..4.0.v20080512.jar


cp2foss -p tmp -n test -d testing -w -a http://localhost/test.jar

A couple of notes. 1. you don't need -w or -a, they don't really do 
anything anymore, deprecated.
2. -p means create a folder tmp under Software Repository in the db.  
That appeared to work for you.  Are you saying the you didn't see a 
file called 'test' under the folder tmp?
3. Was the test.jar file in your localhost document root so it could 
be uploaded?

4. try the following:

cp2foss -q agent_license -p tmp1 -n test2 -d test upload 
path-to-test.jar


The above should:
1. upload the jar file, unpack it., note you don't need the http
2. The upload dame is test2 (as opposed to test.jar)
3. The description for this upload is: test upload
4. a license analysis will be run on the file

After issuing the command, you should be able to use the browser to 
monitor the progress of the jobs with the menu: Jobs-details, and 
then refresh every once and a while.


Please let me know about your results.

---
Mark Donohoe
MOST/OSTT, Cupertino CA.
fossology.org http://fossology.org/



--
Mark Donohoe
MOST/OSTT, Cupertino CA.
fossology.org

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


Re: [FOSSology] Executing cp2foss command

2009-06-26 Thread Mark Donohoe

cloud...@yahoo.com wrote:

Hi Mark,
 
Thanks for the patch.  I applied it but the upload still didn't work.  
I've attached the output and also a screenshot of when I select Browse 
through the UI.  I did not see a test directory get created under tmp 
either.  Any ideas what I'm doing wrong?   
 
 
Thanks



Cloudczm,

hmmm, I was not able to reproduce your problem on Lenny.  I could 
upload a jar file just fine.


I used:

cp2foss  -p tmp -n test -d testing -w -a 
/http://localhost/~markd/public_html/org.eclipse.core.jobs_3.4.0.v20080512.jar


cp2foss -p tmp -n test -d testing -w -a http://localhost/test.jar

A couple of notes. 
1. you don't need -w or -a, they don't really do anything anymore, deprecated.

2. -p means create a folder tmp under Software Repository in the db.  That 
appeared to work for you.  Are you saying the you didn't see a file called 
'test' under the folder tmp?
3. Was the test.jar file in your localhost document root so it could be 
uploaded?
4. try the following:

cp2foss -q agent_license -p tmp1 -n test2 -d test upload path-to-test.jar

The above should:
1. upload the jar file, unpack it., note you don't need the http
2. The upload dame is test2 (as opposed to test.jar)
3. The description for this upload is: test upload
4. a license analysis will be run on the file

After issuing the command, you should be able to use the browser to monitor the 
progress of the jobs with the menu: Jobs-details, and then refresh every once 
and a while.

Please let me know about your results.

---
Mark Donohoe
MOST/OSTT, Cupertino CA.
fossology.org

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


[FOSSology] License Test Results

2009-06-22 Thread Mark Donohoe

Folks,

I'm looking for some feedback, ideas.  I have been working on creating a 
license test suite using the eddy data.   That is all working fine.  
Where I have slowed down is reporting the results.  (For those of you on 
the list, eddy is what we call our license test data set, and a web 
application that runs the tests  reports on the results).


1. I can easily create a table like eddy does that displays the results 
of each test.  When I did that I was overwhelmed with data!  Just too 
many results.


2. So I stepped back from that and was designing some smaller summary 
tables, when I realized that maybe tables were just the wrong reporting 
method.  (just reporting the summarized results for each test type 
directory would be 84 lines long (42 directories, 2 agents)).


3. I am currently looking into creating some charts. I can and will 
still generate the tables, as that's what folks are used to (and that is 
almost all working).


During all of this I kept asking myself, what do folks want to know 
about the results?
So I'm asking you.  What do you want to see in the results? 


I think the following are needed:
-  Reporting all of the results
-  Reporting the totals could be useful.  E.g. FoNomos had 50 passes and 
0 failures, Bsam had 35 passes and 34 failures.


The results can be grouped by test directory, there are currently 42 
'test types' used by eddy (that is there are 42 directories).  I know 
that the eddy tests are not all that we will ever test on.  It's what we 
have now.  Totals per test type or test directory, is that interesting?


What else?

Thanks for your ideas.

--
Mark Donohoe
MOST/OSTT, Cupertino CA.
fossology.org

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


Re: [FOSSology] Installation and download of Fossology

2009-06-15 Thread Mark Donohoe

heinz.h.hi...@daimler.com wrote:


Hello,

I am looking for the binary files of fossology. If I use the apt 
packages configuration for Debian, I get a mistake.

I have added the following lines into /etc/apt/sources.list

deb http://fossology.org/debian/ ./

Then I used “apt-get update and apt-get install fossology” on the 
command line, but it did not work. Does anybody know what I have to do 
to download and install the binaries?


Regards,
Heinz



Heinz,

Can you send us the errors?  We will try to reproduce, but it should be 
working.  Do you need to set a proxy?


--
Mark Donohoe
MOST/OSTT, Cupertino CA.
fossology.org

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


Re: [FOSSology] FW: Identifying new license in Fossology

2009-06-03 Thread Mark Donohoe
 you've described, the license cannot be identified

(because there is no template).  Therefore, there is no
license text to compare against the License Terms.
 
HTH,

Mary



*From:* fossology-boun...@fossology.org
[mailto:fossology-boun...@fossology.org] *On Behalf Of
*cloud...@yahoo.com
*Sent:* Tuesday, June 02, 2009 11:52 AM
*To:* fossology@fossology.org
*Subject:* [FOSSology] Identifying new license in Fossology

Hello,
 
I am trying to identify a new license in Fossology.  I am

using the Manage License Terms page through the UI to do
this but am having some difficulty.  I created a new
Canonical name called Company Name and created a new
term that was specific to that group.  The term was the
following:  Copyright Company Name.  I then did
an Upload from a URL which contained a license file that
contained that term.  However, the result was it did not
find the license.  What's strange is when I add the term
proprietary to the group, it recognizes it, but any
other phrase, it does not recognize.  Should I be using
the UI to identify a new license or should I follow the
instructions on the page How to Add a License Template or
License Phrase and Re-Analyze Licenses in the
documenation to do this?  The documentation says
it requires re-running the build and modifying the
database.  Any help is greatly appreciated. 
 
 
Thanks 

 
 





--
Mark Donohoe
MOST/OSTT, Cupertino CA.
fossology.org

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


Re: [FOSSology] Fw: Question

2009-06-02 Thread Mark Donohoe
)

*
drwxrws--- 3 **fossy** fossy 4096 2009-05-04 21:25 fossology/
drwxrws--- 4 **fossy** fossy 4096 2009-05-11 14:22 repository
drwxrws--- 5 **fossy** fossy 4096 2009-05-11 09:21 localhost
drwxrws--- 3 **fossy** fossy 4096 2009-05-05 18:13 ununpack
drwxrws--- 219 **apache **fossy 4096 2009-05-05 18:41 files
drwxrws---  16 **apache **fossy 4096 2009-05-05 18:43 gold
drwxrws--- 205 **fossy**   fossy 4096 2009-05-05 18:53 license*


Thank you for your support and best regards,
Daniel.


- Forwarded by Daniel Goebel/CBF/GDB on 27/05/2009 17:14 -
*Mark Donohoe **_mark.dono...@hp.com_* mailto:mark.dono...@hp.com**

11/05/2009 23:37
Please respond to_
__mark.dono...@hp.com_ mailto:mark.dono...@hp.com


To
_mark.dono...@hp.com_ mailto:mark.dono...@hp.com
cc
	_daniel.goe...@clearstream.com_ 
mailto:daniel.goe...@clearstream.com, _fossol...@fossology.org_ 
mailto:fossology@fossology.org _fossol...@fossology.org_ 
mailto:fossology@fossology.org

Subject
Re: [FOSSology] Question













Mark Donohoe wrote:
 _daniel.goe...@clearstream.com_ 
mailto:daniel.goe...@clearstream.com wrote:
  
 Dear user group,


 we have installed the patch but I am still not able to load a complete
 directory. I have also tried to use the command line cp2foss but I am
 also having some issues, please see below the syntax of the command
 line and the error message. Any help is more than welcome.

 /srv/fossology/bin/cp2foss  -f Software Repository/Folder_dg -d
 Test spantax -n Test spantax /opt/fossy/SPANTAX/SPANTAX/appl/script

 PHP Warning:  Call-time pass-by-reference has been deprecated -
 argument passed by value;  If you would like to pass it by reference,
 modify the declaration of menu_insert_r().  If you would like to
 enable call-time pass-by-reference, you can set
 allow_call_time_pass_reference to true in your INI file.  However,
 future versions may not support this any longer.  in
 /srv/fossology/share/fossology/www/common/common-menu.php on line 244
 PHP Notice:  Undefined index:  updcache in
 /srv/fossology/share/fossology/www/plugins/ui-license.php on line 114
 PHP Notice:  Undefined offset:  1 in
 /srv/fossology/share/fossology/www/common/common-parm.php on line 98
 PHP Notice:  Undefined variable: PageHex in
 /srv/fossology/share/fossology/www/plugins/ui-view.php on line 92
 PHP Notice:  Undefined variable: PageText in
 /srv/fossology/share/fossology/www/plugins/ui-view.php on line 93
 PHP Notice:  Undefined variable: PageText in
 /srv/fossology/share/fossology/www/plugins/ui-view.php on line 94
 Loading /opt/fossy/SPANTAX/SPANTAX/appl/script
 tar: /cp2foss-4a081eff990ed.tar: Cannot open: Permission denied
 tar: Error is not recoverable: exiting now
 FATAL: '/cp2foss-4a081eff990ed.tar' does not exist.

 Best regards,
 Daniel Goebel.


 Daniel,


 Sorry the patch as not fixed your problem.  I'm looking into it further
 now.  I'll get back with you as soon as I can.

  
Daniel,


I have some questions as I have not been able to reproduce your problem.
I noticed a few things about your installation:
1. cp2foss is installed in /srv/fossology/bin, is that correct?
2. It appears that you have the rest of fossology installed under
/srv/fossology as shown here:

PHP Notice:  Undefined index:  updcache in
/srv/fossology/share/fossology/www/plugins/ui-license.php on line 114

3. Do you know what directory you were in when you issued the command:
/srv/fossology/bin/cp2foss  -f.   ?

This is rather unique.  We have never tested an installation like 
this.  Are you a programmer or an experience linux system admin? 
 Installing fossology in a non-standard place SHOULD work, but there 
may be a number of areas in the code or configuration scripts that 
might need to be adjusted.  As a result, we don't recommend installing 
in any other place other than /usr/local for the upstream tar balls 
(or source builds), and the standard system locations in the debian 
packaging, (/usr, /usr/lib/, /usr/share, etc...).


4. The other item that is difficult to reproduce is the temp file 
location reported by you.
If I am cd'ed into / (the root of the file system) the tar file in my 
install ends up in
the repository: /srv/fossology/repository/cp2foss-4a088fa9379a2.tar. 
 If I'm in my home dir it still ends up in the repository:


ma...@hallows: pwd
/home/markd
DB-CP2: Filename is:/srv/fossology/repository/cp2foss-4a08967994f52.tar
tar: Removing leading `/' from member names

I have also tried other places as well.  The tar file always ends up 
in the repository area.  I can't figure out how you got cp2foss to report:


tar: /cp2foss-4a081eff990ed.tar: Cannot open: Permission denied
tar: Error is not recoverable: exiting now
FATAL: '/cp2foss-4a081eff990ed.tar' does not exist.

notice the tar path

Is everything from fossology down (in /srv/fossology) on your 
system group owned by fossy?  If not, that's a problem.  It should be 
similiar to this:


ma...@hallows: ll -d fossology

[FOSSology] Upgrade issue with Scheduler.conf

2009-05-13 Thread Mark Donohoe
Matt,

We have hit an upgrade issue for 1.1.0 FOSSology so I wanted to get your 
take on if it's possible to take care of it with debian packages on upgrade.

Here is the problem:
-  New agent fo_notify.  Needs to be included in the Scheduler.conf 
file.  On an upgrade, most (if not all) of the time Scheduler.conf will 
exist and so will not be updated.  Without the update, when the 
scheduler is restarted after the upgrade, it will fail.  It can't find 
fo_notify.

Questions:
- Can the deb scripts  be set to forced an update of Scheduler.conf? 
- Is there a way to notify the user that Scheduler.conf MUST be updated? 
(Failure results if it is not updated/regenerated).
- We already have this in the release notes for 1.1.0, so we have 
documented it:

http://fossology.org/release_notes

- Are there other deb alternatives?  This can't be the first time a conf 
file has to be updated on upgrade.

Thanks for your help and advise.

-- 
Mark Donohoe
MOST/OSTT, Cupertino CA.
fossology.org

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


Re: [FOSSology] Question

2009-05-11 Thread Mark Donohoe
Mark Donohoe wrote:
 daniel.goe...@clearstream.com wrote:
   
 Dear user group,

 we have installed the patch but I am still not able to load a complete 
 directory. I have also tried to use the command line cp2foss but I am 
 also having some issues, please see below the syntax of the command 
 line and the error message. Any help is more than welcome.

 /srv/fossology/bin/cp2foss  -f Software Repository/Folder_dg -d 
 Test spantax -n Test spantax /opt/fossy/SPANTAX/SPANTAX/appl/script

 PHP Warning:  Call-time pass-by-reference has been deprecated - 
 argument passed by value;  If you would like to pass it by reference, 
 modify the declaration of menu_insert_r().  If you would like to 
 enable call-time pass-by-reference, you can set 
 allow_call_time_pass_reference to true in your INI file.  However, 
 future versions may not support this any longer.  in 
 /srv/fossology/share/fossology/www/common/common-menu.php on line 244
 PHP Notice:  Undefined index:  updcache in 
 /srv/fossology/share/fossology/www/plugins/ui-license.php on line 114
 PHP Notice:  Undefined offset:  1 in 
 /srv/fossology/share/fossology/www/common/common-parm.php on line 98
 PHP Notice:  Undefined variable: PageHex in 
 /srv/fossology/share/fossology/www/plugins/ui-view.php on line 92
 PHP Notice:  Undefined variable: PageText in 
 /srv/fossology/share/fossology/www/plugins/ui-view.php on line 93
 PHP Notice:  Undefined variable: PageText in 
 /srv/fossology/share/fossology/www/plugins/ui-view.php on line 94
 Loading /opt/fossy/SPANTAX/SPANTAX/appl/script
 tar: /cp2foss-4a081eff990ed.tar: Cannot open: Permission denied
 tar: Error is not recoverable: exiting now
 FATAL: '/cp2foss-4a081eff990ed.tar' does not exist.

 Best regards,
 Daniel Goebel.

 
 Daniel,

 Sorry the patch as not fixed your problem.  I'm looking into it further 
 now.  I'll get back with you as soon as I can.

   
Daniel,

I have some questions as I have not been able to reproduce your problem. 
I noticed a few things about your installation:
1. cp2foss is installed in /srv/fossology/bin, is that correct?
2. It appears that you have the rest of fossology installed under 
/srv/fossology as shown here:

PHP Notice:  Undefined index:  updcache in 
/srv/fossology/share/fossology/www/plugins/ui-license.php on line 114

3. Do you know what directory you were in when you issued the command:
/srv/fossology/bin/cp2foss  -f.   ?

This is rather unique.  We have never tested an installation like this.  Are 
you a programmer or an experience linux system admin?  Installing fossology in 
a non-standard place SHOULD work, but there may be a number of areas in the 
code or configuration scripts that might need to be adjusted.  As a result, we 
don't recommend installing in any other place other than /usr/local for the 
upstream tar balls (or source builds), and the standard system locations in the 
debian packaging, (/usr, /usr/lib/, /usr/share, etc...).

4. The other item that is difficult to reproduce is the temp file location 
reported by you.
If I am cd'ed into / (the root of the file system) the tar file in my install 
ends up in
the repository: /srv/fossology/repository/cp2foss-4a088fa9379a2.tar.  If I'm in 
my home dir it still ends up in the repository:

ma...@hallows: pwd
/home/markd
DB-CP2: Filename is:/srv/fossology/repository/cp2foss-4a08967994f52.tar
tar: Removing leading `/' from member names

I have also tried other places as well.  The tar file always ends up in the 
repository area.  I can't figure out how you got cp2foss to report:

tar: /cp2foss-4a081eff990ed.tar: Cannot open: Permission denied
tar: Error is not recoverable: exiting now
FATAL: '/cp2foss-4a081eff990ed.tar' does not exist.

notice the tar path

Is everything from fossology down (in /srv/fossology) on your system group 
owned by fossy?  If not, that's a problem.  It should be similiar to this:

ma...@hallows: ll -d fossology/
drwxrws--- 3 oident fossy 4096 2009-05-04 21:25 fossology/
ma...@hallows: ll -R fossology/ | less -X
fossology/:
total 4
drwxrws--- 4 oident fossy 4096 2009-05-11 14:22 repository

fossology/repository:
total 8
drwxrws--- 5 oident fossy 4096 2009-05-11 09:21 localhost
drwxrws--- 3 oident fossy 4096 2009-05-05 18:13 ununpack

fossology/repository/localhost:
total 16
drwxrws--- 219 www-data fossy 4096 2009-05-05 18:41 files
drwxrws---  16 www-data fossy 4096 2009-05-05 18:43 gold
drwxrws--- 205 oident   fossy 4096 2009-05-05 18:53 license

notice the group owner is fossy and the group permissions are rws.  Don't worry 
about the owner in the output above, it's the group that's important.  The 
output is from my test system.

Please take a look at your configuration to see if there are any issues there.  
Without the ability to reproduce your problem, it will be much harder to fix.  
I'll continue to experiment with this to see if I can find the issue or what's 
going on.  Would it be possible to re-install in the standard locations and try 
cp2foss again

[FOSSology] Db changes, one more time....

2009-02-17 Thread Mark Donohoe
Bob,

Late Friday I was making the DB table changes.  I went to make the 
change for the job_submitter and couldn't find my notes.  I know we 
discussed this on fossology irc last week.

Email says:

Mark:
Job table:
--
replace job_submitter with user_pk,will need to change the type of the
column.

Bob:
Yep.  It never should have been a text name in the first place.

But I seem to recall that on IRC we discussed that was not right... I 
thought you mentioned something about using a field in the jobqueue 
table and leaving the job table as is.  When I look at the jobqueue 
table, I don't see anything that might apply.

I thought I made a log of the irc discussion, but I can't find it.  Do 
you recall?

Please reply in e-mail, that way there will be a record of it.  Thanks.

-- 
Mark Donohoe
ALPS/OSTT, Cupertino CA.
fossology.org

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


[FOSSology] DB table changes for email-notification

2009-02-05 Thread Mark Donohoe
Bob,

Here are my thoughts on the tables changes needed to support email
notifications. This is the first time I have ever defined tables for a 
db, so
if I'm doing something silly, please educate me.  Thanks.

Job table:
--
replace job_submitter with user_pk,will need to change the type of the 
column.

job_email_notify type changes to integer and is the foreign key to the
email notification table.

email_notification table:
-
relation of email table to job table is many to one.  Many e-mail
tables to one job table.

em_pk(primary key for the email notification table)
job_fk   (job table key)
email_sent   (timestamp or null)
user_fk  (user foreign key, email sent on this users request)
email_addresses  (comma seperated list of addresses used to send the mail)

comments?

-- 
Mark Donohoe
ALPS/OSTT, Cupertino CA.
fossology.org

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