10 Commits

Author SHA256 Message Date
22643e2400 Accepting request 1299836 from devel:tools:scm
- update vendor dependencies, fixing bsc#1248047 bsc#1242683 (forwarded request 1299835 from rrahl0)

OBS-URL: https://build.opensuse.org/request/show/1299836
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/forgejo-cli?expand=0&rev=6
2025-08-15 19:52:52 +00:00
Richard Rahl
8f0de6203d - update vendor dependencies, fixing bsc#1248047 bsc#1242683
OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/forgejo-cli?expand=0&rev=14
2025-08-15 14:12:49 +00:00
68cccb967f Accepting request 1291453 from devel:tools:scm
- update vendor tarball, fixing issues with gcc15 (forwarded request 1291452 from rrahl0)

OBS-URL: https://build.opensuse.org/request/show/1291453
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/forgejo-cli?expand=0&rev=5
2025-07-09 15:28:59 +00:00
Richard Rahl
2998e05add Accepting request 1291452 from home:rrahl0
- update vendor tarball, fixing issues with gcc15

OBS-URL: https://build.opensuse.org/request/show/1291452
OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/forgejo-cli?expand=0&rev=12
2025-07-09 09:45:35 +00:00
907c067443 Accepting request 1274968 from devel:tools:scm
- update vendor tarball, fixing bsc#1242683 (forwarded request 1274967 from rrahl0)

OBS-URL: https://build.opensuse.org/request/show/1274968
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/forgejo-cli?expand=0&rev=4
2025-05-07 17:16:46 +00:00
Richard Rahl
bf6a2954d5 Accepting request 1274967 from home:rrahl0
- update vendor tarball, fixing bsc#1242683

OBS-URL: https://build.opensuse.org/request/show/1274967
OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/forgejo-cli?expand=0&rev=10
2025-05-06 14:38:48 +00:00
Richard Rahl
b42a834e4b Accepting request 1274755 from home:ojkastl_buildservice:Branch_devel_tools_scm
update to 0.3.0

OBS-URL: https://build.opensuse.org/request/show/1274755
OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/forgejo-cli?expand=0&rev=9
2025-05-06 11:12:14 +00:00
40397e064a Accepting request 1230725 from devel:tools:scm
- update to 0.2.0:
  * Additions
    - pr create and issue create now have a --web flag that opens
      the creation page in your browser instead of creating it on
      the terminal.
    - pr --agit will create a pull request with agit flow, so you
      don't need to fork the repository.
    - pr status --wait will only exits once all PR checks finish.
    - repo migrate to migrate/mirror repositories from other hosts.
    - repo readme to print a repository's readme to the terminal.
    - version --verbose prints extra info useful for debugging
  * Fixes
    - Public endpoints can now be accessed without authenticating
    - The API will be accessed via the http url even when it
      differs from the ssh url and the local remote points to the
      ssh url.
    - browse commands will no long hang the terminal
    - Local repos will now be found even when in a subdirectory
    - SSH urls in repo remotes will now be parsed correctly
    - Improved pull request detection
- update to 0.1.1:
  * Suggest correct command when OAuth login isn't supported on an
    instance
- update to 0.1.0:
  * feat: add branch guessing on pr creation
  * fix: print message before reading in readline 
  * fix: prioritize remote tracking branch in repo detection 
  * fix: read detected pr from correct repo 
  * fix: pr detection from branch 
  * add status command
  * add user search
  * add list user orgs
  * add list user repos
- initial packaging

OBS-URL: https://build.opensuse.org/request/show/1230725
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/forgejo-cli?expand=0&rev=3
2024-12-13 21:38:14 +00:00
Richard Rahl
549f755830 Accepting request 1230723 from home:ojkastl_buildservice:Branch_devel_tools_scm
wrap changelog and fix builds on 15.5

OBS-URL: https://build.opensuse.org/request/show/1230723
OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/forgejo-cli?expand=0&rev=7
2024-12-13 06:48:57 +00:00
Richard Rahl
f2811a03c6 Accepting request 1230697 from home:rrahl0
- update to 0.2.0:
  * pr create and issue create now have a --web flag that opens the creation
    page in your browser
  * pr --agit will create a pull request with agit flow, so you don't need to
    fork the repository
  * pr status --wait will only exits once all PR checks finish
  * repo migrate to migrate/mirror repositories from other hosts
  * repo readme to print a repository's readme to the terminal
  * version --verbose prints extra info useful for debugging
  * Public endpoints can now be accessed without authenticating
  * The API will be accessed via the http url even when it differs from the ssh
    url and the local remote points to the ssh url
  * browse commands will no long hang the terminal
  * Local repos will now be found even when in a subdirectory
  * SSH urls in repo remotes will now be parsed correctly
  * Improved pull request detection

OBS-URL: https://build.opensuse.org/request/show/1230697
OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/forgejo-cli?expand=0&rev=6
2024-12-13 06:18:02 +00:00
8 changed files with 3001 additions and 13 deletions

2927
Cargo.lock generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -2,7 +2,7 @@
<service name="obs_scm" mode="manual">
<param name="url">https://codeberg.org/Cyborus/forgejo-cli.git</param>
<param name="scm">git</param>
<param name="revision">refs/tags/v0.1.1</param>
<param name="revision">refs/tags/v0.3.0</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(.*)</param>
</service>
@@ -13,6 +13,7 @@
</service>
<service name="cargo_vendor" mode="manual">
<param name="src">forgejo-cli</param>
<param name="update">true</param>
</service>
<service name="set_version" mode="manual" />
</services>

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fc3f66c0b569d7bbeefa7382d7be4368354f723bd809dd60c6b5203353f762a2
size 272907

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:586dc1c6c3e1ab29376174a7cbd903d3852e012be055f633ff4f1ab8bec8155f
size 389131

View File

@@ -1,8 +1,66 @@
-------------------------------------------------------------------
Fri Aug 15 14:02:30 UTC 2025 - Richard Rahl <rrahl0@opensuse.org>
- update vendor dependencies, fixing bsc#1248047 bsc#1242683
-------------------------------------------------------------------
Wed Jul 9 09:37:11 UTC 2025 - Richard Rahl <rrahl0@opensuse.org>
- update vendor tarball, fixing issues with gcc15
-------------------------------------------------------------------
Tue May 6 14:22:24 UTC 2025 - Richard Rahl <rrahl0@opensuse.org>
- update vendor tarball, fixing bsc#1242683
-------------------------------------------------------------------
Tue May 6 04:35:21 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- update to 0.3.0:
* Additions
- Added fj completion to generate completion scripts for various
shells
- Added fj org for Organization commands.
- Added fj actions for Forgejo Actions-related commands (thank
you, @LordMZTE !)
- OAuth client IDs for fj auth login can now be customized.
See the wiki for more on the new features.
https://codeberg.org/Cyborus/forgejo-cli/wiki/Organizations
* Fixes
- Keys file now has proper file permissions
- Fixed incorrect help commands (thank you, @0ko !)
- Always set user agent in requests
-------------------------------------------------------------------
Fri Dec 13 05:17:50 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
- update to 0.2.0:
* Additions
- pr create and issue create now have a --web flag that opens
the creation page in your browser instead of creating it on
the terminal.
- pr --agit will create a pull request with agit flow, so you
don't need to fork the repository.
- pr status --wait will only exits once all PR checks finish.
- repo migrate to migrate/mirror repositories from other hosts.
- repo readme to print a repository's readme to the terminal.
- version --verbose prints extra info useful for debugging
* Fixes
- Public endpoints can now be accessed without authenticating
- The API will be accessed via the http url even when it
differs from the ssh url and the local remote points to the
ssh url.
- browse commands will no long hang the terminal
- Local repos will now be found even when in a subdirectory
- SSH urls in repo remotes will now be parsed correctly
- Improved pull request detection
-------------------------------------------------------------------
Fri Aug 9 21:17:00 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
- update to 0.1.1:
* Suggest correct command when OAuth login isn't supported on an instance
* Suggest correct command when OAuth login isn't supported on an
instance
-------------------------------------------------------------------
Thu Aug 8 01:21:09 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>

View File

@@ -1,4 +1,4 @@
name: forgejo-cli
version: 0.1.1
mtime: 1723229966
commit: b3c242d8c5e57959f28fa084619027bc1715bdc0
version: 0.3.0
mtime: 1746470095
commit: ec440fdc50fb5174fea0efe79a89a2446fadd207

View File

@@ -1,7 +1,7 @@
#
# spec file for package forgejo-cli
#
# 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,13 +17,15 @@
Name: forgejo-cli
Version: 0.1.1
Version: 0.3.0
Release: 0
Summary: CLI application for interacting with Forgejo
License: Apache-2.0 OR MIT
URL: https://codeberg.org/Cyborus/forgejo-cli
Source0: %{name}-%{version}.tar.xz
Source1: vendor.tar.zst
Source2: Cargo.lock
BuildRequires: cargo >= 1.82.0
BuildRequires: cargo-packaging
BuildRequires: pkgconfig
BuildRequires: pkgconfig(openssl)
@@ -38,7 +40,7 @@ BuildRequires: pkgconfig(openssl)
%{cargo_build}
%install
%{cargo_install}
install -Dm0755 ./target/release/fj %{buildroot}%{_bindir}/fj
%files
%license LICENSE-APACHE LICENSE-MIT

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:901b5f29cf7e8ce27f79a46bb1bb1db488603bb1803513760258eeb01c2c0800
size 28763445
oid sha256:2d55dc2e41cd7a8b37a7e1bede5bb4ad4c18f63b3e8299b307bdbbdf13f3cbec
size 32155794