Keep a CHANGELOG
Don’t let your friends dump git logs into CHANGELOGs™
What’s a change log?
A change log is a file which contains a curated, chronologically ordered list of notable changes for each version of an open source project.
#!/bin/bash | |
##---------------- | |
export _script_name=$(basename -a "$0") | |
export _script_short_desc=" | |
A script for doing things." | |
export _script_mod_date='0000.00.00-00:00' | |
export _script_version='0.0.1' | |
export _script_requirements='none' | |
export _script_bash_debug=false | |
##---------------- |
#lang racket | |
(define (rec-curry-add [inc 0] [sum 0]) | |
(if (equal? inc 0) | |
sum | |
(begin | |
(set! sum (+ sum inc)) | |
(lambda ([inc 0]) | |
(rec-curry-add inc sum))))) |
#lang racket | |
(define a 'one) | |
(printf "var 'a' is '~a'\n\n" a) | |
(define (foo x) | |
(printf "we call '(foo)' here and pass it '2'\n") | |
(printf "(foo) sets 'x'\n") | |
(printf "->arg 'x' is '~a'\n" x) |
A change log is a file which contains a curated, chronologically ordered list of notable changes for each version of an open source project.
Help message consists of 2 parts:
Usage pattern, e.g.:
Usage: my_program.py [-hso FILE] [--quiet | --verbose] [INPUT ...]
Option descriptions, e.g.:
This specification is inspired by and supersedes the [AngularJS commit message format][commit-message-format].
We have very precise rules over how our Git commit messages must be formatted. This format leads to easier to read commit history.
Each commit message consists of a header, a body, and a footer.
my_project/__init__.py
setup.py
python setup.py develop
python setup.py test
#!/bin/bash | |
# options: | |
# remove stopped containers and untagged images | |
# $ dkcleanup | |
# remove all stopped|running containers and untagged images | |
# $ dkcleanup --reset | |
# remove containers|images|tags matching {repository|image|repository\image|tag|image:tag} | |
# pattern and untagged images | |
# $ dkcleanup --purge {image} |
config BR2_PACKAGE_GIT | |
bool "git" | |
depends on BR2_LARGEFILE | |
depends on BR2_USE_MMU # uses fork() | |
select BR2_PACKAGE_ZLIB | |
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE | |
help | |
Git is a free and open source distributed version control system | |
designed to handle everything from small to very large projects. |
config BR2_PACKAGE_LIBCURL | |
bool "libcurl" | |
help | |
cURL is a tool for getting files from FTP, HTTP, Gopher, Telnet, | |
and Dict servers, using any of the supported protocols. | |
http://curl.haxx.nu/ | |
config BR2_PACKAGE_CURL | |
bool "curl binary" |