SHA256
1
0
forked from pool/doggo

Compare commits

..

No commits in common. "devel" and "factory" have entirely different histories.

8 changed files with 24 additions and 123 deletions

1
.gitignore vendored
View File

@ -1 +0,0 @@
.osc

View File

@ -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">v1.0.4</param>
<param name="revision">v0.5.7</param>
<param name="match-tag">*</param>
<param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param>
<param name="versionformat">@PARENT_TAG@</param>

View File

@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/mr-karan/doggo.git</param>
<param name="changesrevision">bac855567c203714c35586f026b91e4caf687636</param></service></servicedata>
<param name="changesrevision">c72c2ef9ec99053e33808bc03fee80d57ea017cb</param></service></servicedata>

View File

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

View File

@ -1,72 +1,9 @@
-------------------------------------------------------------------
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.

View File

@ -1,4 +1,4 @@
name: doggo
version: 1.0.4
mtime: 1720024636
commit: bac855567c203714c35586f026b91e4caf687636
version: 0.5.7
mtime: 1691988406
commit: c72c2ef9ec99053e33808bc03fee80d57ea017cb

View File

@ -1,7 +1,7 @@
#
# spec file for package doggo
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,16 +17,14 @@
Name: doggo
Version: 1.0.4
Version: 0.5.7
Release: 0
Summary: CLI tool and API server DNS client implemented in Go
License: GPL-3.0-only
Group: Productivity/Networking/DNS/Utilities
License: GPL-3.0
URL: https://github.com/mr-karan/doggo
Source0: %{name}-%{version}.tar
Source1: vendor.tar.xz
BuildRequires: golang(API) >= 1.22
Recommends: %{name}-bash-completion
Source0: %{name}-%{version}.tar
Source1: vendor.tar.xz
BuildRequires: golang(API) >= 1.20
Suggests: %{name}-fish-completion
Suggests: %{name}-zsh-completion
@ -35,23 +33,6 @@ 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
@ -78,44 +59,31 @@ zsh completion scripts for %{name}
export GOFLAGS="-buildmode=pie"
%endif
go build ./cmd/%{name}
# build separate binary providing web interface
go build -o %{name}-web ./web/
go build ./cmd/api
%install
install -d %{buildroot}%{_bindir}
install -D %{name} %{buildroot}%{_bindir}/%{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}
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}
%files
%license LICENSE
%doc README.md
%{_bindir}/%{name}
%files web
%doc config-api-sample.toml
%{_bindir}/%{name}-web
%{_bindir}/%{name}
%{_bindir}/%{name}-api
%files fish-completion
%dir %{_datadir}/fish
%dir %{_datadir}/fish/vendor_completions.d
%dir %{_datadir}/zsh
%dir %{_datadir}/zsh/site-functions
%files fish-completion
%{_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

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:596d4719a591469156ddb20b768f3fa870fea6591c045f21f049af4c9c913ecf
size 1514756
oid sha256:bca2aa8afc7f4fed722c51bd51263e7d4ce28e8f04778665cf5778aab9586ea0
size 5255032