OSDC-2023-assignment5
Tags: osdc, git, github
Published: 2023-04-15 16:51:06

---
title: OSDC-2023-assignment5
published: true
description: 
tags: osdc, git, github
# cover_image: https://direct_url_to_image.jpg
# Use a ratio of 100:42 for best results.
# published_at: 2023-04-14 12:31 +0000
---

##Quick review of the lecture at the course [OSDC](https://osdc.code-maven.com/)
@szabgab advised us how to better search for projects that would suit us better in terms of the ability to contribute to them and improve them.

We learned in more detail How to update a PR that was not accepted yet:

* Created a [new PR]( https://github.com/OSDC-Code-Maven/osdc-2023-03-azrieli/pull/44) that failed the CI, and the owner commented on it as well.

* After finding the fork and branch in the fork, we updated the file.

* The PR was automatically updated and the CI was restarted.

During our discussion, we discussed (in theory) how to handle a change to an open source project that might take a month to complete.
* What we can do to prevent breakage caused by changes made on the main project that conflict with the change we make.
* It is impossible to completely avoid those conflicts, but we can reduce their impact by communicating and aligning our work frequently with the main branch.
* There was a mention of rebasing. Later, we'll see how it works.
In a brief discussion, we discussed whether open source work is paid.

###Assignment###
Our assignment was to  Fix the PRs that are problematic. (Where the CI failed or where the owner asked for an update) from [assignment 4]( https://dev.to/ranms25/osdc-2023-assignment4-3jak) 
Find more projects via [PyDigger](https://pydigger.com/), and create more PR try this time to make it more interesting and more challenging.
Add better projects to our JSON (that are not ours).

My update from last time,
[vortexpy](https://github.com/Synerty/vortexpy/pull/1) -  I am still waiting for approval
[stormlock](https://github.com/tmccombs/stormlock/pull/1) - Was accepted 😊
[unformat](https://github.com/hanjinliu/unformat/pull/1) - Was accepted 😊
[MathTranslate](https://github.com/SUSYUSTC/MathTranslate/pull/24) - It was not accepted and we were not able to get an answer as to why 🤷‍♂️
[crypt-dir](https://github.com/khanh101/crypt-dir/pull/1) - Was accepted 😊
[frontend](https://github.com/hacs/frontend/pull/645) - It was not accepted, but we get a response why not: "Not needed here, it's not meant for regular consumption." So respect that

This time I hope to contribute to the following projects:
[vmn](https://github.com/final-israel/vmn/pull/134)
[magic_duckdb](https://github.com/iqmo-org/magic_duckdb/pull/1)
[megabots](https://github.com/momegas/megabots/pull/6)

By Added licenses to the metadata file (i.e. pyproject.toml, setup.py to appear in the website pypi.org

Additionally, I contributed to the project [pydigger](https://github.com/szabgab/pydigger.com/pull/104)
You can see some of the changes I made on the page [docs/license]
(https://pydigger.com/docs/license) 
By adding several values ​​that can help and better summarize where and how to add the "license" field.
For example:
add a field called license to the setup function in the setup.py of the project or add the same field under [build-system] in pyproject.toml file.

####Here is the section of the setup.py file:####
        setuptools.setup(
        name="name of the project",
        version="1.1.7",
        author="Foo Bar",
        author_email="Foo.Bar.contact@Foo.com",
        license="MIT"

####Here is the section of the pyproject.toml files:####
        [build-system]
        requires = ["poetry>=0.12"]
        build-backend = "poetry.masonry.api"
        license = "Apache-2.0"

Also, I looked for some projects that would interest me, including four in the medical field dealing with the curve in the spine caused by scoliosis.
Mainly, an Ensemble Deep Learning Approach to Classify Scoliosis and Healthy Subjects
[Vertebra-Landmark-Detection](https://github.com/yijingru/Vertebra-Landmark-Detection)
[Scoliosis](https://github.com/zc402/Scoliosis)
[scoliosisx](https://github.com/Fernando23296/scoliosisx)
[Deep-Learning-to-Classify-Scoliosis](https://github.com/wiguider/Ensemble-Deep-Learning-to-Classify-Scoliosis-and-Healthy-Subjects)
Another earthquake-related project-A dashboard to visualize earthquakes worldwide since 2000.
[earthquakes](https://github.com/pierrotsmnrd/earthquakes)
And a nice project on how to build a Simple AWS Rekognition Application within 15 mins.
[rekognition-demo](https://github.com/manbobo2002/rekognition-demo)

I hope to continue learning from the course, which has taught me many new and important things that will help me in the future. :) Have a great day!