about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorryneeverett <ryneeverett@gmail.com>2020-03-31 01:01:33 +0000
committerryneeverett <ryneeverett@gmail.com>2020-04-01 17:19:01 +0000
commit0a2759483a69d49a0580d3e9e994029f1d8f5bf0 (patch)
tree9fc33d45dd3d32f27ef0ed7e0fae24766d11de5c /nixos
parent1c0f0de46c231d6c392b9727327d9635fc4f60ec (diff)
downloadnixlib-0a2759483a69d49a0580d3e9e994029f1d8f5bf0.tar
nixlib-0a2759483a69d49a0580d3e9e994029f1d8f5bf0.tar.gz
nixlib-0a2759483a69d49a0580d3e9e994029f1d8f5bf0.tar.bz2
nixlib-0a2759483a69d49a0580d3e9e994029f1d8f5bf0.tar.lz
nixlib-0a2759483a69d49a0580d3e9e994029f1d8f5bf0.tar.xz
nixlib-0a2759483a69d49a0580d3e9e994029f1d8f5bf0.tar.zst
nixlib-0a2759483a69d49a0580d3e9e994029f1d8f5bf0.zip
vimPlugins: update auto-commiting based on review
- Use git.Repo(ROOT, search_parent_directories=True) to find nixpkgs
repo.
- Don't commit overrides.nix.
- Remove "-a" short argument.
- Remove "--commit" flag and commit by default.
- Improve help/error messages.
- Favor closure pattern over classes.Use a closure to wrap the update
function with state rather than a callable class.
- break NixpkgsRepo class into functions
- Optional None-type arguments
- Remove repo checks from update.py. Git is too flexible and permits too
many workflows for my attempt to replace documentation with code to work.
My goal would be to separate the `--add` functionality from the update
functionality in the near term and then there will be no reason for this
usage to create commits anyway.
Diffstat (limited to 'nixos')
0 files changed, 0 insertions, 0 deletions