aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-01-06Try to create relative symlinks when linkingGravatar Jon Bernard 1-1/+1
2016-01-06Fix tests to match recent changesGravatar Jon Bernard 2-15/+59
2016-01-06Add link scheme for flat repositoryGravatar Jon Bernard 1-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/unlinkGravatar Jon Bernard 2-11/+11
I think this naming is more appropriate and intuitive
2016-01-04Merge list into status and remove verboseGravatar Jon Bernard 2-109/+31
2016-01-04Cleanup verbose status functionGravatar Jon Bernard 1-7/+15
2016-01-04Add verbose status optionGravatar Jon Bernard 2-20/+48
2016-01-04Add test for repository expected nameGravatar Jon Bernard 1-3/+4
2016-01-04Clean up dotfile state functionGravatar Jon Bernard 1-8/+4
2016-01-04Remove unique_suffix function, not neededGravatar Jon Bernard 2-24/+2
2016-01-04Test both nested and non-nested repo directoriesGravatar Jon Bernard 1-2/+2
2016-01-04Update docstringsGravatar Jon Bernard 1-30/+10
2016-01-04Enable use of '-h' for help commandGravatar Jon Bernard 1-1/+1
2016-01-04Nest repository in homedir for testingGravatar Jon Bernard 1-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 targetGravatar Jon Bernard 1-1/+1
2016-01-04Use click decorator for version optionGravatar Jon Bernard 3-16/+2
2016-01-03Add cli testsGravatar Jon Bernard 2-2/+38
2016-01-03Use test fixtures and some cleanupGravatar Jon Bernard 2-170/+77
2016-01-03Add custom fixtures for testingGravatar Jon Bernard 1-0/+17
2016-01-03Consolidate tests into a single fileGravatar Jon Bernard 9-711/+234
2016-01-03Consolidate new implementation into a single fileGravatar Jon Bernard 10-968/+232
2016-01-02Update repository tests to match recent changesGravatar Jon Bernard 1-106/+29
2016-01-02Update dotfile tests to match recent changesGravatar Jon Bernard 1-64/+66
2016-01-02Simplify dotfile state management logicGravatar Jon Bernard 1-38/+32
2016-01-02Remove dotfile-specific operations from repositoryGravatar Jon Bernard 1-51/+9
These are handled in the CLI and there is no need for repository to be involved.
2016-01-01Implement dotfile state managementGravatar Jon Bernard 5-27/+110
2016-01-01Disable travis email notificationGravatar Jon Bernard 1-0/+3
2016-01-01Fix indenting in travis configurationGravatar Jon Bernard 1-9/+9
2016-01-01Remove badges from README.rstGravatar Jon Bernard 1-10/+0
I don't think anyone cares about these and they make my eyes hurt.
2015-12-31Remove python 3.2 from travis CIGravatar Jon Bernard 1-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 CLIGravatar Jon Bernard 2-252/+43
2015-12-31Add tests for new repository implementationGravatar Jon Bernard 1-20/+123
2015-12-31Update base implementation for repository classGravatar Jon Bernard 1-19/+60
2015-12-31Add invalid test for dotfile classGravatar Jon Bernard 1-0/+17
2015-12-31Update dotfile __repr__ and initialize stateGravatar Jon Bernard 1-10/+8
2015-12-31Use new-style classes explicitlyGravatar Jon Bernard 2-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.pyGravatar Jon Bernard 1-0/+4
This includes click and py, which are both being used in the recent updates.
2015-12-31Rename existing cli filesGravatar Jon Bernard 3-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.iniGravatar Jon Bernard 1-3/+0
2015-12-30Remove bin scriptGravatar Jon Bernard 3-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 outputGravatar Jon Bernard 2-5/+5
2015-12-30Fix typo in state check functionGravatar Jon Bernard 1-1/+1
2015-12-30Use pytest parametrize to simplify testsGravatar Jon Bernard 1-73/+33
2015-12-29Add repository class reworkGravatar Jon Bernard 2-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 representationGravatar Jon Bernard 1-0/+17
2015-12-29Fix typoGravatar Jon Bernard 1-1/+1
2015-12-29Add dotfile class reworkGravatar Jon Bernard 2-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 formattingGravatar Jon Bernard 1-3/+4
2015-12-29Move CLI tests into separate fileGravatar Jon Bernard 2-15/+16
The intent is for each file in dotfiles/ to have a matching test file in tests/ so there is less confusion about which test files are testing which bits of functionality and where to look.
2015-12-28Add package sync testGravatar Jon Bernard 1-0/+21