Skip to content

Instantly share code, notes, and snippets.

@bigbes
bigbes / How-to-automate-build-bottles-your-homebrew-tap.md
Created September 7, 2018 12:52 — forked from maelvls/How-to-automate-build-bottles-your-homebrew-tap.md
Tutorial on how to automate the build of bottles on your Homebrew tap (linux/mac)

How to automate the build of bottles on your Homebrew tap

This tutorial is a follow-up to the discussion we had on davidchall/homebrew-hep#114. It relies on a fork of the test-bot provided by davidchall; you can get it with brew tap maelvalais/test-bot. First:

  1. the Github project must be of the form https://github.com/<user>/homebrew-<tap> with the following tree (I give the example of one of my formulas, touist):
@bigbes
bigbes / sharding.txt
Created November 13, 2017 13:40
sharding algo
------------------------------------Шардинг-------------------------------------
Есть некоторое заранее зафиксированное множество виртуальных бакетов (vbacket),
каждый из которых - число от 0 до количества vbackets. Есть множество
репликасетов - они же реальные бакеты (backet). Каждый backet хранит некоторое
уникальное подмножество vbackets. То есть один vbacket не разделяется между
backets.
Пример: 11 vbackets и 4 backets.
+-----------------------------------------------------------------+