Commit Graph

845 Commits

Author SHA1 Message Date
Timo Kaufmann
3abce7b376
Merge pull request #83788 from ryneeverett/vim-plugins-update-commit
vimPlugins: Automate git commits when updating.
2020-04-01 19:29:27 +00:00
ryneeverett
0a2759483a 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.
2020-04-01 17:19:01 +00:00
ryneeverett
1c0f0de46c vimPlugins: normalize deprecation names
Parsing plugin lines in multiple places is hazardous and already manifested a
bug!
2020-04-01 14:30:46 +00:00
ryneeverett
1f32eb7987 vimPlugins: remove repetition from update.main
Adding some abstraction makes main() more readable which is important
since it's the main control flow of the script.
2020-04-01 14:30:39 +00:00
ryneeverett
f1ae95f6d3 vimPlugins: update.py --add <plugin> argument
- update.py's new --add argument replaces manual editing of
vim-plugin-names for basic use cases.
2020-04-01 14:30:39 +00:00
ryneeverett
042c3dc356 vimPlugins: automatically commit redirect updates
- When redirections are detected, rather than printing instructions,
update.py now creates two commits -- one with the plugin updates and
another with redirected plugin names updated to their new repos.
- Added a --allow-dirty flag so that one can run ./update.py --commit
with a dirty nixpkgs repository, which is necessary for development.
I wouldn't mind removing this before merging if it's not in our flag
budget but it's necessary scaffolding for now.
2020-04-01 14:30:33 +00:00
ryneeverett
df0db17740 vimPlugins: automatically commit update 2020-04-01 14:30:23 +00:00
Timo Kaufmann
bd12256228
Merge pull request #83588 from evenbrenden/vim-pico8-syntax
vimPlugins.vim-pico8-syntax: init at 2016-10-30
2020-04-01 12:13:10 +00:00
Timo Kaufmann
d2e422fcef
Merge pull request #83798 from ryneeverett/vim-plugins-update-proc
vimPlugins: Add --proc flag to update script.
2020-03-31 09:52:02 +00:00
ryneeverett
1f446cc7c8 vimPlugins.vim-python-pep8-indent: init at 2019-05-13 2020-03-30 21:46:49 -07:00
ryneeverett
d0ce3afefa vimPlugins.splitjoin-vim: init at 2020-03-10 2020-03-30 21:46:49 -07:00
ryneeverett
95c981e980 vimPlugins.SimpylFold: init at 2017-06-13 2020-03-30 21:46:49 -07:00
ryneeverett
23c94580ce vimPlugins.lightline-bufferline: init at 2020-02-14 2020-03-30 21:46:49 -07:00
Even Brenden
652342cabe vimPlugins.vim-pico8-syntax: init at 2016-10-30 2020-03-30 20:04:52 +02:00
ryneeverett
9546a64d46 vimPlugins: Add --proc flag to update script.
This is based on discussion in #83008 and replaces it.
2020-03-30 18:04:52 +00:00
Timo Kaufmann
d8cb79d6a6
Merge pull request #83502 from minijackson/vimPlugins-gruvbox-community-2020-02-24
vimPlugins.gruvbox-community: 2019-05-31 -> 2020-02-24
2020-03-28 11:45:12 +00:00
Timo Kaufmann
f076eced64
Merge pull request #79193 from equirosa/vimPlugins.vim-kitty-navigator
vimPlugins.vim-kitty-navigator: init at 2019-11-04
2020-03-28 11:38:17 +00:00
Minijackson
bf96f9122d
vimPlugins.gruvbox-community: 2019-05-31 -> 2020-02-24, switch to autogenerated 2020-03-28 10:43:56 +01:00
Eduardo Quiros
aed79fb5ee
vimPlugins.vim-kitty-navigator: init at 2019-11-04 2020-03-27 19:19:06 -06:00
Jason Miller
4234ef550c vimacs: init at 2016-03-24 2020-03-27 14:39:22 -04:00
Timo Kaufmann
12c931a8e8
Merge pull request #83119 from ryneeverett/vim-plugins-update-redirects
VimPlugins: update redirected repos
2020-03-27 17:48:32 +00:00
Matt Snider
749028e92b vimPlugins.BufOnly-vim: init at 2010-10-18 2020-03-27 17:49:33 +01:00
ryneeverett
25fea4538e vimPlugins: Store deprecation date. 2020-03-27 16:19:54 +00:00
ryneeverett
7cc024b59e vimPlugins: Automatic rename deprecations
When an updated redirect results in a package name change, not just an
owner change, throw an error to warn users the package names has
changed.
2020-03-27 15:30:54 +00:00
Joe Hermaszewski
7dd3d620d6 vim-plugins.coc-fzf: init at 2020-03-06
Tested working with the current version of coc.nvim and fzf
2020-03-27 01:42:32 -07:00
ryneeverett
b886ad90e7 vimPlugins: Automatically sort vim-plugin-names.
Python's `sorted` method works a little differently than `sort` in the
handling of dashes.
2020-03-26 05:56:31 +00:00
Poscat
85b91c7bb6 vimPlugins.ats-vim: init at 2020-03-03 2020-03-24 12:22:37 -07:00
ryneeverett
cffb6cb637 vimPlugins: Update redirects without flag.
Per review, the input file will now be rewritten automatically if
redirects are found.
2020-03-24 15:11:46 +00:00
ryneeverett
a9c9b0d40c vimPlugins: --update-redirects improvements.
In response to @timokau's review here are a couple changes:

- Decrease the fragility of the replacement code by normalizing
whitespace on each line.
- Throw an error when plugins are renamed rather than silently aliasing
to the new name.
2020-03-24 03:11:07 +00:00
ryneeverett
6601c1699f vimPlugins: Update redirects 2020-03-22 05:04:26 +00:00
ryneeverett
c78aa8e100 vimPlugins: Update 2020-03-22 04:05:19 +00:00
ryneeverett
d4874a7ee6 vimPlugins: Automate redirect updates in update.py
Many of the plugins in vim-plugin-names are out of date and redirect to
their new github repos. This commit adds a flag to automatically update
these and defines a process for committing these updates into nixpkgs.
2020-03-22 04:04:50 +00:00
Timo Kaufmann
4738b1f89f
Merge pull request #83006 from timokau/vim-plugins-2020-03-20
vimPlugins: update
2020-03-20 17:10:53 +00:00
Timo Kaufmann
1711025a3d vimPlugins: update
The vim-pandoc patch is now outdated and has been replaced by a better
workaround upstream:

https://github.com/vim-pandoc/vim-pandoc/pull/363
2020-03-20 17:44:25 +01:00
Timo Kaufmann
71331ee9ef
Merge pull request #74846 from rummik/vam-regression
Fix converting vam.pluginDictionaries to VimL
2020-03-19 21:39:01 +00:00
*Kim Zick (rummik)
6de54148ef vim-utils: Fix converting vam.pluginDictionaries to VimL 2020-03-19 17:22:52 -04:00
Timo Kaufmann
880f5a6125 vimPlugins.vim-pandoc: fix startup 2020-03-17 23:04:10 +01:00
Silje Enge Kristensen
0adf77f746
vimPlugins.coc-spell-checker: init at 2020-02-19" 2020-03-15 17:58:33 +00:00
Silje Enge Kristensen
79ee5bc822
vimPlugins: Update 2020-03-15 17:58:28 +00:00
eyjhbb@gmail.com
d8b41ad219
vimPlugins.coc-*: add npm dependencies 2020-03-15 17:30:33 +00:00
Ersin Akinci
347479b6e0
vimPlugins.overrides: add coc-prettier 2020-03-15 12:55:06 +00:00
Eduardo Quiros
df49c1bdc1
vimPlugins.vim-automkdir: init at 2016-01-17 2020-03-11 12:53:06 -06:00
Eduardo Quiros
9caf1a87a1
vimPlugins: Update 2020-03-11 12:43:45 -06:00
Benjamin Hipple
4e5838132e vimPlugins.LanguageClient-neovim: upgrade cargo fetcher and cargoSha256 2020-03-09 19:00:48 +01:00
Brett Lyons
d1d4d90bd3 Revert "vimPlugins.notational-fzf-vim: init at 2019-12-03"
This reverts commit 0eb33b0485.
2020-03-02 09:16:06 -08:00
Brett Lyons
745dbf46af Revert "vimPlugins.notational-fzf-vim: Fix missing runtime deps"
This reverts commit 976aa97435.
2020-03-02 09:16:06 -08:00
Kovacsics Robert
2e6b7b00a0 vim-easytags: Fix to work with universal-ctags (which is in nixpkgs) 2020-03-01 23:12:24 -08:00
Maximilian Bosch
fbc88db185
vimPlugins.deoplete-phpactor: init at 2019-02-22 2020-02-28 01:04:39 +01:00
Maximilian Bosch
89790413a6
vimPlugins.deoplete-greek: init at 2019-12-23 2020-02-28 00:52:57 +01:00
Maximilian Bosch
1e20ec8835
vimPlugins.deoplete-github: init at 2018-03-04 2020-02-28 00:52:57 +01:00