Commit Graph

1668 Commits

Author SHA1 Message Date
Folke Lemaitre 2dfccd7b94
fix(ui): don't treat suspended as headless. Closes #1626 2024-07-08 07:28:02 +02:00
folke 44cd12fa27 chore(build): auto-generate docs 2024-07-07 19:26:10 +00:00
github-actions[bot] a6daaf68a2
chore(main): release 11.10.3 (#1625)
🤖 I have created a release *beep* *boop*
---


##
[11.10.3](https://github.com/folke/lazy.nvim/compare/v11.10.2...v11.10.3)
(2024-07-07)


### Bug Fixes

* **git:** local plugin fixes
([#1624](https://github.com/folke/lazy.nvim/issues/1624))
([72c0dc9](72c0dc9462))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-07 21:25:12 +02:00
github-actions[bot] 436d09af7d chore(build): auto-generate docs 2024-07-07 15:15:37 +00:00
github-actions[bot] 93c9a3f872 chore(build): auto-generate docs 2024-07-07 15:14:44 +00:00
Andre Toerien 72c0dc9462
fix(git): local plugin fixes (#1624)
## Description

As I described in
https://github.com/folke/lazy.nvim/pull/1512#issuecomment-2212474372,
this makes it so that local plugins will only show as needing updates if
the local branch is behind the upstream branch. This is done by checking
the output of the `git log` command, and only setting `plugin._.updates`
if the output is not empty.

This seems to solve my issue where local plugins with unpushed changes
always show as needing updates, but if there's a easier/better way of
doing it then please feel free to edit/close this. Or if you don't agree
that the current behaviour is a bug, then that's also fine - it's not a
big deal and I can easily just ignore the "updates available" notice.

I also came across a minor issue where the plugin diff view (press `d`)
compares the wrong commits for local plugins, because
[lua/lazy/view/init.lua](c771cf4928/lua/lazy/view/init.lua (L268))
always uses `get_target`. I fixed this by moving `get_local_target` into
`get_target` - I think this is simpler and more straightforward than the
alternative of adding a ternary everywhere `get_target` is called.

This second bugfix is a very small change, so I've just included it
here, but I'm happy to make a second PR if you'd like.

## Related Issue(s)

Related PR: #1512
2024-07-07 17:13:49 +02:00
folke c771cf4928 chore(build): auto-generate docs 2024-07-07 06:46:59 +00:00
github-actions[bot] 25026d2382 chore(build): auto-generate docs 2024-07-07 06:45:25 +00:00
folke 083f3dfb5e chore(build): auto-generate docs 2024-07-07 06:45:23 +00:00
github-actions[bot] 89b264ac1d
chore(main): release 11.10.2 (#1621)
🤖 I have created a release *beep* *boop*
---


##
[11.10.2](https://github.com/folke/lazy.nvim/compare/v11.10.1...v11.10.2)
(2024-07-07)


### Bug Fixes

* **git:** only check for new commits for local plugins. Closes
[#1512](https://github.com/folke/lazy.nvim/issues/1512)
([81d2bff](81d2bfffdc))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-07 08:44:37 +02:00
github-actions[bot] 23aeb224ed chore(build): auto-generate docs 2024-07-07 06:43:02 +00:00
Folke Lemaitre 81d2bfffdc
fix(git): only check for new commits for local plugins. Closes #1512 2024-07-07 08:42:21 +02:00
folke 933f0b596c chore(build): auto-generate docs 2024-07-06 21:46:26 +00:00
Folke Lemaitre 55b46b3993
ci: update 2024-07-06 23:45:30 +02:00
Folke Lemaitre 23ea80b6a3
ci: update 2024-07-06 23:19:48 +02:00
Folke Lemaitre e6035dc59b
ci: update 2024-07-06 23:18:28 +02:00
github-actions[bot] 0ff7e83c17 chore(build): auto-generate docs 2024-07-06 16:05:52 +00:00
folke 1e7745a4a0 chore(build): auto-generate docs 2024-07-06 16:05:47 +00:00
github-actions[bot] 49a35d3c8c
chore(update): update repository (#1618)
Automated changes by
[create-pull-request](https://github.com/peter-evans/create-pull-request)
GitHub action

Co-authored-by: folke <292349+folke@users.noreply.github.com>
2024-07-06 18:05:10 +02:00
github-actions[bot] 16ccd54360 chore(build): auto-generate docs 2024-07-06 13:01:02 +00:00
github-actions[bot] c060de160a
chore(update): update repository (#1616)
Automated changes by
[create-pull-request](https://github.com/peter-evans/create-pull-request)
GitHub action

Co-authored-by: folke <292349+folke@users.noreply.github.com>
2024-07-06 15:00:16 +02:00
folke e3154ff0b7 chore(build): auto-generate docs 2024-07-06 09:48:26 +00:00
Folke Lemaitre c3a9cec06b
ci: update 2024-07-06 11:45:24 +02:00
github-actions[bot] d901d2166f chore(build): auto-generate docs 2024-07-05 17:03:38 +00:00
folke 94b6b67031 chore(build): auto-generate docs 2024-07-05 17:03:29 +00:00
Folke Lemaitre 538f060e42
ci: update 2024-07-05 19:02:48 +02:00
github-actions[bot] 894cd193e9 chore(build): auto-generate docs 2024-07-05 14:13:57 +00:00
folke 11e802dbaa chore(build): auto-generate docs 2024-07-05 14:13:53 +00:00
github-actions[bot] 6ca23c15f6
chore(main): release 11.10.1 (#1612)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-05 16:13:11 +02:00
github-actions[bot] 40e08f2b8a chore(build): auto-generate docs 2024-07-05 14:05:18 +00:00
Folke Lemaitre d0c00e697a
ci: remove tests dep 2024-07-05 16:04:29 +02:00
folke 61c7156b57 chore(build): auto-generate docs 2024-07-05 14:04:23 +00:00
Folke Lemaitre 6186b3de3e
ci: add generated files to .styluaignore 2024-07-05 16:03:09 +02:00
Folke Lemaitre 53661bb38c
ci: update 2024-07-05 16:03:09 +02:00
github-actions[bot] a1d23e80ba chore(build): auto-generate docs 2024-07-05 07:31:34 +00:00
Folke Lemaitre baac551777
fix(lockfile): keep cond=false and enabed=false in lockfile. Fixes #1535. Fixes #1606 2024-07-05 09:01:04 +02:00
github-actions[bot] 407e65c792
chore(main): release 11.10.0 (#1609)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-04 21:01:57 +02:00
Folke Lemaitre 851b12034d
ci: use main for bootstrap 2024-07-04 18:05:36 +02:00
Folke Lemaitre 1225f1dc60
ci: dont enable local specs for minit 2024-07-04 18:00:59 +02:00
Folke Lemaitre a17ad27435
build: better minit 2024-07-04 17:53:45 +02:00
Folke Lemaitre 923e1aa7a4
fix(plugin): local spec name 2024-07-04 16:16:39 +02:00
Folke Lemaitre 6fdd904ee4
fix(config): determine headless only during startup. Fixes #1608 2024-07-04 15:19:41 +02:00
Folke Lemaitre 0f2786bcc9
feat(profiling): merge VeryLazy stats and show startuptime in profile view 2024-07-04 15:17:10 +02:00
github-actions[bot] cea5920abb
chore(main): release 11.9.2 (#1595)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-03 12:11:21 +02:00
github-actions[bot] 36c85945ee chore(build): auto-generate docs 2024-07-03 08:20:37 +00:00
Folke Lemaitre d0921f5b9b
fix(health): check for errors when executing commands. Closes #1599 2024-07-02 13:43:03 +02:00
Folke Lemaitre a9d7ade203
perf(plugin): minor optim to resolve imports a bit faster 2024-07-01 07:07:49 +02:00
Folke Lemaitre 1fad61712b
fix(async): make asyncs abortable 2024-06-30 13:35:14 +02:00
github-actions[bot] c882227f1f
chore(main): release 11.9.1 (#1592)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-30 12:47:41 +02:00
Folke Lemaitre 2f4ac035bc
perf: suspend when tasks are active 2024-06-30 09:13:04 +02:00