aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-09-22Add better explanation of state informationGravatar Jon Bernard 1-1/+12
2018-09-22Clean up dotfile tests slightlyGravatar Jon Bernard 1-8/+25
2018-09-21Use py's local write() in tests, fixes non-py3 test failuresGravatar Jon Bernard 1-4/+2
2018-09-21Fix state testsGravatar Jon Bernard 1-16/+12
2018-09-14Update setup configurationGravatar Jon Bernard 2-32/+46
2018-09-14Update vim projections to not require venvGravatar Jon Bernard 1-4/+1
2018-09-14Remove flake8 from CI testsGravatar Jon Bernard 2-4/+0
2018-09-07Move vendor directory to avoid pytest recursionGravatar Jon Bernard 4-6/+6
This simplifies the test configuration a bit and gets the vendor directory out of the way.
2018-08-31Rework setup.py, move pytest and flake8 to extras_requireGravatar Jon Bernard 1-8/+16
2018-08-30Change docs to markdown formatGravatar Jon Bernard 7-41/+36
2018-08-29Add installation and help information to READMEGravatar Jon Bernard 1-2/+30
2018-08-28Begin README updates to document new interfaceGravatar Jon Bernard 1-28/+42
2018-08-27Add tests for Repository constructor parametersGravatar Jon Bernard 1-1/+18
2018-08-27Remove pypy from travis test matrixGravatar Jon Bernard 1-2/+0
2018-08-27Ignore everything else in bin/Gravatar Jon Bernard 1-0/+3
2018-08-17WhitespaceGravatar Jon Bernard 1-5/+12
2018-04-23Fix travis test matrixGravatar Jon Bernard 1-6/+11
2018-04-23Remove TODO.rst, not relevant anymoreGravatar Jon Bernard 1-10/+0
2018-04-23Set test path to avoid vendor discoveryGravatar Jon Bernard 1-1/+1
2018-04-17Begin adding support for file copyGravatar Jon Bernard 1-4/+10
Until now, dotfiles has only linked files using symbolic links. This doesn't always work, some configuration files cannot be symlinks. This commit begins adding support for file copy instead of linking. File status is still maintained, if the dotfile is copied and the content differ from what's in the repository, a conflict is displayed. Otherwise the file is an exact duplicate and that's what we want. Still to do is exposing a command to copy from the cli and adding support to remove() to do the right thing. It may also be nice to see file status (symlink vs. copy) in status output, still undecided.
2018-04-17Parameterize a couple unit testsGravatar Jon Bernard 1-7/+9
2018-04-17Format projectionsGravatar Jon Bernard 1-10/+14
2018-04-17Update .gitignoreGravatar Jon Bernard 1-9/+1
2018-04-15Add projections for vimGravatar Jon Bernard 1-0/+12
2017-12-29Tweak docstring slightlyGravatar Jon Bernard 1-1/+1
2017-12-19Add support for adding symlinksGravatar Jon Bernard 1-8/+17
The remaining operations are still to be done, this is only for the add operation for the moment. It appears that nesting works correctly and all unit tests are passing. Tests for symlinks still need to be done.
2017-12-04Further restrict pytest search specificationGravatar Jon Bernard 1-1/+1
2017-12-04Update copyright datesGravatar Jon Bernard 2-2/+2
2017-07-10Prevent pytest from considering the vendor directoryGravatar Jon Bernard 1-0/+3
2017-07-10Reduce tested versions to 2.7 and 3.6Gravatar Jon Bernard 2-7/+3
2016-10-13Rework the readme a bit, still much to doGravatar Jon Bernard 1-20/+22
2016-10-12Update email addressGravatar Jon Bernard 1-1/+1
2016-10-12Cleanup exception importsGravatar Jon Bernard 2-6/+6
2016-10-11Ignore .gitignore in a repositoryGravatar Jon Bernard 1-1/+1
2016-10-11Update email addressGravatar Jon Bernard 1-1/+1
2016-10-11Add dependencies as submodulesGravatar Jon Bernard 4-0/+27
This gives you the choice to run dotfiles directly from the repository without a virtual environment. These are only useful from the git repository and not included in the pypi releases.
2016-07-18Remove config class for nowGravatar Jon Bernard 1-65/+7
I don't have a need or time at the moment to implement support for configuration files. I'm not sure anyone uses this anyway, if I'm wrong please let me know.
2016-07-18Move repositories class into repository fileGravatar Jon Bernard 2-30/+27
2016-07-18Reverse leading dot logicGravatar Jon Bernard 3-18/+18
2016-07-18Improve help string for status commandGravatar Jon Bernard 1-1/+6
2016-04-16Add docstring for Config classGravatar Jon Bernard 1-0/+12
2016-04-15Inline help strings in cli decoratorsGravatar Jon Bernard 1-4/+4
2016-04-15Clean up configuration file code a bitGravatar Jon Bernard 1-4/+21
Still some work to be done here, in progress.
2016-02-18Add support for configuration filesGravatar Jon Bernard 2-27/+60
At the moment, only a global configuration file is considered at '~/.config/dotfiles/config.ini'. Further more, only the 'repositories' field is being used at the moment, but this will change in the next commit. If you to specify a repository (or several) in the config file, you could use something like: [dotfiles] repositories = ['~/public/dotfiles', '~/private/dotfiles'] Still some polishing to be done, but it's coming along.
2016-02-16Create repositories class to hide context objectGravatar Jon Bernard 2-26/+46
2016-02-03Remove unused import to make flake8 happyGravatar Jon Bernard 1-1/+0
2016-02-03Simplify CLI status testGravatar Jon Bernard 1-9/+1
2016-02-03Remove CLI repo validationGravatar Jon Bernard 1-3/+2
This prevents auto-creation from happening, which I like.
2016-02-03Update todo listGravatar Jon Bernard 1-2/+1
2016-02-02Add support for multiple repositoriesGravatar Jon Bernard 1-52/+56
I haven't tested this much yet and I haven't written the tests yet either, so please tread lightly. The idea is allow you to compose your home directory symlinks from a set of repositories instead of just one. This allows you to separate things into logical groups and maybe sync only certain groups on certain machines. It's a different take on the 'host profiles' feature where you specify certain files to be included or ignored based on hostname.