head	1.9;
access;
symbols
	pkgsrc-2026Q1:1.9.0.2
	pkgsrc-2026Q1-base:1.9
	pkgsrc-2025Q4:1.6.0.2
	pkgsrc-2025Q4-base:1.6
	pkgsrc-2025Q3:1.5.0.4
	pkgsrc-2025Q3-base:1.5
	pkgsrc-2025Q2:1.5.0.2
	pkgsrc-2025Q2-base:1.5
	pkgsrc-2025Q1:1.4.0.2
	pkgsrc-2025Q1-base:1.4;
locks; strict;
comment	@# @;


1.9
date	2026.02.20.05.20.57;	author pin;	state Exp;
branches;
next	1.8;
commitid	o8nJfpECGY5FH4vG;

1.8
date	2026.01.21.14.51.26;	author pin;	state Exp;
branches;
next	1.7;
commitid	V8DUUVyEI5b6PgrG;

1.7
date	2026.01.21.14.44.00;	author pin;	state Exp;
branches;
next	1.6;
commitid	iOzektL61U7CMgrG;

1.6
date	2025.09.28.19.47.24;	author schmonz;	state Exp;
branches;
next	1.5;
commitid	LYpDlPv004ST9wcG;

1.5
date	2025.05.09.15.08.49;	author schmonz;	state Exp;
branches;
next	1.4;
commitid	EOocntCaRzlkbfUF;

1.4
date	2025.02.26.00.49.17;	author schmonz;	state Exp;
branches;
next	1.3;
commitid	497AXBKTAdoWJUKF;

1.3
date	2025.02.08.18.22.24;	author schmonz;	state Exp;
branches;
next	1.2;
commitid	Gu5uaLBHquR59HIF;

1.2
date	2025.02.02.07.24.32;	author wiz;	state Exp;
branches;
next	1.1;
commitid	5HGGcfkIjBPkHRHF;

1.1
date	2025.02.01.19.19.24;	author schmonz;	state Exp;
branches;
next	;
commitid	Bdk6BXHwhfhBGNHF;


desc
@@


1.9
log
@devel/codeberg-cli: update to 0.5.5

 - No ChangeLog provided.
@
text
@# $NetBSD: Makefile,v 1.8 2026/01/21 14:51:26 pin Exp $

DISTNAME=	codeberg-cli-0.5.5
CATEGORIES=	devel
MASTER_SITES=	${HOMEPAGE}archive/
SITES.${DISTNAME}.tar.gz=	-${MASTER_SITES}v${PKGVERSION_NOREV}${EXTRACT_SUFX}

MAINTAINER=	schmonz@@NetBSD.org
HOMEPAGE=	https://codeberg.org/Aviac/codeberg-cli/
COMMENT=	CLI for codeberg and forgejo similar to gh, glab and tea
LICENSE=	gnu-agpl-v3

WRKSRC=		${WRKDIR}/${PKGBASE}

USE_LANGUAGES=	c
USE_TOOLS+=	pkg-config

RUSTFLAGS+=	-C link-arg=${COMPILER_RPATH_FLAG}${SSLBASE}/lib

.include "cargo-depends.mk"

.include "../../lang/rust/cargo.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.8
log
@codeberg-cli: restore correct license
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2026/01/21 14:44:00 pin Exp $
d3 1
a3 1
DISTNAME=	codeberg-cli-0.5.4
@


1.7
log
@devel/codeberg-cli: update to 0.5.4

## v0.5.4 (81a8f29..3901783)
#### Features
- (**keys**) add `keys` subcommands for gpg/ssh key management - (ac6303d) - aviac
- (**keys/gpg**) implement verification of keys - (3901783) - aviac
- (**repo/clone**) allow cloning with implicit user - (06beeae) - aviac
- (**token**) allow sourcing token via env var - (5bf6840) - aviac
- (**tracing**) remove tracing in release builds completely - (b3fe738) - aviac
#### Bug Fixes
- (**issue/create**) inform and don't fail on missing labels - (56666f3) - aviac
#### Miscellaneous Chores
- (**repo/info**) remove owner/repo arg again ... there's a global arg for it - (81a8f29) - aviac

## v0.5.3 (bbcfb27..8cfd4d5)
#### Features
- (**CLI**) add custom user agent for codeberg-cli - (d14f3e0) - aviac
- (**cli**) allow pull number in CLI as arg - (4793c02) - aviac
- (**issue**) display state in `issue view` - (53b5dac) - aviac
- (**repo/clone**) confirm prompt before cloning if interactive - (399bb98) - aviac
- (**repo/create**) optional clone at the end of repo create - (b697df8) - aviac
- (**repo/delete**) allow deleting own repos without specifying owner - (f43a4a1) - aviac
- (**repo/info**) show repo visibility - (e9bce5a) - aviac
- (**repo/info**) support inspecting other repos other than current - (9a6a4d4) - aviac
#### Bug Fixes
- (**CLI/output**) fix various display width issues - (bbcfb27) - aviac
- (**pull-request**) fix displayed pull request number - (901e9a8) - aviac
- (**repo/clone**) using git2 makes clone fail here - (fd1d8a0) - aviac
- (**state**) editing state had no effect - (f81fb10) - aviac
#### Tests
- (**nix**) interactive issue state change test - (a658a11) - aviac
#### Refactoring
- (**errors**) migrate `anyhow` -> `miette` - (2cf0ad7) - aviac
- (**git/clone**) use git2 instead of process calling - (8fbf410) - aviac
#### Miscellaneous Chores
- (**maintenance**) bump forgejo-api 0.8 -> 0.9 - (8c2df99) - aviac
- (**nix/checks**) make nix checks happy - (8cfd4d5) - aviac

## v0.5.2 (5171348..0ba9e5a)
#### Features
- <span style="background-color: #d73a49; color: white; padding: 2px 6px; border-radius: 3px; font-weight: bold; font-size: 0.85em;">BREAKING</span>(**auth**) rework authentication to work per instance - (a7776b3) - aviac
- (**config**) try to auto-infer base_url from git remote 'origin' - (6c21415) - aviac
- (**internal**) new git method to get `origin` remote specifically - (a9b99b1) - aviac
- (**issue**) add tests for issue subcommands + fix a bunch of stuff - (5171348) - aviac
- add colors to --help/-h (#262) - (4e8a28d) - Filip Czaplicki
- implement basic branch subcommands - (3ffb41e) - aviac
- add --repo flag to all repository-dependent commands (#248) - (ecfab5b) - Tim Stoop
- added a open repo in browser command (#241) - (ce43ce9) - lunatrium
- add home-manager module (#246) - (df490ed) - zwiebelkuchen
- add state filter to issue list command (#247) - (2719687) - Tim Stoop
- add --repo flag to issue and pull list commands (#242) - (896fd59) - Tim Stoop
- make global options actually global - (b3149e9) - aviac
#### Bug Fixes
- (**auth/token**) make berg store the token as writable by the owner - (6b903d5) - aviac
- add regression tests and fix issue #224 (#258) - (4f28814) - aviac
- release create had needless errors (#257) - (edba0c1) - aviac
- repo info now accepts OWNER/REPO without git repository (#245) - (496b3b2) - Tim Stoop
#### Tests
- (**nix**) adjust token perms test to latest changes - (7bddc7b) - aviac
- (**nix**) add `user info` and `issue view` interactive tests - (27e6697) - aviac
- (**nix**) add an interactive test for `berg repo open` - (aa5e924) - aviac
- (**nix**) add home-manager module test (#251) - (6767c64) - aviac
- add tests for branch actions - (3e7a4f7) - aviac
- implement `berg pull` tests (#252) - (d2700a9) - aviac
- improve auth logout test tape - (fa25327) - aviac
- add a few more interactive tests - (d312b87) - aviac
- prepare lib for more vhs based checks (#244) - (130276a) - aviac
- vhs test demo 🤠 - (915495c) - aviac
#### Refactoring
- make owner-repo a global arg to prevent repetition - (6c2f5a0) - aviac
- rename general_args -> global_args - (833d5e7) - aviac
#### Miscellaneous Chores
- (**README**) update GIFs with current versions - (f652ff6) - aviac
- (**fix**) hint message was default message - (108de46) - aviac
- (**git**) reword errorneous commit message - (0ba9e5a) - aviac
- (**nix**) add cocogitto back to nix shell - (8adbef8) - aviac
- (**nix**) fix lints from statix - (0d3075b) - aviac
- (**typo**) fix typo - (6df47bd) - aviac
- maintenance work (#269) - (cd41933) - aviac
- run cargo fmt - (ebf21df) - aviac
- use OwnerRepo everywhere and remove parse_owner_and_repo - (fbd7f32) - aviac
- run nix fmt - (b2d6625) - aviac
#### Style
- add fmt.nix with treefmt-nix - (691ca69) - aviac
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2025/09/28 19:47:24 schmonz Exp $
d11 1
a11 1
LICENSE=	mit #gnu-agpl-v3
@


1.6
log
@codeberg-cli: update to 0.5.1. Changes:

- make token actually more secret
- Add a way to list the users' repos
- add commands for release actions
- add repo migrate command
- Add robust tests in NixOS for all non-interactive workflows
- implement json output
- use only actually used features, 285 -> 235 deps
- maintenance
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2025/05/09 15:08:49 schmonz Exp $
d3 1
a3 1
DISTNAME=	codeberg-cli-0.5.1
d11 1
a11 1
LICENSE=	gnu-agpl-v3
@


1.5
log
@codeberg-cli: update to 0.4.11. Changes:

- revert rust 2024 edition
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2025/02/26 00:49:17 schmonz Exp $
d3 1
a3 1
DISTNAME=	codeberg-cli-0.4.11
@


1.4
log
@codeberg-cli: update to 0.4.9. Changes:

- fix crate vulnerabilities
- render nested tables correctly (at least 1 level)
- use the editor from the config file
- fix rustc and clippy warnings
- bump edition to 2024 and update Cargo.lock
- replace LD_LIBRARY_PATH with RUSTFLAGS
- update `fenix` for 1.85 rust toolchain
- Fix typos
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2025/02/08 18:22:24 schmonz Exp $
d3 1
a3 1
DISTNAME=	codeberg-cli-0.4.9
@


1.3
log
@codeberg-cli: update to 0.4.7. Changes:

- options to adapt stdout width
- Add an option to change default editor
- Add options to filter pull requests result
- use `Repository::discover` instead of `open`
- improve error and bump dependencies
- non-codeberg docs in README
- udpate flake.lock and Cargo.lock
- update repo infos everywhere
- directory-rename
- getting owner from https remotes
- properly deduce owner from ssh urls
- add dependency info
- allows creating a repo for an organization
- clone directory options
- add git2 integration for more robust git support
- simplify remote url parsing
- program control flow refactor
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2025/02/02 07:24:32 wiz Exp $
d3 1
a3 1
DISTNAME=	codeberg-cli-0.4.7
@


1.2
log
@codeberg-cli: add pkg-config to tools

Fixes build on NetBSD.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2025/02/01 19:19:24 schmonz Exp $
d3 1
a3 1
DISTNAME=	codeberg-cli-0.4.0
d18 2
@


1.1
log
@Add codeberg-cli: CLI for codeberg and forgejo similar to gh, glab and tea

codeberg-cli is a CLI tool for codeberg and forgejo similar to gh,
glab, and tea.
@
text
@d1 1
a1 1
# $NetBSD$
d16 1
@

