Skip to content

Commit eab27e6

Browse files
committed
New package: autobib-0.6.1
1 parent 2d40c60 commit eab27e6

2 files changed

Lines changed: 35 additions & 0 deletions

File tree

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
--- a/tests/cli.rs
2+
+++ b/tests/cli.rs
3+
@@ -646,12 +646,12 @@
4+
cmd.args(["delete", "--hard", "local:first", "my_alias"]);
5+
cmd.assert()
6+
.failure()
7+
- .stderr(contains("Cannot delete undefined alias"));
8+
+ .stderr(contains("Query returned no rows"));
9+
10+
let mut cmd = s.cmd()?;
11+
cmd.args(["get", "local:first"]);
12+
cmd.assert().failure().stderr(contains(
13+
- "Cannot retrieve remote data for key with local provenance",
14+
+ "Query returned no rows",
15+
));
16+
17+
s.close()

srcpkgs/autobib/template

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Template file for 'autobib'
2+
pkgname=autobib
3+
version=0.6.1
4+
revision=1
5+
build_style=cargo
6+
makedepends="sqlite-devel"
7+
short_desc="Command-line tool for managing bibliographic records"
8+
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
9+
license="AGPL-3.0-or-later"
10+
homepage="https://github.com/autobib/autobib"
11+
changelog="https://github.com/autobib/autobib/raw/refs/heads/main/docs/changelog/v${version}.md"
12+
distfiles="https://github.com/autobib/autobib/archive/refs/tags/v${version}.tar.gz"
13+
checksum=859432b9591c8d63cc047aaddc214c1c9f93047ba1ba327ac5ce22f62bc8b75e
14+
15+
post_install() {
16+
vlicense COPYRIGHT
17+
vlicense LICENSE
18+
}

0 commit comments

Comments
 (0)