|
| 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 | +  |
| 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 | +  |
| 45 | + - Print each license’s full text. Include any license comments if present. |
| 46 | +  |
| 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 | +  |
| 51 | +  |
| 52 | + |
| 53 | +- **ReadMeOSS Output** |
| 54 | + - Strip both `LicenseRef-fossology-` and `LicenseRef-` from each license line. |
| 55 | +  |
| 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