Commit Graph

5 Commits

Author SHA1 Message Date
PerchunPak
3c2cc3049d
pluginupdate.py: use newer syntax for types 2024-11-10 16:53:32 +01:00
PerchunPak
ecee72e247
pluginupdate.py: add support for adding/updating individual plugins 2024-11-10 01:42:51 +01:00
PerchunPak
a6fe798a01
pluginupdate.py: fix bugs and add improvements
I fixed many hidden bugs and made some small improvements. The main
reason this was separated from #336137 is to fix the sorting issue.

Before this commit, sorting for Vim plugins was broken and worked by
what was fetched first. This is because the sorting was done by empty
strings (the default value in CSV is not None but an empty string). This
PR fixes it and also moves sorting from the user to the library (from
`vim/plugins/update.py` to `pluginupdate.py`) to prevent such weird
issues and duplication of code.
2024-11-09 00:20:38 +01:00
PerchunPak
8b503ec432
pluginupdate.py: reformat with ruff
Ruff - an extremely fast Python linter and code formatter, written in Rust.
2024-11-09 00:20:38 +01:00
Matthieu Coudron
57bbd52af5
packages luarocks updater as pyproject package (#343584)
* luarocks-packages-updater: convert into pyproject package

* pluginupdate: move to its own folder

so we can copy just the folder when using this as a module

* luarocks-packages-updater: adress review
2024-09-22 21:15:41 +02:00