Skip to content

Commit

Permalink
Fix license-eye configuration and some license headers
Browse files Browse the repository at this point in the history
  • Loading branch information
artemgavrilov committed Aug 6, 2024
1 parent a37e1d3 commit cb4d826
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 14 deletions.
13 changes: 13 additions & 0 deletions .licenserc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
header:
paths:
- "**/*.c"
- "**/*.h"
license:
pattern: |
.*\.(c|h)
.*
IDENTIFICATION
contrib/percona_pg_telemetry/.*\.(c|h)
comment: never
11 changes: 11 additions & 0 deletions percona_pg_telemetry.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/*-------------------------------------------------------------------------
*
* percona_pg_telemetry.c
* Collects telemetry information for the database cluster.
*
* IDENTIFICATION
* contrib/percona_pg_telemetry/percona_pg_telemetry.c
*
*-------------------------------------------------------------------------
*/

#include "postgres.h"
#include "fmgr.h"
#include "funcapi.h"
Expand Down
8 changes: 1 addition & 7 deletions percona_pg_telemetry.h
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
/*-------------------------------------------------------------------------
*
* percona_pg_telemetry.h
* Collect telemetry information for the database cluster.
*
* Portions Copyright © 2018-2024, Percona LLC and/or its affiliates
*
* Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
*
* Portions Copyright (c) 1994, The Regents of the University of California
* Collects telemetry information for the database cluster.
*
* IDENTIFICATION
* contrib/percona_pg_telemetry/percona_pg_telemetry.h
Expand Down
11 changes: 11 additions & 0 deletions pt_json.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/*-------------------------------------------------------------------------
*
* pt_json.c
* For building the required json structure for telemetry.
*
* IDENTIFICATION
* contrib/percona_pg_telemetry/pt_json.c
*
*-------------------------------------------------------------------------
*/

#include "pt_json.h"
#include "percona_pg_telemetry.h"

Expand Down
8 changes: 1 addition & 7 deletions pt_json.h
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
/*-------------------------------------------------------------------------
*
* pt_json.h
* For building the require json structure for telemetry.
*
* Portions Copyright © 2018-2024, Percona LLC and/or its affiliates
*
* Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
*
* Portions Copyright (c) 1994, The Regents of the University of California
* For building the required json structure for telemetry.
*
* IDENTIFICATION
* contrib/percona_pg_telemetry/pt_json.h
Expand Down

0 comments on commit cb4d826

Please sign in to comment.