Skip to content

Commit 06f8bce

Browse files
authored
Merge pull request #1041 from eclipse/mcj/chore/maketwelve
chore(release): make twelve tested-by:travis
2 parents 77730ce + b0c905a commit 06f8bce

File tree

3 files changed

+93
-3
lines changed

3 files changed

+93
-3
lines changed

CHANGELOG.md

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,96 @@ This is the changelog file of the sw360 project. It starts with the first releas
44

55
https://github.com/sw360/sw360portal/releases
66

7+
## sw360-12.0.0-M1
8+
9+
This release something special because it brings a lot, really a lot of changes in the database model, more specifically it is a refactoring of the licenses and obligation objects. Following corrections:
10+
11+
* Risks are dropped and migrated to obligations
12+
* Term "todo" is eliminated and we aim at consistently use "obligation"
13+
14+
Then there are two new dimensions of obligations, first obligation level
15+
16+
* Organisation obligations: obligations that apply for all projects of the sw360 instance.
17+
* Project obligations: obligations that apply for a specific project, for example, obligations need to be applied to software which is delivered on a device without display.
18+
* Component obligations: obligations that apply to a release to be more precise, for example IP issues coming when using a particular release.
19+
* License obligations: obligations which come from using software under a license.
20+
21+
Second, the obligations have types:
22+
23+
* Permissions
24+
* Restrictions
25+
* Obligations (finally)
26+
* Risks (for example patent litigation clauses)
27+
* Exceptions (for example classpath exception with GPL)
28+
29+
So that involves a lot of changes to the data model, and resulting a lot of migrations. We apologize in advance for the 18 migrations scripts to execute. But it will be easier to have individual migration scripts for particular changes instead of having a large one. Please refer to scripts/migrations/README.md for further details. Please note that in general, all scripts have a `DRYRUN` variable which is set to `True` by default and needs to be set to `False` to apply actually changes to the database.
30+
31+
Besides, this release has also some other changes, including:
32+
33+
* changing download URL into two attributes: binary download URL and source code download URL
34+
* New REST Endpoint: Search!
35+
* if you ant to write clients using REST: Pagination for some of the major listings!
36+
37+
### Migrations
38+
39+
For existing installations, a data migration is required. Please go to the readme file in `scripts/migrations` to see more information:
40+
41+
https://github.com/eclipse/sw360/blob/master/scripts/migrations/README.md
42+
43+
For running the migrations scripts, you will need python and the couchdb package. Please note that you will need to change manually in the python file: the `DRYRUN` variable and the couchdb URL (if that is not on localhost or requires password or both).
44+
45+
### Credits
46+
47+
The following github users have contributed to the source code since the last release (in order of appearance):
48+
49+
```
50+
<abdul.mannankapti@siemens.com>
51+
github dependabot ;-)
52+
<jaideep.palit@siemens.com>
53+
<michael.c.jaeger@siemens.com>
54+
<smruti.sahoo@siemens.com>
55+
<Stephanie.Neubauer@bosch.io>
56+
```
57+
58+
### Features Summary
59+
60+
* `596ed7bb` feat(ProjectListUI): Added clearing state filter in Project List
61+
* `693dc596` feat(rest): New search resource endpoint and get releases for multiple projects
62+
* `a2577cf0` feat(rest/ui): Project vulnerability enpoint update & added new projectrating in UI
63+
* `c1b1e33b` feat(ui-rest): Changes in Release information, change title "Download URL" to "Source Code Download URL", add new data filed "Binary Download URL", added new field in excel sheet
64+
* `99b3f816` feat(ProjectTodo): Remove ProjectTodo and UI changes for Obligation and ProjectTodo
65+
* `7b9b73a7` feat(projecttodo): Migration Scripts
66+
* `cb890218` feat(ProjectTodo): Renamed type to obligationType ,Changed required licenseIds to optional, Added optional ObligationLevel obligationLevel in ObligationStatusInfo
67+
* `04020bef` feat(CR-UI): Enhancement & Bug fixes
68+
* `1d6d2b32` feat(licensemodel): Drop Risk and Risk category and merge it with Obligation
69+
* `3ac3ba23` feat(ProjectObligation): Changes in Project Obligation Data Model, renamed linkedObligations to linkedObligationStatus in ProjectObligation struct, renamed struct ProjectObligation to struct ObligationList
70+
* `c009f2c8` feat(obligation): Rename product obligation to project obligation
71+
* `fcfec496` feat(LicenseDataModel): Merge LiceneObligation with Obligation
72+
* `c5e4e1e6` feat(ui): Allow access to merge/split of component and release based on user role configured in properties (6 weeks ago) <jaideep.palit@siemens.com>
73+
* `af625d7b` feat(ProjectUI): Added 2 new fields in Project Obligation
74+
* `5b837649` feat(Project-UI): Added new field in Advanced Search for Projets
75+
* `ff4a9af4` feat(LicenseInfoObligation): Rename Obligation in LicenseInfo.thrift to ObligationAtProject, added null check in change log for merge release
76+
* `6c13cc93` feat(ObligationDataModel): Changes in Obligation data model, Renamed struct Obligations to struct Obligation in License.thrift, Renamed existing obligationType to obligationLevel, Created new obligationType field which has Permission,Risk,Exception,Restriction as options, Fixed adding obligation in licenses tab
77+
* `067b731f` feat(rest): Adding pagination while listing projects and listing project releases
78+
79+
### Corections
80+
81+
* `a2dd35de` fix(lucene): fix parameter allow leading wildcard to true
82+
* `9ac6e93e` fix(ModerationRequest): Fixed Moderation Request not opening when associated attachment deleted
83+
* `51ab6e0b` fix(ProjectListUI): Fixed sorting of project clearing state in Project List page
84+
* `0d525531` fix(Report): Fixed Clearing report to show project, component, organisation obligation
85+
* `92d00ab1` fix(Obligation): Expand/Collapse all columns including comment using single leftmost toggle button for a row, Remove truncate for Obligation Text, Added expand collapse column feature for comments
86+
* `5a1422e6` fix(obligations):cover null pointer case if file with obligations is missing
87+
* `51860a0f` fix(moderation): Project moderation fix
88+
* `2f9a6879` fix(UserSearch): Fixed search user functionality
89+
90+
### Infrastructure
91+
92+
* `d04911b8` chore(deps-dev): Bump junit in /backend/src/src-attachments
93+
* `4a3e8904` chore(deps-dev): Bump junit in /backend/src/src-licenseinfo
94+
* `4f3c3ea8` chore(deps): Bump junit from 4.12 to 4.13.1
95+
* `ca348628` typo(rest): fix patchComponent in releasecontroller is patchRelease
96+
797
## sw360-11.0.0-M1
898

999
The changes for this release incorporate a larger jump from the previous release, because it changes the sw360 infrastructure to the following versions:

build-configuration/resources/couchdb.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ couchdb.lucene.url = http://localhost:8080/couchdb-lucene
2828
# [lucene]
2929
# allowLeadingWildcard=true
3030
# see more: https://wiki.apache.org/lucene-java/LuceneFAQ#What_wildcard_search_support_is_available_from_Lucene.3F
31-
lucenesearch.leading.wildcard = false
31+
lucenesearch.leading.wildcard = true
3232

3333

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@
4848
<!-- This is first of two places for changing the version of SW360 -->
4949
<!-- note that 6.1.0-SNAPSHOT relates to 6.0.${patchlevel} -->
5050
<!-- pls see also the profile cli -->
51-
<revision>11.${patchlevel}</revision>
52-
<patchlevel>1.0-SNAPSHOT</patchlevel>
51+
<revision>12.${patchlevel}</revision>
52+
<patchlevel>0.0</patchlevel>
5353
<java.version>11</java.version>
5454
<ektorp.version>1.5.0</ektorp.version>
5555
<thrift.version>0.13.0</thrift.version>

0 commit comments

Comments
 (0)