leifericf

leifericf

How to Contribute to Open Source Elixir Projects

I think it could be useful to gather some of our communal thoughts and notes on how to contribute to open source Elixir projects. Including dos and don’ts, common practices, etc.

This could serve as a starting point for people who are new to Elixir and perhaps even to programming in general. How can we help our new friends to hit the ground running?

We could include general things, such as:

  • Cloning a development version of a library from GitHub.
  • Testing one’s changes before submitting a pull request.
  • “Squashing” commits before submitting a pull request.
  • Submitting a pull request to open source projects.

Those topics, which are not specific to Elixir, might be covered elsewhere. If so, then maybe we can reference other sources and/or create an index of useful resources.

There might also be some Elixir-specific aspects, such as:

  • Including a development version of a library in an applicatoin for testing.
  • Best practices when it comes to implementing tests.
  • Steps to take before submitting a pull request, e.g. running tests, code formatter, etc.

Those are just some suggestions to get the conversation going.

What do you think? Is this a good idea or a bad idea? Do you have any suggestions?

Such things may of course vary a great deal from project to project, depending on how the particular project is set up, but perhaps there are some basics things most of them have in common.

Most Liked

joaquinalcerro

joaquinalcerro

This is Avery interesting topic. Please checkout this thread:

You can check this excellent post on this issue:

Hope this helps.

Best regards.

Last Post!

kelvinst

kelvinst

Heeey. I have being doing livestreams while contributing to elixir open-source projects, so maybe useful for you:

Where Next?

Popular in Discussions Top

ben-pr-p
In general I’ve been sticking to this community style guide GitHub - christopheradams/elixir_style_guide: A community driven style guide ...
New
MarioFlach
Hello, I want to share a project I’ve been working on for a while: https://github.com/almightycouch/gitgud Background Some time ago I ...
New
PragTob
Hey everyone, this has been brewing in my head some time and it came up again while reading Adopting Elixir. GenServers, supervisors et...
New
jer
I’ve been using umbrellas for a while, and generally started off (on greenfield projects at least) by isolating subapps based on clearly ...
New
thojanssens1
It would be nice to be able to define a redirect from one route to another from the router.ex file. E.g.: redirect "/", UserController, ...
New
mikl
I wanted to capitalize a string, and tried using String.capitalize(). That generally works well, until you try to capitalize a word like...
New
paulanthonywilson
I like Umbrella projects and pretty much always use them for personal Elixir stuff, especially Nerves things. But I don’t think this is ...
New

Other popular topics Top

baxterw3b
Hi guys, i’m new in the Elixir world, and i have to say, that i love it! i’m having some problem to understand anonymous functions with ...
New
Qqwy
Original source of discussion: This topic on the Pragmatic Programmers’ Functional Web Development with Elixir, OTP, and Phoenix forum. ...
New
openscript
Hello! Sorry for this astonishing simple question, but I’m really stuck. I try to set up the intellij-elixir plugin, but I don’t know ho...
New
ashish173
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
sen
Hi All, I set a environment variables in dev.exs , like below code. when i start server, how can i set the ${enable} value? thanks. d...
New
saif
Hello everyone, Long time lurker first time poster here. I’ve recently begun working on Elixir full-time again! :raised_hands: It’s been...
New

We're in Beta

About us Mission Statement