Skip to content

Commit 6c9c7d3

Browse files
Merge remote-tracking branch 'origin/master' into lib-refactor
* origin/master: update opam availability fix a couple of opam ci test issues v 0.2.0 fix cmd description for new
2 parents 3dd950e + 5aae848 commit 6c9c7d3

File tree

6 files changed

+22
-14
lines changed

6 files changed

+22
-14
lines changed

CHANGES.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
## Unreleased
2+
- Refactor passage to be lib-first. Commands and utility functions are now available for usage by lib users
3+
- Update os availability in opam. Not available in macos anymore.
4+
5+
## 0.2.0 (2025-11-26)
26
- Update refresh command to handle users and groups via the @<user_or_group> target syntax
37
- Add --version flag to passage command
4-
- Refactor passage to be lib-first. Commands and utility functions are now available for usage by lib users
8+
- Fix the command description for `new`
59

610
## 0.1.8 (2025-10-21)
711
- deep refactor of the code

bin/main.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ module New = struct
483483
with Failure s -> Shell.die "%s" s
484484

485485
let new_ =
486-
let doc = "interactive creation of a new single-line secret" in
486+
let doc = "interactive creation of a new secret" in
487487
let info = Cmd.info "new" ~doc in
488488
let term = Term.(const create_new_secret $ Flags.secret_name) in
489489
Cmd.v info term

dune-project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
(license "MIT")
1010

11-
(version "0.1.8")
11+
(version "0.2.0")
1212

1313
(source
1414
(github ahrefs/passage))

passage.opam

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is generated by dune, edit dune-project instead
22
opam-version: "2.0"
3-
version: "0.1.8"
3+
version: "0.2.0"
44
synopsis: "Passage - used to store and manage access to shared secrets"
55
description: "Passage - used to store and manage access to shared secrets"
66
maintainer: ["Ahrefs Pte Ltd <[email protected]>"]
@@ -41,13 +41,15 @@ build: [
4141
]
4242
]
4343
dev-repo: "git+https://github.com/ahrefs/passage.git"
44-
available: os != "win32"
44+
available: os != "win32" & os != "macos"
4545
x-ci-accept-failures: [
46-
"alpine-3.20"
46+
"alpine-3.22"
47+
"centos-9"
4748
"archlinux"
4849
"debian-11"
49-
"fedora-39"
50-
"fedora-40"
50+
"fedora-41"
51+
"fedora-42"
52+
"fedora-43"
5153
"opensuse-15.6"
5254
"opensuse-tumbleweed"
5355
]

passage.opam.template

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
available: os != "win32"
1+
available: os != "win32" & os != "macos"
22
x-ci-accept-failures: [
3-
"alpine-3.20"
3+
"alpine-3.22"
4+
"centos-9"
45
"archlinux"
56
"debian-11"
6-
"fedora-39"
7-
"fedora-40"
7+
"fedora-41"
8+
"fedora-42"
9+
"fedora-43"
810
"opensuse-15.6"
911
"opensuse-tumbleweed"
1012
]

tests/setup_fixtures.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ check_age_file_format() {
2121
else echo "FAIL: age file does not starts with expected $begin_header"
2222
fi
2323

24-
if [ "$(grep -c --fixed-strings -- "$begin_header" "$file")" -eq 1 ]
24+
if [ "$(grep -c -- "$begin_header" "$file")" -eq 1 ]
2525
then echo "OK: age file only has 1 occurrence of $begin_header"
2626
else echo "FAIL: age file has multiple occurrence of $begin_header"
2727
fi
@@ -33,7 +33,7 @@ check_age_file_format() {
3333
echo "FAIL: age file does not ends with expected $end_header"
3434
fi
3535

36-
if [ "$(grep -c --fixed-strings -- "$end_header" "$file")" -eq 1 ]
36+
if [ "$(grep -c -- "$end_header" "$file")" -eq 1 ]
3737
then echo "OK: age file only has 1 occurrence of $end_header"
3838
else echo "FAIL: age file has multiple occurrence of $end_header"
3939
fi

0 commit comments

Comments
 (0)