Accepting request 1185210 from devel:languages:go
- Update to version 1.0.4: * fix: add ca-certificates in doggo-web * Updating canonical URL * Fix zsh completions * docs: add --rm in docker (forwarded request 1185209 from jfkw) OBS-URL: https://build.opensuse.org/request/show/1185210 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/doggo?expand=0&rev=2
This commit is contained in:
commit
3fe3786369
2
_service
2
_service
@ -2,7 +2,7 @@
|
||||
<service name="obs_scm" mode="manual">
|
||||
<param name="scm">git</param>
|
||||
<param name="url">https://github.com/mr-karan/doggo.git</param>
|
||||
<param name="revision">v0.5.7</param>
|
||||
<param name="revision">v1.0.4</param>
|
||||
<param name="match-tag">*</param>
|
||||
<param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/mr-karan/doggo.git</param>
|
||||
<param name="changesrevision">c72c2ef9ec99053e33808bc03fee80d57ea017cb</param></service></servicedata>
|
||||
<param name="changesrevision">bac855567c203714c35586f026b91e4caf687636</param></service></servicedata>
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cec020bfa233d3d799429950f2356cd6de20693b4c78e8f705790d6b7c01fe98
|
||||
size 540684
|
3
doggo-1.0.4.obscpio
Normal file
3
doggo-1.0.4.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0ef2650a645c757c86420e04c38408f2dcc5e0b8efa2f7f95e49cfa57fc1c4bd
|
||||
size 2785292
|
@ -1,9 +1,72 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 03 17:49:48 UTC 2024 - Jeff Kowalczyk <jkowalczyk@suse.com>
|
||||
|
||||
- Update to version 1.0.4:
|
||||
* fix: add ca-certificates in doggo-web
|
||||
* Updating canonical URL
|
||||
* Fix zsh completions
|
||||
* docs: add --rm in docker
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 2 14:16:05 UTC 2024 - Jeff Kowalczyk <jkowalczyk@suse.com>
|
||||
|
||||
- Packaging improvements:
|
||||
* Add subpackage web providing web browser UI for making DNS queries
|
||||
* Add Group: Productivity/Networking/DNS/Utilities
|
||||
* Update License: to GPL-3.0 instead of GPL-3.0-only
|
||||
* Update to BuildRequires: golang(API) >= 1.22 matching go.mod
|
||||
* Add Recommends: %{name}-bash-completion
|
||||
* Completions subpackages for fish, zsh remain as Suggests:
|
||||
* Reorder completions install ops consistently: bash, fish, zsh
|
||||
* Add changelog detail for earlier release v1.0.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 02 13:50:51 UTC 2024 - Jeff Kowalczyk <jkowalczyk@suse.com>
|
||||
|
||||
- Update to version 1.0.3:
|
||||
* chore: upgrade deps
|
||||
* chore: fix help text
|
||||
* docs: specify correct usage of timeout flag
|
||||
* feat: add ctx cancellation while resolving records
|
||||
* feat: Refactor DNS resolvers for concurrent lookups
|
||||
* feat: add support for common query types
|
||||
* chore: fix docs link
|
||||
* chore: revamp README
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 02 10:43:52 UTC 2024 - Eyad Issa <eyadlorenzo@gmail.com>
|
||||
|
||||
- Update to version 1.0.2:
|
||||
* refactor: move main package to cmd/doggo for proper binary naming
|
||||
|
||||
- Update to version 1.0.1
|
||||
* fix: proper alignment of help text
|
||||
* ci: re-enable dependabot
|
||||
* ci: add npm caching
|
||||
* ci: goreleaser
|
||||
* ci: upgrade actions
|
||||
* refactor: replace logrus with slog
|
||||
* feat: add support for more platforms and targets
|
||||
* feat: add single install script
|
||||
* feat: add completions command
|
||||
* feat: add support for query flags
|
||||
* refactor: fix loading of nameservers
|
||||
* chore: upgrade deps
|
||||
* fix: send proper json error responses
|
||||
|
||||
- Update to version 1.0.0:
|
||||
* feat: add bash completion support
|
||||
* feat: add completions command
|
||||
* Fix syntax error in ZSH completion
|
||||
* Update ZSH completion to include all current options
|
||||
* added tls client configuration for doh and doq
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 23 09:36:30 UTC 2023 - Eyad Issa <eyadlorenzo@gmail.com>
|
||||
|
||||
- Packaging improvements:
|
||||
* Fix zsh-completion and fish-completion by not requiring
|
||||
zsh-completion and fish-completion and by supplementing the
|
||||
zsh-completion and fish-completion and by supplementing the
|
||||
right package.
|
||||
* Fix fish-completion by using the .fish suffix when copying the
|
||||
completion file.
|
||||
|
@ -1,4 +1,4 @@
|
||||
name: doggo
|
||||
version: 0.5.7
|
||||
mtime: 1691988406
|
||||
commit: c72c2ef9ec99053e33808bc03fee80d57ea017cb
|
||||
version: 1.0.4
|
||||
mtime: 1720024636
|
||||
commit: bac855567c203714c35586f026b91e4caf687636
|
||||
|
64
doggo.spec
64
doggo.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package doggo
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,14 +17,16 @@
|
||||
|
||||
|
||||
Name: doggo
|
||||
Version: 0.5.7
|
||||
Version: 1.0.4
|
||||
Release: 0
|
||||
Summary: CLI tool and API server DNS client implemented in Go
|
||||
License: GPL-3.0
|
||||
License: GPL-3.0-only
|
||||
Group: Productivity/Networking/DNS/Utilities
|
||||
URL: https://github.com/mr-karan/doggo
|
||||
Source0: %{name}-%{version}.tar
|
||||
Source1: vendor.tar.xz
|
||||
BuildRequires: golang(API) >= 1.20
|
||||
Source0: %{name}-%{version}.tar
|
||||
Source1: vendor.tar.xz
|
||||
BuildRequires: golang(API) >= 1.22
|
||||
Recommends: %{name}-bash-completion
|
||||
Suggests: %{name}-fish-completion
|
||||
Suggests: %{name}-zsh-completion
|
||||
|
||||
@ -33,6 +35,23 @@ doggo is a modern command-line DNS client (like dig) implemented in Go.
|
||||
It outputs information in a neat concise manner and supports protocols
|
||||
like DoH, DoT, DoQ, and DNSCrypt as well.
|
||||
|
||||
%package web
|
||||
Summary: Web UI for %{name}
|
||||
Group: Productivity/Networking/DNS/Utilities
|
||||
Supplements: %{name}
|
||||
|
||||
%description web
|
||||
HTTP server for %{name} that provides a web browser UI for making DNS queries
|
||||
|
||||
%package bash-completion
|
||||
Summary: bash completion for %{name}
|
||||
Group: System/Shells
|
||||
Supplements: (%{name} and bash)
|
||||
BuildArch: noarch
|
||||
|
||||
%description bash-completion
|
||||
bash completion scripts for %{name}
|
||||
|
||||
%package fish-completion
|
||||
Summary: fish completion for %{name}
|
||||
Group: System/Shells
|
||||
@ -59,31 +78,44 @@ zsh completion scripts for %{name}
|
||||
export GOFLAGS="-buildmode=pie"
|
||||
%endif
|
||||
go build ./cmd/%{name}
|
||||
go build ./cmd/api
|
||||
# build separate binary providing web interface
|
||||
go build -o %{name}-web ./web/
|
||||
|
||||
%install
|
||||
install -d %{buildroot}%{_bindir}
|
||||
install -D %{name} %{buildroot}%{_bindir}/%{name}
|
||||
install -D api %{buildroot}%{_bindir}/%{name}-api
|
||||
install -Dm644 completions/%{name}.fish %{buildroot}%{_datadir}/fish/vendor_completions.d/%{name}.fish
|
||||
install -Dm644 completions/%{name}.zsh %{buildroot}%{_datadir}/zsh/site-functions/_%{name}
|
||||
install -D %{name} %{buildroot}%{_bindir}/%{name}-web
|
||||
|
||||
# Completions
|
||||
./%{name} completions bash > %{name}.bash
|
||||
install -Dm644 %{name}.bash %{buildroot}%{_datadir}/bash-completions/completions/%{name}
|
||||
./%{name} completions fish > %{name}.fish
|
||||
install -Dm644 %{name}.fish %{buildroot}%{_datadir}/fish/vendor_completions.d/%{name}.fish
|
||||
./%{name} completions zsh > %{name}.zsh
|
||||
install -Dm644 %{name}.zsh %{buildroot}%{_datadir}/zsh/site-functions/_%{name}
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%doc config-api-sample.toml
|
||||
%{_bindir}/%{name}
|
||||
%{_bindir}/%{name}-api
|
||||
|
||||
%dir %{_datadir}/fish
|
||||
%dir %{_datadir}/fish/vendor_completions.d
|
||||
%dir %{_datadir}/zsh
|
||||
%dir %{_datadir}/zsh/site-functions
|
||||
%files web
|
||||
%doc config-api-sample.toml
|
||||
%{_bindir}/%{name}-web
|
||||
|
||||
%files fish-completion
|
||||
%dir %{_datadir}/fish
|
||||
%dir %{_datadir}/fish/vendor_completions.d
|
||||
%{_datadir}/fish/vendor_completions.d/%{name}.fish
|
||||
|
||||
%files zsh-completion
|
||||
%dir %{_datadir}/zsh
|
||||
%dir %{_datadir}/zsh/site-functions
|
||||
%{_datadir}/zsh/site-functions/_%{name}
|
||||
|
||||
%files bash-completion
|
||||
%dir %{_datadir}/bash-completions
|
||||
%dir %{_datadir}/bash-completions/completions
|
||||
%{_datadir}/bash-completions/completions/%{name}
|
||||
|
||||
%changelog
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bca2aa8afc7f4fed722c51bd51263e7d4ce28e8f04778665cf5778aab9586ea0
|
||||
size 5255032
|
||||
oid sha256:596d4719a591469156ddb20b768f3fa870fea6591c045f21f049af4c9c913ecf
|
||||
size 1514756
|
||||
|
Loading…
Reference in New Issue
Block a user