From e2dc38d903b2cffb9d050fda32a7735cd72beb33 Mon Sep 17 00:00:00 2001 From: Vladimir Kukushkin Date: Tue, 28 Apr 2026 13:45:52 +0100 Subject: [PATCH] Cleanup repository structure --- .licenseignore | 2 -- .mailmap | 2 -- CODE_OF_CONDUCT.md | 3 --- CONTRIBUTORS.txt | 21 --------------------- Package.swift | 13 ------------- README.md | 7 ++++++- 6 files changed, 6 insertions(+), 42 deletions(-) delete mode 100644 .mailmap delete mode 100644 CODE_OF_CONDUCT.md delete mode 100644 CONTRIBUTORS.txt diff --git a/.licenseignore b/.licenseignore index 3fab8652..988a7e97 100644 --- a/.licenseignore +++ b/.licenseignore @@ -4,7 +4,6 @@ .gitattributes .git-blame-ignore-revs .mailfilter -.mailmap .spi.yml .swift-format .editorconfig @@ -31,5 +30,4 @@ Makefile Dockerfile **/Dockerfile Snippets/* -dev/git.commit.template .unacceptablelanguageignore diff --git a/.mailmap b/.mailmap deleted file mode 100644 index 5edb56e9..00000000 --- a/.mailmap +++ /dev/null @@ -1,2 +0,0 @@ -tomer doron -Konrad `ktoso` Malawski diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md deleted file mode 100644 index 0776b8a0..00000000 --- a/CODE_OF_CONDUCT.md +++ /dev/null @@ -1,3 +0,0 @@ -# Code of Conduct - -The code of conduct for this project can be found at https://swift.org/code-of-conduct. diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt deleted file mode 100644 index 4a6af0d0..00000000 --- a/CONTRIBUTORS.txt +++ /dev/null @@ -1,21 +0,0 @@ -For the purpose of tracking copyright, this is the list of individuals and -organizations who have contributed source code to the Swift Metrics API. - -For employees of an organization/company where the copyright of work done -by employees of that company is held by the company itself, only the company -needs to be listed here. - -## COPYRIGHT HOLDERS - -- Apple Inc. (all contributors with '@apple.com') - -### Contributors - -- Cory Benfield -- Jari (LotU) -- Konrad `ktoso` Malawski -- tomer doron - -**Updating this list** - -Please do not edit this file manually. It is generated using `./scripts/generate_contributors_list.sh`. If a name is misspelled or appearing multiple times: add an entry in `./.mailmap` diff --git a/Package.swift b/Package.swift index 5a003d97..4c7df63a 100644 --- a/Package.swift +++ b/Package.swift @@ -1,17 +1,4 @@ // swift-tools-version:6.1 -//===----------------------------------------------------------------------===// -// -// This source file is part of the Swift Metrics API open source project -// -// Copyright (c) 2018-2019 Apple Inc. and the Swift Metrics API project authors -// Licensed under Apache License v2.0 -// -// See LICENSE.txt for license information -// See CONTRIBUTORS.txt for the list of Swift Metrics API project authors -// -// SPDX-License-Identifier: Apache-2.0 -// -//===----------------------------------------------------------------------===// import PackageDescription diff --git a/README.md b/README.md index cd3c2250..9c06ceda 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,10 @@ # SwiftMetrics +[![](https://img.shields.io/badge/docc-read_documentation-blue)](https://swiftpackageindex.com/apple/swift-metrics/documentation) +[![](https://img.shields.io/github/v/release/apple/swift-metrics)](https://github.com/apple/swift-metrics/releases) +[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fapple%2Fswift-metrics%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/apple/swift-metrics) +[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fapple%2Fswift-metrics%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/apple/swift-metrics) + A Metrics API package for Swift. Almost all production server software needs to emit metrics information for observability. Because it's unlikely that all parties can agree on one specific metrics backend implementation, this API is designed to establish a standard that can be implemented by various metrics libraries which then post the metrics data to backends like [Prometheus](https://prometheus.io/), [Graphite](https://graphiteapp.org), publish over [statsd](https://github.com/statsd/statsd), write to disk, etc. @@ -432,7 +437,7 @@ class SimpleMetricsLibrary: MetricsFactory { ## Security -Please see [SECURITY.md](SECURITY.md) for details on the security process. +Please see [the security process](https://github.com/apple/swift-metrics?tab=security-ov-file) for details on the security process. ## Getting involved