Skip to content

Latest commit

 

History

History
98 lines (58 loc) · 3.77 KB

CONTRIBUTING.md

File metadata and controls

98 lines (58 loc) · 3.77 KB

AvdanOS Design Contributing Guide

How to commit your files.

Inorder to commit your files you will either need a modern browser or visual studio code with git installed. (both require a PC)

VSCode with Git

Using VSCode and Git is a easy way to add your files and commit them

  1. Open VSCode
  2. Open the Terminal (Either its open already or open manually using Terminal > New Terminal)
  3. Fork the Github project
  4. Copy the project URL (THE FORKED ONE NOT THE OFFICIAL ONE!)

Where To Find Github URL

  1. After you did that go back to VSCode and go to the terminal.
  2. (OPTIONAL) Create a new folder for the project ($ mkdir projects (works both in Windows and Linux))
  3. Paste the command: $ git clone <project url you copied>

Pasted command in terminal

  1. Open the folder that git clone created (If you did the optional path its at <folder you created via terminal>/design).

    doing that will ask you for a confirmation, just click "I trust the Authrors"

VSCode confirmation required

  1. Drag and drop your desired file you created into the fitting folder (wallpapers/community for example)

  2. Add a new entry to the Changelog (Follow the given format)

  3. once you completed that, open the git tab in VSCode

Git Tab

  1. In the message tab write a small message like "Added some wallpapers, XX.XX.XXXX"
  2. Press Commit
  3. (IF NOT LOGGED IN) it will ask you for a authetification, follow the automatic process and accept the prompts
  4. Press yes if it says "No Stashed Changes"

No Stashed Changes

  1. Press Sync
  2. Done! now follow the How to create a push request section

Using a browser (Does not require the files to be downloaded)

  1. Open the Github project
  2. Fork it
  3. After doing that, you should see this page

Github homepage

  1. Press "." (this will launch a browser only instane of VSCode)
  2. You now should see this:

VSCode browser

  1. Drag and drop your desired file you created into the fitting folder (wallpapers/community for example) The file you added should now show up and should be highlighted in a green color

Highlighted file

  1. Add a new entry to the Changelog (Follow the given format)

  2. Open the VSC (Git) tab

Git tab in VSCode browser

  1. Give it a fitting name (Like "Adding some wallpapers, XX.XX.XXX")
  2. Press the checkmark.
  3. Done! now follow the How to create a push request section

How to create a push request

  1. Add your files See section above
  2. Go to the github page
  3. Find the "Contribute" button
  4. Press "Open pull request"

Contribute button

  1. Press "Create pull request"
  2. Accept the terms (Already pasted in the description)
  3. Create pull request

Even if you're in the organisation, pull requests should be reviewed and approved by another member before merging, with exceptions of fixing a build fail or security breach. Complete redesign of an existing webpage will need approval from a team lead.

PLEASE SUBMIT A PR, NO DIRECT COMMITS!!!

PLEASE SUBMIT A PR, NO DIRECT COMMITS

image