Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package loki for openSUSE:Factory checked in at 2024-11-07 16:26:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/loki (Old) and /work/SRC/openSUSE:Factory/.loki.new.2020 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "loki" Thu Nov 7 16:26:11 2024 rev:14 rq:1221760 version:3.2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/loki/loki.changes 2024-05-09 17:29:04.096287853 +0200 +++ /work/SRC/openSUSE:Factory/.loki.new.2020/loki.changes 2024-11-07 16:26:13.626747350 +0100 @@ -1,0 +2,770 @@ +Thu Oct 17 21:30:13 UTC 2024 - [email protected] + +- Update to version 3.2.1: + * ci: fix logql analyzer (backport release-3.2.x) [manual backport] (#14518) + * fix(logql): updated JSONExpressionParser not to unescape extracted values if it is JSON object. (backport release-3.2.x) (#14502) + * docs: update sample result on loki setup page (backport release-3.2.x) (#14493) + * docs: Updated Fluent Bit docs to use official plugin + Sandbox (backport release-3.2.x) (#14490) + * docs: Small update to install docs (backport release-3.2.x) (#14479) + * docs: Update Promtail installation (backport release-3.2.x) (#14474) + * docs: update Helm installation topics (backport release-3.2.x) (#14471) + * docs: corrected result for the `flags` field in the examples (backport release-3.2.x) (#14468) + * docs: Update alloy-otel-logs.md to correct a typo (backport release-3.2.x) (#14459) + * docs: Revise the LogQL Analyzer topic (backport release-3.2.x) (#14454) + * docs: remove reference to Agent Flow (backport release-3.2.x) (#14450) + * docs: Updated Promtail to Alloy (backport release-3.2.x) (#14429) + * fix(storage/chunk/client/aws): have GetObject check for canceled context (backport release-3.2.x) (#14422) + * fix: Revert build image to Debian Bullseye to fix libc version issue in Promtail (#14386) + * docs: OpenTelemetry Collector Sandbox Tutorial (backport release-3.2.x) (#14380) + * fix(config): Copy Alibaba and IBM object storage configuration from common (#14315) + * docs: fix broken links (backport release-3.2.x) (#14363) + * docs: Reorganize Query Templates page (backport release-3.2.x) (#14335) + * chore: [release-3.2.x] docs: Fix link bracket for query-acceleration-blooms (#14265) + * chore: [release-3.2.x] docs: Fix typo in query-acceleration-blooms (#14251) + * chore: [release-3.2.x] docs: add additional clarification for single binary helm installation (#14236) + * chore: [release-3.2.x] docs: added video to components (#14232) + * chore: [release-3.2.x] docs: Replace shortcodes on Storage topic (#14229) + * chore: [release-3.2.x] docs: Added new Query best practices page (#14224) + * chore: [release-3.2.x] fix: Add additional validation for timeout while retrieving headers (#14220) + * chore: [release-3.2.x] docs: Explore Logs GA (#14219) + * chore: [release-3.2.x] docs: Fix awkwardly worded line about fluent-cli (#14205) + * chore: [release-3.2.x] docs: Update Loki components page with new bloom components (#14200) + * chore: [release-3.2.x] ci: Update workflows to use actions that don't need organization secrets (#14195) + * docs: Loki 3.2 Release Notes (#14194) + * ci: use app token for release + * chore(k218): release 3.2.0 (#14088) + +------------------------------------------------------------------- +Fri Oct 11 22:47:03 UTC 2024 - Marcus Rueckert <[email protected]> + +- refresh patches: + harden_promtail.service.patch + proper-data-directories.patch +- use the source epoch as build date +- since we only package releases we can also just use the version + from the tag instead of a verbose version string +- no longer strip the binaries +- Update to version 3.2.0: + * chore: [k218] docs: add `X-Scope-OrgID` header to Grafana datasource if multi-tenancy is enabled (#14172) + * feat: add structured metadata to the promtail push API (#14153) (#14155) + * chore: [k218] fix(blooms): Fix panic in initialisation of the bloom planner and builder (#14113) + * chore: [k218] feat(blooms): Add bloom planner and bloom builder to `backend` target (#14092) + * chore: [k218] chore(deps): Downgrade fake-gcs-server (#14085) + * chore: [k218] feat(max-allowed-line-length): add config to set `max-allowed-line-length` in pattern ingester (#14076) + * chore: [k218] fix: downgrade grpc to fix regression (#14075) + * chore: [k218] fix: correct _extracted logic in detected fields (#14073) + * chore: [k218] fix: enable service detection for otlp endoint (#14052) + * chore: [k218] fix(`detected_fields`): return parsed labels when parsers are passed (#14050) + * fix: do not retain span logger created with index set initialized at query time (#14027) + * chore: [k218] chore(ci): fix failing arm builds (#14023) + * feat: Add initial support for a kafka-based ingest path (#13992) + * fix(detected_labels): Add matchers to get labels from store" (#14012) + * feat: add _extracted suffix to detected fields conflicts (#13993) + * fix: Propagate headers/warnings/stats from quantile downstreams (#13881) + * chore: update dskit and thanos/objstore (#13998) + * fix(deps): update module github.com/efficientgo/core to v1.0.0-rc.3 (#14001) + * fix(deps): update module github.com/hashicorp/consul/api to v1.29.4 (#14002) + * chore(deps): update anchore/sbom-action action to v0.17.2 (#13985) + * fix(deps): update module github.com/baidubce/bce-sdk-go to v0.9.188 (#14000) + * chore: Update nginx-unprivileged (#13978) + * chore(blooms)!: Remove bloom compactor component (#13969) + * docs: Update HTTP API docs for limit (#13987) + * fix: sanatize structured metadata at query time (#13983) + * chore: Rename `HeapIterator` to `MergeEntryIterator` (#13975) + * perf: Avoid looking up unnecessary TSDB symbols during Volume API (#13960) + * chore: Update kiwigrid/k8s-sidecar (#13979) + * chore(jsonnet)!: convert read statefulset into deployment for loki-simple-scalable (#13977) + * chore(jsonnet): Add backend component to loki-simple-scalable jsonnet (#13976) + * chore(docs): Rewrite query acceleration docs (#13965) + * fix(deps): update module github.com/gorilla/websocket to v1.5.3 (#13873) + * fix(detected labels): response when store label values are empty (#13970) + * feat: Limit to block ingestion until configured date (#13958) + * chore(deps): update terraform aws to v5 (#13961) + * feat: ability to ignore cache for volume queries (#13945) + * chore(deps): update terraform google to v5 (#13962) + * fix(deps): update module github.com/ncw/swift to v2 (#13951) + * fix(deps): update module github.com/tonistiigi/fifo to v1 (#13952) + * chore(deps): update fluent/fluent-bit docker tag (#13843) + * fix: Read full buffer from storage when fetching a range (#13948) + * fix(deps): update module github.com/fsouza/fake-gcs-server to v1.47.7 (#13935) + * chore(deps): update chunks/segments inspect dependencies (#13936) + * fix(cloud-mixin): Attribute OTLP route correctly to write path (#13943) + * chore: make mixin range interval configurable (#13925) + * chore(deps): lamba-promtail, move back to al2, update krb5-libs (#13939) + * chore(deps): LambdaPromtail - Bump to AmazonLinux 2023 (#13938) + * fix(deps): update module github.com/baidubce/bce-sdk-go to v0.9.187 (#13933) + * fix(deps): update module github.com/oschwald/geoip2-golang to v1.11.0 (#13934) + * fix: record datasample queries are limited query type (#13930) + * chore: log the query from the request when we're unable to get a result from the results cache (#13915) + * fix: Improve execution speed for queries with label filters (#13922) + * chore(deps): update dskit 20240819 (#13924) + * feat(operator): Enable leader-election (#13760) + * fix: split the error and agg metric cases for clarity (#13913) + * chore(deps): Update dependencies, build version, and go version for lambda-promtail (#13904) + * feat: aggregate byte and count metrics (#13731) + * chore: Update to labeler v5 (#13911) + * fix(deps): update module golang.org/x/time to v0.6.0 (#13910) + * chore(deps): update terraform random to v3.6.2 (#13909) + * chore(deps): update dependabot/fetch-metadata action to v2 (#13908) + * chore(deps): update ruby docker tag to v3.3.4 (#13907) + * fix(deps): update module github.com/ibm/go-sdk-core/v5 to v5.17.4 (#13892) + * fix(deps): update module github.com/ibm/ibm-cos-sdk-go to v1.11.0 (#13893) + * fix: Adjust tailer loop criteria so it is actually re-tested (#13906) + * chore: remove unused pattern tokenization form Loki (#13783) + * chore(deps): update anchore/sbom-action action to v0.17.1 (#13895) + * fix: Read "404" as object not exist (#13901) + * chore(deps): Revert "chore(deps): update actions/labeler action to v5" (#13899) + * chore(deps): update actions/labeler action to v5 (#13894) + * chore(deps): update azure/setup-helm action to v4 (#13890) + * fix(deps): update module github.com/mattn/go-ieproxy to v0.0.12 (#13876) + * chore(deps): update actions/setup-python action to v5 (#13889) + * chore(deps): update actions/checkout action to v4 (#13888) + * fix(deps): update module github.com/workiva/go-datastructures to v1.1.5 (#13885) + * chore(deps): update terraform aws to ~> 4.67.0 (#13886) + * feat(lambda-promtail): build lambda with zip file (#13787) + * fix(deps): update module github.com/schollz/progressbar/v3 to v3.14.6 (#13884) + * fix: Handle EOF when reading from some obj stores (#13868) + * fix(deps): update module github.com/klauspost/pgzip to v1.2.6 (#13874) + * chore(deps): update alpine docker tag to v3.20.2 (#13882) + * fix: flaky test blockPlansForGaps (#13743) + * fix(deps): update module github.com/azure/go-autorest/autorest/adal to v0.9.24 (#13862) + * docs: Recommended quickstart changes + Upgrade (#13747) + * chore: fix some comments (#13830) + * fix(deps): update module github.com/docker/docker to v27.1.2+incompatible (#13872) + * fix(deps): update module github.com/gogo/googleapis to v1.4.1 (#13871) + * fix(deps): update module github.com/felixge/fgprof to v0.9.4 (#13870) + * fix(deps): update module github.com/azure/go-autorest/autorest/azure/auth to v0.5.13 (#13863) + * fix(deps): update module github.com/datadog/sketches-go to v1.4.6 (#13865) + * chore: remove initial metric aggregation experiment (#13729) + * fix(deps): update module github.com/baidubce/bce-sdk-go to v0.9.186 (#13864) + * fix(deps): update module github.com/aliyun/aliyun-oss-go-sdk to v2.2.10+incompatible (#13861) + * chore(deps): update grafana/loki-build-image docker tag to v0.33.6 (#13859) + * chore(deps): update helm/chart-testing-action action to v2.6.1 (#13855) + * chore(deps): update grafana/promtail docker tag to v1.6.1 (#13851) + * chore(deps): update grafana/promtail docker tag to v2.9.10 (#13854) + * chore(deps): update dependency go to v1.22.6 (#13842) + * chore: Update loki build image to go 1.22.6 (#13857) + * chore: manual changelog backport (#13852) + * chore(deps): update grafana/loki docker tag to v2.9.10 (#13848) + * chore(deps): update golang docker tag to v1.22.6 (#13847) + * chore(deps): update grafana/loki-build-image docker tag to v0.33.5 (#13849) + * chore(ci): Update yaml file `./production/helm/loki/values.yaml` (+1 other) (#13832) + * chore: [main] chore(release-3.1.x): release 3.1.1 (#13817) + * fix(deps): update github.com/grafana/jsonparser digest to ea80629 (#13814) + * fix(ci): fixed release-please manifest (#13810) + * fix(deps): update github.com/c2h5oh/datasize digest to aa82cc1 (#13807) + * fix(deps): update github.com/docker/go-plugins-helpers digest to 45e2431 (#13808) + * fix(deps): update github.com/axiomhq/hyperloglog digest to af9851f (#13806) + * chore(deps): update github.com/grafana/regexp digest to a468a5b (#13805) + * chore: Turn off renovate on non-main branches (#13803) + * fix(ci): add cleanup step into job `dist` (#13801) + * chore: Add metastore client as dep for rf1 querier & ignore auth for ListBlocks (#13786) + * fix(deps): update module golang.org/x/text to v0.17.0 (main) (#13794) + * fix(operator): Don't overwrite annotations for LokiStack ingress resources (#13708) + * fix: panic when parsing and extracting JSON key values (#13790) + * feat(loki): add ability to disable AWS S3 dualstack endpoints usage (#13785) + * fix(helm): fixed memcached and provisioner templates (#13788) + * chore: Remove unused stream index from RF1 ingester (#13758) + * fix: Include whitespaces in extracted tokens (#13738) + * chore(deps): update module golang.org/x/net to v0.23.0 [security] (main) (#13763) + * fix(deps): update module github.com/docker/docker to v27.1.1+incompatible [security] (main) (#13762) + * feat: upgrade prometheus (#13671) + * fix(break): helm: Fix how we set imagePullSecrets for enterprise-gateway and admin-api. (#13761) + * chore(helm-chart): added SSE config into AWS storage config (#13746) + * fix: try reading chunks which have incorrect offset for blocks (#13720) + * docs: Update the Visualize topic (#13742) + * feat: Introduce wal segment read path. (#13695) + * build: Update loki-build-image to Alpine 3.20.2 (#13744) + * fix: ast left cycular reference result in oom (#13501) + * docs: fix broken links due to Alloy docs reorg (#13715) + * docs: rewrite quickstart with Killercoda metadata (#13234) + * chore: fix some comments (#13724) + * feat(blooms): Add series & chunks per block metrics (#13721) + * fix: Use elements match in gapsBetweenTSDBsAndMetas test (#13722) + * feat: Ingester Stream Limit Improvements (#13532) + * chore: add service_name label earlier in the ingestion pipeline (#13702) + * fix: protect ruler remote-write overrides map with a mutex when creating new appenders (#13676) + * docs: Late review comments and linting (#13714) + * docs: Update Observability topic (#13323) + * chore(lint-error): remove unused `stepCount` in `engine.go` (#13709) + * chore: add congestion control to AWS (#13691) + * chore: log stats around chunks being flushed (#13699) + * chore: treat datasample queries the same as limited queries (#13700) + * fix: fixed typo in ruler URL (#13692) + * chore: Use boltdb Batch API for metastore writes (#13693) + * feat(operator): Add alert for discarded samples (#13512) + * fix(blooms): Ship chunkrefs in task payload (#13677) + * chore: use native histogram for metastore_request_duration_seconds (#13680) + * feat: instrument failed chunk encoding/decoding (#13684) + * docs: State limitations of bloom filters (#13673) + * fix: add missing flush op timeout (#13679) + * fix: Handle block offset exceeding chunk length in memchunk.go (#13661) + * feat: Ignore empty streams in distributor if all entries fail validation (#13674) + * fix: fix a bug where AppendRequest with no entries triggers flush (#13672) + * docs: Fixed link test (#13666) + * fix: special case the return values from a sharded first/last_over_time query (#13578) + * fix(blooms): Improve error wrap to make ignoreNotFound work when fetching blocks (#13656) + * docs: Send Data Alloy page + Interactive Examples (#13367) + * chore(helm): fix comment in values.yml (#13638) + * chore: Remove client header interceptors from metastore client (#13659) + * feat: add loki_ingester_rf1_segment_age_seconds metric (#13653) + * feat(detected-labels): remove cardinality filter (#13652) + * fix(helm): removed helm test (#13651) + * chore: move timestamps into SegmentWriter (#13644) + * feat: Implement GetObjectRange for all storage providers (#13650) + * fix: remove trailing backtick in verify-config for Loki 3.0 (#13640) + * fix: remove limit middleware for `detected_labels` (#13643) + * feat: Add baseline rf1 querier implementation (#13639) + * feat: remove mutexes from wal.SegmentWriter (#13641) + * feat(rf1): Add query path for the metastore (#13636) + * feat: Calculate the age of a WAL segment (#13637) + * feat(lambda-promtail): Adding S3 log parser support for AWS GuardDuty (#13148) + * fix(helm): fix imagePullSecrets for statefulset-results-cache (#13051) + * feat(rf1): Store index ref in metastore (#13613) + * fix(loki-mixin): Fix latency panel for Index Gateway (#13629) + * fix(blooms): Use correct key to populate blockscache at startup (#13624) + * fix: Keep blocks referenced by newer metas (#13614) + * fix(blooms): Cleanup temp blockdir in bloom compactor (#13622) + * chore(deps): update nginx docker tag to v1.27 (main) (#13620) + * fix(deps): update module github.com/gorilla/mux to v1.8.1 (main) (#13618) + * chore(deps): update confluentinc/cp-kafka docker tag to v6.2.15 (main) (#11283) + * docs: small update to doc loki-http-api.md (#13594) + * fix(deps): update module github.com/cespare/xxhash/v2 to v2.3.0 (main) (#13615) + * feat(structured-metadata-api): add structured metadata to `/detected_fields` API (#13604) + * fix: remove retries on the stats handlers because they already retry (#13608) + * feat: Instrument rf1 write path with tracing (#13599) + * feat: Instrument metastore GRPC calls (#13598) + * chore: Remove excessive logging from bloom gateway (#13603) + * docs: add docs comparing native otlp ingestion vs loki exporter (#13574) + * fix: fix retry code to handle grpc status codes. updated newer stats retries to be wrapped with spans (#13592) + * fix: add a retry middleware to all the stats handlers (#13584) + * docs: added video for fluentd and fluent bit (#13579) + * feat: lambda-promtail; ensure messages to Kinesis are usable by refactoring parsing of KinesisEvent to match parsing of CWEvents + code cleanup (#13098) + * chore: do not shard log queries with empty filter (#13568) + * chore: shard limited queries with a fixed sharding factor (#13576) + * chore: replace pkg/errors with errors (#13583) + * chore: replace pkg/errors with errors (#13582) + * chore: replace pkg/errors with errors (#13581) + * feat: Bootstrap metastore for wal segments (#13550) + * fix(deps): update module github.com/docker/docker to v25.0.5+incompatible [security] (main) (#12279) + * fix(blooms): Fix eviction of multiple blockcache items (#13573) + * feat: Track when builders are doing work with a gauge (#13570) + * docs: Deprecated Notice for Grafana Agent + Updated Helm Concepts (#13461) + * fix: incorrect pod matcher for compactor in mixin when using ssd mode (#12846) + * build: Loki build and Docker updates (#13325) + * fix(operator): Set object storage for delete requests when using retention (#13562) + * feat: Update doc-validator version (#13558) + * fix: Dedup pattern tokens on output (#13534) + * fix: Retain original values in logfmt pattern tokenizer (#13535) + * fix: Fix panic in ingester.go (#13557) + * chore: Rename PendingItem to PendingSegment and clean up flush.go (#13554) + * chore: Remove redundant comments (#13553) + * chore: Use filesystem backed writer for blooms (#13522) + * fix: Fix log line for fingerprint not found (#13555) + * feat: Add CLI to inspect RF=1 WAL segments (#13552) + * chore: Clean up old streams periodically in RF-1 ingester (#13511) + * chore: refactor WAL Manager (#13551) + * chore: Clean up manager_test.go (#13549) + * chore: Use github.com/coder/quartz instead of time (#13542) + * chore(deps): update module github.com/azure/azure-sdk-for-go/sdk/azidentity to v1.6.0 [security] (main) (#13434) + * chore: Remove unused const (#13544) + * chore: Remove size and duration logs now we have metrics (#13547) + * chore: Fix not ready error message in RF-1 Ingester (#13546) + * fix: Fixes span name of serializeRounTripper (#13541) + * chore: Use pool of bytes.Buffer instead of io.Pipe (#13543) + * feat: Remove flush loop and queue from Ingester RF-1 (#13538) + * fix(helm): Update yaml file `./production/helm/loki/Chart.yaml` (+1 other) (#13392) + * feat(helm): Support alibabacloud oss in helm chart (#13441) + * fix(helm): Update yaml file `./production/helm/loki/values.yaml` (+1 other) (#13426) + * test: Add logging for empty blooms (#13537) + * fix(operator): Allow structured metadata only if V13 schema provided (#13463) + * feat: Add metrics for Ingester RF-1 (#13510) + * feat: WAL Manager configuration options (#13531) + * build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 in /cmd/chunks-inspect (#13433) + * docs: Add Explore Logs to Release Notes (#13529) + * fix: detected fields incorrect type bug (#13515) + * fix(blooms): Remove backoff from notify planner (#13506) + * fix(operator): Remove duplicate conditions from status (#13497) + * feat: improve placeholder replacement of byte sizes (#13508) + * chore: Improve test coverage of WAL Manager (#13498) + * chore: Remove unused metrics from Ingester-RF1 (#13499) + * fix: add logging to empty bloom (#13502) + * fix(blooms): skip empty blooms on reads (#13500) + * perf(blooms): Avoid tiny string allocations for insert cache (#13487) + * feat: downsample aggregated metrics (#13449) + * chore: Remove un-used errors from WAL Manager (#13496) + * chore: Small fixes to comments and ErrFull in manager.go (#13494) + * feat: Add metrics to WAL Manager (#13490) ++++ 473 more lines (skipped) ++++ between /work/SRC/openSUSE:Factory/loki/loki.changes ++++ and /work/SRC/openSUSE:Factory/.loki.new.2020/loki.changes Old: ---- harden_promtail.service.patch loki-2.8.11+git.1711098663.aa89d817.tar.xz New: ---- loki-3.2.1.tar.xz BETA DEBUG BEGIN: Old:- refresh patches: harden_promtail.service.patch proper-data-directories.patch BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ loki.spec ++++++ --- /var/tmp/diff_new_pack.oVkElX/_old 2024-11-07 16:26:14.542785465 +0100 +++ /var/tmp/diff_new_pack.oVkElX/_new 2024-11-07 16:26:14.542785465 +0100 @@ -21,7 +21,7 @@ %global promtail_datadir /var/lib/promtail Name: loki -Version: 2.8.11+git.1711098663.aa89d817 +Version: 3.2.1 Release: 0 Summary: Loki: like Prometheus, but for logs License: Apache-2.0 @@ -33,13 +33,14 @@ Source3: sysconfig.loki Source4: sysconfig.promtail Source99: series -Patch0: harden_promtail.service.patch -Patch1: proper-data-directories.patch +Patch0: proper-data-directories.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: golang-packaging BuildRequires: systemd-devel -BuildRequires: golang(API) = 1.20 +BuildRequires: golang(API) = 1.21 Requires: logcli = %{version} +Requires(pre): group(loki) +Requires(pre): user(loki) Requires: group(loki) Requires: user(loki) Requires(post): %fillup_prereq @@ -70,21 +71,34 @@ This package contains the LogCLI command-line tool. +%package -n lokitool +Summary: A command-line tool to manage Loki +Group: System/Monitoring + +%description -n lokitool +Loki is a horizontally-scalable, highly-available, multi-tenant log aggregation system inspired by Prometheus. + +This package contains the lokitool command-line tool. + %prep %autosetup -p1 %{name}-%{version} %build %define buildpkg github.com/grafana/loki/pkg/build +DATE_FMT="+%%Y-%%m-%%dT%%H:%%M:%%SZ" +BUILD_DATE=$(date -u -d "@${SOURCE_DATE_EPOCH}" "${DATE_FMT}" 2>/dev/null || date -u -r "${SOURCE_DATE_EPOCH}" "${DATE_FMT}" 2>/dev/null || date -u "${DATE_FMT}") + export CGO_ENABLED=0 export GOFLAGS="-mod=vendor -buildmode=pie -tags=netgo" -export GOLDFLAGS="-s -w -X %{buildpkg}.Version=%{version} \ - -X %{buildpkg}.Revision=%{release} \ - -X %{buildpkg}.Branch=NA \ - -X %{buildpkg}.BuildUser=NA \ - -X %{buildpkg}.BuildDate=NA" +export GOLDFLAGS="-X %{buildpkg}.Version=%{version} \ + -X %{buildpkg}.Revision=v%{version} \ + -X %{buildpkg}.Branch=main \ + -X %{buildpkg}.BuildUser=openSUSE \ + -X %{buildpkg}.BuildDate=${BUILD_DATE}" go build -ldflags="$GOLDFLAGS" ./cmd/loki go build -ldflags="$GOLDFLAGS" ./cmd/logcli +go build -ldflags="$GOLDFLAGS" ./cmd/lokitool CGO_ENABLED=1 go build -ldflags="$GOLDFLAGS" --tags=promtail_journal_enabled ./clients/cmd/promtail %install @@ -107,6 +121,7 @@ # Binaries install -dm755 %{buildroot}%{_bindir} install -Dm755 loki %{buildroot}%{_bindir} +install -Dm755 lokitool %{buildroot}%{_bindir} install -Dm755 promtail %{buildroot}%{_bindir} install -Dm755 logcli %{buildroot}%{_bindir} @@ -162,3 +177,6 @@ %files -n logcli %{_bindir}/logcli +%files -n lokitool +%{_bindir}/lokitool + ++++++ _service ++++++ --- /var/tmp/diff_new_pack.oVkElX/_old 2024-11-07 16:26:14.578786963 +0100 +++ /var/tmp/diff_new_pack.oVkElX/_new 2024-11-07 16:26:14.582787130 +0100 @@ -4,8 +4,11 @@ <param name="scm">git</param> <param name="exclude">.git</param> <param name="filename">loki</param> - <param name="versionformat">@PARENT_TAG@+git.%ct.%h</param> - <param name="revision">v2.8.11</param> + <!-- use this pattern for snapshots + <param name="versionformat">@PARENT_TAG@+git@TAG_OFFSET@.%h</param> + --> + <param name="versionformat">@PARENT_TAG@</param> + <param name="revision">v3.2.1</param> <param name="versionrewrite-pattern">v(.*)</param> <param name="changesgenerate">enable</param> </service> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.oVkElX/_old 2024-11-07 16:26:14.606788128 +0100 +++ /var/tmp/diff_new_pack.oVkElX/_new 2024-11-07 16:26:14.610788295 +0100 @@ -3,6 +3,6 @@ <param name="url">git://github.com/grafana/loki.git</param> <param name="changesrevision">525040a3265715ca8cfb52cd39108ccfac9f8af6</param></service><service name="tar_scm"> <param name="url">https://github.com/grafana/loki.git</param> - <param name="changesrevision">aa89d817a7c5f253ab5641f5af3100300bc06897</param></service></servicedata> + <param name="changesrevision">3c386cc5d13629a74cddb43c429ec290ba2e4a0a</param></service></servicedata> (No newline at EOF) ++++++ loki-2.8.11+git.1711098663.aa89d817.tar.xz -> loki-3.2.1.tar.xz ++++++ /work/SRC/openSUSE:Factory/loki/loki-2.8.11+git.1711098663.aa89d817.tar.xz /work/SRC/openSUSE:Factory/.loki.new.2020/loki-3.2.1.tar.xz differ: char 15, line 1 ++++++ proper-data-directories.patch ++++++ ++++ 1226 lines (skipped) ++++ between /work/SRC/openSUSE:Factory/loki/proper-data-directories.patch ++++ and /work/SRC/openSUSE:Factory/.loki.new.2020/proper-data-directories.patch
