|
| 1 | +================================================================= |
| 2 | +Create a web application to scan and review a single license text |
| 3 | +================================================================= |
| 4 | + |
| 5 | + |
| 6 | +| **Organization:** `AboutCode <https://aboutcode.org>`_ |
| 7 | +| **Project:** `Scancode.io <https://github.com/nexB/scancode.io>`_ |
| 8 | +| **Mentee:** `Lali Akhil Raj (lf32) <https://github.com/lf32>`_ |
| 9 | +| **Mentors:** `Philippe Ombredanne <https://github.com/pombredanne>`_, `Thomas Druez <https://github.com/tdruez>`_, `AyanSinhaMahapatra <https://github.com/AyanSinhaMahapatra>`_, `AvishrantsSh <https://github.com/AvishrantsSh>`_ |
| 10 | +
|
| 11 | +Overview |
| 12 | +-------- |
| 13 | + |
| 14 | +The aim of this project is to create a Django-based web application (scantext) |
| 15 | +to scan and review a single license text inside ScanCode.io. |
| 16 | +The application will be designed around a Django_REST-framework, |
| 17 | +and It will also allow the integrated reporting |
| 18 | +of license detection issues in the app based on the results. |
| 19 | + |
| 20 | +Implementation |
| 21 | +-------------- |
| 22 | + |
| 23 | +**After the application is created it should have these similar features** |
| 24 | + |
| 25 | +* A form to upload/paste text from which scantext |
| 26 | + |
| 27 | +By default, it prefers to scan input text, though both are provided. |
| 28 | + |
| 29 | +.. image:: https://user-images.githubusercontent.com/96695352/188984928-3c40b8de-aac6-4dd2-b0eb-cb06610f2005.png |
| 30 | + |
| 31 | +* A license summary page to view the analysed results in detail |
| 32 | + |
| 33 | +This page is the backbone of the entire project. It is to show everything |
| 34 | +from highlighting matched licence text to showing details of every match. |
| 35 | +There are still things that need to be implemented. For now, this is how |
| 36 | +it looks. On hovering over the dropdown in the left sidebar panel, |
| 37 | +it's going to show details of their respective match. These are just a few details |
| 38 | +at the top level. If you click on "view more details," it's going to show more |
| 39 | +details of that match. Isn't it awesome? I had terrible issues |
| 40 | +when I was designing it the other way. |
| 41 | + |
| 42 | +Thanks to my mentors for giving me ideas to present them in a better way. |
| 43 | +The backend part (tokenization and views) wouldn't be possible without the |
| 44 | +help of the mentors. Thank you so much `@philippe <https://github.com/pombredanne>`_, `@tdruez <https://github.com/tdruez>`_, and `@Ayan <https://github.com/AyanSinhaMahapatra>`_! |
| 45 | + |
| 46 | +.. image:: https://user-images.githubusercontent.com/96695352/188737270-03b87f46-116d-4845-9875-9601af295a10.png |
| 47 | + |
| 48 | +* A more detail view of licenses per match |
| 49 | + |
| 50 | +.. image:: https://user-images.githubusercontent.com/96695352/188736661-5cc590c4-23de-4454-9aed-4e7439e3c2ae.png |
| 51 | + |
| 52 | +**Now the user can see what has been detected, right? |
| 53 | +What if the user concludes there is something wrong with the match?** |
| 54 | + |
| 55 | +Well, to solve it, the user has to create a new issue on scancode-toolkit's github page and |
| 56 | +upload a few details so the developers can understand what the issue is actually. |
| 57 | +For that, the user has to provide the `Input Text`, `Matched Text`, and `Detected Values`. |
| 58 | +Luckily, there is a report functionality button provided inside the application |
| 59 | +which on click does all the work for the end user and redirects the user |
| 60 | +to scancode-toolkit's issues page on github to save some time. |
| 61 | + |
| 62 | +.. image:: https://user-images.githubusercontent.com/96695352/188580376-668200de-7de0-483c-9a0a-5a5174c35ef5.png |
| 63 | + |
| 64 | +Post GSoC |
| 65 | +--------- |
| 66 | + |
| 67 | +I am interested in continuing the development process of the Scancode.io. |
| 68 | +There are still things needed to be implemented which are necessary for |
| 69 | +having an improved and stable version of `scantext` inside scancode.io. |
| 70 | + |
| 71 | +Links |
| 72 | +----- |
| 73 | + |
| 74 | +* `Project Idea <https://github.com/nexB/aboutcode/wiki/GSOC-2022#scancodeio--scancode-toolkit-create-web-application-to-scan-and-review-a-single-license-text>`_ |
| 75 | +* `GSoC Proposal <https://summerofcode.withgoogle.com/programs/2022/projects/qLGnC87T>`_ |
| 76 | +* `Source Code <https://github.com/lf32/scancode.io/tree/lf32-licensetext-devel/scantext>`_ |
| 77 | +* `Merged Commits <https://github.com/nexB/scancode.io/commits?author=lf32>`_ |
| 78 | + |
| 79 | +Acknowledgements |
| 80 | +---------------- |
| 81 | + |
| 82 | +I had an amazing time working on this project this summer. |
| 83 | +Thanks, for selecting me for this project. I've got an opportunity to |
| 84 | +learn various things about software licensing and I was also able to |
| 85 | +learn various tools and got deep into Django and Django-REST-framework. |
| 86 | + |
| 87 | +Thanks for guiding me. |
| 88 | + |
| 89 | + |
| 90 | +Tabs are Evil, Space Rocks!!! |
| 91 | + |
0 commit comments