GithubHelp home page GithubHelp logo

zero-to-mastery / start-here-guidelines Goto Github PK

View Code? Open in Web Editor NEW
2.5K 103.0 16.9K 115.09 MB

Lets Git started in the world of opensource, starting in the Zero To Mastery's opensource playground. Especially designed for education and practical experience purposes.

Python 94.39% Shell 5.36% HTML 0.25%
getting-started giting-started opensource-intro

start-here-guidelines's Introduction

One rule of this community:

We don't care if you break things. This is a playground, and we encourage failing often. Use this as a practice ground, and enjoy contributing to projects you create with your fellow students. Many students have gained real-world experience "working in teams" by working on these projects.

A Guide to Get Started (used to be the 4 step guide)

  1. Check out Andrei's videos on github if you haven't watched it already.

  2. On the GitHub page for this repository, click on the button "Fork."

    fork image

  3. Clone your forked repository to your computer:

    code ui

    For example, run this command inside your terminal:

    git clone https://github.com/<your-github-username>/start-here-guidelines.git

    Replace <your-github-username>!

    Learn more about forking and cloning a repo.

  4. Move to project directory:

    cd start-here-guidelines
  5. Before you make any changes, keep your fork in sync to avoid merge conflicts:

    git remote add upstream https://github.com/zero-to-mastery/start-here-guidelines.git
    git pull upstream master

    If you run into a merge conflict, you have to resolve the conflict. There are a lot of guides online, or you can watch this tutorial.

  6. After adding the upstream and checking that all files are up to date, we now will create new branch before editing any files. There are two ways to do so:

    git checkout -b <branch-name>
    git branch <branch-name>
    git switch <branch-name>
  7. On your computer, open your text editor, and add your name to the CONTRIBUTORS.md file.

  • ⚠️ IMPORTANT NOTE #1: Add your name somewhere in the middle. Not at the top or bottom in order to avoid the chance of you getting a merge conflict!
  • ⚠️ IMPORTANT NOTE #2: Please do NOT edit or remove other people from the list, even to fix their indentation etc. This will likely prevent your PR from being merged.
  1. Add the changes with git add, git commit (write a good commit message, if possible):

    git add CONTRIBUTORS.md
    git commit -m "Add <your-github-username>"

    Replace <your-github-username>!

  2. Push your changes to your repository:

    git push origin <branch-name>
  3. Go to the GitHub page of your fork, and make a pull request:

    pull request image

    Read more about pull requests on the GitHub help pages.

  4. Wait until Zerobot or one of the maintainers merges your pull request. If there are any conflicts, you will get a notification and be required to resolve the conflict.

  5. Go join a project and start contributing or create your own group apps. Don't be shy and enjoy creating things together (We have over 20 projects for all levels of programmers)! Check out this guide for more information on selecting a project.

  6. To see the Zero to Mastery Icon in your GitHub profile, follow these steps (you must complete steps 1 and 2 for this to work).

Anatomy of an open-source project:

Every open-source community is different.

Spending years on one open-source project means you’ve gotten to know one open-source project. Move to a different project, and you might find the vocabulary, norms, and communication styles are completely different.

That being said, many open-source projects follow a similar organizational structure. Understanding the different community roles and overall process will help you get quickly oriented to any new project.

A typical open-source project has the following types of people:

Author: The person(s) or organization that created the project.

Owner: The person(s) who has administrative ownership over the organization or repository (not always the same as the original author).

Maintainers: Contributors who are responsible for driving the vision and managing the organizational aspects of the project (may also be authors or owners of the project).

Contributors: Everyone who has contributed something back to the project.

Community Members: People who use the project. They might be active in conversations or express their opinion on the project’s direction.

Bigger projects may also have subcommittees or working groups focused on different tasks, such as tooling, triage, community moderation, and event organizing. Look on a project’s website for a “team” page or in the repository for governance documentation to find this information.

A project also has documentation. These files are usually listed in the top level of a repository.

LICENSE: By definition, every open-source project must have an open-source license. If the project does not have a license, it is not open source.

README: The README is the instruction manual that welcomes new community members to the project. It explains why the project is useful and how to get started.

CONTRIBUTING: Whereas READMEs help people use the project, contributing docs help people contribute to the project. It explains what types of contributions are needed and how the process works. While not every project has a CONTRIBUTING file, its presence signals that this is a welcoming project to contribute to.

CODE_OF_CONDUCT: The code of conduct sets ground rules for participants’ behavior and helps to facilitate a friendly, welcoming environment. While not every project has a CODE_OF_CONDUCT file, its presence signals that this is a welcoming project to contribute to.

Other documentation: There might be additional documentation such as tutorials, walkthroughs, or governance policies, especially on bigger projects.

Finally, open-source projects use the following tools to organize discussion. Reading through the archives will give you a good picture of how the community thinks and works.

Issue tracker: Where people discuss issues related to the project.

Pull requests: Where people discuss and review changes that are in progress.

Discussion forums or mailing lists: Some projects may use these channels for conversational topics (for example, “How do I…“ or “What do you think about…“ instead of bug reports or feature requests). Others use the issue tracker for all conversations.

Synchronous chat channel: Some projects use chat channels (such as Discord or IRC) for casual conversation, collaboration, and quick exchanges.

Get all the ZTM Courses, for one monthly subscription here.

start-here-guidelines's People

Contributors

5p7ro0t avatar aaroncompaniados26 avatar abdus avatar aneagoie avatar arduino731 avatar bguz avatar dhaval1403 avatar discoversquishy avatar donmarvex avatar dysrhythmic avatar ehsanulhaq001 avatar jayantgoel001 avatar kennithnichol avatar l-white avatar laurelinep avatar martinsinkolongo avatar mattcsmith avatar naok000 avatar notankur avatar paulabarszcz avatar rizaneeves avatar royranger avatar salvo9107 avatar samirjouni avatar sivangbagri avatar sohostory avatar sophiabrandt avatar w3bdesign avatar wanraitelli avatar zero-to-mastery-bot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

start-here-guidelines's Issues

Pull requests comment tagging contributors without pull permission

Maybe the README.md could post a note at the top of the page telling students doing a first Pull Request to look for someone who has executed a recent Pull Request on the commits page,

https://github.com/zero-to-mastery/start-here-guidelines/commits/master

RE:
The Web Developer course suggest students add their name to the contributor list as a first experience for collaboration. The course suggests referencing someone in the comments as a way of asking that person to execute the pull request. However, students can't tell who has pull request permission so they (myself included) pick someone on the contributor list. I recently added myself and now students are tagging me in comments.

Should change file extension of CODE_OF_CONDUCT .html to .md

Should change the file extension of CODE_OF_CONDUCT .html to .md

Page not found:
https://github.com/zero-to-mastery/start-here-guidelines/blob/master/CODE_OF_CONDUCT.md

Its happened when I clicked this link: https://www.udemy.com/the-complete-junior-to-senior-web-developer-roadmap/learn/v4/t/lecture/10340674?start=0

..... "community and no matter your experience, you can participate with any sort of contribution. Check out this and our code of conduct. "...

Push and Pull Issues

I pushed my changes to the repository but I'm unable to make a pull request. I followed the guideline and even YouTube video numerous times. I used VSC on Windows. The compare and pull request button doesn't pop up. Please help.

## ⚠️ **MERGE CONFLICT DETECTED!**

⚠️ MERGE CONFLICT DETECTED!

@shailesh-95 A possible conflict has been detected, you will need to resolve this before your pull request can be merged. The most common reason conflicts occur, is when the contributor does not run git pull origin master before pushing their new changes.

Before we can merge the code, you will need to resolve the conflict, there are tons of guides on Google and Youtube to help you out. If you get stuck ask over on Discord.

Originally posted by @zero-to-mastery-bot[bot] in #14246 (comment)

CONFLICT PRESENT WHILE MERGING

EACH AND EVERY TIME MERGING CONFLICT IS EMERGING WHENEVER I AM TRYING TO GIVE A PULL REQUEST
I HAVE TRIED 8 TIMES WITH DIFFERENT BRANCHES EACH TIME.
I AM IN A STALEMATE SITUATION. PLEASE HELP ME OUT AS SOON AS POSSIBLE.

WILL BE WAITING FOR A QUICK RESPONSE.

THANK YOU

Text formatting needed in the CONTRIBUTIONS.md file

Description

I went through the list of contributors in the CONTRIBUTIONS.md file and couldn't help but notice some deviations from the initial format used for making entries of usernames/links to profiles.

The required

- [@Username](profile link)

Deviations

-[@Username](profile link). 
# No whitespace after the hyphen "-"

-[@Username] (profile link). 
# Whitespace between ] and (

Possible Resolutions?

  • Manually remove whitespace from a code editor across all lines which have this discrepancy
  • Possibly an automated solution (which will become a CI action whenever a push action occurs) to run through the file and remove/add whitespace where needed.

If anyone is interested, you could indicate to get assigned.

Mistake in git hub link

By mistake I have missed some letters of my name in git hub link in contributors list . So this link redirecting to a different persons profile . How can I rectify it now

Invite me to join the organisation

Name: Ritik Banger

I am a Full Stack Javascript Engineer with robust problem-solving skills and proven experience in creating and designing web apps in a test driven environment and deploy them to cloud servers.

Entries in CONTRIBUTIONS.md needs text formatting

I went through the list of contributors in the CONTRIBUTIONS.md file and couldn't help but notice some deviations from the initial format used for making entries of usernames/links to profiles.

The required

-  [@Username](profile link)

Deviations

-[@Username](profile link). 
# No whitespace after the hyphen "-"

-[@Username] (profile link). 
# Whitespace between ] and (

Requesting for permission to make changes so all profile usernames/profile links follow the exact same format.

Duplicate pull request

Hi @MattCSmith,

When I create my first pull request called "added my name to contributors list " #7386 i made mistake and caused "merge conflict" problem.Just want to report that i'm created a new repo and made another pull request.So,please delete this pull request bcs this is duplicate. Thank you

With regards,

Unable to see my name in contributors.md file

Even after I have made the pull request as instructed by Andrei sir in Zero to Mastery Course, my name has not been added.Although a invitation to join the organisation has come and I have joined it also

Conflict issue

Why I received a conflict issue tag after adding my name to the contributor's list?

Getting a 403 error while using "git push"

Why am I getting this error and how to fix it?

`ERROR: Permission to zero-to-mastery/start-here-guidelines.git denied to SuSSan143.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.`

Invite me to the GitHub Community Organization

During the period of Hactoberfest 2021, I learned from ZTM. And I like ideas that they shared with everyone, How open source contribution can help to increase our technical skills.

Also I want to learn more about Open Source Contribution. Even I completed my Hactoberfest 2021 with with the help of ZTM projects and algorithms.

I want to learn more about MLH, Google Summer Of Code and other open source projects which will help to increase my knowledge and to met with other developers from other countries to gain and to learn new skills with new technologies.

Thank You!!

## ⚠️ **MERGE CONFLICT DETECTED!**

          ## ⚠️ **MERGE CONFLICT DETECTED!** 

@Gideon7T A possible conflict has been detected, you will need to resolve this before your pull request can be merged. The most common reason conflicts occur, is when the contributor does not run git pull origin master before pushing their new changes.

Before we can merge the code, you will need to resolve the conflict, check out these videos by Aldo: How To Get Started With Open Source and How To Resolve Git Merge Conflicts. If you get stuck ask over on Discord.

Originally posted by @zero-to-mastery-bot[bot] in #20066 (comment)

Could add instructions to create a new branch

Hi,

I think it would be a good idea to include instructions to create a new branch and how to create it, so that the user does not work on master. I am new to open source and think this is a great way to practice! Thank you 😀

Misguided image when attempting to make a pull request step in README.md

The next image for making the pull request step in README.md at line 75 is somehow misguided:

image

When I tried to make the pull request using this branches setup as a reference ( master <- mybranch ), I made a pull request to my own repo. So this would work for our own pull request, but that's not the use case of this guide.

Now I'm sure the image below, which you can find (and hopefully update in your README.md file) when attempting to create a pull request ( ztm repo: master <- my repo: mybranch), would work better:

image

anything wrong with this code?

arr = [1, 5, 2, 6, 3]

def find_duplicates_in_arrays(array1):
sum_value = 10
i = 0

for i in range(len(array1)):
    complement = sum_value - array1[i] 
    if complement in range(i+1, len(array1)):
        return True

    else:
        i += 1
return False

print(find_duplicates_in_arrays(arr))

Discord Link

Do you have any discord server of zero to mastery. If yes, could you please provide link of it ?.

Pipeline failing for new PR

I have raised few PR after my first PR got merged to correct the errors in Contributor.md file. The error are done by few users. But pipeline is failing each time I raise via different trials.
Kindly fix the pipeline or the remove the extra space in Contributor.md file (#14153)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.