Skip to content

Commit cf9972b

Browse files
Merge pull request #312 from Vaibhavsahu2810/updates/2025/week1
chore(docs): Add OSSelot project week1 report Reviewed-By: shaheem.azmal@siemens.com
2 parents 0d28249 + 9a5b6a8 commit cf9972b

File tree

1 file changed

+63
-0
lines changed

1 file changed

+63
-0
lines changed
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
---
2+
title: Week 1
3+
author: Vaibhav Sahu
4+
tags: [gsoc25, OSSelot]
5+
---
6+
7+
<!--
8+
SPDX-License-Identifier: CC-BY-SA-4.0
9+
SPDX-FileCopyrightText: 2025 Vaibhav Sahu <sahusv4527@gmail.com>
10+
-->
11+
12+
# Week 1
13+
14+
*(June 3, 2025 - June 9, 2025)*
15+
16+
## Meeting 1
17+
18+
*(June 3, 2025)*
19+
20+
## Attendees
21+
22+
* [Vaibhav Sahu](https://github.com/Vaibhavsahu2810)
23+
* [Jan Altenberg](https://github.com/JanAltenberg)
24+
25+
## Discussions
26+
27+
* I have completed the first task by introducing a new per-upload configuration flag, **EnableOsselotExport**, and shared a diff comparison showing export files with and without the flag. Jan reviewed the changes and approved them.
28+
* Jan suggested a few refinements: renaming the checkbox for clarity and merging the existing “license comment” flag into the **EnableOsselotExport** option, which I have incorporated.
29+
* While testing large uploads, I hit a “memory limit exceeded” error. Jan recommended updating the `memory_limit` and related PHP settings in `/etc/php/8.2/apache2/php.ini` to resolve this.
30+
31+
32+
## Updates
33+
34+
* Introduces a new per‐upload configuration flag, **EnableOsselotExport**, under
35+
**Browse → Pfile → Conf → Report Configuration → SPDX Report Settings**. When checked for a given upload, all SPDX-based exports (SPDX-TV, SPDX RDF/XML) and the ReadMeOSS agent adopt OSSelot-compatible behavior.
36+
37+
- **Added per-upload OSSelot toggle**
38+
![Enable OSSelot Export checkbox](https://github.com/user-attachments/assets/2bb1927d-e280-46d2-b059-e9b6310f1853)
39+
Introduced a third checkbox (“Enable OSSelot Export”).
40+
41+
- **SPDX-TV Export**
42+
- In **License Information**, list **every** license (including those previously unprefixed).
43+
- Rewrite custom licenses as `LicenseRef-See-file.LICENSE` (no `-fossology-`).
44+
![SPDX-TV before/after](https://github.com/user-attachments/assets/8bb6c601-6d93-43d4-9da2-3227cc8ede3a)
45+
- Print each license’s full text. Include any license comments if present.
46+
![Full text and comments in SPDX-TV](https://github.com/user-attachments/assets/e813fc26-8817-4ba7-85f5-f7dbe8c4ae68)
47+
48+
- **SPDX RDF/XML Export**
49+
- Apply identical logic: emit all licenses , strip `-fossology-`, prepend `LicenseRef-` when needed, and include full license text.
50+
![SPDX RDF/XML before/after 1](https://github.com/user-attachments/assets/b74a625d-6d83-40c3-bb6d-83a9bab9e493)
51+
![SPDX RDF/XML before/after 2](https://github.com/user-attachments/assets/f671d231-7d1e-4a47-8740-859c7afdfaee)
52+
53+
- **ReadMeOSS Output**
54+
- Strip both `LicenseRef-fossology-` and `LicenseRef-` from each license line.
55+
![ReadMeOSS output without prefixes](https://github.com/user-attachments/assets/c3e8e188-395c-499e-82b1-216e4c54c33e)
56+
57+
58+
## Planning for Next Week
59+
60+
* I will start working on my next part of my project where i need to extend the upload page’s reuse settings by adding a “Reuse from OSSelot” section so users can pull in clearing decisions directly from OSSelot reports.
61+
* I’m going to dive into the Report-Import agent’s code and workflow to understand how it ingests external reports, then adapt that logic for OSSelot-sourced data.
62+
* Map out OSSelot’s REST API—identifying the endpoints for version metadata and RDF/XML report files—so I can fetch and integrate those artifacts programmatically.
63+

0 commit comments

Comments
 (0)