Skip to content

Viewing repositories

dmacdougall edited this page Feb 28, 2013 · 6 revisions

Once Barkeep is installed and running, look in environment.rb. By default, Barkeep will save repositories in ~/barkeep_repos/, though you can change the REPOS_ROOT variable to adjust that.

You can add repos in one of two ways:

  1. Use the UI. Navigate to localhost:8040/admin/repos

  2. cd into ~/barkeep_repos and git clone some repo into this directory. Now Barkeep can see it!

For the best developer experience, clone a few fresh, small repos into ~/barkeep_repos. Don't import large repos because they can take awhile and your dev database will become large.

Don't copy or symlink git checkouts you're actively working on into ~/barkeep_repos -- while Barkeep should never make any changes (branch changes or new commits) to those repos, Barkeep will run git fetch a lot in your repos which may be confusing (you'll be behind on tracking branches a lot).

Protip: Clone local repos for fast imports (i.e. clone via a filesystem path). That's what our integration tests do, for instance.

Clone this wiki locally