osdc-2023-assignment7

Contributing to open projects

Example on how to write an issue
Problem in dev.to:
in dev.to if you do save changes your are out of the editor. how can this be fixed? maybe add an automated saving, or save and keep on editing.
If we go down on GitHub p…


This content originally appeared on DEV Community and was authored by anatlavitzkovitz

Contributing to open projects

Example on how to write an issue
Problem in dev.to:
in dev.to if you do save changes your are out of the editor. how can this be fixed? maybe add an automated saving, or save and keep on editing.
If we go down on GitHub page there is a link to Forem. Going to forem and link to github. one repo is forem.
Forem/forem issues - search for autosave
shuly suggested an issue to add autosave here but got no reply.

another example: zarr-python
First search the issues - maybe someone else had a similar problem?

codecove - which lines were running during the test
this can show absence of tests
this can show us if a code was not tested after a change.
but if a test was not written, a piece of code will not be tested. high coverage doesn't mean good code but low coverage will show that not all the code is being tested.

You can try to promote a pull request

What if it doesn't work and you don't want to wait?
you can fix the issue locally and put in pypl with shaw - not recommended.
or you can make a fork and accept the pull request.

how?
dr - a basic docker file with alias in basrc for Gabor called dr.
Gabor has it in GitHub.

git clone ...
git fetch origin (default name) pull/1357/head
git checkout -b b1357 FETCH_HEAD
git lg
git show HEAD
git checkout main
git checkout -b szabgab
git merge 1357
gitk --all

now you can use this repo.
better that he would do rebase...

Now we can add another PR:

git checkout -b b1299 FETCH_HEAD

but this time there is a conflict.

a conflict
If you make a change in a different line - no problem to merge branch and main. changes to the same line- merge has a conflict. The change is in the text itself, not the raw number.
Now you can manually edit the new file and add it after that.

You can cancel the commit like this:

git merge --abort

how to find projects in R?

explore/topics 'r'
add languages : R
recently updated better than more stars.

wcgenesummary
add contribution, find tests that can be run locally. this is the best practice for running the test.

ggplots - open issue how to run a test?
testhat? maybe this is very simple to run.

to do
how to run a test, open a pull request. how to make test coverage? send a pull requst. what test is missing, write it.
good way - run the test case and compare to the output. make this as a test.

assignment 7

  1. Contribute to pydigger: I decided to contribute an author name here for (pydigger)[https://pydigger.com/]: https://github.com/danijar/dreamerv3 author: Danijar Hafner

This is what I wrote in my pull request:
"Hi. I am taking an open source project course https://github.com/OSDC-Code-Maven/osdc-2023-01-public
and try to contribute to projects without an author name. to be added here: https://pydigger.com/."

my pull request:

https://github.com/danijar/dreamerv3/pull/21

Waiting for a reply!

  1. Running R tests locally

This is my next task...


This content originally appeared on DEV Community and was authored by anatlavitzkovitz


Print Share Comment Cite Upload Translate Updates
APA

anatlavitzkovitz | Sciencx (2023-03-06T21:16:03+00:00) osdc-2023-assignment7. Retrieved from https://www.scien.cx/2023/03/06/osdc-2023-assignment7/

MLA
" » osdc-2023-assignment7." anatlavitzkovitz | Sciencx - Monday March 6, 2023, https://www.scien.cx/2023/03/06/osdc-2023-assignment7/
HARVARD
anatlavitzkovitz | Sciencx Monday March 6, 2023 » osdc-2023-assignment7., viewed ,<https://www.scien.cx/2023/03/06/osdc-2023-assignment7/>
VANCOUVER
anatlavitzkovitz | Sciencx - » osdc-2023-assignment7. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2023/03/06/osdc-2023-assignment7/
CHICAGO
" » osdc-2023-assignment7." anatlavitzkovitz | Sciencx - Accessed . https://www.scien.cx/2023/03/06/osdc-2023-assignment7/
IEEE
" » osdc-2023-assignment7." anatlavitzkovitz | Sciencx [Online]. Available: https://www.scien.cx/2023/03/06/osdc-2023-assignment7/. [Accessed: ]
rf:citation
» osdc-2023-assignment7 | anatlavitzkovitz | Sciencx | https://www.scien.cx/2023/03/06/osdc-2023-assignment7/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.