aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorLines
2016-01-08Add ignore item to skip repository git filesJon Bernard-5/+15
2016-01-07Update readme to explain recent changesJon Bernard-0/+22
2016-01-06Try to create relative symlinks when linkingJon Bernard-1/+1
2016-01-06Fix tests to match recent changesJon Bernard-15/+59
2016-01-06Add link scheme for flat repositoryJon Bernard-28/+90
This commit also includes support for all of the CLI commands. This is for a "flat" repository where dotfiles must be proper files, no directories or files in subdirectories. Support for that is coming and should cover what used to be called "packages" in a more automatic way without requiring configuration file settings. At the moment, this is the bare minimum of useful functionality: flat repository, no 'ignores', no 'externals', no 'packages', and no 'prefixes'. In this way I can make sure I get the object model and abstractions correct before building on it further. This I feel is what the old version suffered from and caused difficulties in maintenance. The above-mentioned features will return in some form as I move through each of them, not to worry. I'd like to see how far I can get without any configuration file before any of that stuff gets added back in.
2016-01-05Rename sync/unsync to link/unlinkJon Bernard-11/+11
I think this naming is more appropriate and intuitive
2016-01-04Merge list into status and remove verboseJon Bernard-109/+31
2016-01-04Cleanup verbose status functionJon Bernard-7/+15
2016-01-04Add verbose status optionJon Bernard-20/+48
2016-01-04Add test for repository expected nameJon Bernard-3/+4
2016-01-04Clean up dotfile state functionJon Bernard-8/+4
2016-01-04Remove unique_suffix function, not neededJon Bernard-24/+2
2016-01-04Test both nested and non-nested repo directoriesJon Bernard-2/+2
2016-01-04Update docstringsJon Bernard-30/+10
2016-01-04Enable use of '-h' for help commandJon Bernard-1/+1
2016-01-04Nest repository in homedir for testingJon Bernard-4/+4
There is a bug when the home directory is not a parent of the repository, this will fixed shortly.
2016-01-04Simplify tox flake8 targetJon Bernard-1/+1
2016-01-04Use click decorator for version optionJon Bernard-16/+2
2016-01-03Add cli testsJon Bernard-2/+38
2016-01-03Use test fixtures and some cleanupJon Bernard-170/+77
2016-01-03Add custom fixtures for testingJon Bernard-0/+17
2016-01-03Consolidate tests into a single fileJon Bernard-711/+234
2016-01-03Consolidate new implementation into a single fileJon Bernard-968/+232
2016-01-02Update repository tests to match recent changesJon Bernard-106/+29
2016-01-02Update dotfile tests to match recent changesJon Bernard-64/+66
2016-01-02Simplify dotfile state management logicJon Bernard-38/+32
2016-01-02Remove dotfile-specific operations from repositoryJon Bernard-51/+9
These are handled in the CLI and there is no need for repository to be involved.
2016-01-01Implement dotfile state managementJon Bernard-27/+110
2016-01-01Disable travis email notificationJon Bernard-0/+3
2016-01-01Fix indenting in travis configurationJon Bernard-9/+9
2016-01-01Remove badges from README.rstJon Bernard-10/+0
I don't think anyone cares about these and they make my eyes hurt.
2015-12-31Remove python 3.2 from travis CIJon Bernard-1/+0
I'm seeing: E File "../py32/lib/python3.2/site-packages/click/utils.py", line 224 E message = message or u'' E ^ E SyntaxError: invalid syntax and it appears click doesn't test against 3.2 either.
2015-12-31Add new click-based CLIJon Bernard-252/+43
2015-12-31Add tests for new repository implementationJon Bernard-20/+123
2015-12-31Update base implementation for repository classJon Bernard-19/+60
2015-12-31Add invalid test for dotfile classJon Bernard-0/+17
2015-12-31Update dotfile __repr__ and initialize stateJon Bernard-10/+8
2015-12-31Use new-style classes explicitlyJon Bernard-2/+2
I forgot this is not the default in python 2 and certain things like the setter decorator do not work otherwise.
2015-12-31Add new requirements to setup.pyJon Bernard-0/+4
This includes click and py, which are both being used in the recent updates.
2015-12-31Rename existing cli filesJon Bernard-1/+271
I'm in the process of reimplementing the CLI using click and this new implementation will take the place of the existing one once it's feature complete.
2015-12-30Remove explicit envlist from tox.iniJon Bernard-3/+0
2015-12-30Remove bin scriptJon Bernard-23/+1
From what I've been reading, this approach has several limitations and since I use pip I've never really used it, even during development. I always use virtualenvs where the package and its entry point are installed with setuptools, so an explicit bin script seems like a relic of the past. I'll revisit this if people disagree.
2015-12-30Strip leading newline from list outputJon Bernard-5/+5
2015-12-30Fix typo in state check functionJon Bernard-1/+1
2015-12-30Use pytest parametrize to simplify testsJon Bernard-73/+33
2015-12-29Add repository class reworkJon Bernard-0/+98
This version of the repository class uses py.path.local and I have an idea for packages that should simplify the code substantially and address the remaining issues with prefixes.
2015-12-29Add dotfile functions for string representationJon Bernard-0/+17
2015-12-29Fix typoJon Bernard-1/+1
2015-12-29Add dotfile class reworkJon Bernard-0/+155
This version of the dotfile class uses py.path.local and removes much of the cruft of using os.path and it's associated requirements. There are still a few things missing, namely dry_run mode where commands are printed instead of executed and force sync. They will be included as required.
2015-12-29Update docstring formattingJon Bernard-3/+4