pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/shells/oh-my-posh



Module Name:    pkgsrc
Committed By:   pin
Date:           Fri Nov  8 09:07:27 UTC 2024

Modified Files:
        pkgsrc/shells/oh-my-posh: Makefile distinfo go-modules.mk

Log Message:
shells/oh-my-posh: update to 24.1.0

v24.1.0
Bug Fixes
    prompt: reset colors before printing fillers (1adf542)
    segment: add to cache after rendering (ce02759)
    templates: restore resolving logic (84d132e), closes #5848

Features
    segment: add aurelia (5ec18f2)
    zig lang supporting (6402d5d)

v24.0.11
Bug Fixes
    templates: restore templates_logic (af76a9a)

v24.0.10
Bug Fixes
    template: load cache before evaluation starts (86291dc)

v24.0.9
Bug Fixes
    upgrade: restore caching mechanism (63d79fe)

v24.0.8
Bug Fixes
    cli: revert breaking CLI change (466f9e7)
    segment: evaluate all needs (7de2809)

v24.0.7
Bug Fixes
    cli: correct help text (472bd6f)
    template: add missing .PSWD (0a5e1f6)

v24.0.6
Bug Fixes
    prompt: render segments when everything is executed (da6c925), closes #5816

v24.0.5
Bug Fixes
    prompt: render segments when everything is executed (da6c925), closes #5816

v24.0.4
Bug Fixes
    block: do not print newline when empty (014dc08)
    notice: validate correct keyword (c457f23)
    segment: ignore empty colors (225f6c6)

v24.0.3
Bug Fixes
    init: use positional parameter (075eaca), closes #5804

v24.0.2
Bug Fixes
    build: reintroduce 386 builds (a54041e)

v24.0.1
Bug Fixes
    image: initialize image correctly (0b76bea)

v24.0.0
Features
Auto upgrade

oh-my-posh enable upgradenotice
oh-my-posh disable upgradenotice

Breaking changes
Config: OSC99 is removed

Set pwd: OSC99 instead of OSC99: true
Segment: cache_timeout is removed

Segment caching is now managed on a higher level, namely the segment itself. You can cache any segment for a specified amount of time by using the new cache field:

{
  "type": "git",
  "cache": {
    "duration": "1minute",
    "strategy": "folder"
  }
}

Duration can take in values from 1second(s) to xmonths as well as the infinite keyword. The strategy can be folder or session, with folder being the default. Folder is smart enough to take into 
account SCM context in subfolder, as long as the SCM tool supports it.
Segment: cache_version is removed

The version is now cached for 24 hours by default. Use the above caching mechanism to tweak that even more.
Block: type: linebreak is removed

This was marked as deprecated for a long time and has now been removed. Add newline: true to the block you want to see
on a new line.
Block: horizontal_offset and vertical_offset are removed

This was only relevant in they days where the block positioning wasn't that reliable yet, should no longer be needed.
Changelog
Bug Fixes

    color: resolve palette before ANSI conversion (6a8cecb), closes #5790
    image: initialize image CLI correctly (4ebbdd3)
    windows: do not follow app store symlinks (ab39417)

Code Refactoring

    segment: remove templates (42b776b)

Features

    cache: add segment caching strategy (95d8546)
    cache: create .cache if no other options are found (fbcd78e), closes #5758
    cache: remove segment specific caching (4fe6efc)
    cache: store cache on segment level (a45fb39)
    expose segment output text (9f57650), closes #5750
    language: add version caching for 1 week (b3b41fc)
    notice: disable upgrade notice by default (efa8ef9)
    osc: remove OSC99 from config (0c6ab9b)
    project: add support for dart (17c19c3)
    project: add support for mojo (d64de61)
    remove offset settings from block (e7cbbde)
    segment: add mojo (6ae82f4)

Performance Improvements

    add sync pool for template struct (84ac954)
    correctly align struct fields (d4b86e6)
    template: cache template functions (9e19420)

BREAKING CHANGES

    segment: with templates being removed, this need to be a single template element now
    notice: changes disable_notice: false to upgrade_notice: true
    this is now completely deprecated and no longer supported
    osc: this requires to set pwd: OSC99 instead of OSC99: true

Assets 28


To generate a diff of this commit:
cvs rdiff -u -r1.204 -r1.205 pkgsrc/shells/oh-my-posh/Makefile
cvs rdiff -u -r1.188 -r1.189 pkgsrc/shells/oh-my-posh/distinfo
cvs rdiff -u -r1.76 -r1.77 pkgsrc/shells/oh-my-posh/go-modules.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/shells/oh-my-posh/Makefile
diff -u pkgsrc/shells/oh-my-posh/Makefile:1.204 pkgsrc/shells/oh-my-posh/Makefile:1.205
--- pkgsrc/shells/oh-my-posh/Makefile:1.204     Thu Oct 24 07:40:37 2024
+++ pkgsrc/shells/oh-my-posh/Makefile   Fri Nov  8 09:07:27 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.204 2024/10/24 07:40:37 pin Exp $
+# $NetBSD: Makefile,v 1.205 2024/11/08 09:07:27 pin Exp $
 
-DISTNAME=              oh-my-posh-23.20.3
+DISTNAME=              oh-my-posh-24.1.0
 CATEGORIES=            shells
 MASTER_SITES=          ${MASTER_SITE_GITHUB:=JanDeDobbeleer/}
 GITHUB_TAG=            v${PKGVERSION_NOREV}

Index: pkgsrc/shells/oh-my-posh/distinfo
diff -u pkgsrc/shells/oh-my-posh/distinfo:1.188 pkgsrc/shells/oh-my-posh/distinfo:1.189
--- pkgsrc/shells/oh-my-posh/distinfo:1.188     Thu Oct 24 07:40:37 2024
+++ pkgsrc/shells/oh-my-posh/distinfo   Fri Nov  8 09:07:27 2024
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.188 2024/10/24 07:40:37 pin Exp $
+$NetBSD: distinfo,v 1.189 2024/11/08 09:07:27 pin Exp $
 
 BLAKE2s (dario.cat_mergo_@v_v1.0.1.mod) = 0af2e8f4417b8a004650a071a3fcd9716e3bb01ac60f24dc579155e301d2911f
 SHA512 (dario.cat_mergo_@v_v1.0.1.mod) = 706f0038b07866385f4d91a8a28e4b9648c1bd45f0f7124f97069bfa1af16ce6ea77fadd0585c050996c9a36001151b68bdd1d6a6c44fd8645865ef76a7c0c57
@@ -84,24 +84,24 @@ Size (github.com_charmbracelet_bubbles_@
 BLAKE2s (github.com_charmbracelet_bubbles_@v_v0.20.0.zip) = 77672e7e7fd8d5d2d689cbad6e357ac17b4ba28b4db63f9fec2c72cba3a38f9c
 SHA512 (github.com_charmbracelet_bubbles_@v_v0.20.0.zip) = 2b224f2803420f257eadcc9d552a19c443dede025ecff92978957ca31dd2b4bf142b742f5e61a6c9a79a4bbf7ee814e07298b3f51db2861a593d76208f9cf142
 Size (github.com_charmbracelet_bubbles_@v_v0.20.0.zip) = 93604 bytes
-BLAKE2s (github.com_charmbracelet_bubbletea_@v_v1.1.1.mod) = b71fbd3c31ae7f5e598042d63a09f548e13a1e9e17fecf42113e84ba343c13b0
-SHA512 (github.com_charmbracelet_bubbletea_@v_v1.1.1.mod) = 03353b4e6d2752088a580f122b1ab4afc39444452a989a7e58ccfb98ca655d86e81f5cc48c7087fe8966c81aa3185d92ef8c93262b56772da97520dc5cc4552b
-Size (github.com_charmbracelet_bubbletea_@v_v1.1.1.mod) = 796 bytes
-BLAKE2s (github.com_charmbracelet_bubbletea_@v_v1.1.1.zip) = 02d8f25d63096937aaa88f6a91aa64c661177d30014071b5eccdccb9852b5d89
-SHA512 (github.com_charmbracelet_bubbletea_@v_v1.1.1.zip) = 918ab9af5b9edba3c018a129d88b710c084ca48d10ed9b6b0349ba934143a89489a2da3e7b4b486a63c8a14c9853bd70307fc0dcb5dfacc8f81434d9e9f579f8
-Size (github.com_charmbracelet_bubbletea_@v_v1.1.1.zip) = 74390 bytes
-BLAKE2s (github.com_charmbracelet_lipgloss_@v_v0.13.1.mod) = 3a391572ebdc20866c07decabad5a087357b7dff8b3312ee609b3f063e7098f6
-SHA512 (github.com_charmbracelet_lipgloss_@v_v0.13.1.mod) = 2976db4c62f560fb7a78cd0e5496ca6b2b88eda8b212b94f09802978035ee21bf0a8626712df6cccb591a0e7c8fcfca94e113bd41a084a24025944aeb0460836
-Size (github.com_charmbracelet_lipgloss_@v_v0.13.1.mod) = 737 bytes
-BLAKE2s (github.com_charmbracelet_lipgloss_@v_v0.13.1.zip) = 73c9f80f9d7c9e06b2c56bf9dcf63e9ae970a5c4993401a7aae8ba563066cc72
-SHA512 (github.com_charmbracelet_lipgloss_@v_v0.13.1.zip) = 2a065ede3c78a818890dc89288d0093aea28cefd49906bf00c59d357d4dd15a480b4f6c09358a6aadf8c1f9ce460ff6cb3793b1f5a379a55aa14789d19f93f99
-Size (github.com_charmbracelet_lipgloss_@v_v0.13.1.zip) = 77577 bytes
-BLAKE2s (github.com_charmbracelet_x_ansi_@v_v0.3.2.mod) = dbd02935c3b8a3e1e36fd01a9ff14d3999b9a5786f5c9a3d0166d3f34b886518
-SHA512 (github.com_charmbracelet_x_ansi_@v_v0.3.2.mod) = 1a26e40cf2653f9555a3e04c33cd21973f00eeae64520bac2c83c2b04244d7062f3a203c19638ab7d895cb6fff91b0f987daa070f85ed3031c11a18560db6296
-Size (github.com_charmbracelet_x_ansi_@v_v0.3.2.mod) = 87 bytes
-BLAKE2s (github.com_charmbracelet_x_ansi_@v_v0.3.2.zip) = 328fefe567a7c18f3ed0f5dc9a65afac333fcdbe880650180fb17cae20f5f24d
-SHA512 (github.com_charmbracelet_x_ansi_@v_v0.3.2.zip) = 6917d6ccb2ba6b4ea4b48e6912c2d28513c19b05b01289b74cbf5d480c6cb87e32a81ebae0e8abfe79c939a859bb2de002eb180d6d37c25d67f5eb4130489d54
-Size (github.com_charmbracelet_x_ansi_@v_v0.3.2.zip) = 76756 bytes
+BLAKE2s (github.com_charmbracelet_bubbletea_@v_v1.2.0.mod) = 7d8f5ab30222e2efba9f79d5c195a28c599873601986091bd8b556c5d8c4c5b0
+SHA512 (github.com_charmbracelet_bubbletea_@v_v1.2.0.mod) = 2439b97e1a5495be2882ca751eca00c8f54306636c9b8fa3e727780ade56835a0b650389eb8ca69783f87eee5b529760c63639b6bde151921e199bf75c9f97da
+Size (github.com_charmbracelet_bubbletea_@v_v1.2.0.mod) = 795 bytes
+BLAKE2s (github.com_charmbracelet_bubbletea_@v_v1.2.0.zip) = a95b415d275e9237f5e19dfc07bfa37c521f2aeb21a995a7b4c13975de23ae2e
+SHA512 (github.com_charmbracelet_bubbletea_@v_v1.2.0.zip) = 48ba1886bd84f3eff136f405f6e695ae21a8205b8f5e0b2f46a1a32d3a0e6dd80463d862432ba97867d5facb22ea10b8870757d1abccfb3458897bfeffc05892
+Size (github.com_charmbracelet_bubbletea_@v_v1.2.0.zip) = 73343 bytes
+BLAKE2s (github.com_charmbracelet_lipgloss_@v_v1.0.0.mod) = a65dfb06dd100fbf3d58cdc34cdc5ccf8c0592b33b496591769a9ee3c55310cc
+SHA512 (github.com_charmbracelet_lipgloss_@v_v1.0.0.mod) = 9db38f7c97428f2ea7772259b54f070b5508e70d165c201831aa8c62185d4ce1ca670f55cd9761c02afe1a71b99728dc05fe6b3246af053a745f845ccd2c5788
+Size (github.com_charmbracelet_lipgloss_@v_v1.0.0.mod) = 737 bytes
+BLAKE2s (github.com_charmbracelet_lipgloss_@v_v1.0.0.zip) = da2856ee69f9637383481b9439a8889d866b35bb6ad0468c707497c796ca0a03
+SHA512 (github.com_charmbracelet_lipgloss_@v_v1.0.0.zip) = cf86cf7964af86fde38dab166bc3c1921637c2cff51f8e621092d696ce71e7c7e9fb0ca542556e724b458b9d2506f9ac86cd1d67b5eb5de725d94127b4259cc8
+Size (github.com_charmbracelet_lipgloss_@v_v1.0.0.zip) = 78779 bytes
+BLAKE2s (github.com_charmbracelet_x_ansi_@v_v0.4.5.mod) = dbd02935c3b8a3e1e36fd01a9ff14d3999b9a5786f5c9a3d0166d3f34b886518
+SHA512 (github.com_charmbracelet_x_ansi_@v_v0.4.5.mod) = 1a26e40cf2653f9555a3e04c33cd21973f00eeae64520bac2c83c2b04244d7062f3a203c19638ab7d895cb6fff91b0f987daa070f85ed3031c11a18560db6296
+Size (github.com_charmbracelet_x_ansi_@v_v0.4.5.mod) = 87 bytes
+BLAKE2s (github.com_charmbracelet_x_ansi_@v_v0.4.5.zip) = 70fd4a314e544994d7b0f76a1fa70753328e622be2163daa4871b4453c2d9ae8
+SHA512 (github.com_charmbracelet_x_ansi_@v_v0.4.5.zip) = ebecfdcbcade38bd527314ad6c90a6652e2e74c1a0b536b9eaaf5abbb88080069dcc625f7e069d7b2b28ea04da926fe52ed3d4f9cc36f4def8edbf7dd5a045ea
+Size (github.com_charmbracelet_x_ansi_@v_v0.4.5.zip) = 77609 bytes
 BLAKE2s (github.com_charmbracelet_x_term_@v_v0.2.0.mod) = 11c550b9c2f07270fcc2d4915f5a559ceaf8ea805ad720e8770c40ed21b01544
 SHA512 (github.com_charmbracelet_x_term_@v_v0.2.0.mod) = ab7686e9829cc3ded78959ee33eb2753d30878aad2bb84b0d41c4c0c3ac81ab2c2caab6cfc05901064c2d5faff96c9d4e9fb96f3d51ff581d68380fa2baf32cd
 Size (github.com_charmbracelet_x_term_@v_v0.2.0.mod) = 82 bytes
@@ -561,8 +561,8 @@ Size (gopkg.in_yaml.v3_@v_v3.0.1.mod) = 
 BLAKE2s (gopkg.in_yaml.v3_@v_v3.0.1.zip) = 2e80fa896e65b1ae160400012c71aeac70e22a31cac82ec4921c85a93d65774c
 SHA512 (gopkg.in_yaml.v3_@v_v3.0.1.zip) = d57b0d42c71ad6503415e42979b51b0dc7f6344072c728ab2e3d4bab88da7b7d775e7f261868909f990f6b44aed6c533966c97bbe333a0acd65fc8bac9d1d4ff
 Size (gopkg.in_yaml.v3_@v_v3.0.1.zip) = 104623 bytes
-BLAKE2s (oh-my-posh-23.20.3.tar.gz) = fad1511cdccf82cde5dab95691073d49dcea09917c056f852847b872b0695a46
-SHA512 (oh-my-posh-23.20.3.tar.gz) = 31e0d8d3634610483a9ed5e743f479e70b7a248a8a4dffc7618e3c130c7c6584b6aea25fb4b4d1d6ebb232451f717f47ae27132cf9e3416f34208d1550260124
-Size (oh-my-posh-23.20.3.tar.gz) = 6670172 bytes
+BLAKE2s (oh-my-posh-24.1.0.tar.gz) = a3e18f61ff30ac28656a8321378e3dee6b8de2d533d1ce165e6efed18e77dea5
+SHA512 (oh-my-posh-24.1.0.tar.gz) = 479a54262baf545f7909f9072e44ac5da4e6bf4c018850147682f3a41d72a3dbb2eab7cfa0a9dd54ea40625486ec930e6a3129043e9dd3477b9add85416a5ca2
+Size (oh-my-posh-24.1.0.tar.gz) = 6664051 bytes
 SHA1 (patch-runtime_battery_battery__solaris.go) = 9e8f8fa10006cadfc7fb9d2b95e7a85bc271315a
 SHA1 (patch-runtime_battery_battery__windows__nix.go) = 8e8863cf8c925a1e409b135e5abf113640f0e708

Index: pkgsrc/shells/oh-my-posh/go-modules.mk
diff -u pkgsrc/shells/oh-my-posh/go-modules.mk:1.76 pkgsrc/shells/oh-my-posh/go-modules.mk:1.77
--- pkgsrc/shells/oh-my-posh/go-modules.mk:1.76 Thu Oct 24 07:40:37 2024
+++ pkgsrc/shells/oh-my-posh/go-modules.mk      Fri Nov  8 09:07:27 2024
@@ -1,4 +1,4 @@
-# $NetBSD: go-modules.mk,v 1.76 2024/10/24 07:40:37 pin Exp $
+# $NetBSD: go-modules.mk,v 1.77 2024/11/08 09:07:27 pin Exp $
 
 GO_MODULE_FILES+=      dario.cat/mergo/@v/v1.0.1.mod
 GO_MODULE_FILES+=      dario.cat/mergo/@v/v1.0.1.zip
@@ -28,12 +28,12 @@ GO_MODULE_FILES+=   github.com/aymanbagaba
 GO_MODULE_FILES+=      github.com/aymanbagabas/go-osc52/v2/@v/v2.0.1.zip
 GO_MODULE_FILES+=      github.com/charmbracelet/bubbles/@v/v0.20.0.mod
 GO_MODULE_FILES+=      github.com/charmbracelet/bubbles/@v/v0.20.0.zip
-GO_MODULE_FILES+=      github.com/charmbracelet/bubbletea/@v/v1.1.1.mod
-GO_MODULE_FILES+=      github.com/charmbracelet/bubbletea/@v/v1.1.1.zip
-GO_MODULE_FILES+=      github.com/charmbracelet/lipgloss/@v/v0.13.1.mod
-GO_MODULE_FILES+=      github.com/charmbracelet/lipgloss/@v/v0.13.1.zip
-GO_MODULE_FILES+=      github.com/charmbracelet/x/ansi/@v/v0.3.2.mod
-GO_MODULE_FILES+=      github.com/charmbracelet/x/ansi/@v/v0.3.2.zip
+GO_MODULE_FILES+=      github.com/charmbracelet/bubbletea/@v/v1.2.0.mod
+GO_MODULE_FILES+=      github.com/charmbracelet/bubbletea/@v/v1.2.0.zip
+GO_MODULE_FILES+=      github.com/charmbracelet/lipgloss/@v/v1.0.0.mod
+GO_MODULE_FILES+=      github.com/charmbracelet/lipgloss/@v/v1.0.0.zip
+GO_MODULE_FILES+=      github.com/charmbracelet/x/ansi/@v/v0.4.5.mod
+GO_MODULE_FILES+=      github.com/charmbracelet/x/ansi/@v/v0.4.5.zip
 GO_MODULE_FILES+=      github.com/charmbracelet/x/term/@v/v0.2.0.mod
 GO_MODULE_FILES+=      github.com/charmbracelet/x/term/@v/v0.2.0.zip
 GO_MODULE_FILES+=      github.com/cpuguy83/go-md2man/v2/@v/v2.0.4.mod



Home | Main Index | Thread Index | Old Index