Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.attic
.vscode
*diffs-*.json
reports
# Added by goreleaser init:
dist/

56 changes: 56 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
# vim: set ts=2 sw=2 tw=0 fo=cnqoj

version: 2

before:
hooks:
# You may remove this if you don't use go modules.
- go mod tidy
# you may remove this if you don't need go generate
- go generate ./...

builds:
- id: ace
main: ./cmd/server
binary: ace
env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
ldflags:
- -s -w -X main.version={{.Version}}

archives:
- formats: [tar.gz]
# this name template makes the OS and Arch compatible with the results of `uname`.
name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
# use zip for windows archives
format_overrides:
- goos: windows
formats: [zip]

changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"

release:
footer: >-

---

Released by [GoReleaser](https://github.com/goreleaser/goreleaser).
11 changes: 11 additions & 0 deletions cmd/server/main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/////////////////////////////////////////////////////////////////////////////
//
// ACE - Active Consistency Engine
//
// Copyright (C) 2023 - 2025, pgEdge (https://www.pgedge.com/)
//
// This software is released under the pgEdge Community License:
// https://www.pgedge.com/communitylicense
//
/////////////////////////////////////////////////////////////////////////////

package main

import (
Expand Down
11 changes: 11 additions & 0 deletions db/helpers/sqlhelpers.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/////////////////////////////////////////////////////////////////////////////
//
// ACE - Active Consistency Engine
//
// Copyright (C) 2023 - 2025, pgEdge (https://www.pgedge.com/)
//
// This software is released under the pgEdge Community License:
// https://www.pgedge.com/communitylicense
//
/////////////////////////////////////////////////////////////////////////////

package helpers

import (
Expand Down
11 changes: 11 additions & 0 deletions db/helpers/sqlhelpers_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/////////////////////////////////////////////////////////////////////////////
//
// ACE - Active Consistency Engine
//
// Copyright (C) 2023 - 2025, pgEdge (https://www.pgedge.com/)
//
// This software is released under the pgEdge Community License:
// https://www.pgedge.com/communitylicense
//
/////////////////////////////////////////////////////////////////////////////

package helpers

import (
Expand Down
11 changes: 11 additions & 0 deletions internal/auth/auth.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/////////////////////////////////////////////////////////////////////////////
//
// ACE - Active Consistency Engine
//
// Copyright (C) 2023 - 2025, pgEdge (https://www.pgedge.com/)
//
// This software is released under the pgEdge Community License:
// https://www.pgedge.com/communitylicense
//
/////////////////////////////////////////////////////////////////////////////

package auth

import (
Expand Down
11 changes: 11 additions & 0 deletions internal/cli/cli.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/////////////////////////////////////////////////////////////////////////////
//
// ACE - Active Consistency Engine
//
// Copyright (C) 2023 - 2025, pgEdge (https://www.pgedge.com/)
//
// This software is released under the pgEdge Community License:
// https://www.pgedge.com/communitylicense
//
/////////////////////////////////////////////////////////////////////////////

package cli

import (
Expand Down
11 changes: 11 additions & 0 deletions internal/core/repset_diff.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/////////////////////////////////////////////////////////////////////////////
//
// ACE - Active Consistency Engine
//
// Copyright (C) 2023 - 2025, pgEdge (https://www.pgedge.com/)
//
// This software is released under the pgEdge Community License:
// https://www.pgedge.com/communitylicense
//
/////////////////////////////////////////////////////////////////////////////

package core

import (
Expand Down
11 changes: 11 additions & 0 deletions internal/core/schema_diff.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/////////////////////////////////////////////////////////////////////////////
//
// ACE - Active Consistency Engine
//
// Copyright (C) 2023 - 2025, pgEdge (https://www.pgedge.com/)
//
// This software is released under the pgEdge Community License:
// https://www.pgedge.com/communitylicense
//
/////////////////////////////////////////////////////////////////////////////

package core

import (
Expand Down
11 changes: 11 additions & 0 deletions internal/core/spock_diff.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/////////////////////////////////////////////////////////////////////////////
//
// ACE - Active Consistency Engine
//
// Copyright (C) 2023 - 2025, pgEdge (https://www.pgedge.com/)
//
// This software is released under the pgEdge Community License:
// https://www.pgedge.com/communitylicense
//
/////////////////////////////////////////////////////////////////////////////

package core

import (
Expand Down
11 changes: 11 additions & 0 deletions internal/core/table_diff.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/////////////////////////////////////////////////////////////////////////////
//
// ACE - Active Consistency Engine
//
// Copyright (C) 2023 - 2025, pgEdge (https://www.pgedge.com/)
//
// This software is released under the pgEdge Community License:
// https://www.pgedge.com/communitylicense
//
/////////////////////////////////////////////////////////////////////////////

package core

import (
Expand Down
11 changes: 11 additions & 0 deletions internal/core/table_repair.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/////////////////////////////////////////////////////////////////////////////
//
// ACE - Active Consistency Engine
//
// Copyright (C) 2023 - 2025, pgEdge (https://www.pgedge.com/)
//
// This software is released under the pgEdge Community License:
// https://www.pgedge.com/communitylicense
//
/////////////////////////////////////////////////////////////////////////////

package core

import (
Expand Down
11 changes: 11 additions & 0 deletions internal/core/table_rerun.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/////////////////////////////////////////////////////////////////////////////
//
// ACE - Active Consistency Engine
//
// Copyright (C) 2023 - 2025, pgEdge (https://www.pgedge.com/)
//
// This software is released under the pgEdge Community License:
// https://www.pgedge.com/communitylicense
//
/////////////////////////////////////////////////////////////////////////////

package core

import (
Expand Down
11 changes: 11 additions & 0 deletions internal/core/utils.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/////////////////////////////////////////////////////////////////////////////
//
// ACE - Active Consistency Engine
//
// Copyright (C) 2023 - 2025, pgEdge (https://www.pgedge.com/)
//
// This software is released under the pgEdge Community License:
// https://www.pgedge.com/communitylicense
//
/////////////////////////////////////////////////////////////////////////////

package core

import (
Expand Down
11 changes: 11 additions & 0 deletions pkg/config/config.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/////////////////////////////////////////////////////////////////////////////
//
// ACE - Active Consistency Engine
//
// Copyright (C) 2023 - 2025, pgEdge (https://www.pgedge.com/)
//
// This software is released under the pgEdge Community License:
// https://www.pgedge.com/communitylicense
//
/////////////////////////////////////////////////////////////////////////////

package config

import (
Expand Down
11 changes: 11 additions & 0 deletions pkg/types/types.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/////////////////////////////////////////////////////////////////////////////
//
// ACE - Active Consistency Engine
//
// Copyright (C) 2023 - 2025, pgEdge (https://www.pgedge.com/)
//
// This software is released under the pgEdge Community License:
// https://www.pgedge.com/communitylicense
//
/////////////////////////////////////////////////////////////////////////////

package types

import (
Expand Down
11 changes: 11 additions & 0 deletions tests/integration/helpers_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/////////////////////////////////////////////////////////////////////////////
//
// ACE - Active Consistency Engine
//
// Copyright (C) 2023 - 2025, pgEdge (https://www.pgedge.com/)
//
// This software is released under the pgEdge Community License:
// https://www.pgedge.com/communitylicense
//
/////////////////////////////////////////////////////////////////////////////

package integration

import (
Expand Down
11 changes: 11 additions & 0 deletions tests/integration/main_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/////////////////////////////////////////////////////////////////////////////
//
// ACE - Active Consistency Engine
//
// Copyright (C) 2023 - 2025, pgEdge (https://www.pgedge.com/)
//
// This software is released under the pgEdge Community License:
// https://www.pgedge.com/communitylicense
//
/////////////////////////////////////////////////////////////////////////////

package integration

import (
Expand Down
11 changes: 11 additions & 0 deletions tests/integration/table_diff_integration_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/////////////////////////////////////////////////////////////////////////////
//
// ACE - Active Consistency Engine
//
// Copyright (C) 2023 - 2025, pgEdge (https://www.pgedge.com/)
//
// This software is released under the pgEdge Community License:
// https://www.pgedge.com/communitylicense
//
/////////////////////////////////////////////////////////////////////////////

package integration

import (
Expand Down
11 changes: 11 additions & 0 deletions tests/integration/table_repair_integration_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/////////////////////////////////////////////////////////////////////////////
//
// ACE - Active Consistency Engine
//
// Copyright (C) 2023 - 2025, pgEdge (https://www.pgedge.com/)
//
// This software is released under the pgEdge Community License:
// https://www.pgedge.com/communitylicense
//
/////////////////////////////////////////////////////////////////////////////

package integration

import (
Expand Down