Skip to content

Instantly share code, notes, and snippets.

View nyurik's full-sized avatar

Yuri Astrakhan nyurik

View GitHub Profile
@nyurik
nyurik / sort-justfile.py
Last active May 31, 2025 04:55
A script to sort justfile by recipe name
#!/usr/bin/env python3
"""
A script to sort justfile entries alphabetically and move private recipes to the end.
Current limitations: fails if there is more than one recipe with an identical name (e.g. for multiple architectures)
"""
import re
import sys
@nyurik
nyurik / github_contrib.md
Last active April 25, 2025 21:40
Best practices on contributing to FOSS with GitHub

Contributing to FOSS

Open source contribution is both a technical and a social phenomenon. Any FOSS project naturally has a "caste system" - a group of contributors with extensive rights vs everyone else. Some of this separation is necessary - core contributors have deeper knowledge of the code, share vision, and trust each other.

Core contributors have one more right that others do not -- they can create repository branches. Thus, they can contribute "locally" - by pushing proposed changed to the primary repository's work branches,

https://docs.google.com/presentation/d/1iQFFMCuIPLYdUiEgeFsO8fKTQB6ArSM8GrxLKXxY-RQ/edit?usp=sharing
https://docs.google.com/presentation/d/1Rl3k_bu7e3YZ-p8mGoQ-rqeJIUUlr6JfDSTCg3cWAog