Great to have you here! Here are a few ways you can help out with Bundler.
Where should I start?
You can start learning about Bundler by reading the documentation. If you want, you can also read a (lengthy) explanation of why Bundler exists and what it does. You can also check out discussions about Bundler on the Bundler mailing list and in the Bundler IRC channel, which is #bundler on Freenode. Please note that this project is released with a contributor code of conduct. By participating in this project you agree to abide by its terms.
Your first commits
If you’re interested in contributing to Bundler, that’s awesome! We’d love your help.
If you have any questions after reading this page, please feel free to contact either @indirect or @hone. They are both happy to provide help working through your first bugfix or thinking through the problem you’re trying to resolve.
How you can help
We track small bugs and small features so that anyone who wants to help can start with something that's not too overwhelming. We also keep a list of things anyone can help with, any time. If nothing on those lists looks good, talk to us, and we'll figure out what you can help with. We can absolutely use your help, no matter what level of programming skill you have at the moment.
Bundler doesn't use a Gemfile to list development dependencies, because when we tried it we couldn't tell if we were awake or it was just another level of dreams. To work on Bundler, you'll probably want to do a couple of things.
Install Bundler's development dependencies
$ rake spec:deps
Run the test suite, to make sure things are working
$ rake spec
Set up a shell alias to run Bundler from your clone, e.g. a Bash alias:
$ alias dbundle='ruby -I /path/to/bundler/lib /path/to/bundler/exe/bundle'
With that set up, you can test changes you've made to Bundler by running
dbundle, without interfering with the regular
Triage is the work of processing tickets that have been opened into actionable issues, feature requests, or bug reports. That includes verifying bugs, categorizing the ticket, and ensuring there's enough information to reproduce the bug for anyone who wants to try to fix it.
We've created an issues guide to walk Bundler users through the process of troubleshooting issues and reporting bugs.
Not every ticket will point to a bug in Bundler's code, but open tickets usually mean that there is something we could improve to help that user. Sometimes that means writing additional documentation, sometimes that means making error messages clearer, and sometimes that means explaining to a user that they need to install git to use git gems.
When you're looking at a ticket, here are the main questions to ask:
- Can I reproduce this bug myself?
- Are the steps to reproduce clearly stated in the ticket?
- Which versions of Bundler (1.1.x, 1.2.x, git, etc.) manifest this bug?
- Which operating systems (OS X, Windows, Ubuntu, CentOS, etc.) manifest this bug?
- Which rubies (MRI, JRuby, Rubinius, etc.) and which versions (1.8.7, 1.9.3, etc.) have this bug?
If you can't reproduce an issue, chances are good that the bug has been fixed (hurrah!). That's a good time to post to the ticket explaining what you did and how it worked.
If you can reproduce an issue, you're well on your way to fixing it. :) Fixing issues is similar to adding new features:
- Discuss the fix on the existing issue. Coordinating with everyone else saves duplicate work and serves as a great way to get suggestions and ideas if you need any.
- Base your commits on the correct branch. Bugfixes for 1.x versions of Bundler should be based on the matching 1-x-stable branch.
- Commit the code and at least one test covering your changes to a named branch in your fork.
- Put a line in the CHANGELOG summarizing your changes under the next release under the “Bugfixes” heading.
- Send us a pull request from your bugfix branch.
Finally, the ticket may be a duplicate of another older ticket. If you notice a ticket is a duplicate, simply comment on the ticket noting the original ticket’s number. For example, you could say “This is a duplicate of issue #42, and can be closed”.
Adding new features
If you would like to add a new feature to Bundler, please follow these steps:
- Create an issue in the bundler-features repo to discuss your feature.
- Base your commits on the master branch, since we follow SemVer and don't add new features to old releases.
- Commit the code and at least one test covering your changes to a feature branch in your fork.
- Put a line in the CHANGELOG summarizing your changes under the next release under the "Features" heading.
- Send us a pull request from your feature branch.
If you don't hear back immediately, don’t get discouraged! We all have day jobs, but we respond to most tickets within a day or two.
Early releases require heavy testing, especially across various system setups. We testers, and are big fans of anyone who can run
gem install bundler --pre and try out upcoming releases in their development and staging environments.
There may not always be prereleases or beta versions of Bundler. The Bundler team will tweet from the @bundlerio account when a prerelease or beta version becomes available. You are also always welcome to try checking out master and building a gem yourself if you want to try out the latest changes.
We don't currently have any translations, but please reach out to us if you would like to help get this going.
Code needs explanation, and sometimes those who know the code well have trouble explaining it to someone just getting into it. Because of that, we welcome documentation suggestions and patches from everyone, especially if they are brand new to using Bundler.
Bundler has two main sources of documentation: the built-in help (including usage information and man pages) and the Bundler documentation site.
If you’d like to submit a patch to the man pages, follow the steps for adding a feature above. All of the man pages are located in the
man directory. Just use the “Documentation” heading when you describe what you did in the changelog.
Community is an important part of all we do. If you’d like to be part of the Bundler community, you can jump right in and start helping make Bundler better for everyone who uses it.
Additional documentation and explanation is always helpful, too. If you have any suggestions for the Bundler website bundler.io, we would absolutely love it if you opened an issue or pull request on the bundler-site repository.
Finally, sharing your experiences and discoveries by writing them up is a valuable way to help others who have similar problems or experiences in the future. You can write a blog post, create an example and commit it to Github, take screenshots, or make videos.
Examples of how Bundler is used help everyone, and we’ve discovered that people already use it in ways that we never imagined when we were writing it. If you’re still not sure what to write about, there are also several projects doing interesting things based on Bundler. They could probably use publicity too.
If you let someone on the core team know you wrote about Bundler, we will add your post to the list of Bundler resources on the Github project wiki.
Finally, participate carefully in the all contributors to the Bundler project must agree to the contributor code of conduct. By participating in this project you agree to abide by its terms.