Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: m-labs/misoc
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2ccb5655c9c8
Choose a base ref
...
head repository: m-labs/misoc
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 68c465ba4cf2
Choose a head ref
  • 4 commits
  • 3 files changed
  • 2 contributors

Commits on Apr 14, 2015

  1. Adding CONTRIBUTING file to help guide new contributions.

    GitHub highlights the CONTRIBUTING file when people send pull requests or
    open issues, see https://github.com/blog/1184-contributing-guidelines
    
    This file includes a start of guidelines for sending patches.
    
    Fixes issue #7 - #7
    mithro authored and sbourdeauducq committed Apr 14, 2015
    Copy the full SHA
    e03f195 View commit details
  2. Copy the full SHA
    c052b84 View commit details
  3. Adding outgoing directory to .gitignore

    The outgoing directory is specified in the CONTRIBUTING.md instructions and the
    git-send-email example given at http://git-scm.com/docs/git-send-email#EXAMPLE
    mithro authored and sbourdeauducq committed Apr 14, 2015
    Copy the full SHA
    da1af98 View commit details
  4. Copy the full SHA
    68c465b View commit details
Showing with 73 additions and 0 deletions.
  1. +1 −0 .gitignore
  2. +68 −0 CONTRIBUTING.md
  3. +4 −0 README
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -12,3 +12,4 @@ software/include/generated/*.h
software/include/generated/*.ld
software/include/generated/*.mak
*.vcd
outgoing
68 changes: 68 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@

# Sending Patches

MiSoC does **not** use GitHub pull requests. Instead you must send patches to
the public mailing list <devel@lists.m-labs.hk>.

Before sending patches, please read the rest of this guide and make sure your
patch meets the following criteria;

- [ ] Meets style guide requirements listed below.
- [ ] Includes a suitable commit message.

Sending mail to the mailing list can be done via the `git send-email` tool.
The `git send-email` tool is not included by default on many Linux
distributions, on Ubuntu / Debian systems you may need to install the
`git-email` package. Documentation on using this tool can be found at
http://git-scm.com/docs/git-send-email

To send patches to the mailing list you must first be subscribed to the list.
You can subscribe at https://ssl.serverraum.org/lists/listinfo/devel

An example session would be;
```
# Set up [sendemail] as described at http://git-scm.com/docs/git-send-email in
# the EXAMPLE section.
# Download, make changes to misoc and commit them
git clone https://github.com/m-labs/misoc
cd misoc
edit xxx.py
git commit -a
# Send patch to mailing list
# --------------------------
# 1) Remove any previous outgoing patch
rm -rf outgoing
# 2) Put the patches to be sent into the outgoing directory
git format-patch --cover-letter -M origin/master -o outgoing/
# 3) Edit the cover letter with information about the patch
edit outgoing/0000-*
# 4) Actually send the email.
git send-email --to=devel@lists.m-labs.hk outgoing/*
```

# Help

If your submission is large and complex and/or you are not sure how to proceed,
feel free to discuss it on the mailing list or IRC (#m-labs on Freenode)
beforehand.

# Style Guide

All code should be compliant with the
[PEP8 style guide](https://www.python.org/dev/peps/pep-0008/).

You can use the [pep8 tool](https://www.python.org/dev/peps/pep-0008/) to check
compliance with `pep8 myfile.py`

When modifying existing code **be consistent** with any existing code style.

# License

All new contributions should be under the same license as MiSoC. This is a very
permissive two-clause BSD license. Full license text can be found at
https://github.com/m-labs/misoc/blob/master/LICENSE
4 changes: 4 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -102,6 +102,10 @@ modules.
Download and install Verilator: http://www.veripool.org/
Test it: ./make.py -t simple -p sim build-bitstream

9. Contribute a patch!
Once you have experimented with stuff, please send your results back.
For more details on how to do so, you can see the CONTRIBUTING.md file.

[> License
----------
MiSoC is released under the very permissive two-clause BSD license. Under