Gitolite Essentials

Gitolite Essentials
Gitolite Essentials is published by in April 2014. This book has 120 pages in English, ISBN-13 9781783282371.

If you’re responsible for securing a Git server where lots of developers work with lots of repositories, you have a problem on your hands. You probably want to implement security restrictions and authentication systems for certain repositories. You will love the simplicity and power of Gitolite’s access control language and model. Furthermore, when you want more capability, there are many more powerful features lurking under the surface to tap into! Gitolite allows you to set up git hosting on a central server with very fine-grained access control and many powerful features.

Gitolite Essentials will lead you through the most powerful access control system for Git, at your pace for your needs. If you’ve tried to control access to Git repositories using only file system permissions or POSIX ACLs, you know it’s not easy. And controlling pushes to important branches and tags is pretty much impossible with pure Git. This book will help you get started with solving all these problems, while taming the most complex access control need.

You’ll start with a brief introduction to Gitolite. The very first chapter tells you how to create a test setup so you can play with Gitolite – something that is very important when learning a powerful tool with lots of features. You’ll go from there at an easy pace through all the most important aspects of Gitolite.

Basic access control is easy and obvious. With this book, you will learn how to restrict access to critical files, allowing users to create their own repositories and manage their own access control, but within the limits you set. You will also learn how to extend Gitolite to do very useful things with very little code, and also how to fall back on a mirror in case disaster strikes your main server. All this and more is packed within this concise and practical book with easy-to-follow, real-world examples.

What you will learn from this book

  • Secure a Git server that has many repositories and many users accessing it
  • Manage the growth of the server, both in the number of users and the number of repositories, with minimal hassle
  • Allow web-based access to specific repositories only for convenience and security
  • Provide your users with the features they need to be productive with Git, while preventing them from accidentally introducing inconsistencies and errors into the repositories
  • Permit users to create their own repositories and manage their own access control list, but within the limits you set
  • Customize Gitolite for your site’s unique needs and constraints quickly and easily
  • Ensure your developers always have a backup option by setting up Gitolite mirroring

Approach

The book is written to suit an easy-reading style, using typical problems in access control to illustrate the need for each Gitolite feature explained.

Who this book is for

This book is for system administrators or development managers who need to keep a lid on Git-based development workflows. Basic knowledge of Git as well as of the Unix shell is helpful.

You may also like...

Leave a Reply