Compare commits
6 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 032496adfd | |||
| db1bbfd726 | |||
| c3a59c5439 | |||
| e8bbedd7c6 | |||
| 25b7247658 | |||
| eeb8ad6741 |
4
_service
Normal file
4
_service
Normal file
@@ -0,0 +1,4 @@
|
||||
<services>
|
||||
<service name="go_modules" mode="disabled">
|
||||
</service>
|
||||
</services>
|
||||
@@ -1,24 +0,0 @@
|
||||
From e3c5784fb84a792491724fe4cc1f26e2c9d01b60 Mon Sep 17 00:00:00 2001
|
||||
From: tjex <tjex@tjex.net>
|
||||
Date: Tue, 19 Nov 2024 10:01:25 +0100
|
||||
Subject: [PATCH] fix test. Set current day one month in advance
|
||||
|
||||
---
|
||||
internal/adapter/handlebars/handlebars_test.go | 4 +++-
|
||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/internal/adapter/handlebars/handlebars_test.go b/internal/adapter/handlebars/handlebars_test.go
|
||||
index 558c2529..975a3c5d 100644
|
||||
--- a/internal/adapter/handlebars/handlebars_test.go
|
||||
+++ b/internal/adapter/handlebars/handlebars_test.go
|
||||
@@ -242,7 +242,9 @@ func TestFormatDateHelper(t *testing.T) {
|
||||
|
||||
func TestFormatDateHelperElapsedYear(t *testing.T) {
|
||||
year := time.Now().UTC().Year() - 14
|
||||
- context := map[string]interface{}{"now": time.Date(year, 11, 17, 20, 34, 58, 651387237, time.UTC)}
|
||||
+ month := time.Now().UTC().Month() + 1
|
||||
+ day := time.Now().UTC().Day()
|
||||
+ context := map[string]interface{}{"now": time.Date(year, month, day, 20, 34, 58, 651387237, time.UTC)}
|
||||
testString(t, "{{format-date now 'elapsed'}}", context, "14 years ago")
|
||||
}
|
||||
|
||||
3
vendor.tar.gz
Normal file
3
vendor.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6bf63195ec74de574d511dde8bcf30f3924242423d4a886f8391935a628ec4bc
|
||||
size 5255824
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:53beffa9f69e99cee00f8529006a6275e011743c39a66736d1828d8a35b9e69b
|
||||
size 4632691
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:563331e1f5a03b4dd3a4ff642cc205cc7b6c3c350c98f627a3273067e7ec234c
|
||||
size 639890
|
||||
3
zk-0.15.2.tar.gz
Normal file
3
zk-0.15.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cd8524ea3be81784336706f68edaafe9b4f21d05e0d7a968065cf685e9afefc1
|
||||
size 657489
|
||||
39
zk.changes
39
zk.changes
@@ -1,3 +1,42 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Dec 21 15:05:38 UTC 2025 - Andrea Manzini <andrea.manzini@suse.com>
|
||||
|
||||
- Update to version 0.15.2
|
||||
* Find notes with missing backlinks using zk list --missing-backlink
|
||||
* LSP diagnostic for missing backlinks when other notes link to current note
|
||||
without reciprocal links
|
||||
* Code action to add missing backlinks
|
||||
* LSP diagnostic for self-referential links
|
||||
* Release tarballs now output the program version
|
||||
* Config path can be set with $ZK_CONFIG_DIR
|
||||
* bump deps: golang.org/x/crypto v0.45.0 fixes CVE-2025-58181
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 20 09:08:47 UTC 2025 - Andrea Manzini <andrea.manzini@suse.com>
|
||||
|
||||
- Update to version 0.15.0
|
||||
* fixed LSP crashes when editing code fences and/or working in text files
|
||||
with code fences
|
||||
* new feature to set a group path "by name", in that any directory with the
|
||||
same name can share the same group rules, no matter how deep in the
|
||||
notebook. See references below.
|
||||
|
||||
- added _service file to help vendor dependencies
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 22 15:24:08 UTC 2025 - Andrea Manzini <andrea.manzini@suse.com>
|
||||
|
||||
- Update to version 0.14.2
|
||||
* Path in .zk/config.toml for the default note template now accepts
|
||||
UNIX "~/paths"
|
||||
* Find notes without tags with zk list --tagless
|
||||
* fix: LSP ignores magnet links as links to notes
|
||||
* fix: Note titles with double quoted words no longer break json output
|
||||
* fix: Grammar in error output
|
||||
* fix: Group rules could not be nested
|
||||
|
||||
- dropped fix_test.patch as already included in upstream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 24 19:36:45 UTC 2024 - Andrea Manzini <andrea.manzini@suse.com>
|
||||
|
||||
|
||||
10
zk.spec
10
zk.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package zk
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,16 +17,15 @@
|
||||
|
||||
|
||||
Name: zk
|
||||
Version: 0.14.1
|
||||
Version: 0.15.2
|
||||
Release: 0
|
||||
Summary: Plain text note-taking assistant for markdown
|
||||
License: BSD-2-Clause
|
||||
Group: System/Shells
|
||||
URL: https://github.com/zk-org/zk
|
||||
Source0: https://github.com/zk-org/zk/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
Source1: vendor.tar.zst
|
||||
Source1: vendor.tar.gz
|
||||
# PATCH-FIX-UPSTREAM fix_test.patch -- based on commit e3c5784fb84a792491724fe4cc1f26e2c9d01b60
|
||||
Patch0: fix_test.patch
|
||||
BuildRequires: c_compiler
|
||||
BuildRequires: zstd
|
||||
BuildRequires: golang(API)
|
||||
@@ -40,7 +39,6 @@ It is a command-line tool helping you to maintain a plain text Zettelkasten or p
|
||||
|
||||
%prep
|
||||
%setup -qa1
|
||||
%autopatch -p1
|
||||
|
||||
%build
|
||||
%ifarch ppc64
|
||||
@@ -60,6 +58,6 @@ make test
|
||||
%files
|
||||
%{_bindir}/%{name}
|
||||
%license LICENSE
|
||||
%doc CHANGELOG.md README.md docs/*.md
|
||||
%doc CHANGELOG.md README.md
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user