- checkout latest version of source code from mainline/master
- verify first that the build is passing – if it’s failing, fix it first
- develop feature
- build source locally (in developer’s working copy)
- compilation/producing a running version of the app
- run tests
- this step should be automated
- when build passes, integrate changes into mainline (eg, push to master)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
rm /usr/local/var/postgres/postmaster.pid | |
pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Last updated: 3 August 2015 | |
# | |
# Applicable for Rubocop 0.32.1 | |
# | |
# This document contains a custom Rubocop ruleset adhering to the Clinic-IT Ruby Style Guide (https://github.com/clinic-it/zen/blob/master/guidelines/ruby.md). | |
# | |
# All rules from the above are listed, with notes about whether they: | |
# - are enabled by default | |
# - require configuration | |
# - have not been implemented |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Available cops (226): | |
# Type 'Lint' (41): | |
Lint/AmbiguousOperator: | |
Description: Checks for ambiguous operators in the first argument of a method invocation | |
without parentheses. | |
StyleGuide: https://github.com/bbatsov/ruby-style-guide#parens-as-args | |
Enabled: true | |
Lint/AmbiguousRegexpLiteral: | |
Description: Checks for ambiguous regexp literals in the first argument of a method |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# GENERAL | |
# Indent using soft indents (2 whitespace) instead of real tab. | |
# Enabled by default | |
# Style/IndentationWidth | |
# Limit lines to 80 characters except for HAML files. | |
# Enabled by default | |
# Metrics/LineLength |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Available cops (218) | |
# Type 'Lint' (38): | |
Lint/AmbiguousOperator: | |
Description: Checks for ambiguous operators in the first argument of a method invocation | |
without parentheses. | |
StyleGuide: https://github.com/bbatsov/ruby-style-guide#parens-as-args | |
Enabled: true | |
Lint/AmbiguousRegexpLiteral: | |
Description: Checks for ambiguous regexp literals in the first argument of a method |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Metrics/MethodLength: | |
Enabled: false | |
Style/AlignParameters: | |
EnforcedStyle: with_fixed_indentation | |
Style/Documentation: | |
Enabled: false | |
Style/DotPosition: |
- Vim is the descendant of vi, designed to be (mostly) backwards-compatible
- learning vi is useful when you need to edit a file over ssh, since vi is usually installed in any UNIX/UNIX-based system by default
- Vim’s shortcuts and design, once you learn them, help you search/create/edit/etc files quicker
- these shortcuts are also used in UNIX-based terminals, such as the man page viewer
- Vim offers flexible window management (splitting, etc) and works well with tmux, a popular terminal multiplexer
- Vim’s plugin ecosystem is thriving and full of useful tools for development in most (if not all) languages
- you can extend Vim yourself using Vimscript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# meant to be run in the repo top directory | |
IN=`git status --porcelain | cut -c4-` | |
arr=$(echo $IN) | |
for x in $arr | |
do | |
echo $x | |
done |
- avoid changing the list of items to work on mid-sprint
- be firm with clients – prevent them from sneaking in new items/making changes to their requested features mid-sprint
- item priorities may change mid-sprint, but keep in mind that changes like these are disruptive
- points or man-days: YMMV
- whichever you choose, be consistent (this is a team decision)
- make sure everyone agrees on what each unit of effort stands for
- estimates are not absolute
NewerOlder