Commits

Author Commit Message Labels Comments Date
Michael Granger
Updated build
Michael Granger
Merged 22:de88a4cb08a6
Michael Granger
Merged 18:8095dc078da8
Michael Granger
Converted option-parsing and modes to Trollop.
Michael Granger
Automated merge with ssh://hg@bitbucket.org/ged/personalize
Michael Granger
Fallback for HOME, fix --forget mode for home-dir files. * filter #match_filelist_to_manifest results through #get_repo_path to munge homedir paths; fixes --forget mode. * Fall back to expanded '~' directory if ENV['HOME'] isn't set. * Skip non-existant paths in #expand_filelist (fixes --save mode when saving cross-machines)
Mahlon Smith
Add 'unified home' functionality. * Make 'interactive' settable via the rc file. * Add some additional comments.
Michael Granger
Interactive mode, tokenized $HOME * Added a --interactive flag instead of --edit and --merge mode * The user's HOME is mapped to a special subdirectory so that it ends up the same even on different machines with different usernames/home roots/etc. * Added an --hg mode for interacting with the repo directly.
Michael Granger
Started work on HOME directory unification
Michael Granger
Fixes for Ruby 1.9.1.
Michael Granger
Added implementation of --diff mode.
Michael Granger
Whitespace cleanup
Michael Granger
Added list mode, implemented forget mode, refactored, revert on error. * Added --list mode to list the contents of the repo for the current OS. * Implemented --forget mode * Revert any changes made on error with an 'hg up -C' and an 'hg purge'. * Refactor --apply mode into separate methods for manipulating lists of repo and filesystem paths.
Michael Granger
Partially-implemented --apply, fixes for --save and --backup (checkpoint commit). * Skip .hg directories when recursing into directories passed to --save. * Don't clobber already-extant files when supplying an argument to --backup. * Factored lots of repo path <-> filesystem path functionality out into methods.
Michael Granger
Added docs for the 'forget' mode, short option for --restore and --rcfile. * Both --restore and --rcfile had the -r option, so I removed the short option for --restore. * Added NotImplementedError implementations for all the modes which didn't have them.
Michael Granger
Fixed specs, three new modes, install rcfiles from the datadir * Added --forget, --backup, and --restore modes (paired with Mahlon) * Fixed the highline dependency * Rc files are installed from a data directory instead of being extracted from the file's data section. * Fixed the existing specs.
Michael Granger
Factored out more hg command-building, fixing save+update mode.
Michael Granger
Remove obsolete options.
Michael Granger
Fix the #run_hg method, make the example .personalizerc more interesting.
Michael Granger
Changed subcommands to be less vcs-centric, bugfixes * Subcommands: - Changed 'add' to 'save' - Changed 'extract' to 'apply' * Got rid of the need to call 'init' explicitly * Added a max filesize check to avoid hg complaining about big files. * Made 'hg' run in quiet mode unless debugging is turned on. * Made rcfile-reading a little more flexible * Factored out error-reporting into a method
Michael Granger
Make the osname more generic, fix error-reporting, more helpful error messages. * Chop version numbers off of the OS name used as the base directory in the repo. * Add the osname to the log message on commit * Suggest running with --init instead of telling the user about a missing ~/.personalizations/ directory. * Fix the missing 'error' color for error messages in the default color scheme.
Michael Granger
Adding the --init and --add modes.
Michael Granger
Fleshing out the skeleton of the command a bit.
Michael Granger
Adding an example .personrc file and docs on some new modes.
Michael Granger
Adding version constant to the main class.
Michael Granger
Initial skeleton.