24 Commits

Author SHA256 Message Date
3b17eded70 Accepting request 1309824 from utilities
OBS-URL: https://build.opensuse.org/request/show/1309824
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glow?expand=0&rev=8
2025-10-08 16:27:03 +00:00
ae5cb5aa0c - Add fix-CVE-2025-47911_CVE-2025-58190.patch
* Fix "html: impose open element stack size limit"
    - CVE-2025-47911 (gh#golang/go#75682) (bsc#1251462)
    - 59706cdaa8
  * Fix "html: align in row insertion mode with spec"
    - CVE-2025-58190 (gh#golang/go#70179) (bsc#1251720)
    - 6ec8895aa5
  * The patch was created using a diff from golang.org/x/net
    version 0.40.0 to version 0.45.0

OBS-URL: https://build.opensuse.org/package/show/utilities/glow?expand=0&rev=23
2025-10-08 15:48:55 +00:00
7920b999b0 Accepting request 1282925 from utilities
- Update to 2.1.1:
  * fix all linting issues (@andreynering)
  * watch for dir instead of file to work on all scenarios (#734)
    (@Ktrod)
  * handle case when selected md is nil (@MarkusBillharz)
  * only show edit if documents are available (@MarkusBillharz)
  * sync viewport on half page up/down to prevent duplicate strings
    in render (#756) (@Ktrod)
  * tui mode handling of remote urls (#744) (@glwbr)
  * update .golangci.yml for v2 (@andreynering)
- Remove fix_cve_2025_22872.patch (solved upstream)
  * bump golang.org/x/net from 0.27.0 to 0.40.0

OBS-URL: https://build.opensuse.org/request/show/1282925
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glow?expand=0&rev=7
2025-06-05 18:34:11 +00:00
8548048147 - Update to 2.1.1:
* fix all linting issues (@andreynering)
  * watch for dir instead of file to work on all scenarios (#734)
    (@Ktrod)
  * handle case when selected md is nil (@MarkusBillharz)
  * only show edit if documents are available (@MarkusBillharz)
  * sync viewport on half page up/down to prevent duplicate strings
    in render (#756) (@Ktrod)
  * tui mode handling of remote urls (#744) (@glwbr)
  * update .golangci.yml for v2 (@andreynering)
- Remove fix_cve_2025_22872.patch (solved upstream)
  * bump golang.org/x/net from 0.27.0 to 0.40.0

OBS-URL: https://build.opensuse.org/package/show/utilities/glow?expand=0&rev=21
2025-06-02 04:28:26 +00:00
0d30d5b5e7 Accepting request 1272967 from utilities
OBS-URL: https://build.opensuse.org/request/show/1272967
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glow?expand=0&rev=6
2025-04-27 20:54:41 +00:00
d4c851a565 - Add fix_cve_2025_22872.patch to patch CVE-2025-22872 (bsc#1241812)
- Add man page
- Clean up spec file

OBS-URL: https://build.opensuse.org/package/show/utilities/glow?expand=0&rev=19
2025-04-27 18:28:22 +00:00
b5d1c08fd7 Accepting request 1256392 from utilities
OBS-URL: https://build.opensuse.org/request/show/1256392
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glow?expand=0&rev=5
2025-03-27 21:33:03 +00:00
Andreas Schneider
3d015f7c6f - Update to 2.1.0:
* At last: Glow will watch your markdown files and reload ’em
    as they change. No knobs and no settings: it just works.
    Also, there is a new flag available to open files with the
    built-in pager: glow --tui README.md
  New
  * add new --tui / -t flag
  * make --all configurable globally
  * support GLAMOUR_STYLE for custom pager styles
  * watch for file changes and reload automatically
  Fixes
  * correct abs to rel path conversion
  * ensure r key works when filtering files
  * fallback to the current directory if no argument was given
  * make all setting false by default
  * make pipeline for tui work
  * remove more stash-related stuff
  * restore hint for e / edit on the footer

OBS-URL: https://build.opensuse.org/package/show/utilities/glow?expand=0&rev=17
2025-03-27 06:27:57 +00:00
e8d65d7b41 Accepting request 1227484 from utilities
OBS-URL: https://build.opensuse.org/request/show/1227484
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glow?expand=0&rev=4
2024-11-30 12:32:10 +00:00
OBS User smolsheep
8bcbb8a2f9 Accepting request 1206290 from home:smolsheep:upgrades
My apologies @gladiac -- this got removed somehow so I redid the previous SR but more up to my standards. https://build.opensuse.org/request/show/1195848
- Enable actual go tests instead of just checking version
- Remove patches fixed upstream:
  fix-for-go-117.patch and fix-gitignore-bypass.patch
- Switch _service from deprecated disabled to modern manual and
  use upstream tarball instead
- Update to 2.0.0:
  * This release contains a massive amount of bug fixes and
    rendering improvements, many of which come by way of Glamour
    v0.8.0 which was released a few weeks ago. As a bonus, the
    latest version of Glamour includes support for Tokyo Night.
  New
  * --preserve-new-lines
  * add 'r' to refresh list and document
  * allow --width=0 to disable wordwrap
  * allow config from CHARM_CONFIG_HOME and XDG_CONFIG_HOME
  * open editor in current line
  * shell completions
  * show line numbers configuration option
  Fixes
  * --all bypass .gitignore rules
  * pass color profile down to glamour
  * check other possible readme paths/branches
  * replace string concatenation in loop with string builder
  * config failing in tests
  * do not hard fail if no config
  * do not show absolute path as note
  * handle not being able to create log file
  * handle permission denied
  * handle running inside a snap

OBS-URL: https://build.opensuse.org/request/show/1206290
OBS-URL: https://build.opensuse.org/package/show/utilities/glow?expand=0&rev=15
2024-11-30 08:21:21 +00:00
Andreas Schneider
9f6db68714 Accepting request 1146765 from home:smolsheep:upgrades
- Enabled completions for bash, zsh and fish.

This should resolve the documentation issue. I took the liberty of updating the deprecated disabledrun to manualrun.

OBS-URL: https://build.opensuse.org/request/show/1146765
OBS-URL: https://build.opensuse.org/package/show/utilities/glow?expand=0&rev=14
2024-02-18 13:11:19 +00:00
c900420b13 Accepting request 1093089 from utilities
OBS-URL: https://build.opensuse.org/request/show/1093089
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glow?expand=0&rev=3
2023-06-14 14:31:25 +00:00
Andreas Schneider
3eebde1f28 Accepting request 1092891 from home:uncomfyhalomacro:branches:utilities
- Add fix-gitignore-bypass.patch.
  * This patch will fix where setting `--all` to see hidden files
    does not work for gitignore-ed files.

OBS-URL: https://build.opensuse.org/request/show/1092891
OBS-URL: https://build.opensuse.org/package/show/utilities/glow?expand=0&rev=12
2023-06-14 09:57:34 +00:00
9fe220c3b6 Accepting request 1090745 from utilities
OBS-URL: https://build.opensuse.org/request/show/1090745
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glow?expand=0&rev=2
2023-06-04 14:42:23 +00:00
Andreas Schneider
4730a46a60 Accepting request 1090696 from home:smolsheep:upgrades
This should hopefully adhere more closely to the previous request.

OBS-URL: https://build.opensuse.org/request/show/1090696
OBS-URL: https://build.opensuse.org/package/show/utilities/glow?expand=0&rev=10
2023-06-04 12:02:20 +00:00
Andreas Schneider
4be0dc69c3 Accepting request 1089929 from home:smolsheep:upgrades
- Update to version 1.5.1:
  - docs: fix typos by @kianmeng in #471
  - fix: rm emoji from package description by @caarlos0 in #453
  - fix: improve editor handling by @caarlos0 in #449
  - fix: lazily init UI by @muesli in #494
  - fix-for-go-117.patch added as vendoring was incorrect

OBS-URL: https://build.opensuse.org/request/show/1089929
OBS-URL: https://build.opensuse.org/package/show/utilities/glow?expand=0&rev=9
2023-06-01 16:23:23 +00:00
dc0df633ad Accepting request 1071477 from utilities
I want to add glow to openSUSE:Factory

OBS-URL: https://build.opensuse.org/request/show/1071477
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glow?expand=0&rev=1
2023-03-17 16:02:41 +00:00
Andreas Schneider
3e03afb85c Accepting request 1070515 from home:uncomfyhalomacro:branches:utilities
- Add README.suse-maint.md to sources in specfile.

This fixes issues with OBS rejecting since the file is not added to sources.

OBS-URL: https://build.opensuse.org/request/show/1070515
OBS-URL: https://build.opensuse.org/package/show/utilities/glow?expand=0&rev=7
2023-03-13 14:55:48 +00:00
Andreas Schneider
d143734d40 Accepting request 1067482 from home:uncomfyhalomacro:branches:utilities
- Update to version 1.5.0:
  * New Features
    - a07fdb7: feat(ui): e to open edit local markdown files in editor
    - 071783d: feat: copy contents of document
    - b36e5ad: feat: sync glow with git.charm.sh
  * Bug fixes
    - d9bf3b8: fix: don't close HTTP body
    - 5f14914: fix: editor with args
    - 01d9858: fix: goreleaser workflow
    - 6543979: fix: performance scrolling
    - 19732a6: fix: support hard line breaks
    - e0d667a: fix: use filepath.Dir instead of path.Dir
  * Others
    - 8138788: Automatically read from stdin if stdin is a pipe
    - db7f49b: Bump Bubbles to v0.14.0, update accordingly, and simplify spinners
    - ff59ead: Extend example how to read from stdin
    - dd1593b: Keybindings for editing the document from the pager
- Format and update specfile
- Disable LTO to prevent build failures on some architectures.
- Use zstd compression for vendored deps tarball

OBS-URL: https://build.opensuse.org/request/show/1067482
OBS-URL: https://build.opensuse.org/package/show/utilities/glow?expand=0&rev=6
2023-02-27 06:32:00 +00:00
Andreas Schneider
b66ce1803a Update to version 1.4.1
OBS-URL: https://build.opensuse.org/package/show/utilities/glow?expand=0&rev=5
2021-07-09 07:11:16 +00:00
Andreas Schneider
03ac6e95d0 Update to version 1.4.0
OBS-URL: https://build.opensuse.org/package/show/utilities/glow?expand=0&rev=4
2021-03-15 09:05:57 +00:00
Andreas Schneider
70cdd27fd7 Update to version 1.2.1
OBS-URL: https://build.opensuse.org/package/show/utilities/glow?expand=0&rev=3
2020-11-25 08:48:34 +00:00
Andreas Schneider
823b2652e8 Update to version 1.1.0
OBS-URL: https://build.opensuse.org/package/show/utilities/glow?expand=0&rev=2
2020-10-28 07:33:35 +00:00
3409a7c011 Accepting request 842397 from home:gladiac
A tool to render markdown on the CLI nicely.

OBS-URL: https://build.opensuse.org/request/show/842397
OBS-URL: https://build.opensuse.org/package/show/utilities/glow?expand=0&rev=1
2020-10-19 21:37:00 +00:00