Skip to content

Instantly share code, notes, and snippets.

View vladshablinsky's full-sized avatar

Uladzislau Shablinski vladshablinsky

View GitHub Profile
@vladshablinsky
vladshablinsky / renames.md
Last active December 29, 2015 23:52
renames todos
  • exception should be raised if installed formula is not the one we're installing/upgrading/whatsoever
  • the same for dependencies
  • dependencies seems to work, since reqursive dependencies have to_formula it's the main point here. to_formula calls Formulary.factory, which resolves name ✅❎
  • rename command
@vladshablinsky
vladshablinsky / formula_renames.md
Last active November 23, 2015 23:51
formula renames: allow names same as oldmames

Formula renames: allow any type of renames

I suggest you reading this and not going deeply into the details at first, because several approaches are described here and something can be wrong at some point and then another approach is introduced.

Metadata

Let's describe core formula renames at this point and then try to add same functionality to taps.

@vladshablinsky
vladshablinsky / notes.md
Last active August 29, 2015 14:26
Notes
  • tmux new -s basic
  • prefix d
  • tmux ls
  • tmux attach -t second_session
  • tmux kill-sessions -t basic
  • prefix c — new window in a session
  • prefix , — rename window
  • prefix n — next window
  • prefix p — previous window
  • prefix 0
@vladshablinsky
vladshablinsky / .vimrc
Last active August 29, 2015 14:25 — forked from RGBD/.vimrc
Well, someone asked for it.
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'gmarik/Vundle.vim'
" My plugins
Plugin 'tpope/vim-fugitive'
@vladshablinsky
vladshablinsky / week8.md
Last active August 29, 2015 14:25
week 8 results

Here is the diff for the week.

  • Worked on scripts for testing update. Tested.
  • Wrote some unit test.
  • Found some bugs in relative symlinks in migrator and fixed them.
  • Checked migration for openssl with otool -- everything is OK

Plans for next week

@vladshablinsky
vladshablinsky / FORMULA_RENAMES.md
Last active August 29, 2015 14:23
Formula renames: progress and todo

Homebrew: Formula renames

Workflow

  • Explore tap structure
  • Check if the installed formula in the Cellar belongs to appropriate tap while performing migrations
  • Metadata for tap formula migrations
  • Dependencies on taps
  • What if several formulae installed to the same directory
  • Skip if multiple taps formulae installed???