Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nivbend/gitstery-generator

Generate a Git Murder mystery
https://github.com/nivbend/gitstery-generator

git learning learning-by-doing mystery

Last synced: about 2 months ago
JSON representation

Generate a Git Murder mystery

Awesome Lists containing this project

README

        

[![PyPI version](https://badge.fury.io/py/gitstery-generator.svg)](https://badge.fury.io/py/gitstery-generator)

# The Git Murder Mystery Generator
This project _generates_ a "gitstery" git repository.

**NOTICE:** This is not the Git Murder Mystery repository. For that, please visit
https://github.com/nivbend/gitstery.

# Install
```
pip install gitstery-generator
```
Or clone this repository and then `pip install .`/`python setup.py install`.

# Usage
To generate a new repository at `/tmp/gitstery`:
```
gitstery generate /tmp/gitstery
```

To verify a repository:
```
gitstery verify /tmp/gitstery
gitstery verify https://github.com/nivbend/gitstery.git
gitstery verify [email protected]:nivbend/gitstery.git
```

If you have your own fork of the gitstery repository you'd like to update:
```
gitstery push /tmp/gitstery
```
Or:
```
gitstery generate --push /tmp/gitstery
```

The following environment variables replace some commonly used values:
| Environment Variable | Usage |
|:-----------------------|:----------------------------------------------------------|
| `GITSTERY_TEMP_DIR` | The directory in which to generate the new repository |
| `GITSTERY_SEED` | The random seed to use (useful for reproducible "builds") |
| `GITSTERY_TARGET_REPO` | URL of the remote repository |

# Data
* English:
* List of given names: [Social Security's top 1000 names for 2018](https://www.ssa.gov/OACT/babynames/).
* List of surnames: [2000 US Census](https://www.census.gov/topics/population/genealogy/data/2000_surnames.html)

# Acknowledgments
The "murder mystery" repository this project generates was inspired by similar projects:
* [SQL Murder Mystery](https://mystery.knightlab.com/).
* [The Command Line Murders](https://github.com/veltman/clmystery).