Release Notes

Version 8 (Mark Donohoe, 04/27/2012 10:17 pm)

1 3 Bob Gobeille
{{toc}}
2 3 Bob Gobeille
3 1 Dan Stangel
h1. Release Notes
4 1 Dan Stangel
5 1 Dan Stangel
This page maintains the FOSSology Project release notes, from the most recent release to the oldest release.
6 1 Dan Stangel
7 1 Dan Stangel
h2. 2.0 
8 6 Bob Gobeille
Release Date: ESTIMATED beginning of May 2012
9 1 Dan Stangel
10 3 Bob Gobeille
h3. New Features (WORK IN PROGRESS)
11 1 Dan Stangel
12 3 Bob Gobeille
  * The scheduler has been redesigned and reimplemented to improve robustness.
13 3 Bob Gobeille
  * Modular agents.  Agents can now have their own release stream.
14 3 Bob Gobeille
  * Scan logs are now independent of the fossology scheduler log, and can be viewed using the GUI.
15 3 Bob Gobeille
  * Nomos license additions and corrections.
16 4 Bob Gobeille
  * Buckets can now select from a list of datasets.
17 3 Bob Gobeille
  * bsam license scanner no longer installed by default.
18 3 Bob Gobeille
  * Tagging can be done from Nomos and Buckets file browser.
19 3 Bob Gobeille
  * Search by tag.
20 3 Bob Gobeille
  * Tags are now listed in Nomos and Buckets file browser.
21 3 Bob Gobeille
  * Nomos and Buckets reports can be filtered by tag.
22 3 Bob Gobeille
  * New agents can rescan files.
23 1 Dan Stangel
24 5 Bob Gobeille
h3. "Issues fixed in 2.0":http://www.fossology.org/projects/fossology/issues?set_filter=1&f%5B%5D=status_id&op%5Bstatus_id%5D=%3D&v%5Bstatus_id%5D%5B%5D=27&f%5B%5D=fixed_version_id&op%5Bfixed_version_id%5D=%3D&v%5Bfixed_version_id%5D%5B%5D=3&f%5B%5D=&c%5B%5D=tracker&c%5B%5D=status&c%5B%5D=priority&c%5B%5D=subject&c%5B%5D=assigned_to&c%5B%5D=author&c%5B%5D=category&c%5B%5D=fixed_version&c%5B%5D=created_on&group_by=status
25 5 Bob Gobeille
26 5 Bob Gobeille
h3. "Known Issues in 2.0":http://www.fossology.org/projects/fossology/issues?query_id=15
27 3 Bob Gobeille
28 3 Bob Gobeille
29 7 Mark Donohoe
h2. Known Install Issues
30 3 Bob Gobeille
31 7 Mark Donohoe
Note for Rhel6 packages: FOSSology depends on the package php-process, which is not available from the default RHEL repository. You can download a copy from:
32 7 Mark Donohoe
http://fossology.org/rpms/epel/testing/6/i386/php-process5.3.2-6.el6_0.1.i686.rpm
33 7 Mark Donohoe
34 7 Mark Donohoe
http://fossology.org/rpms/epel/testing/6/x86_64/php-process-5.3.2-6.el6_0.1.x86_64.rpm 
35 7 Mark Donohoe
36 7 Mark Donohoe
Or apply this update: https://rhn.redhat.com/errata/RHSA-2011-0195.html
37 7 Mark Donohoe
38 7 Mark Donohoe
If this is an upgrade, the proper way to upgrade FOSSology is to use <code>apt-get update; apt-get install fossology</code> after changing the sources.list file.  Using __apt-get upgrade fossology__ **will not work.**
39 7 Mark Donohoe
40 7 Mark Donohoe
The apache configuration may need to be modified (remove the old 1.x.x configuration from sites-available/default).  FOSSology now configures apache to use fossology.
41 7 Mark Donohoe
42 8 Mark Donohoe
The baseurl in the fossology.repo file for Fedora and RHEL releases is **incorrect**.  After fossology installation the above file should be edited to use one of the URL's below.
43 8 Mark Donohoe
44 7 Mark Donohoe
h2. Install Steps.
45 7 Mark Donohoe
46 7 Mark Donohoe
h3. Recommended steps for upgrading
47 7 Mark Donohoe
48 7 Mark Donohoe
# Change sources.list or the baseurl in the fossology.repo file (see below)
49 7 Mark Donohoe
# Debian/Ubuntu: apt-get update; apt-get install fossology
50 7 Mark Donohoe
   RHEL/Fedora: yum update; yum install fossology
51 7 Mark Donohoe
# Shut down the scheduler: /etc/init.d/fossology stop
52 7 Mark Donohoe
# Make adjustments in the apache2/httpd configuration as needed.
53 7 Mark Donohoe
# Restart apache/http and postgresql so the new configurations take affect.
54 7 Mark Donohoe
# Start the fossology scheduler: /etc/init.d/fossology start
55 7 Mark Donohoe
56 7 Mark Donohoe
FOSSology uses a new combined configuration file, called **fossology.conf**. Additional cleanup can be done in /etc/fossology.  The following old files can be removed:
57 7 Mark Donohoe
58 7 Mark Donohoe
* Depth.conf
59 7 Mark Donohoe
* Hosts.conf
60 7 Mark Donohoe
* Proxy.conf
61 7 Mark Donohoe
* RepPath.conf
62 7 Mark Donohoe
* Scheduler.conf
63 7 Mark Donohoe
64 7 Mark Donohoe
These files are no longer used by fossology and so can be safely removed.  Before removing them, determine what settings in those files should be in the new configuration **fossology.conf**.
65 7 Mark Donohoe
66 7 Mark Donohoe
h3. New Installs
67 7 Mark Donohoe
68 7 Mark Donohoe
# Configure apt or yum with one of the url's below.
69 7 Mark Donohoe
# Read the INSTALL document for configuration of postgresql, php5 and apache/httpd. **(WHere is the INSTALL doc on the wiki? don't want them to have to check out source.....)**
70 7 Mark Donohoe
# After the system is configured, install fossology.
71 7 Mark Donohoe
# Restart apache/httpd and postgresql
72 7 Mark Donohoe
73 7 Mark Donohoe
h2. Unofficial FOSSology packages
74 7 Mark Donohoe
75 7 Mark Donohoe
Unofficial install packages on the following supported platforms & distros are now available (32 and 64 bit) for download and testing:
76 7 Mark Donohoe
77 7 Mark Donohoe
h3. RHEL/Centos:
78 7 Mark Donohoe
79 7 Mark Donohoe
http://fossology.org/releases/2.0.0-rc1/RHEL/6.x/6/
80 7 Mark Donohoe
81 7 Mark Donohoe
h3. Fedora 15:
82 7 Mark Donohoe
83 7 Mark Donohoe
http://fossology.org/releases/2.0.0-rc1/Fedora/15/
84 7 Mark Donohoe
85 7 Mark Donohoe
h3. Debian:
86 7 Mark Donohoe
87 7 Mark Donohoe
http://fossology.org/releases/2.0.0-rc1/Debian/squeeze/ 6.0 contrib
88 7 Mark Donohoe
89 7 Mark Donohoe
h3. Ubuntu:
90 7 Mark Donohoe
91 7 Mark Donohoe
10.04.3:
92 7 Mark Donohoe
93 7 Mark Donohoe
http://fossology.org/releases/2.0.0-rc1/Ubuntu/ 10.04 contrib
94 7 Mark Donohoe
95 7 Mark Donohoe
11.04:
96 7 Mark Donohoe
97 7 Mark Donohoe
http://fossology.org/releases/2.0.0-rc1/Ubuntu/ 11.04 contrib
98 7 Mark Donohoe
99 7 Mark Donohoe
11.10
100 7 Mark Donohoe
101 7 Mark Donohoe
http://fossology.org/releases/2.0.0-rc1/Ubuntu/ 11.10 contrib
102 7 Mark Donohoe
103 7 Mark Donohoe
104 7 Mark Donohoe
105 7 Mark Donohoe
106 3 Bob Gobeille
h2. 1.4.1
107 3 Bob Gobeille
Date: July 2011
108 3 Bob Gobeille
109 3 Bob Gobeille
  * Bug Fix release
110 2 Mary Laser
111 1 Dan Stangel
h2. 1.4.0 
112 1 Dan Stangel
113 1 Dan Stangel
Date: April 2011
114 1 Dan Stangel
115 1 Dan Stangel
116 1 Dan Stangel
  * [[compare:licensediff|New Comparison tool]]. This allows one to focus on the differences between two file trees. For example, you might want to compare two versions of a package to see what licenses changed.
117 1 Dan Stangel
  * A new [[altui:alternateui|simplified User Interface]] AND the option to assign the “Simplified” or “Original” UI on a per user basis.  The Simplified UI is now the default for new users.
118 1 Dan Stangel
  * Implement [[tasks:authentication_using_siteminder|authentication using Siteminder]]
119 1 Dan Stangel
  * Improved [[quickstart|user documentation]]
120 1 Dan Stangel
  * [[upload_from_a_url|Multiple file upload from URL]]
121 1 Dan Stangel
  * Dramatic Improvements to the [[copyright:copyright_1.4.0|copyright agent]]
122 1 Dan Stangel
  * New FOSSology [[config:how_to_configure_the_fossology_site | website customization]].
123 1 Dan Stangel
  * Bugs addressed in this release: "1.4.0 Defect List":http://bugs.linux-foundation.org/buglist.cgi?query_format=advanced&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&target_milestone=1.3.1&target_milestone=1.4&product=FOSSology
124 1 Dan Stangel
  * If you have created bucket files or scripts, then you need to move your bucketpool directory from DATADIR to PROJECTSTATEDIR.  Admins can see where these locations are from the main menu Help > Debug > Global Variables.  If you don't use buckets, or all your buckets are by regexes in the database, then you can ignore this.
125 1 Dan Stangel
126 1 Dan Stangel
h2. 1.3.0 
127 1 Dan Stangel
128 1 Dan Stangel
Date: January 2011
129 1 Dan Stangel
130 1 Dan Stangel
131 1 Dan Stangel
*New!* FOSSology generated Ubuntu debs for Karmic, Lucid and Maverick.
132 1 Dan Stangel
133 1 Dan Stangel
134 1 Dan Stangel
The 'supported distros' matrix can be found [[download#supported_distro_s|here]].
135 1 Dan Stangel
136 1 Dan Stangel
137 1 Dan Stangel
New features and fixes in 1.3.0 include:
138 1 Dan Stangel
139 1 Dan Stangel
140 1 Dan Stangel
  * 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 permission.
141 1 Dan Stangel
  * File Tagging.  The ability to attach a tag (short (max 32 character) tag, plus a long text) to a file or container.
142 1 Dan Stangel
  * Copyright agent replaced. A quick experiment showed that we get better results with simple heuristics rather than the old agent based on naive Bayes. 
143 1 Dan Stangel
  * Fixed a cp2foss authentication bug that prevented bucket agent from getting scheduled.
144 1 Dan Stangel
  * fixed unpack defects and made some improvements.
145 1 Dan Stangel
146 1 Dan Stangel
h3. Last Release for bsam agent 
147 1 Dan Stangel
148 1 Dan Stangel
After the 1.3.0 release the bsam and spec file agents will be removed from the product.  Existing bsam analysis will still be able to be viewed, but no new analysis by the bsam agent will be available.  The nomos agent is much faster and more accurate.  Users are encouraged to use the nomos license agent and to rescan their existing bsam uploads with nomos.
149 1 Dan Stangel
150 1 Dan Stangel
h3. Known Issues in 1.3.0 
151 1 Dan Stangel
152 1 Dan Stangel
  * Details for outstanding non-critical bugs can be found at our "bug tracking site":http://bugs.linux-foundation.org/buglist.cgi?query_format=advanced&bug_severity=major&bug_severity=normal&bug_severity=minor&bug_severity=trivial&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&product=FOSSology.
153 1 Dan Stangel
  * When upgrading from the previous version, you'll have to manually update the /etc/fossology/Scheduler.conf file to 
154 1 Dan Stangel
  # delete entries for pkgmettagetta
155 1 Dan Stangel
  # modify the entry for the copyright agent.  The copyright line in Scheduler.conf should look something like this (where <agent_hostname> should be replace with the actual hostname):
156 1 Dan Stangel
157 1 Dan Stangel
158 1 Dan Stangel
  agent=copyright host=<agent_hostname> | /usr/bin/ssh fossy@<agent_hostname> "/usr/lib/fossology/agents/copyright"
159 1 Dan Stangel
160 1 Dan Stangel
161 1 Dan Stangel
  * The 1.3.0 upgrade for a fossology instance with a large number of entries in the copyright table (millions) can take a several hours due to a change in data type.  (This was discovered while attempting to update a copyright table with >51 million records.)  If your installation appears to hang at "Applying database schema", then you may find it faster to use the following workaround to speed up the installation.  
162 1 Dan Stangel
163 1 Dan Stangel
164 1 Dan Stangel
Use the following ALTER command to change the datatype:
165 1 Dan Stangel
<pre>
166 1 Dan Stangel
  $ psql -U fossy -d fossology
167 1 Dan Stangel
Password for user fossy:
168 1 Dan Stangel
169 1 Dan Stangel
170 1 Dan Stangel
  Welcome to psql 8.3.12, the PostgreSQL interactive terminal.
171 1 Dan Stangel
  Type:  \copyright for distribution terms
172 1 Dan Stangel
       \h for help with SQL commands
173 1 Dan Stangel
       \? for help with psql commands
174 1 Dan Stangel
       \g or terminate with semicolon to execute query
175 1 Dan Stangel
       \q to quit
176 1 Dan Stangel
 
177 1 Dan Stangel
 
178 1 Dan Stangel
  fossology=> ALTER TABLE "public"."copyright" ALTER COLUMN "ct_pk" TYPE bigint;
179 1 Dan Stangel
</pre>
180 1 Dan Stangel
181 1 Dan Stangel
You can examine the size of your copyright table using this SELECT command:
182 1 Dan Stangel
 
183 1 Dan Stangel
<pre> 
184 1 Dan Stangel
   fossology=> Select count(*) from public.copyright;
185 1 Dan Stangel
    count
186 1 Dan Stangel
 
187 1 Dan Stangel
 
188 1 Dan Stangel
  ---------
189 1 Dan Stangel
 
190 1 Dan Stangel
 
191 1 Dan Stangel
   67366928
192 1 Dan Stangel
  (1 row)
193 1 Dan Stangel
</pre>
194 1 Dan Stangel
195 1 Dan Stangel
  * In order to unpack rar(>=RAR 3.x) file(s), you need to install rar(non-free) manually. In debian, you can install it through adding the non-free source, then apt-get install unrar. In centos and fedora, you can install it through adding the rpmfusion source, then yum install unrar.