Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gitea-tea for openSUSE:Factory checked in at 2025-07-24 18:46:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gitea-tea (Old) and /work/SRC/openSUSE:Factory/.gitea-tea.new.13279 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gitea-tea" Thu Jul 24 18:46:25 2025 rev:8 rq:1295396 version:0.10.1 Changes: -------- --- /work/SRC/openSUSE:Factory/gitea-tea/gitea-tea.changes 2025-06-20 16:54:36.797183033 +0200 +++ /work/SRC/openSUSE:Factory/.gitea-tea.new.13279/gitea-tea.changes 2025-07-24 18:47:58.431746196 +0200 @@ -1,0 +2,5 @@ +Wed Jul 23 17:44:40 UTC 2025 - Michal Suchanek <msucha...@suse.de> + +- Fix argument parsing fix-Reenable-p-and-limit-switches-778.patch + +------------------------------------------------------------------- New: ---- fix-Reenable-p-and-limit-switches-778.patch ----------(New B)---------- New: - Fix argument parsing fix-Reenable-p-and-limit-switches-778.patch ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gitea-tea.spec ++++++ --- /var/tmp/diff_new_pack.xRB4AV/_old 2025-07-24 18:47:59.799804751 +0200 +++ /var/tmp/diff_new_pack.xRB4AV/_new 2025-07-24 18:47:59.799804751 +0200 @@ -24,6 +24,7 @@ URL: https://gitea.com/gitea/tea Source0: %{name}-%{version}.tar.gz Source1: vendor.tar.gz +Patch0: fix-Reenable-p-and-limit-switches-778.patch BuildRequires: golang(API) >= 1.24 Conflicts: tea @@ -63,7 +64,7 @@ Zsh command line completion support for Gitea's tea CLI. %prep -%autosetup -a1 +%autosetup -a1 -p1 %build go build \ ++++++ fix-Reenable-p-and-limit-switches-778.patch ++++++ >From 15052b4dcce1efca4747153d91dcb24ecead880a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kirill=20M=C3=BCller?= <kir...@cynkra.com> Date: Mon, 14 Jul 2025 14:28:35 +0000 Subject: [PATCH] fix: Reenable `-p` and `--limit` switches (#778) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reduced version of #776, without the new tests. Fixes #771. Reviewed-on: https://gitea.com/gitea/tea/pulls/778 Reviewed-by: Lunny Xiao <xiaolun...@gmail.com> Co-authored-by: Kirill Müller <kir...@cynkra.com> Co-committed-by: Kirill Müller <kir...@cynkra.com> --- cmd/flags/generic.go | 8 ++-- docs/CLI.md | 112 +++++++++++++++++++++---------------------- 2 files changed, 61 insertions(+), 59 deletions(-) diff --git a/cmd/flags/generic.go b/cmd/flags/generic.go index d59209e..6f9d2c9 100644 --- a/cmd/flags/generic.go +++ b/cmd/flags/generic.go @@ -36,17 +36,19 @@ var OutputFlag = cli.StringFlag{ } // PaginationPageFlag provides flag for pagination options -var PaginationPageFlag = cli.StringFlag{ +var PaginationPageFlag = cli.IntFlag{ Name: "page", Aliases: []string{"p"}, - Usage: "specify page, default is 1", + Usage: "specify page", + Value: 1, } // PaginationLimitFlag provides flag for pagination options -var PaginationLimitFlag = cli.StringFlag{ +var PaginationLimitFlag = cli.IntFlag{ Name: "limit", Aliases: []string{"lm"}, Usage: "specify limit of items per page", + Value: 30, } // LoginOutputFlags defines login and output flags that should diff --git a/docs/CLI.md b/docs/CLI.md index f060373..ec137f8 100644 --- a/docs/CLI.md +++ b/docs/CLI.md @@ -129,7 +129,7 @@ List, create and update issues -**--limit, --lm**="": specify limit of items per page +**--limit, --lm**="": specify limit of items per page (default: 30) **--login, -l**="": Use a different Gitea Login. Optional @@ -143,7 +143,7 @@ List, create and update issues **--owner, --org**="": -**--page, -p**="": specify page, default is 1 +**--page, -p**="": specify page (default: 1) **--remote, -R**="": Discover Gitea login from remote. Optional @@ -175,7 +175,7 @@ List issues of the repository -**--limit, --lm**="": specify limit of items per page +**--limit, --lm**="": specify limit of items per page (default: 30) **--login, -l**="": Use a different Gitea Login. Optional @@ -189,7 +189,7 @@ List issues of the repository **--owner, --org**="": -**--page, -p**="": specify page, default is 1 +**--page, -p**="": specify page (default: 1) **--remote, -R**="": Discover Gitea login from remote. Optional @@ -283,13 +283,13 @@ Manage and checkout pull requests index,state,author,author-id,url,title,body,mergeable,base,base-commit,head,diff,patch,created,updated,deadline,assignees,milestone,labels,comments (default: index,title,state,author,milestone,updated,labels) -**--limit, --lm**="": specify limit of items per page +**--limit, --lm**="": specify limit of items per page (default: 30) **--login, -l**="": Use a different Gitea Login. Optional **--output, -o**="": Output format. (simple, table, csv, tsv, yaml, json) -**--page, -p**="": specify page, default is 1 +**--page, -p**="": specify page (default: 1) **--remote, -R**="": Discover Gitea login from remote. Optional @@ -305,13 +305,13 @@ List pull requests of the repository index,state,author,author-id,url,title,body,mergeable,base,base-commit,head,diff,patch,created,updated,deadline,assignees,milestone,labels,comments (default: index,title,state,author,milestone,updated,labels) -**--limit, --lm**="": specify limit of items per page +**--limit, --lm**="": specify limit of items per page (default: 30) **--login, -l**="": Use a different Gitea Login. Optional **--output, -o**="": Output format. (simple, table, csv, tsv, yaml, json) -**--page, -p**="": specify page, default is 1 +**--page, -p**="": specify page (default: 1) **--remote, -R**="": Discover Gitea login from remote. Optional @@ -459,13 +459,13 @@ Merge a pull request Manage issue labels -**--limit, --lm**="": specify limit of items per page +**--limit, --lm**="": specify limit of items per page (default: 30) **--login, -l**="": Use a different Gitea Login. Optional **--output, -o**="": Output format. (simple, table, csv, tsv, yaml, json) -**--page, -p**="": specify page, default is 1 +**--page, -p**="": specify page (default: 1) **--remote, -R**="": Discover Gitea login from remote. Optional @@ -477,13 +477,13 @@ Manage issue labels List labels -**--limit, --lm**="": specify limit of items per page +**--limit, --lm**="": specify limit of items per page (default: 30) **--login, -l**="": Use a different Gitea Login. Optional **--output, -o**="": Output format. (simple, table, csv, tsv, yaml, json) -**--page, -p**="": specify page, default is 1 +**--page, -p**="": specify page (default: 1) **--remote, -R**="": Discover Gitea login from remote. Optional @@ -553,13 +553,13 @@ List and create milestones title,state,items_open,items_closed,items,duedate,description,created,updated,closed,id (default: title,items,duedate) -**--limit, --lm**="": specify limit of items per page +**--limit, --lm**="": specify limit of items per page (default: 30) **--login, -l**="": Use a different Gitea Login. Optional **--output, -o**="": Output format. (simple, table, csv, tsv, yaml, json) -**--page, -p**="": specify page, default is 1 +**--page, -p**="": specify page (default: 1) **--remote, -R**="": Discover Gitea login from remote. Optional @@ -575,13 +575,13 @@ List milestones of the repository title,state,items_open,items_closed,items,duedate,description,created,updated,closed,id (default: title,items,duedate) -**--limit, --lm**="": specify limit of items per page +**--limit, --lm**="": specify limit of items per page (default: 30) **--login, -l**="": Use a different Gitea Login. Optional **--output, -o**="": Output format. (simple, table, csv, tsv, yaml, json) -**--page, -p**="": specify page, default is 1 +**--page, -p**="": specify page (default: 1) **--remote, -R**="": Discover Gitea login from remote. Optional @@ -657,13 +657,13 @@ manage issue/pull of an milestone **--kind**="": Filter by kind (issue|pull) -**--limit, --lm**="": specify limit of items per page +**--limit, --lm**="": specify limit of items per page (default: 30) **--login, -l**="": Use a different Gitea Login. Optional **--output, -o**="": Output format. (simple, table, csv, tsv, yaml, json) -**--page, -p**="": specify page, default is 1 +**--page, -p**="": specify page (default: 1) **--remote, -R**="": Discover Gitea login from remote. Optional @@ -711,13 +711,13 @@ Manage releases List Releases -**--limit, --lm**="": specify limit of items per page +**--limit, --lm**="": specify limit of items per page (default: 30) **--login, -l**="": Use a different Gitea Login. Optional **--output, -o**="": Output format. (simple, table, csv, tsv, yaml, json) -**--page, -p**="": specify page, default is 1 +**--page, -p**="": specify page (default: 1) **--remote, -R**="": Discover Gitea login from remote. Optional @@ -807,13 +807,13 @@ Manage release assets List Release Attachments -**--limit, --lm**="": specify limit of items per page +**--limit, --lm**="": specify limit of items per page (default: 30) **--login, -l**="": Use a different Gitea Login. Optional **--output, -o**="": Output format. (simple, table, csv, tsv, yaml, json) -**--page, -p**="": specify page, default is 1 +**--page, -p**="": specify page (default: 1) **--remote, -R**="": Discover Gitea login from remote. Optional @@ -933,13 +933,13 @@ List tracked times on issues & pulls List, create, delete organizations -**--limit, --lm**="": specify limit of items per page +**--limit, --lm**="": specify limit of items per page (default: 30) **--login, -l**="": Use a different Gitea Login. Optional **--output, -o**="": Output format. (simple, table, csv, tsv, yaml, json) -**--page, -p**="": specify page, default is 1 +**--page, -p**="": specify page (default: 1) **--remote, -R**="": Discover Gitea login from remote. Optional @@ -949,13 +949,13 @@ List, create, delete organizations List Organizations -**--limit, --lm**="": specify limit of items per page +**--limit, --lm**="": specify limit of items per page (default: 30) **--login, -l**="": Use a different Gitea Login. Optional **--output, -o**="": Output format. (simple, table, csv, tsv, yaml, json) -**--page, -p**="": specify page, default is 1 +**--page, -p**="": specify page (default: 1) **--remote, -R**="": Discover Gitea login from remote. Optional @@ -995,13 +995,13 @@ Show repository details description,forks,id,name,owner,stars,ssh,updated,url,permission,type (default: owner,name,type,ssh) -**--limit, --lm**="": specify limit of items per page +**--limit, --lm**="": specify limit of items per page (default: 30) **--login, -l**="": Use a different Gitea Login. Optional **--output, -o**="": Output format. (simple, table, csv, tsv, yaml, json) -**--page, -p**="": specify page, default is 1 +**--page, -p**="": specify page (default: 1) **--starred, -s**: List your starred repos instead @@ -1017,13 +1017,13 @@ List repositories you have access to description,forks,id,name,owner,stars,ssh,updated,url,permission,type (default: owner,name,type,ssh) -**--limit, --lm**="": specify limit of items per page +**--limit, --lm**="": specify limit of items per page (default: 30) **--login, -l**="": Use a different Gitea Login. Optional **--output, -o**="": Output format. (simple, table, csv, tsv, yaml, json) -**--page, -p**="": specify page, default is 1 +**--page, -p**="": specify page (default: 1) **--starred, -s**: List your starred repos instead @@ -1041,7 +1041,7 @@ Find any repo on an Gitea instance description,forks,id,name,owner,stars,ssh,updated,url,permission,type (default: owner,name,type,ssh) -**--limit, --lm**="": specify limit of items per page +**--limit, --lm**="": specify limit of items per page (default: 30) **--login, -l**="": Use a different Gitea Login. Optional @@ -1049,7 +1049,7 @@ Find any repo on an Gitea instance **--owner, -O**="": Filter by owner -**--page, -p**="": specify page, default is 1 +**--page, -p**="": specify page (default: 1) **--private**="": Filter private repos (true|false) @@ -1201,13 +1201,13 @@ Consult branches name,protected,user-can-merge,user-can-push,protection (default: name,protected,user-can-merge,user-can-push) -**--limit, --lm**="": specify limit of items per page +**--limit, --lm**="": specify limit of items per page (default: 30) **--login, -l**="": Use a different Gitea Login. Optional **--output, -o**="": Output format. (simple, table, csv, tsv, yaml, json) -**--page, -p**="": specify page, default is 1 +**--page, -p**="": specify page (default: 1) **--remote, -R**="": Discover Gitea login from remote. Optional @@ -1221,13 +1221,13 @@ List branches of the repository name,protected,user-can-merge,user-can-push,protection (default: name,protected,user-can-merge,user-can-push) -**--limit, --lm**="": specify limit of items per page +**--limit, --lm**="": specify limit of items per page (default: 30) **--login, -l**="": Use a different Gitea Login. Optional **--output, -o**="": Output format. (simple, table, csv, tsv, yaml, json) -**--page, -p**="": specify page, default is 1 +**--page, -p**="": specify page (default: 1) **--remote, -R**="": Discover Gitea login from remote. Optional @@ -1241,13 +1241,13 @@ Protect branches name,protected,user-can-merge,user-can-push,protection (default: name,protected,user-can-merge,user-can-push) -**--limit, --lm**="": specify limit of items per page +**--limit, --lm**="": specify limit of items per page (default: 30) **--login, -l**="": Use a different Gitea Login. Optional **--output, -o**="": Output format. (simple, table, csv, tsv, yaml, json) -**--page, -p**="": specify page, default is 1 +**--page, -p**="": specify page (default: 1) **--remote, -R**="": Discover Gitea login from remote. Optional @@ -1261,13 +1261,13 @@ Unprotect branches name,protected,user-can-merge,user-can-push,protection (default: name,protected,user-can-merge,user-can-push) -**--limit, --lm**="": specify limit of items per page +**--limit, --lm**="": specify limit of items per page (default: 30) **--login, -l**="": Use a different Gitea Login. Optional **--output, -o**="": Output format. (simple, table, csv, tsv, yaml, json) -**--page, -p**="": specify page, default is 1 +**--page, -p**="": specify page (default: 1) **--remote, -R**="": Discover Gitea login from remote. Optional @@ -1303,7 +1303,7 @@ Show notifications id,status,updated,index,type,state,title,repository (default: id,status,index,type,state,title) -**--limit, --lm**="": specify limit of items per page +**--limit, --lm**="": specify limit of items per page (default: 30) **--login, -l**="": Use a different Gitea Login. Optional @@ -1311,7 +1311,7 @@ Show notifications **--output, -o**="": Output format. (simple, table, csv, tsv, yaml, json) -**--page, -p**="": specify page, default is 1 +**--page, -p**="": specify page (default: 1) **--remote, -R**="": Discover Gitea login from remote. Optional @@ -1333,7 +1333,7 @@ List notifications id,status,updated,index,type,state,title,repository (default: id,status,index,type,state,title) -**--limit, --lm**="": specify limit of items per page +**--limit, --lm**="": specify limit of items per page (default: 30) **--login, -l**="": Use a different Gitea Login. Optional @@ -1341,7 +1341,7 @@ List notifications **--output, -o**="": Output format. (simple, table, csv, tsv, yaml, json) -**--page, -p**="": specify page, default is 1 +**--page, -p**="": specify page (default: 1) **--remote, -R**="": Discover Gitea login from remote. Optional @@ -1359,7 +1359,7 @@ List notifications Mark all filtered or a specific notification as read -**--limit, --lm**="": specify limit of items per page +**--limit, --lm**="": specify limit of items per page (default: 30) **--login, -l**="": Use a different Gitea Login. Optional @@ -1367,7 +1367,7 @@ Mark all filtered or a specific notification as read **--output, -o**="": Output format. (simple, table, csv, tsv, yaml, json) -**--page, -p**="": specify page, default is 1 +**--page, -p**="": specify page (default: 1) **--remote, -R**="": Discover Gitea login from remote. Optional @@ -1381,7 +1381,7 @@ Mark all filtered or a specific notification as read Mark all filtered or a specific notification as unread -**--limit, --lm**="": specify limit of items per page +**--limit, --lm**="": specify limit of items per page (default: 30) **--login, -l**="": Use a different Gitea Login. Optional @@ -1389,7 +1389,7 @@ Mark all filtered or a specific notification as unread **--output, -o**="": Output format. (simple, table, csv, tsv, yaml, json) -**--page, -p**="": specify page, default is 1 +**--page, -p**="": specify page (default: 1) **--remote, -R**="": Discover Gitea login from remote. Optional @@ -1403,7 +1403,7 @@ Mark all filtered or a specific notification as unread Mark all filtered or a specific notification as pinned -**--limit, --lm**="": specify limit of items per page +**--limit, --lm**="": specify limit of items per page (default: 30) **--login, -l**="": Use a different Gitea Login. Optional @@ -1411,7 +1411,7 @@ Mark all filtered or a specific notification as pinned **--output, -o**="": Output format. (simple, table, csv, tsv, yaml, json) -**--page, -p**="": specify page, default is 1 +**--page, -p**="": specify page (default: 1) **--remote, -R**="": Discover Gitea login from remote. Optional @@ -1425,7 +1425,7 @@ Mark all filtered or a specific notification as pinned Unpin all pinned or a specific notification -**--limit, --lm**="": specify limit of items per page +**--limit, --lm**="": specify limit of items per page (default: 30) **--login, -l**="": Use a different Gitea Login. Optional @@ -1433,7 +1433,7 @@ Unpin all pinned or a specific notification **--output, -o**="": Output format. (simple, table, csv, tsv, yaml, json) -**--page, -p**="": specify page, default is 1 +**--page, -p**="": specify page (default: 1) **--remote, -R**="": Discover Gitea login from remote. Optional @@ -1463,13 +1463,13 @@ Manage registered users id,login,full_name,email,avatar_url,language,is_admin,restricted,prohibit_login,location,website,description,visibility,activated,lastlogin_at,created_at (default: id,login,full_name,email,activated) -**--limit, --lm**="": specify limit of items per page +**--limit, --lm**="": specify limit of items per page (default: 30) **--login, -l**="": Use a different Gitea Login. Optional **--output, -o**="": Output format. (simple, table, csv, tsv, yaml, json) -**--page, -p**="": specify page, default is 1 +**--page, -p**="": specify page (default: 1) **--remote, -R**="": Discover Gitea login from remote. Optional @@ -1483,13 +1483,13 @@ List Users id,login,full_name,email,avatar_url,language,is_admin,restricted,prohibit_login,location,website,description,visibility,activated,lastlogin_at,created_at (default: id,login,full_name,email,activated) -**--limit, --lm**="": specify limit of items per page +**--limit, --lm**="": specify limit of items per page (default: 30) **--login, -l**="": Use a different Gitea Login. Optional **--output, -o**="": Output format. (simple, table, csv, tsv, yaml, json) -**--page, -p**="": specify page, default is 1 +**--page, -p**="": specify page (default: 1) **--remote, -R**="": Discover Gitea login from remote. Optional -- 2.50.1