* [PR PATCH] codeberg-cli: update to 0.4.3
@ 2024-07-31 18:08 tranzystorekk
2024-07-31 18:47 ` [PR PATCH] [Merged]: " tranzystorekk
0 siblings, 1 reply; 2+ messages in thread
From: tranzystorekk @ 2024-07-31 18:08 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1258 bytes --]
There is a new pull request by tranzystorekk against master on the void-packages repository
https://github.com/tranzystorekk/void-packages codeberg-cli
https://github.com/void-linux/void-packages/pull/51575
codeberg-cli: update to 0.4.3
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/51575.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-codeberg-cli-51575.patch --]
[-- Type: text/x-diff, Size: 2244 bytes --]
From 6ab41a17a523a23016c117c015f69aba2aaa42dd Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Wed, 31 Jul 2024 20:07:34 +0200
Subject: [PATCH] codeberg-cli: update to 0.4.3
---
srcpkgs/codeberg-cli/patches/downgrade-git2.patch | 13 +++++++++++++
srcpkgs/codeberg-cli/template | 14 +++++++++-----
2 files changed, 22 insertions(+), 5 deletions(-)
create mode 100644 srcpkgs/codeberg-cli/patches/downgrade-git2.patch
diff --git a/srcpkgs/codeberg-cli/patches/downgrade-git2.patch b/srcpkgs/codeberg-cli/patches/downgrade-git2.patch
new file mode 100644
index 00000000000000..45bfb5ed1a59b6
--- /dev/null
+++ b/srcpkgs/codeberg-cli/patches/downgrade-git2.patch
@@ -0,0 +1,13 @@
+diff --git a/Cargo.toml b/Cargo.toml
+index ea57a6d..16d7a4e 100644
+--- a/Cargo.toml
++++ b/Cargo.toml
+@@ -47,7 +47,7 @@ url = "2.5"
+ webbrowser = "1.0"
+
+ forgejo-api = "0.3"
+-git2 = "0.19"
++git2 = "0.18"
+
+ [dev-dependencies]
+ insta = "1.34"
diff --git a/srcpkgs/codeberg-cli/template b/srcpkgs/codeberg-cli/template
index f872042d827c6d..6a17fd7a1f4cf3 100644
--- a/srcpkgs/codeberg-cli/template
+++ b/srcpkgs/codeberg-cli/template
@@ -1,6 +1,6 @@
# Template file for 'codeberg-cli'
pkgname=codeberg-cli
-version=0.4.2
+version=0.4.3
revision=1
build_style=cargo
build_helper=qemu
@@ -9,10 +9,14 @@ makedepends="libgit2-devel openssl-devel"
short_desc="CLI Tool for Codeberg similar to gh and glab"
maintainer="tranzystorekk <tranzystorek.io@protonmail.com>"
license="AGPL-3.0-or-later"
-homepage="https://codeberg.org/RobWalt/codeberg-cli"
-changelog="https://codeberg.org/RobWalt/codeberg-cli/raw/branch/main/CHANGELOG.md"
-distfiles="https://codeberg.org/RobWalt/codeberg-cli/archive/v${version}.tar.gz"
-checksum=1b18eba65e62cf795b955dfd95d8bddb3827833628d27641c88252291f02428c
+homepage="https://codeberg.org/Aviac/codeberg-cli"
+changelog="https://codeberg.org/Aviac/codeberg-cli/raw/branch/main/CHANGELOG.md"
+distfiles="https://codeberg.org/Aviac/codeberg-cli/archive/v${version}.tar.gz"
+checksum=cf439a53846c93adf51bc0911da7489e59828b5be6ad0e50cecd4312e36c52b4
+
+post_patch() {
+ cargo update --package git2@0.19.0 --precise 0.18.3
+}
post_install() {
vlicense LICENSE
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Merged]: codeberg-cli: update to 0.4.3
2024-07-31 18:08 [PR PATCH] codeberg-cli: update to 0.4.3 tranzystorekk
@ 2024-07-31 18:47 ` tranzystorekk
0 siblings, 0 replies; 2+ messages in thread
From: tranzystorekk @ 2024-07-31 18:47 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1090 bytes --]
There's a merged pull request on the void-packages repository
codeberg-cli: update to 0.4.3
https://github.com/void-linux/void-packages/pull/51575
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-07-31 18:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-31 18:08 [PR PATCH] codeberg-cli: update to 0.4.3 tranzystorekk
2024-07-31 18:47 ` [PR PATCH] [Merged]: " tranzystorekk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).