Skip to content

Latest commit

 

History

History
106 lines (71 loc) · 7.44 KB

repo-guide.md

File metadata and controls

106 lines (71 loc) · 7.44 KB

Participate in the program

As a participant in the program, you should be using this repository. The goal of this repo is to be:

  • An informational resource for how the EPF program operates.
  • A coordination point for people participating in the program.
  • A historical record of prior projects.
  • A collection of useful resources for future program participants.

Please, be open with anything you wish to improve about these processes. Feel free to be bold and simply open a pull request with the changes and we can discuss them there.

Development updates

One of the core goals of this program is to improve your technical writing and communication skills. One key way to do this is to get comfortable telling people about what you are working on. One of the expectations for program participants is a regularly cadenced development update. For the duration of the program, all participants should publish a development update at least once every two weeks.

A good development update can take many forms. Every individual will probably need to find their own style. Here are some suggestions:

  • You don't need to explain everything, but sometimes it is good to try and explain things to see if you know how.
  • A bulleted list of factual statements about what you worked on is a great place to start.
  • Links are great. Forum posts. Pull requests. HackMD documents. Any resources you have been studying or creating.

A great example is Danny Ryan's "finalized" series of development updates. Check out their update about their work on the Merge devnets for inspiration. You can also check out development updates from previous cohorts.

Best practices

You should:

  • Post your first update within the first week of starting into the program, write about your initial research.
  • Post your update somewhere public. Publishing using an external blog, HackMD or own website are all great. Link it in the main development-updates.md document in the corresponding table. Open a PR from a branch dedicated to a specific week in your fork of the repo, check the guide for using git below for more details.
  • Ensure that the content is published publicly before adding it's link in the development-updates.md document. Trying out the link in your browser's incoginto / private mode is a great way to test this.
  • Make sure the markdown table is properly formatted before you push your commits. You can use a local IDE with markdown support, HackMD or table formatting tool.
  • Share your development update to current thread in R&D Discord #protocol-fellowship channel.
  • Not use an LLM or similar tech for generating your updates. The point is to exercise your technical writing and expressing ideas, generated updates won't be accepted.

Using git for collaboration

The cohort coordination using a public repository is also meant to give you an experience of real-world collaboration in free open-source software (FOSS) development using Git. Git tracks changes to code, making collaboration on projects seamless, especially in FOSS where public repositories are the norm. Consider using the Git command line interface (CLI) over using GitHub's web interface. It's an important skill you can learn during the cohort that will serve you well throughout your career. Check out the resources on using git in the epf.wiki.

1. Setting up your local repository

Install git using a preferred method on your machine and set it up with your github SSH key. You need to setup ssh and add the generated key to your github account if you haven't done so yet. With your git setup complete, fork the repo to your github account (by clicking the Fork button) and clone the fork locally, for example:

git clone [email protected]:taxmeifyoucan/cohort-five.git

Now you have a local copy of the repo that you can use to update your fork. Let's add the main repository as an upstream named epf5:

cd cohort-five
git remote add epf5 https://github.com/eth-protocol-fellows/cohort-five.git

This completes your one time setup of the repository.

2. Keeping your local repository up to date

With the upstream added, you can keep your local repo updated by directly pulling from epf5 upstream. If you already added your own commits on top of it, rebase it before opening a PR:

git fetch epf5
git rebase epf5/main

3. Adding your updates

To add your update, update your local main branch, create a branch for the corresponding week and commit your edits:

git checkout -b week1
emacs development-updates.md #add your update with your preferred editor
git add .
git commit
git push

After pushing to your fork of the repo, you are ready to open the PR. Got to the github page and create a PR from your weekly branch to the main branch of this repository.

Using /projects/<project-name>.md

Project deliverables should be posted in various open places such as the Research forum, the Ethereum Magicians forums, github gists, HackMd documents and this repository.

Create a document under the path /projects/<project-name>.md. Take inspiration for writing your project from the project template. Generally, your project document should include:

  • Basic description of project you are working on, scope, goals and roadmap
  • All necessary links to repos where development is happening, documentation, research posts and technical background
  • List of participants working on the project

This document can be created later in the program when your project is mature enough and you are ready to present it. It's generally recommended around a month (week 4-6) into the fellowship.

Using /notes/<your-name>.md

Feel free to create a document under the path /notes/<your-name>.md. This document should be used for things like:

  • Aggregating links to reading resources you've found useful.
  • Writing down notes about potential projects.
  • Fleshing out full details of potential projects.
  • Development updates.

This document isn't meant to be a "profile". It is meant to be used especially in the first phases of the program where most of the exploration takes place.

Merging Pull Requests

Merge access will be granted relatively widely. Cohort organizers will merge your first PRs but then feel free to reach out to get the access.

When submitting a PR, make sure you are using the latest main branch. Otherwise rebase and keep your changes always on top to be sure you are not deleting content of others.

When merging someone else's PR, use your best judgement and ask if you are unsure.

If your IDE or system creates some hidden config files (e.g. .vscode/...), please make sure you don't upload them to the repo by updating the .gitignore.